@ibiliaze/global-vars 1.250.0 → 1.251.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.
@@ -616,12 +616,17 @@ export interface ItemBase<Id, TDate> {
616
616
  serverNowMs: number;
617
617
  occupanceId?: Id;
618
618
  seasonId?: Id;
619
+ eventId?: Id;
620
+ flowId?: Id;
619
621
  orderId?: Id;
620
622
  productId?: Id;
621
623
  expireAt?: TDate;
622
624
  createdAt?: TDate;
623
625
  updatedAt?: TDate;
624
626
  }
627
+ export type ItemWithFlow<Id, TDate> = Omit<ItemBase<Id, TDate>, 'flowId'> & {
628
+ flowId: FlowBase<Id, TDate>;
629
+ };
625
630
  export interface SaleBase<Id, TDate> {
626
631
  _id?: Id;
627
632
  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.251.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.251.0 -m 'v1.251.0'; git push origin v1.251.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",