← API reference
CANONICAL TYPE REFERENCE

UpsertShiftDefinitionPayload

Result of a create/update/upsert of a shift definition: either the persisted definition or the field errors that blocked it.

The saved shift definition; null when validation failed, in which case errors is non-empty.

Per-field validation failures (path + message). Empty on success.

View exact SDL
"""
Result of a create/update/upsert of a shift definition: either the persisted definition or the field errors that blocked it.
"""
type UpsertShiftDefinitionPayload {
  """
  The saved shift definition; null when validation failed, in which case errors is non-empty.
  """
  shiftDefinition: ShiftDefinitionState
  """Per-field validation failures (path + message). Empty on success."""
  errors: [FieldError!]!
}

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