@ibiliaze/global-vars 1.250.0 → 1.252.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.
@@ -275,6 +275,7 @@ export interface FlowBase<Id, TDate> {
275
275
  _id?: Id;
276
276
  name: string;
277
277
  buyLimit: number;
278
+ reserveLimit: number;
278
279
  description?: string;
279
280
  type: (typeof flows)[number];
280
281
  createdAt?: TDate;
@@ -616,12 +617,17 @@ export interface ItemBase<Id, TDate> {
616
617
  serverNowMs: number;
617
618
  occupanceId?: Id;
618
619
  seasonId?: Id;
620
+ eventId?: Id;
621
+ flowId?: Id;
619
622
  orderId?: Id;
620
623
  productId?: Id;
621
624
  expireAt?: TDate;
622
625
  createdAt?: TDate;
623
626
  updatedAt?: TDate;
624
627
  }
628
+ export type ItemWithFlow<Id, TDate> = Omit<ItemBase<Id, TDate>, 'flowId'> & {
629
+ flowId: FlowBase<Id, TDate>;
630
+ };
625
631
  export interface SaleBase<Id, TDate> {
626
632
  _id?: Id;
627
633
  subscription: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.250.0",
3
+ "version": "1.252.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.250.0 -m 'v1.250.0'; git push origin v1.250.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.252.0 -m 'v1.252.0'; git push origin v1.252.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",