Archived
Type the at-the-door page and share pricing helpers
Each door panel and modal gets typed props; unused setError/setInfo/ onCreated props are dropped. The current early-bird price helpers move to src/lib/pricing.ts (shared with manual registration), dead fallbacks for a legacy registration 'options' field are removed, and the refund history now shows a refund's reason (stored in its status field) instead of a 'reason' field that never exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -271,6 +271,8 @@ export type RegistrationOption = {
|
||||
variant?: OptionVariant | null;
|
||||
// One entry per price the line was bought at (e.g. some before an early-bird tier expired).
|
||||
tranches?: { id: string; quantity: number; priceSnapshot: number; appliedTierId?: string | null }[];
|
||||
tickets?: { id: string; quantity?: number }[];
|
||||
registration?: Registration;
|
||||
};
|
||||
|
||||
// A named person on a group registration, for one main-ticket place.
|
||||
|
||||
Reference in New Issue
Block a user