mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
26 lines
508 B
TypeScript
26 lines
508 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const createUserMutation = gql`
|
|
mutation (
|
|
$email: String!
|
|
$firstName: String!
|
|
$lastName: String!
|
|
$language: String!
|
|
$publisherId: Int
|
|
) {
|
|
createUser(
|
|
email: $email
|
|
firstName: $firstName
|
|
lastName: $lastName
|
|
language: $language
|
|
publisherId: $publisherId
|
|
)
|
|
}
|
|
`
|
|
|
|
export const setPasswordMutation = gql`
|
|
mutation ($code: String!, $password: String!) {
|
|
setPassword(code: $code, password: $password)
|
|
}
|
|
`
|