ShiftDefinitionSortInput
One ordering term for listShiftDefinitions.
Fields
Which shift-definition attribute to order by.
Possible values (3)
NAMEOrder by the shift's label, so the list reads alphabetically rather than by time of day.
START_TIMEOrder 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_ATOrder by when the definition was created; the key the pagination walks when no sort term is given, newest first.
ASC for ascending, DESC for descending order.
Possible values (2)
ASCSort in ascending order (A-Z, oldest first)
DESCSort in descending order (Z-A, newest first)
Referenced by (1)
Exact type SDL
"""One ordering term for listShiftDefinitions."""
input ShiftDefinitionSortInput {
"""Which shift-definition attribute to order by."""
field: ShiftDefinitionSortField!
"""ASC for ascending, DESC for descending order."""
direction: SortDirection!
}