@ibiliaze/global-vars 1.172.0 → 1.173.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.
@@ -12,6 +12,19 @@ export declare const fixtureRoleDefs: <TId, TDate>() => readonly [{
12
12
  message: string;
13
13
  error: string;
14
14
  };
15
+ }, {
16
+ readonly method: "post";
17
+ readonly path: "/fixture/occupancies";
18
+ readonly role: "postFixtureOccupancies";
19
+ readonly name: "Create fixture seats";
20
+ readonly response_201: {
21
+ fixture: FixtureBase<TId, TDate>;
22
+ message: string;
23
+ };
24
+ readonly response_500: {
25
+ message: string;
26
+ error: string;
27
+ };
15
28
  }, {
16
29
  readonly method: "get";
17
30
  readonly path: "/fixture";
@@ -11,6 +11,14 @@ const fixtureRoleDefs = () => {
11
11
  response_201: {},
12
12
  response_500: {},
13
13
  },
14
+ {
15
+ method: 'post',
16
+ path: '/fixture/occupancies',
17
+ role: 'postFixtureOccupancies',
18
+ name: 'Create fixture seats',
19
+ response_201: {},
20
+ response_500: {},
21
+ },
14
22
  {
15
23
  method: 'get',
16
24
  path: '/fixture',
@@ -94,7 +94,6 @@ export declare const occupanceRoleDefs: <TId, TDate>() => readonly [{
94
94
  readonly response_200: {
95
95
  item: ItemBase<TId, TDate>;
96
96
  occupance: OccupanceBase<TId, TDate>;
97
- timeLeft: number;
98
97
  message: string;
99
98
  };
100
99
  readonly response_400: {
@@ -120,7 +119,6 @@ export declare const occupanceRoleDefs: <TId, TDate>() => readonly [{
120
119
  readonly response_200: {
121
120
  item: ItemBase<TId, TDate>;
122
121
  occupance: OccupanceBase<TId, TDate>;
123
- timeLeft: number;
124
122
  message: string;
125
123
  };
126
124
  readonly response_403: {
@@ -896,6 +896,19 @@ export declare const apis: <TId, TDate>() => readonly [{
896
896
  message: string;
897
897
  error: string;
898
898
  };
899
+ }, {
900
+ readonly method: "post";
901
+ readonly path: "/fixture/occupancies";
902
+ readonly role: "postFixtureOccupancies";
903
+ readonly name: "Create fixture seats";
904
+ readonly response_201: {
905
+ fixture: import("./inputsDefault").FixtureBase<TId_10, TDate_10>;
906
+ message: string;
907
+ };
908
+ readonly response_500: {
909
+ message: string;
910
+ error: string;
911
+ };
899
912
  }, {
900
913
  readonly method: "get";
901
914
  readonly path: "/fixture";
@@ -1965,7 +1978,6 @@ export declare const apis: <TId, TDate>() => readonly [{
1965
1978
  readonly response_200: {
1966
1979
  item: import("./inputsDefault").ItemBase<TId_22, TDate_22>;
1967
1980
  occupance: import("./inputsDefault").OccupanceBase<TId_22, TDate_22>;
1968
- timeLeft: number;
1969
1981
  message: string;
1970
1982
  };
1971
1983
  readonly response_400: {
@@ -1991,7 +2003,6 @@ export declare const apis: <TId, TDate>() => readonly [{
1991
2003
  readonly response_200: {
1992
2004
  item: import("./inputsDefault").ItemBase<TId_22, TDate_22>;
1993
2005
  occupance: import("./inputsDefault").OccupanceBase<TId_22, TDate_22>;
1994
- timeLeft: number;
1995
2006
  message: string;
1996
2007
  };
1997
2008
  readonly response_403: {
@@ -3490,6 +3501,19 @@ declare const allApis: readonly [{
3490
3501
  message: string;
3491
3502
  error: string;
3492
3503
  };
3504
+ }, {
3505
+ readonly method: "post";
3506
+ readonly path: "/fixture/occupancies";
3507
+ readonly role: "postFixtureOccupancies";
3508
+ readonly name: "Create fixture seats";
3509
+ readonly response_201: {
3510
+ fixture: import("./inputsDefault").FixtureBase<TId_9, TDate_9>;
3511
+ message: string;
3512
+ };
3513
+ readonly response_500: {
3514
+ message: string;
3515
+ error: string;
3516
+ };
3493
3517
  }, {
3494
3518
  readonly method: "get";
3495
3519
  readonly path: "/fixture";
@@ -4559,7 +4583,6 @@ declare const allApis: readonly [{
4559
4583
  readonly response_200: {
4560
4584
  item: import("./inputsDefault").ItemBase<TId_21, TDate_21>;
4561
4585
  occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
4562
- timeLeft: number;
4563
4586
  message: string;
4564
4587
  };
4565
4588
  readonly response_400: {
@@ -4585,7 +4608,6 @@ declare const allApis: readonly [{
4585
4608
  readonly response_200: {
4586
4609
  item: import("./inputsDefault").ItemBase<TId_21, TDate_21>;
4587
4610
  occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
4588
- timeLeft: number;
4589
4611
  message: string;
4590
4612
  };
4591
4613
  readonly response_403: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.172.0",
3
+ "version": "1.173.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.172.0 -m 'v1.172.0'; git push origin v1.172.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.173.0 -m 'v1.173.0'; git push origin v1.173.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",