OBJECT
AllocationMutation
Mutations that act on Allocations.
link GraphQL Schema definition
- type AllocationMutation {
- # Deletes an allocation. This action is irreversible.
- #
- # Arguments
- # id: The ID of the allocation to delete.
- Int!): SuccessResult ( :
- # Deletes a list of allocations. This action is irreversible.
- #
- # Arguments
- # ids: A list of allocation ids to delete.
- Int]!): SuccessResults ( : [
- # Creates a new allocation.
- #
- # Arguments
- # allocation: The details for the allocation to create
- AllocationCreate!): SuccessResults ( :
- # Updates an existing allocation (order-resource-date) with a new worker
- # (order-resource).
- #
- # Arguments
- # allocationId: The ID of the order resource data (allocation).
- # workerId: The ID of the NEW worker (user) swapped with EXISTING
- # worker (user)
- Int!, : Int!): SuccessResult ( :
- }