Appearance
WorkCenterSortField
Type: Enum
Work center attribute that listWorkCenters can be ordered by.
Values
| Value | Description | Deprecated |
|---|---|---|
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. | |
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. | |
UPDATED_AT | Order by when the work centre was last changed. Tie-breaker only, on top of the createdAt keyset walk. |