@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.
@@ -0,0 +1,2 @@
1
+ export declare const accessControls: readonly ["EPRA", "TACS"];
2
+ export type AccessControlType = (typeof accessControls)[number];
package/dist/event.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.accessControls = void 0;
4
+ exports.accessControls = ['EPRA', 'TACS'];
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 type * from './tickets';
19
- export type * from './webrtc';
20
- export type * from './sockets';
21
- export type * from './globals';
22
- export type * from './checkout';
23
- export type * from './settings';
24
- export type * from './prospect';
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.269.0",
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.269.0 -m 'v1.269.0'; git push origin v1.269.0; git push",
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",