← API reference
CANONICAL TYPE REFERENCE

ShiftDefinitionSortField

Attribute of a shift definition that listShiftDefinitions can be ordered by.

NAME

Order by the shift's label, so the list reads alphabetically rather than by time of day.

START_TIME

Order by the stored 24-hour "HH:mm" start time, compared as text. That matches clock order within a day, but an overnight shift still sorts under the evening hour it starts at, not under the morning it ends in.

CREATED_AT

Order by when the definition was created; the key the pagination walks when no sort term is given, newest first.

View exact SDL
"""
Attribute of a shift definition that listShiftDefinitions can be ordered by.
"""
enum ShiftDefinitionSortField {
  """
  Order by the shift's label, so the list reads alphabetically rather than by time of day.
  """
  NAME
  """
  Order by the stored 24-hour "HH:mm" start time, compared as text. That matches clock order within a day, but an overnight shift still sorts under the evening hour it starts at, not under the morning it ends in.
  """
  START_TIME
  """
  Order by when the definition was created; the key the pagination walks when no sort term is given, newest first.
  """
  CREATED_AT
}

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