← All types
En Enum

ShiftDefinitionSortField

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

Values

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.

Referenced by (1)
Exact type 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
}