BusyDayDescription
Stentor API Reference / stentor-models/src / BusyDayDescription
Interface: BusyDayDescription
Defined in: packages/stentor-models/src/Form/FormField.ts:177
Propertiesβ
availableDays?β
readonlyoptionalavailableDays:DayOfWeek[]
Defined in: packages/stentor-models/src/Form/FormField.ts:181
The days of the week that are available for appointments.
blockWeekends?β
readonlyoptionalblockWeekends:boolean
Defined in: packages/stentor-models/src/Form/FormField.ts:187
Blocks all weekends
If provided, it will override the availableDays.
blockCurrentDay?β
readonlyoptionalblockCurrentDay:boolean
Defined in: packages/stentor-models/src/Form/FormField.ts:194
Blocks the current day.
If it is a weekend and weekends are not blocked, it will be blocked. If it is a weekend and weekends are blocked, the it will be disregarded.
currentDayAvailableUntil?β
readonlyoptionalcurrentDayAvailableUntil:string
Defined in: packages/stentor-models/src/Form/FormField.ts:198
Blocks the current day until the specified time. This is in the format of HH:MM.
blockNextBusinessDays?β
readonlyoptionalblockNextBusinessDays:number
Defined in: packages/stentor-models/src/Form/FormField.ts:206
Blocks the next number of business days.
One business day will bock the next business day.
If this is set, it will override the availableDays, blockWeekends, and blockCurrentDay.