← All types
Ob Object

UpsertShiftDefinitionPayload

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

Fields

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

errors

[FieldError!]!Non-null

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

Referenced by (3)
Exact type 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!]!
}