@ibiliaze/global-vars 1.269.0 → 1.271.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/event.d.ts +2 -0
- package/dist/event.js +4 -0
- package/dist/globals.d.ts +2 -0
- package/dist/globals.js +3 -3
- package/dist/index.d.ts +7 -21
- package/dist/index.js +7 -0
- package/dist/ticketops/inputsDefault.d.ts +0 -2
- package/package.json +2 -2
package/dist/event.d.ts
ADDED
package/dist/event.js
ADDED
package/dist/globals.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FailType } from './fail';
|
|
1
2
|
import { pages } from './ticketops/pages';
|
|
2
3
|
export interface Cart {
|
|
3
4
|
timer: number;
|
|
@@ -15,6 +16,7 @@ export interface Globals {
|
|
|
15
16
|
lockTimerMs: number;
|
|
16
17
|
};
|
|
17
18
|
tickets: {
|
|
19
|
+
accessControls: FailType[];
|
|
18
20
|
pages: typeof pages;
|
|
19
21
|
};
|
|
20
22
|
}
|
package/dist/globals.js
CHANGED
|
@@ -9,19 +9,19 @@ exports.globals = {
|
|
|
9
9
|
cart: { timer: TIMER },
|
|
10
10
|
customer: { auth: true },
|
|
11
11
|
checkout: { epoint: true, lockTimerMs: TIMER },
|
|
12
|
-
tickets: { pages: pages_1.pages },
|
|
12
|
+
tickets: { accessControls: ['EPRA'], pages: pages_1.pages },
|
|
13
13
|
},
|
|
14
14
|
SabahFK_B: {
|
|
15
15
|
cart: { timer: TIMER },
|
|
16
16
|
customer: { auth: true },
|
|
17
17
|
checkout: { epoint: false, lockTimerMs: TIMER },
|
|
18
|
-
tickets: { pages: pages_1.pages },
|
|
18
|
+
tickets: { accessControls: ['EPRA'], pages: pages_1.pages },
|
|
19
19
|
},
|
|
20
20
|
Sumgayit: {
|
|
21
21
|
cart: { timer: TIMER },
|
|
22
22
|
customer: { auth: true },
|
|
23
23
|
checkout: { epoint: false, lockTimerMs: TIMER },
|
|
24
|
-
tickets: { pages: pages_1.pages },
|
|
24
|
+
tickets: { accessControls: ['TACS'], pages: pages_1.pages },
|
|
25
25
|
},
|
|
26
26
|
};
|
|
27
27
|
exports.default = exports.globals;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,24 +15,10 @@ export * from './page';
|
|
|
15
15
|
export * from './languages';
|
|
16
16
|
export * from './ticketops/sale';
|
|
17
17
|
export * from './ticketops/roles';
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export type * from './account';
|
|
26
|
-
export type * from './campaign';
|
|
27
|
-
export type * from './sale';
|
|
28
|
-
export type * from './genders';
|
|
29
|
-
export type * from './countries';
|
|
30
|
-
export type * from './languages';
|
|
31
|
-
export type * from './channel';
|
|
32
|
-
export type * from './group';
|
|
33
|
-
export type * from './fail';
|
|
34
|
-
export type * from './notification';
|
|
35
|
-
export type * from './page';
|
|
36
|
-
export type * from './ticketops/inputsDefault';
|
|
37
|
-
export type * from './ticketops/pages';
|
|
38
|
-
export type * from './ticketops/sale';
|
|
18
|
+
export * from './tickets';
|
|
19
|
+
export * from './webrtc';
|
|
20
|
+
export * from './sockets';
|
|
21
|
+
export * from './globals';
|
|
22
|
+
export * from './ticketops/inputsDefault';
|
|
23
|
+
export * from './ticketops/pages';
|
|
24
|
+
export * from './ticketops/sale';
|
package/dist/index.js
CHANGED
|
@@ -31,3 +31,10 @@ __exportStar(require("./page"), exports);
|
|
|
31
31
|
__exportStar(require("./languages"), exports);
|
|
32
32
|
__exportStar(require("./ticketops/sale"), exports);
|
|
33
33
|
__exportStar(require("./ticketops/roles"), exports);
|
|
34
|
+
__exportStar(require("./tickets"), exports);
|
|
35
|
+
__exportStar(require("./webrtc"), exports);
|
|
36
|
+
__exportStar(require("./sockets"), exports);
|
|
37
|
+
__exportStar(require("./globals"), exports);
|
|
38
|
+
__exportStar(require("./ticketops/inputsDefault"), exports);
|
|
39
|
+
__exportStar(require("./ticketops/pages"), exports);
|
|
40
|
+
__exportStar(require("./ticketops/sale"), exports);
|
|
@@ -249,7 +249,6 @@ export interface EventBase<Id, TDate> {
|
|
|
249
249
|
date: TDate;
|
|
250
250
|
venueId: string;
|
|
251
251
|
typeId: Id;
|
|
252
|
-
accessControls: AccessControlType[];
|
|
253
252
|
buyLimits: Record<string, number>;
|
|
254
253
|
imgSrc?: string;
|
|
255
254
|
description?: string;
|
|
@@ -260,7 +259,6 @@ export interface EventBase<Id, TDate> {
|
|
|
260
259
|
createdAt?: TDate;
|
|
261
260
|
updatedAt?: TDate;
|
|
262
261
|
}
|
|
263
|
-
export type AccessControlType = 'EPRA' | 'TACS';
|
|
264
262
|
export interface SeasonBase<Id, TDate> {
|
|
265
263
|
_id?: Id;
|
|
266
264
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiliaze/global-vars",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.271.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.271.0 -m 'v1.271.0'; git push origin v1.271.0; git push",
|
|
26
26
|
"push": "npm run build; npm run git; npm run pub"
|
|
27
27
|
},
|
|
28
28
|
"author": "Ibi Hasanli",
|