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