48 lines
784 B
GraphQL
48 lines
784 B
GraphQL
"""
|
|
Autogenerated input type of CreateUser
|
|
"""
|
|
input CreateUserInput {
|
|
"""
|
|
A unique identifier for the client performing the mutation.
|
|
"""
|
|
clientMutationId: String
|
|
user: UserAttributesInput!
|
|
}
|
|
|
|
"""
|
|
Autogenerated return type of CreateUser
|
|
"""
|
|
type CreateUserPayload {
|
|
"""
|
|
A unique identifier for the client performing the mutation.
|
|
"""
|
|
clientMutationId: String
|
|
|
|
"""
|
|
Errors encountered during execution of the mutation.
|
|
"""
|
|
errors: [String!]
|
|
success: Boolean!
|
|
}
|
|
|
|
type Mutation {
|
|
createUser(
|
|
"""
|
|
Parameters for CreateUser
|
|
"""
|
|
input: CreateUserInput!
|
|
): CreateUserPayload
|
|
}
|
|
|
|
type Query {
|
|
"""
|
|
An example field added by the generator
|
|
"""
|
|
testField: [String!]!
|
|
}
|
|
|
|
input UserAttributesInput {
|
|
firstName: String!
|
|
lastName: String!
|
|
}
|