34 lines
648 B
Plaintext
34 lines
648 B
Plaintext
|
extend type Mutation {
|
||
|
createRefreshToken(input: NewRefreshToken!): RefreshToken!
|
||
|
createUserAccount(input: NewUserAccount!): UserAccount!
|
||
|
deleteUserAccount(input: DeleteUserAccount!): DeleteUserAccountPayload!
|
||
|
logoutUser(input: LogoutUser!): Boolean!
|
||
|
clearProfileAvatar: UserAccount!
|
||
|
}
|
||
|
|
||
|
input NewRefreshToken {
|
||
|
userId: String!
|
||
|
}
|
||
|
|
||
|
input NewUserAccount {
|
||
|
username: String!
|
||
|
email: String!
|
||
|
fullName: String!
|
||
|
initials: String!
|
||
|
password: String!
|
||
|
roleCode: String!
|
||
|
}
|
||
|
|
||
|
input LogoutUser {
|
||
|
userID: String!
|
||
|
}
|
||
|
|
||
|
input DeleteUserAccount {
|
||
|
userID: UUID!
|
||
|
}
|
||
|
|
||
|
type DeleteUserAccountPayload {
|
||
|
ok: Boolean!
|
||
|
userAccount: UserAccount!
|
||
|
}
|