feat: Implement forgotPassword mutation

This commit is contained in:
Faruk AYDIN
2023-02-18 16:54:01 +01:00
parent e4021bf830
commit 90dcbadc52
7 changed files with 70 additions and 2 deletions

View File

@@ -50,6 +50,7 @@ type Mutation {
deleteStep(input: DeleteStepInput): Step
createUser(input: CreateUserInput): User
updateUser(input: UpdateUserInput): User
forgotPassword(input: ForgotPasswordInput): Boolean
login(input: LoginInput): Auth
}
@@ -302,8 +303,8 @@ input DeleteStepInput {
}
input CreateUserInput {
email: String
password: String
email: String!
password: String!
}
input UpdateUserInput {
@@ -311,6 +312,10 @@ input UpdateUserInput {
password: String
}
input ForgotPasswordInput {
email: String
}
input LoginInput {
email: String!
password: String!