ShiftTemplate
Template corresponding to shift elements
type ShiftTemplate implements ShiftPlanTemplate {
abbreviation: String!
backgroundColor: String!
description: String!
duration: Int
endTime: Time!
fontColor: String!
id: ShiftPlanTemplateID!
isActive: Boolean!
pauseTime: Int
startTime: Time!
}
Fields
ShiftTemplate.abbreviation ● String! non-null scalar
Abbreviation, which is shown in the shift plan overview
ShiftTemplate.backgroundColor ● String! non-null scalar
Background color when visualizing the element in the shift plan (as a hexadecimal number)
ShiftTemplate.description ● String! non-null scalar
Description of the shift
ShiftTemplate.duration ● Int scalar
The default duration for the shifts generated by the templates (needed for the FE caching mechanism).
ShiftTemplate.endTime ● Time! non-null scalar
Ending time of the shift
ShiftTemplate.fontColor ● String! non-null scalar
Font color when visualizing the element in the shift plan (as a hexadecimal number)
ShiftTemplate.id ● ShiftPlanTemplateID! non-null scalar
Unique identifier
ShiftTemplate.isActive ● Boolean! non-null scalar
Is the template activated and could it be used in the shift plan?
ShiftTemplate.pauseTime ● Int scalar
Default pause time in minutes, gets subtracted from the duration
ShiftTemplate.startTime ● Time! non-null scalar
Starting time of the shift
Interfaces
ShiftPlanTemplate interface
A template used in the shift plan for the creation of shift elements
Returned By
createShiftTemplate mutation ● shiftTemplates query