@seatsio/seatsio-types 6.1.0 → 6.2.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
|
@@ -892,6 +892,7 @@ export type TicketType = {
|
|
|
892
892
|
fee?: number;
|
|
893
893
|
label?: string;
|
|
894
894
|
description?: string;
|
|
895
|
+
primary?: boolean;
|
|
895
896
|
};
|
|
896
897
|
export type PricingForCategory = (SimplePricing | MultiLevelPricing);
|
|
897
898
|
export type PricingForObjects = (SimplePricingForObjects | MultiLevelPricingForObjects);
|
|
@@ -912,7 +913,7 @@ export type Pricing = {
|
|
|
912
913
|
prices: (PricingForCategory | PricingForObjects)[];
|
|
913
914
|
showSectionPricingOverlay?: boolean;
|
|
914
915
|
} | LegacyPricing;
|
|
915
|
-
export type SelectionValidator = SelectionValidatorNoOrphanSeats | SelectionValidatorConsecutiveSeats | SelectionValidatorMinimumSelectedPlaces;
|
|
916
|
+
export type SelectionValidator = SelectionValidatorNoOrphanSeats | SelectionValidatorConsecutiveSeats | SelectionValidatorMinimumSelectedPlaces | SelectionValidatorCompanionSeats;
|
|
916
917
|
interface SelectionValidatorNoOrphanSeats {
|
|
917
918
|
type: 'noOrphanSeats';
|
|
918
919
|
mode?: 'strict' | 'lenient';
|
|
@@ -926,6 +927,10 @@ interface SelectionValidatorMinimumSelectedPlaces {
|
|
|
926
927
|
type: 'minimumSelectedPlaces';
|
|
927
928
|
minimum: number;
|
|
928
929
|
}
|
|
930
|
+
interface SelectionValidatorCompanionSeats {
|
|
931
|
+
type: 'companionSeats';
|
|
932
|
+
enabled?: boolean;
|
|
933
|
+
}
|
|
929
934
|
export interface SelectableAmount {
|
|
930
935
|
label: string;
|
|
931
936
|
amount: number;
|