@ibiliaze/global-vars 1.173.0 → 1.175.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.
@@ -14,8 +14,8 @@ export declare const fixtureRoleDefs: <TId, TDate>() => readonly [{
14
14
  };
15
15
  }, {
16
16
  readonly method: "post";
17
- readonly path: "/fixture/occupancies";
18
- readonly role: "postFixtureOccupancies";
17
+ readonly path: "/fixture/occupancies/:id";
18
+ readonly role: "postFixtureOccupanciesById";
19
19
  readonly name: "Create fixture seats";
20
20
  readonly response_201: {
21
21
  fixture: FixtureBase<TId, TDate>;
@@ -13,8 +13,8 @@ const fixtureRoleDefs = () => {
13
13
  },
14
14
  {
15
15
  method: 'post',
16
- path: '/fixture/occupancies',
17
- role: 'postFixtureOccupancies',
16
+ path: '/fixture/occupancies/:id',
17
+ role: 'postFixtureOccupanciesById',
18
18
  name: 'Create fixture seats',
19
19
  response_201: {},
20
20
  response_500: {},
@@ -5,7 +5,9 @@ export declare const itemRoleDefs: <TId, TDate>() => readonly [{
5
5
  readonly role: "getItems";
6
6
  readonly name: "Get items";
7
7
  readonly response_200: {
8
- items: ItemBase<TId, TDate>[];
8
+ itemsWithTimeLeft: (ItemBase<TId, TDate> & {
9
+ timeLeft: string;
10
+ })[];
9
11
  count: number;
10
12
  };
11
13
  readonly response_500: {
@@ -504,7 +504,9 @@ export declare const apis: <TId, TDate>() => readonly [{
504
504
  readonly role: "getItems";
505
505
  readonly name: "Get items";
506
506
  readonly response_200: {
507
- items: import("./inputsDefault").ItemBase<TId_5, TDate_5>[];
507
+ itemsWithTimeLeft: (import("./inputsDefault").ItemBase<TId_5, TDate_5> & {
508
+ timeLeft: string;
509
+ })[];
508
510
  count: number;
509
511
  };
510
512
  readonly response_500: {
@@ -898,8 +900,8 @@ export declare const apis: <TId, TDate>() => readonly [{
898
900
  };
899
901
  }, {
900
902
  readonly method: "post";
901
- readonly path: "/fixture/occupancies";
902
- readonly role: "postFixtureOccupancies";
903
+ readonly path: "/fixture/occupancies/:id";
904
+ readonly role: "postFixtureOccupanciesById";
903
905
  readonly name: "Create fixture seats";
904
906
  readonly response_201: {
905
907
  fixture: import("./inputsDefault").FixtureBase<TId_10, TDate_10>;
@@ -3109,7 +3111,9 @@ declare const allApis: readonly [{
3109
3111
  readonly role: "getItems";
3110
3112
  readonly name: "Get items";
3111
3113
  readonly response_200: {
3112
- items: import("./inputsDefault").ItemBase<TId_4, TDate_4>[];
3114
+ itemsWithTimeLeft: (import("./inputsDefault").ItemBase<TId_4, TDate_4> & {
3115
+ timeLeft: string;
3116
+ })[];
3113
3117
  count: number;
3114
3118
  };
3115
3119
  readonly response_500: {
@@ -3503,8 +3507,8 @@ declare const allApis: readonly [{
3503
3507
  };
3504
3508
  }, {
3505
3509
  readonly method: "post";
3506
- readonly path: "/fixture/occupancies";
3507
- readonly role: "postFixtureOccupancies";
3510
+ readonly path: "/fixture/occupancies/:id";
3511
+ readonly role: "postFixtureOccupanciesById";
3508
3512
  readonly name: "Create fixture seats";
3509
3513
  readonly response_201: {
3510
3514
  fixture: import("./inputsDefault").FixtureBase<TId_9, TDate_9>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.173.0",
3
+ "version": "1.175.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.173.0 -m 'v1.173.0'; git push origin v1.173.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.175.0 -m 'v1.175.0'; git push origin v1.175.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",