ScheduleException
Stentor API Reference / stentor-models/src / ScheduleException
Interface: ScheduleException
Defined in: packages/stentor-models/src/Form/FormField.ts:504
An override of the weekly schedule for one specific date, such as a holiday or a Saturday with shortened hours.
Properties​
date​
date:
string
Defined in: packages/stentor-models/src/Form/FormField.ts:508
The date being overridden, in "YYYY-MM-DD" form.
spans​
spans:
TimeSpan[]
Defined in: packages/stentor-models/src/Form/FormField.ts:515
The spans open on this date. These replace the spans the weekday would otherwise contribute rather than adding to them.
An empty array means closed.