@ibiliaze/global-vars 1.270.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/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
@@ -19,7 +19,6 @@ export * from './tickets';
19
19
  export * from './webrtc';
20
20
  export * from './sockets';
21
21
  export * from './globals';
22
- export * from './event';
23
22
  export * from './ticketops/inputsDefault';
24
23
  export * from './ticketops/pages';
25
24
  export * from './ticketops/sale';
package/dist/index.js CHANGED
@@ -35,7 +35,6 @@ __exportStar(require("./tickets"), exports);
35
35
  __exportStar(require("./webrtc"), exports);
36
36
  __exportStar(require("./sockets"), exports);
37
37
  __exportStar(require("./globals"), exports);
38
- __exportStar(require("./event"), exports);
39
38
  __exportStar(require("./ticketops/inputsDefault"), exports);
40
39
  __exportStar(require("./ticketops/pages"), exports);
41
40
  __exportStar(require("./ticketops/sale"), exports);
@@ -13,7 +13,6 @@ import type { AgendaJobType, CampaignStageCondition, CampaigType } from '../camp
13
13
  import type { AccountProvider } from '../account';
14
14
  import type { LinkGroup, LinkType } from '../settings';
15
15
  import type { LanguageType } from '../languages';
16
- import type { AccessControlType } from '../event';
17
16
  export type ISODateString = string;
18
17
  export type NameLangs = Record<LanguageType, string>;
19
18
  export interface SeatBase<Id, TDate> {
@@ -250,7 +249,6 @@ export interface EventBase<Id, TDate> {
250
249
  date: TDate;
251
250
  venueId: string;
252
251
  typeId: Id;
253
- accessControls: AccessControlType[];
254
252
  buyLimits: Record<string, number>;
255
253
  imgSrc?: string;
256
254
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.270.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.270.0 -m 'v1.270.0'; git push origin v1.270.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",