Skip to main content

AddTaskInput

Input for the adding of a new task to the plan

input AddTaskInput {
date: Date
employeeId: EmployeeID
shiftId: ShiftID
templateId: ShiftPlanTemplateID!
}

Fields

AddTaskInput.date ● Date scalar

Date of the shift, if no shiftId is provided. Times are calculated automatically

AddTaskInput.employeeId ● EmployeeID scalar

ID of the employee. Only when no shift ID is provided

AddTaskInput.shiftId ● ShiftID scalar

Shift to add the element to. If none provided, a new shift is created.

AddTaskInput.templateId ● ShiftPlanTemplateID! non-null scalar

ID of the template to create the element from

Member Of

addTask mutation