Appearance
UpsertShiftDefinitionInput
Type: Input
Full replacement state for a shift definition — creates when id is omitted, overwrites every field when it is supplied.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| activeDays | [Int!]! | ISO-8601 weekdays the shift runs on (1 = Monday … 7 = Sunday). At least one required. | |
| endTime | String! | Local clock time the shift ends, as 24-hour "HH:mm". Earlier than startTime marks the shift as overnight. | |
| id | ShiftDefinitionID | TypeID (prefix "shd") of the definition to overwrite. Omit to create a new one; when supplied and already present, createdAt is preserved. | |
| name | String! | Human-readable label for the shift. Must not be blank. | |
| startTime | String! | Local clock time the shift starts, as 24-hour "HH:mm". |