Kaizen
Browse modulesBookingsbookings/serverTypes

Type Alias: CapacityCheckOptions

type CapacityCheckOptions = {
  allowOverbook?: boolean;
  excludeBookingIds?: readonly string[];
  now: Date;
};

Defined in: server/bookings/capacity.ts:87

Properties

allowOverbook?

optional allowOverbook?: boolean;

Defined in: server/bookings/capacity.ts:89

Bypass limits, never unsupported capacity models.


excludeBookingIds?

optional excludeBookingIds?: readonly string[];

Defined in: server/bookings/capacity.ts:98

Transfer self-exclusion seam (ยง6.6): bookings whose occupancy must not count against the batch (e.g. the booking being superseded in a same-slot handoff). The batch members' OWN bookings are always excluded in addition to these โ€” a held row being confirmed must not conflict with itself.


now

now: Date;

Defined in: server/bookings/capacity.ts:91

Injected clock value โ€” drives the hold-expiry predicate.

On this page