feat: add deleteUser mutation

This commit is contained in:
Ali BARIN
2023-03-02 15:26:06 +00:00
parent b51d9bb17b
commit e06b646f49
3 changed files with 38 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ type Mutation {
updateStep(input: UpdateStepInput): Step
deleteStep(input: DeleteStepInput): Step
createUser(input: CreateUserInput): User
deleteUser(input: DeleteUserInput): Boolean
updateUser(input: UpdateUserInput): User
forgotPassword(input: ForgotPasswordInput): Boolean
resetPassword(input: ResetPasswordInput): Boolean
@@ -339,6 +340,10 @@ input CreateUserInput {
password: String!
}
input DeleteUserInput {
id: String
}
input UpdateUserInput {
email: String
password: String