Variable: DurationPricingUnit
const DurationPricingUnit: ZodEnum<{
day: "day";
hour: "hour";
night: "night";
}>;Defined in: shared/pricing/types/actions.ts:71
The units a BasePriceAction.per may name — the tier modal's
"Duration" select (PLA-233 #2), i.e. the SECOND axis in "Per attendee
per hour".
Deliberately a narrow subset of PricingUnit, not the whole enum:
hour/day/nightare the only units every quantity resolver in the repo answers as a duration (seegetBookingQuantityinserver/bookings/pricing-glue.ts).month/yearare excluded even though they read like durations: the bookings resolver answers them withcapacity_units, i.e. a COUNT. Allowing them here would letperson × monthmultiply party size by party size — the axis-squaring this type exists to prevent.unit/person/flatare counts, not durations. A second count axis has no product meaning ("per attendee per attendee").