@ibiliaze/global-vars 1.4.0 → 1.6.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,6 +1,5 @@
1
- export * from './checkout';
2
- declare const _default: GlobalVars;
3
- export default _default;
1
+ import ticketsInputsDefault from './ticketops/inputsDefault';
2
+ declare const globals: GlobalVars;
4
3
  export interface Cart {
5
4
  timer: number;
6
5
  }
@@ -14,8 +13,12 @@ export type GlobalVars = {
14
13
  export interface Globals {
15
14
  cart?: Cart;
16
15
  user?: User;
16
+ inputsDefault?: object;
17
17
  roles?: {
18
18
  path: string;
19
19
  name: string;
20
20
  }[];
21
21
  }
22
+ export * from './checkout';
23
+ export { ticketsInputsDefault };
24
+ export default globals;
package/dist/index.js CHANGED
@@ -14,18 +14,24 @@ 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.ticketsInputsDefault = void 0;
17
18
  const roles_1 = require("./ticketops/roles");
18
- __exportStar(require("./checkout"), exports);
19
- exports.default = {
19
+ const inputsDefault_1 = require("./ticketops/inputsDefault");
20
+ exports.ticketsInputsDefault = inputsDefault_1.default;
21
+ const globals = {
20
22
  TradeOps_a: {},
21
23
  TicketOps_a: {
22
24
  cart: { timer: 10 * 60 * 1000 },
23
25
  user: { auth: true },
24
26
  roles: roles_1.default,
27
+ inputsDefault: inputsDefault_1.default,
25
28
  },
26
29
  TicketOps_b: {
27
30
  cart: { timer: 10 * 60 * 1000 },
28
31
  user: { auth: false },
29
32
  roles: roles_1.default,
33
+ inputsDefault: inputsDefault_1.default,
30
34
  },
31
35
  };
36
+ __exportStar(require("./checkout"), exports);
37
+ exports.default = globals;
package/dist/test.d.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
package/dist/test.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });