← API reference
CANONICAL TYPE REFERENCE

WorkCenterSortField

Work center attribute that listWorkCenters can be ordered by.

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.

View exact 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
}

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