@seatsio/seatsio-types 6.24.0 → 6.26.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 +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1043,6 +1043,7 @@ export interface InteractiveObject {
|
|
|
1043
1043
|
readonly floor?: string;
|
|
1044
1044
|
readonly zone?: string;
|
|
1045
1045
|
}
|
|
1046
|
+
export type TableType = 'bookByTable' | 'bookBySeat' | 'variableOccupancy' | 'generalAdmission';
|
|
1046
1047
|
export interface NonBookableTable extends InteractiveObject {
|
|
1047
1048
|
readonly seats: Seat[];
|
|
1048
1049
|
readonly center: {
|
|
@@ -1050,6 +1051,7 @@ export interface NonBookableTable extends InteractiveObject {
|
|
|
1050
1051
|
y: number;
|
|
1051
1052
|
};
|
|
1052
1053
|
readonly category?: CategoryToJSON;
|
|
1054
|
+
readonly tableType: TableType;
|
|
1053
1055
|
}
|
|
1054
1056
|
export interface NonBookableTableSeat extends InteractiveObject {
|
|
1055
1057
|
readonly center: {
|
|
@@ -1144,6 +1146,7 @@ export interface Table extends AbstractBookableObject {
|
|
|
1144
1146
|
x: number;
|
|
1145
1147
|
y: number;
|
|
1146
1148
|
};
|
|
1149
|
+
readonly tableType: TableType;
|
|
1147
1150
|
}
|
|
1148
1151
|
export type GeneralAdmissionAreaType = 'generalAdmission' | 'fixedOccupancy' | 'variableOccupancy';
|
|
1149
1152
|
export interface GeneralAdmissionArea extends AbstractBookableObject {
|
|
@@ -1157,7 +1160,7 @@ export interface GeneralAdmissionArea extends AbstractBookableObject {
|
|
|
1157
1160
|
readonly dataPerEvent: Dict<object>;
|
|
1158
1161
|
readonly bookAsAWhole: boolean;
|
|
1159
1162
|
readonly labelShown: boolean;
|
|
1160
|
-
readonly
|
|
1163
|
+
readonly areaType: GeneralAdmissionAreaType;
|
|
1161
1164
|
}
|
|
1162
1165
|
export type BookableObject = Seat | GeneralAdmissionArea | Booth | Table;
|
|
1163
1166
|
export type SelectableObject = BookableObject | InteractiveSection;
|