mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update graphql types and mutations
This commit is contained in:
@@ -134,3 +134,26 @@ export const UPDATE_USER_INFO = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const UPDATE_USER_PASSWORD = gql`
|
||||
mutation UpdateUserPassword($id: String!, $password: PasswordInputModel!) {
|
||||
updateUserPassword(id: $id, password: $password) {
|
||||
id
|
||||
email
|
||||
firstName
|
||||
lastName
|
||||
phone {
|
||||
prefix
|
||||
number
|
||||
}
|
||||
address {
|
||||
place
|
||||
city
|
||||
country
|
||||
zip
|
||||
}
|
||||
active
|
||||
role
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user