@ibiliaze/global-vars 1.25.0 → 1.26.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
@@ -3,6 +3,7 @@ import { sectors as sumgayiqSectors } from './ticketops/sumgayiqSectors';
3
3
  declare const globals: GlobalVars;
4
4
  export interface Cart {
5
5
  timer: number;
6
+ limit: number;
6
7
  }
7
8
  export interface User {
8
9
  auth: boolean;
package/dist/index.js CHANGED
@@ -23,21 +23,21 @@ Object.defineProperty(exports, "sumgayiqSectors", { enumerable: true, get: funct
23
23
  const globals = {
24
24
  TradeOps_a: {},
25
25
  SabahFK_A: {
26
- cart: { timer: 10 * 60 * 1000 },
26
+ cart: { timer: 10 * 60 * 1000, limit: 100 },
27
27
  user: { auth: true },
28
28
  checkout: { epoint: true, lockTimerMs: 16 * 60 * 1000 },
29
29
  roles: roles_1.default,
30
30
  tickets: { sectors: sabahSectors_1.sectors, accessControl: 'epra' },
31
31
  },
32
32
  SabahFK_B: {
33
- cart: { timer: 10 * 60 * 1000 },
33
+ cart: { timer: 10 * 60 * 1000, limit: 100 },
34
34
  user: { auth: true },
35
35
  checkout: { epoint: false, lockTimerMs: 16 * 60 * 1000 },
36
36
  roles: roles_1.default,
37
37
  tickets: { sectors: sabahSectors_1.sectors, accessControl: 'epra' },
38
38
  },
39
39
  Sumgayit: {
40
- cart: { timer: 10 * 60 * 1000 },
40
+ cart: { timer: 10 * 60 * 1000, limit: 100 },
41
41
  user: { auth: true },
42
42
  checkout: { epoint: false, lockTimerMs: 16 * 60 * 1000 },
43
43
  roles: roles_1.default,
@@ -50,4 +50,5 @@ export interface FixtureTacsType {
50
50
  name: string;
51
51
  date: Date;
52
52
  active: boolean;
53
+ minimumReaders?: number;
53
54
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc",
9
9
  "pub": "npm publish --access public",
10
- "git": "git add .; git commit -m 'changes'; git tag -a v1.25.0 -m 'v1.25.0'; git push origin v1.25.0; git push",
10
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.26.0 -m 'v1.26.0'; git push origin v1.26.0; git push",
11
11
  "push": "npm run build; npm run git; npm run pub"
12
12
  },
13
13
  "author": "Ibi Hasanli",
package/src/index.ts CHANGED
@@ -5,21 +5,21 @@ import { sectors as sumgayiqSectors } from './ticketops/sumgayiqSectors';
5
5
  const globals = {
6
6
  TradeOps_a: {},
7
7
  SabahFK_A: {
8
- cart: { timer: 10 * 60 * 1000 },
8
+ cart: { timer: 10 * 60 * 1000, limit: 100 },
9
9
  user: { auth: true },
10
10
  checkout: { epoint: true, lockTimerMs: 16 * 60 * 1000 },
11
11
  roles: roles,
12
12
  tickets: { sectors: sabahSectors, accessControl: 'epra' },
13
13
  },
14
14
  SabahFK_B: {
15
- cart: { timer: 10 * 60 * 1000 },
15
+ cart: { timer: 10 * 60 * 1000, limit: 100 },
16
16
  user: { auth: true },
17
17
  checkout: { epoint: false, lockTimerMs: 16 * 60 * 1000 },
18
18
  roles: roles,
19
19
  tickets: { sectors: sabahSectors, accessControl: 'epra' },
20
20
  },
21
21
  Sumgayit: {
22
- cart: { timer: 10 * 60 * 1000 },
22
+ cart: { timer: 10 * 60 * 1000, limit: 100 },
23
23
  user: { auth: true },
24
24
  checkout: { epoint: false, lockTimerMs: 16 * 60 * 1000 },
25
25
  roles: roles,
@@ -29,6 +29,7 @@ const globals = {
29
29
 
30
30
  export interface Cart {
31
31
  timer: number;
32
+ limit: number;
32
33
  }
33
34
 
34
35
  export interface User {
@@ -54,4 +54,5 @@ export interface FixtureTacsType {
54
54
  name: string;
55
55
  date: Date;
56
56
  active: boolean;
57
+ minimumReaders?: number;
57
58
  }