@ibiliaze/global-vars 1.92.0 → 1.94.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.
|
@@ -364,15 +364,16 @@ export interface FileBase<Id, TDate> {
|
|
|
364
364
|
createdAt?: TDate;
|
|
365
365
|
updatedAt?: TDate;
|
|
366
366
|
}
|
|
367
|
-
export interface
|
|
368
|
-
flowId: Id;
|
|
369
|
-
sectionIds: Id[];
|
|
370
|
-
categoryIds: Id[];
|
|
371
|
-
}
|
|
372
|
-
export interface CategoryLinkBase<Id> {
|
|
367
|
+
export interface FixtureSectionBase<Id> {
|
|
373
368
|
sectionId: Id;
|
|
374
369
|
sectionName: string;
|
|
375
370
|
categoryId: Id;
|
|
371
|
+
categoryName: string;
|
|
372
|
+
flows: {
|
|
373
|
+
flowId: Id;
|
|
374
|
+
name: string;
|
|
375
|
+
type: (typeof flows)[number];
|
|
376
|
+
}[];
|
|
376
377
|
price: number;
|
|
377
378
|
disabled?: boolean;
|
|
378
379
|
}
|
|
@@ -386,8 +387,7 @@ export interface FixtureBase<Id, TDate> {
|
|
|
386
387
|
description?: string;
|
|
387
388
|
minimumReaders?: number;
|
|
388
389
|
active?: boolean;
|
|
389
|
-
|
|
390
|
-
categoryLinks?: CategoryLinkBase<Id>[];
|
|
390
|
+
sections?: FixtureSectionBase<Id>[];
|
|
391
391
|
createdAt?: TDate;
|
|
392
392
|
updatedAt?: TDate;
|
|
393
393
|
}
|
|
@@ -479,8 +479,12 @@ export interface OccupanceBase<Id, TDate> {
|
|
|
479
479
|
seatId: Id;
|
|
480
480
|
sectionId: Id;
|
|
481
481
|
fixtureId: Id;
|
|
482
|
-
|
|
483
|
-
|
|
482
|
+
flow?: {
|
|
483
|
+
flowId: Id;
|
|
484
|
+
name: string;
|
|
485
|
+
type: (typeof flows)[number];
|
|
486
|
+
};
|
|
487
|
+
categoryId?: Id;
|
|
484
488
|
ticketCode: string;
|
|
485
489
|
sale?: OccupanceSaleBase<Id>;
|
|
486
490
|
occupied?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiliaze/global-vars",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.94.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsc",
|
|
24
24
|
"pub": "npm publish --access public",
|
|
25
|
-
"git": "git add .; git commit -m 'changes'; git tag -a v1.
|
|
25
|
+
"git": "git add .; git commit -m 'changes'; git tag -a v1.94.0 -m 'v1.94.0'; git push origin v1.94.0; git push",
|
|
26
26
|
"push": "npm run build; npm run git; npm run pub"
|
|
27
27
|
},
|
|
28
28
|
"author": "Ibi Hasanli",
|