Skip to main content

ShiftPlan

A shift plan for a given residential park and month

interface ShiftPlan {
employeeEntries: [EmployeeShiftEntry!]
id: ShiftPlanID
month: Date!
unassignedShifts: [UnassignedShiftEntry]!
}

Fields

ShiftPlan.employeeEntries ● [EmployeeShiftEntry!] list object

Shifts planned for the employees for the provided month

ShiftPlan.id ● ShiftPlanID scalar

Unique identifier

ShiftPlan.month ● Date! non-null scalar

Month for which the shift plan is valid. Date is always the first of the month.

ShiftPlan.unassignedShifts ● [UnassignedShiftEntry]! non-null object

All shifts that are not assigned yet. Outer array has elements for each day. Inner array is the list of shifts for the given day. Only tour shifts can be unassigned.

Returned By

shiftPlan query

Implemented By

SavedShiftPlan object ● ShiftPlanDraft object