Skip to main content

NextBusinessDayBlock

Stentor API Reference


Stentor API Reference / stentor-models/src / NextBusinessDayBlock

Interface: NextBusinessDayBlock

Defined in: packages/stentor-models/src/Form/FormField.ts:396

A partial-day block the server computed for a single date, from BusyDayDescription.afterHoursNextDayBlockedUntil.

Both values are already in the business's wall clock; consumers compare them as-is and never convert through the browser's timezone.

Properties​

date​

readonly date: string

Defined in: packages/stentor-models/src/Form/FormField.ts:400

The blocked date, yyyy-MM-dd.


blockedUntil​

readonly blockedUntil: string

Defined in: packages/stentor-models/src/Form/FormField.ts:404

HH:MM (24-hour). Times before this on date are unavailable.