Appearance
ScheduleScenarioSortField
Type: Enum
Schedule scenario attribute that listScheduleScenarios can be ordered by.
Values
| Value | Description | Deprecated |
|---|---|---|
CREATED_AT | Order by when the scenario was first persisted — the column the keyset pagination itself walks, newest first unless the first sort term asks for ASC. | |
NAME | Order by the scenario'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. | |
STATUS | Order by the stored status string, which sorts alphabetically (ARCHIVED, DRAFT, PUBLISHED, SIMULATION) rather than in lifecycle order. Tie-breaker only, on top of the createdAt keyset walk. | |
UPDATED_AT | Order by the timestamp of the most recent accepted mutation, bringing recently-touched scenarios together. Tie-breaker only, on top of the createdAt keyset walk. | |
VERSION | Order by the planner-assigned revision number, so successive revisions line up numerically. Tie-breaker only, on top of the createdAt keyset walk. |