Skip to main content

SavedShiftPlan

A shift plan for a given residential park and month after being saved as final

type SavedShiftPlan implements ShiftPlan {
document: Document
employeeEntries: [EmployeeShiftEntry!]
id: ShiftPlanID
locked: Boolean!
month: Date!
savedAt: LocalDateTime!
unassignedShifts: [UnassignedShiftEntry]!
version: Int!
}

Fields

SavedShiftPlan.document ● Document object

The saved shift plan as PDF.

SavedShiftPlan.employeeEntries ● [EmployeeShiftEntry!] list object

Shifts planned for the employees for the provided month

SavedShiftPlan.id ● ShiftPlanID scalar

Unique identifier

SavedShiftPlan.locked ● Boolean! non-null scalar

Is the shift plan permanently locked?

SavedShiftPlan.month ● Date! non-null scalar

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

SavedShiftPlan.savedAt ● LocalDateTime! non-null scalar

The moment the shift plan was saved as final

SavedShiftPlan.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.

SavedShiftPlan.version ● Int! non-null scalar

Version of the shift plan, increases with each save

Interfaces

ShiftPlan interface

A shift plan for a given residential park and month

Returned By

lockShiftPlan mutation ● saveShiftPlan mutation

Member Of

ResidentialPark object