Files
x-stake/app/javascript/__generated__/schema.graphql
2021-08-07 12:46:39 -03:00

53 lines
829 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 {
currentUser: User
}
type User {
email: String!
firstName: String!
fullName: String!
id: ID!
lastName: String!
}
input UserAttributesInput {
firstName: String!
lastName: String!
}