TaskShiftElement
Element of a shift representing a single task
type TaskShiftElement implements ShiftElement {
assignee: Employee
backgroundColor: String!
date: Date!
description: String
fontColor: String!
id: ShiftElementID!
label: String!
notes: String
}
Fields
TaskShiftElement.assignee ● Employee object
The employee this element is assigned to. (Optional) Not available on unassigned tour shifts.
TaskShiftElement.backgroundColor ● String! non-null scalar
Background color when visualizing the element in the shift plan (as a hexadecimal number)
TaskShiftElement.date ● Date! non-null scalar
The day, when the task is planned
TaskShiftElement.description ● String scalar
Additional short description of the shift
TaskShiftElement.fontColor ● String! non-null scalar
Font color when visualizing the element in the shift plan (as a hexadecimal number)
TaskShiftElement.id ● ShiftElementID! non-null scalar
Unique identifier
TaskShiftElement.label ● String! non-null scalar
Short label for the shift
TaskShiftElement.notes ● String scalar
Notes regarding the shift, up to 500 characters
Interfaces
ShiftElement interface
A single element as a part of the employee's shift
Returned By
addTask mutation