@seatsio/seatsio-types 5.10.0 → 5.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -899,7 +899,12 @@ export type TicketType = {
|
|
|
899
899
|
};
|
|
900
900
|
export type PricingForCategory = (SimplePricing | MultiLevelPricing);
|
|
901
901
|
export type PricingForObjects = (SimplePricingForObjects | MultiLevelPricingForObjects);
|
|
902
|
-
|
|
902
|
+
type LegacyPricing = (PricingForCategory | PricingForObjects)[];
|
|
903
|
+
export type Pricing = {
|
|
904
|
+
priceFormatter?: (price: number) => string;
|
|
905
|
+
prices: (PricingForCategory | PricingForObjects)[];
|
|
906
|
+
showSectionPricingOverlay?: boolean;
|
|
907
|
+
} | LegacyPricing;
|
|
903
908
|
export type SelectionValidator = SelectionValidatorNoOrphanSeats | SelectionValidatorConsecutiveSeats | SelectionValidatorMinimumSelectedPlaces;
|
|
904
909
|
interface SelectionValidatorNoOrphanSeats {
|
|
905
910
|
type: 'noOrphanSeats';
|