WorkCenterSortField
Work center attribute that listWorkCenters can be ordered by.
Values
NAME
Order by the work centre's name column. Applied only as a tie-breaker: the list always keys its pagination on createdAt, and the first sort term contributes just its direction.
RESOURCE_TYPE
Order by the stored resource-type string, which sorts alphabetically (HUMAN, LOCATION, MACHINE, TOOL) — it groups the kinds together rather than ranking them. Tie-breaker only, on top of the createdAt keyset walk.
CREATED_AT
Order by when the work centre was first created — the column the keyset pagination itself walks, newest first unless the first sort term asks for ASC.
UPDATED_AT
Order by when the work centre was last changed. Tie-breaker only, on top of the createdAt keyset walk.
Referenced by (1)
Exact type SDL
"""Work center attribute that listWorkCenters can be ordered by."""
enum WorkCenterSortField {
"""
Order by the work centre's name column. Applied only as a tie-breaker: the list always keys its pagination on createdAt, and the first sort term contributes just its direction.
"""
NAME
"""
Order by the stored resource-type string, which sorts alphabetically (HUMAN, LOCATION, MACHINE, TOOL) — it groups the kinds together rather than ranking them. Tie-breaker only, on top of the createdAt keyset walk.
"""
RESOURCE_TYPE
"""
Order by when the work centre was first created — the column the keyset pagination itself walks, newest first unless the first sort term asks for ASC.
"""
CREATED_AT
"""
Order by when the work centre was last changed. Tie-breaker only, on top of the createdAt keyset walk.
"""
UPDATED_AT
}