OBJECT
Mutation
link GraphQL Schema definition
- type Mutation {
- # Creates a `User` with data given.
- #
- # A compliant `id` will be auto-generated and the item will be created.
- #
- # By the end of this operation the item is garanteed to exist.
- #
- # Arguments
- # user: Item to create.
- CreateUserInput!): User! ( :
- # Updates an existing `User` with attributes given.
- #
- # If no error, operation will return the `User`'s `CarneteID`.
- #
- # This might throw an error if there's nothing to update.
- #
- # Arguments
- # user: Item to update.
- UpdateUserInput!): CarneteID! ( :
- # This operation will delete a `User` with a given `id`.
- #
- # If no error, operation will return the `User`'s `CarneteID`.
- #
- # This might throw an error if there's nothing to delete.
- #
- # **This operation will delete the `User`'s associated data.**
- #
- # Arguments
- # id: Id of the item to delete.
- CarneteID!): CarneteID! ( :
- # Creates a `Team` with data given.
- #
- # A compliant `id` will be auto-generated and the item will be created.
- #
- # By the end of this operation the item is garanteed to exist.
- #
- # Arguments
- # team: Item to create.
- CreateTeamInput!): Team! ( :
- # Updates an existing `Team` with attributes given.
- #
- # If no error, operation will return the `Team`'s `CarneteID`.
- #
- # This might throw an error if there's nothing to update.
- #
- # Arguments
- # team: Item to update.
- UpdateTeamInput!): CarneteID! ( :
- # This operation will delete a `Team` with a given `id`.
- #
- # If no error, operation will return the `Team`'s `CarneteID`.
- #
- # This might throw an error if there's nothing to delete.
- #
- # **This operation will delete the `Team`'s associated data.**
- #
- # Arguments
- # id: Id of the item to delete.
- CarneteID!): CarneteID! ( :
- # Creates an `Experience` with data given.
- #
- # A compliant `id` will be auto-generated and the item will be created.
- #
- # By the end of this operation the item is garanteed to exist.
- #
- # Arguments
- # experience: Item to create.
- CreateExperienceInput!): Experience! ( :
- # Updates an existing `Experience` with attributes given.
- #
- # If no error, operation will return the `Experience`'s `CarneteID`.
- #
- # This might throw an error if there's nothing to update.
- #
- # Arguments
- # experience: Item to update.
- UpdateExperienceInput!): CarneteID! ( :
- # This operation will delete an `Experience` with a given `id`.
- #
- # If no error, operation will return the `Eve`'s `CarneteID`.
- #
- # This might throw an error if there's nothing to delete.
- #
- # **This operation will delete the `Experience`'s associated data.**
- #
- # Arguments
- # id: Id of the item to delete.
- CarneteID!): CarneteID! ( :
- # Creates a `Review` with data given.
- #
- # A compliant `id` will be auto-generated and the item will be created.
- #
- # By the end of this operation the item is garanteed to exist.
- #
- # Arguments
- # review: Item to create.
- CreateReviewInput!): Review! ( :
- # Creates an `Attendance` with data given.
- #
- # A compliant `id` will be auto-generated and the item will be created.
- #
- # By the end of this operation the item is garanteed to exist.
- #
- # Arguments
- # attendance: Item to create.
- CreateAttendanceInput!): Attendance! ( :
- # This is a special operation in that it doesn't propagate errors through
- # GraphQL's
- # mechanisms for error handling.
- #
- # With this operation, each of the attendances is created if (and only if)
- # the `userSearchCriteria` given matches with an existing user. If a given
- # attendance
- # fails to find an existing user, or fails for any other reason, the given
- # attendance input
- # will be added to the `errors` attribute of the response. All attendances created
- # successfully
- # will also be returned.
- #
- # Arguments
- # attendances: Attendances to create.
- (
- CreateAttendanceInput!]! : [
- ): BulkCreateAttendanceResponse!
- # This operation will delete an `Attendance` with a given `id`.
- #
- # If no error, operation will return the `Attendance`'s `CarneteID`.
- #
- # This might throw an error if there's nothing to delete.
- #
- # Arguments
- # id: Id of the item to delete.
- CarneteID!): CarneteID! ( :
- # Creates an `Attendance` with data given.
- #
- # A compliant `id` will be auto-generated and the item will be created.
- #
- # By the end of this operation the item is garanteed to exist.
- #
- # Arguments
- # reaction: Item to create.
- CreateReactionInput!): Reaction! ( :
- # This operation will delete a `Reaction` with a given `id`.
- #
- # If no error, operation will return the `Reaction`'s `CarneteID`.
- #
- # This might throw an error if there's nothing to delete.
- #
- # Arguments
- # id: Id of the item to delete.
- CarneteID!): CarneteID! ( :
- }
link Require by
This element is not required by anyone