@seatsio/seatsio-types 6.10.0 → 6.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 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -647,6 +647,10 @@ export type Category = {
|
|
|
647
647
|
};
|
|
648
648
|
hasSelectableObjects: boolean;
|
|
649
649
|
};
|
|
650
|
+
export type Zone = {
|
|
651
|
+
key: string;
|
|
652
|
+
label: string | null;
|
|
653
|
+
};
|
|
650
654
|
export type HoldToken = {
|
|
651
655
|
token: string;
|
|
652
656
|
expiresAt: string;
|
|
@@ -1000,6 +1004,7 @@ export interface InteractiveObject {
|
|
|
1000
1004
|
readonly label: string;
|
|
1001
1005
|
readonly labels: Labels;
|
|
1002
1006
|
readonly floor?: string;
|
|
1007
|
+
readonly zone?: string;
|
|
1003
1008
|
}
|
|
1004
1009
|
export interface NonBookableTable extends InteractiveObject {
|
|
1005
1010
|
readonly seats: Seat[];
|
|
@@ -1120,6 +1125,7 @@ export interface SeatingChart {
|
|
|
1120
1125
|
getReportBySelectability: () => Promise<Object>;
|
|
1121
1126
|
holdToken: string;
|
|
1122
1127
|
listCategories: () => Promise<Category[]>;
|
|
1128
|
+
listZones: () => Promise<Zone[]>;
|
|
1123
1129
|
listSelectedObjects: () => Promise<SelectableObject[]>;
|
|
1124
1130
|
render: () => SeatingChart;
|
|
1125
1131
|
rerender: () => void;
|