@ibiliaze/global-vars 1.259.0 → 1.261.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.
@@ -249,6 +249,7 @@ export interface EventBase<Id, TDate> {
249
249
  date: TDate;
250
250
  venueId: string;
251
251
  typeId: Id;
252
+ buyLimit: number;
252
253
  imgSrc?: string;
253
254
  description?: string;
254
255
  descriptionLangs?: NameLangs;
@@ -263,6 +264,7 @@ export interface SeasonBase<Id, TDate> {
263
264
  name: string;
264
265
  nameLangs?: NameLangs;
265
266
  typeIds: Id[];
267
+ buyLimit: number;
266
268
  description?: string;
267
269
  descriptionLangs?: NameLangs;
268
270
  startDate: TDate;
@@ -274,8 +276,6 @@ export interface SeasonBase<Id, TDate> {
274
276
  export interface FlowBase<Id, TDate> {
275
277
  _id?: Id;
276
278
  name: string;
277
- buyLimit: number;
278
- reserveLimit: number;
279
279
  description?: string;
280
280
  paymentTypes: PSPType[];
281
281
  type: (typeof flows)[number];
@@ -629,6 +629,10 @@ export interface ItemBase<Id, TDate> {
629
629
  export type ItemWithFlow<Id, TDate> = Omit<ItemBase<Id, TDate>, 'flowId'> & {
630
630
  flowId: FlowBase<Id, TDate>;
631
631
  };
632
+ export type ItemWithEventSeason<Id, TDate> = Omit<ItemBase<Id, TDate>, 'eventId' | 'seasonId'> & {
633
+ eventId: EventBase<Id, TDate>;
634
+ seasonId: SeasonBase<Id, TDate>;
635
+ };
632
636
  export interface SaleBase<Id, TDate> {
633
637
  _id?: Id;
634
638
  subscription: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.259.0",
3
+ "version": "1.261.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.259.0 -m 'v1.259.0'; git push origin v1.259.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.261.0 -m 'v1.261.0'; git push origin v1.261.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",