@seatsio/seatsio-types 6.17.0 → 6.19.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 +2 -2
- package/dist/index.js +5 -5
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -508,12 +508,12 @@ export interface BaseChartDesignerConfigOptions {
|
|
|
508
508
|
features?: {
|
|
509
509
|
disabled?: (keyof ChartDesignerFeatures)[];
|
|
510
510
|
enabled?: (keyof ChartDesignerFeatures)[];
|
|
511
|
-
readOnly?: ('chartName' | 'categoryList')[];
|
|
511
|
+
readOnly?: ('chartName' | 'categoryList' | 'categoryKeys')[];
|
|
512
512
|
};
|
|
513
513
|
/**
|
|
514
514
|
* Documentation: {@link https://docs.seats.io/docs/embedded-designer/configuration-language}
|
|
515
515
|
*/
|
|
516
|
-
language?: 'de' | 'en' | 'es' | 'fr' | 'pt' | 'it' | 'ar';
|
|
516
|
+
language?: 'de' | 'en' | 'es' | 'fr' | 'pt' | 'it' | 'ar' | 'pl';
|
|
517
517
|
onChartCreated?: (chartKey: string) => void;
|
|
518
518
|
onChartPublished?: (chartKey: string) => void;
|
|
519
519
|
onChartUpdated?: (chartKey: string) => void;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.OrderChangeType = void 0;
|
|
4
|
+
exports.isBooth = isBooth;
|
|
5
|
+
exports.isSeat = isSeat;
|
|
6
|
+
exports.isGeneralAdmission = isGeneralAdmission;
|
|
7
|
+
exports.isTable = isTable;
|
|
4
8
|
var OrderChangeType;
|
|
5
9
|
(function (OrderChangeType) {
|
|
6
10
|
OrderChangeType["PLACE_ADDED"] = "PLACE_ADDED";
|
|
@@ -11,16 +15,12 @@ var OrderChangeType;
|
|
|
11
15
|
function isBooth(object) {
|
|
12
16
|
return object.objectType === 'Booth';
|
|
13
17
|
}
|
|
14
|
-
exports.isBooth = isBooth;
|
|
15
18
|
function isSeat(object) {
|
|
16
19
|
return object.objectType === 'Seat';
|
|
17
20
|
}
|
|
18
|
-
exports.isSeat = isSeat;
|
|
19
21
|
function isGeneralAdmission(object) {
|
|
20
22
|
return object.objectType === 'GeneralAdmissionArea';
|
|
21
23
|
}
|
|
22
|
-
exports.isGeneralAdmission = isGeneralAdmission;
|
|
23
24
|
function isTable(object) {
|
|
24
25
|
return object.objectType === 'Table';
|
|
25
26
|
}
|
|
26
|
-
exports.isTable = isTable;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seatsio/seatsio-types",
|
|
3
3
|
"description": "Type definitions for Seats.io",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.19.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"url": "https://github.com/seatsio/seatsio-types"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"
|
|
16
|
+
"@types/node": "26.1.1",
|
|
17
|
+
"typescript": "5.9.3",
|
|
17
18
|
"zx": "8.1.8",
|
|
18
19
|
"semver": "7.6.3"
|
|
19
20
|
},
|