← API reference
CANONICAL TYPE REFERENCE

UpsertScheduleAllocationPayload

Result of creating, updating or upserting a schedule allocation. Validation failures are returned as errors rather than thrown.

The saved allocation; null when validation failed, in which case errors is non-empty and nothing was written.

Per-field validation errors (e.g. endAt not after startAt), or an "id" error when the allocation to update does not exist. Empty on success.

View exact SDL
"""
Result of creating, updating or upserting a schedule allocation. Validation failures are returned as errors rather than thrown.
"""
type UpsertScheduleAllocationPayload {
  """
  The saved allocation; null when validation failed, in which case errors is non-empty and nothing was written.
  """
  scheduleAllocation: ScheduleAllocationState
  """
  Per-field validation errors (e.g. endAt not after startAt), or an "id" error when the allocation to update does not exist. Empty on success.
  """
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.