@ibiliaze/global-vars 1.231.0 → 1.232.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/fail.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const failTypes: readonly ["epra", "tacs"];
1
+ export declare const failTypes: readonly ["EPRA", "TACS"];
2
2
  export type FailType = (typeof failTypes)[number];
package/dist/fail.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.failTypes = void 0;
4
- exports.failTypes = ['epra', 'tacs'];
4
+ exports.failTypes = ['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;
@@ -16,7 +17,7 @@ export interface Globals {
16
17
  lockTimerMs: number;
17
18
  };
18
19
  tickets: {
19
- accessControl: 'epra' | 'tacs';
20
+ accessControl: FailType;
20
21
  pages: typeof pages;
21
22
  };
22
23
  }
package/dist/globals.js CHANGED
@@ -9,19 +9,19 @@ exports.globals = {
9
9
  cart: { timer: TIMER, limit: 100 },
10
10
  customer: { auth: true },
11
11
  checkout: { epoint: true, lockTimerMs: TIMER },
12
- tickets: { accessControl: 'epra', pages: pages_1.pages },
12
+ tickets: { accessControl: 'EPRA', pages: pages_1.pages },
13
13
  },
14
14
  SabahFK_B: {
15
15
  cart: { timer: TIMER, limit: 100 },
16
16
  customer: { auth: true },
17
17
  checkout: { epoint: false, lockTimerMs: TIMER },
18
- tickets: { accessControl: 'epra', pages: pages_1.pages },
18
+ tickets: { accessControl: 'EPRA', pages: pages_1.pages },
19
19
  },
20
20
  Sumgayit: {
21
21
  cart: { timer: TIMER, limit: 100 },
22
22
  customer: { auth: true },
23
23
  checkout: { epoint: false, lockTimerMs: TIMER },
24
- tickets: { accessControl: 'tacs', pages: pages_1.pages },
24
+ tickets: { accessControl: 'TACS', pages: pages_1.pages },
25
25
  },
26
26
  };
27
27
  exports.default = exports.globals;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.231.0",
3
+ "version": "1.232.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.231.0 -m 'v1.231.0'; git push origin v1.231.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.232.0 -m 'v1.232.0'; git push origin v1.232.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",