@ibiliaze/global-vars 1.247.0 → 1.249.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
@@ -2,7 +2,6 @@ import type { FailType } from './fail';
2
2
  import { pages } from './ticketops/pages';
3
3
  export interface Cart {
4
4
  timer: number;
5
- limit: number;
6
5
  }
7
6
  export interface Customer {
8
7
  auth: boolean;
package/dist/globals.js CHANGED
@@ -6,19 +6,19 @@ const TIMER = 3 * 60 * 1000;
6
6
  exports.globals = {
7
7
  TradeOps_a: {},
8
8
  SabahFK_A: {
9
- cart: { timer: TIMER, limit: 100 },
9
+ cart: { timer: TIMER },
10
10
  customer: { auth: true },
11
11
  checkout: { epoint: true, lockTimerMs: TIMER },
12
12
  tickets: { accessControl: 'EPRA', pages: pages_1.pages },
13
13
  },
14
14
  SabahFK_B: {
15
- cart: { timer: TIMER, limit: 100 },
15
+ cart: { timer: TIMER },
16
16
  customer: { auth: true },
17
17
  checkout: { epoint: false, lockTimerMs: TIMER },
18
18
  tickets: { accessControl: 'EPRA', pages: pages_1.pages },
19
19
  },
20
20
  Sumgayit: {
21
- cart: { timer: TIMER, limit: 100 },
21
+ cart: { timer: TIMER },
22
22
  customer: { auth: true },
23
23
  checkout: { epoint: false, lockTimerMs: TIMER },
24
24
  tickets: { accessControl: 'TACS', pages: pages_1.pages },
@@ -274,6 +274,7 @@ export interface SeasonBase<Id, TDate> {
274
274
  export interface FlowBase<Id, TDate> {
275
275
  _id?: Id;
276
276
  name: string;
277
+ buyLimit: number;
277
278
  description?: string;
278
279
  type: (typeof flows)[number];
279
280
  createdAt?: TDate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.247.0",
3
+ "version": "1.249.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.247.0 -m 'v1.247.0'; git push origin v1.247.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.249.0 -m 'v1.249.0'; git push origin v1.249.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",