← All types
In Input object

UpdateShiftDefinitionInput

Patch for an existing shift definition: every field is optional and omitted fields are left as they are.

Fields

name

StringOptional

New label for the shift. Omit to leave it unchanged; must not be blank when supplied.

New start clock time as 24-hour "HH:mm". Omit to leave it unchanged.

New end clock time as 24-hour "HH:mm". Omit to leave it unchanged. Earlier than startTime marks the shift as overnight.

activeDays

[Int!]Optional

Replacement list of ISO-8601 weekdays (1 = Monday … 7 = Sunday); it is not merged with the current days. Omit to leave them unchanged; must be non-empty when supplied.

Referenced by (1)
Exact type SDL
"""
Patch for an existing shift definition: every field is optional and omitted fields are left as they are.
"""
input UpdateShiftDefinitionInput {
  """
  New label for the shift. Omit to leave it unchanged; must not be blank when supplied.
  """
  name: String
  """New start clock time as 24-hour "HH:mm". Omit to leave it unchanged."""
  startTime: String
  """
  New end clock time as 24-hour "HH:mm". Omit to leave it unchanged. Earlier than startTime marks the shift as overnight.
  """
  endTime: String
  """
  Replacement list of ISO-8601 weekdays (1 = Monday … 7 = Sunday); it is not merged with the current days. Omit to leave them unchanged; must be non-empty when supplied.
  """
  activeDays: [Int!]
}