Kaizen
Browse modulesPricingpricing/sharedSchemas and constants

Variable: PRICING\_UNIT\_LABELS

const PRICING_UNIT_LABELS: Record<PricingUnit, string>;

Defined in: shared/pricing/unit-labels.ts:16

Product-facing label for every PricingUnit, as the Figma writes them.

Shared rather than private to a component because two surfaces render it and they must not drift: the tier dialog's pricing-unit select, and the matrix grid's per-cell caption beneath the amount ("Fixed amount", "Per attendee"). A cell showing a different word for the same stored unit than the dialog that set it would be a straightforward bug.

Covers all eight enum members, not just the four the dialog offers — a cell can hold any of them (set by a consumer calling setCellPrice directly), and the grid has to render whatever it finds rather than falling back to the raw enum.