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.
  • createUser(user: 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.
  • updateUser(user: 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.
  • deleteUser(id: 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.
  • createTeam(team: 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.
  • updateTeam(team: 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.
  • deleteTeam(id: 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.
  • createExperience(experience: 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.
  • updateExperience(experience: 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.
  • deleteExperience(id: 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.
  • createReview(review: 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.
  • createAttendance(attendance: 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.
  • bulkCreateAttendance(
  • attendances: [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.
  • deleteAttendance(id: 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.
  • createReaction(reaction: 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.
  • deleteReaction(id: CarneteID!): CarneteID!
  • }

link Require by

This element is not required by anyone