@ibiliaze/global-vars 1.10.0 → 1.12.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/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import ticketsInputsDefault from './ticketops/inputsDefault';
2
1
  import { sectors } from './ticketops/sectors';
3
2
  declare const globals: GlobalVars;
4
3
  export interface Cart {
@@ -16,8 +15,8 @@ export interface Globals {
16
15
  user?: User;
17
16
  checkout: {
18
17
  epoint: boolean;
18
+ lockTimerMs: number;
19
19
  };
20
- inputsDefault?: object;
21
20
  roles?: {
22
21
  path: string;
23
22
  name: string;
@@ -26,7 +25,7 @@ export interface Globals {
26
25
  sectors: typeof sectors;
27
26
  };
28
27
  }
28
+ export * as ticketopsTypes from './ticketops/inputsDefault';
29
29
  export * from './checkout';
30
- export { ticketsInputsDefault };
31
30
  export { sectors };
32
31
  export default globals;
package/dist/index.js CHANGED
@@ -14,10 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.sectors = exports.ticketsInputsDefault = void 0;
17
+ exports.sectors = exports.ticketopsTypes = void 0;
18
18
  const roles_1 = require("./ticketops/roles");
19
- const inputsDefault_1 = require("./ticketops/inputsDefault");
20
- exports.ticketsInputsDefault = inputsDefault_1.default;
21
19
  const sectors_1 = require("./ticketops/sectors");
22
20
  Object.defineProperty(exports, "sectors", { enumerable: true, get: function () { return sectors_1.sectors; } });
23
21
  const globals = {
@@ -25,19 +23,18 @@ const globals = {
25
23
  TicketOps_a: {
26
24
  cart: { timer: 10 * 60 * 1000 },
27
25
  user: { auth: true },
28
- checkout: { epoint: true },
26
+ checkout: { epoint: true, lockTimerMs: 16 * 60 * 1000 },
29
27
  roles: roles_1.default,
30
- inputsDefault: inputsDefault_1.default,
31
28
  tickets: { sectors: sectors_1.sectors },
32
29
  },
33
30
  TicketOps_b: {
34
31
  cart: { timer: 10 * 60 * 1000 },
35
32
  user: { auth: true },
36
- checkout: { epoint: false },
33
+ checkout: { epoint: false, lockTimerMs: 16 * 60 * 1000 },
37
34
  roles: roles_1.default,
38
- inputsDefault: inputsDefault_1.default,
39
35
  tickets: { sectors: sectors_1.sectors },
40
36
  },
41
37
  };
38
+ exports.ticketopsTypes = require("./ticketops/inputsDefault");
42
39
  __exportStar(require("./checkout"), exports);
43
40
  exports.default = globals;