@ibiliaze/global-vars 1.121.0 → 1.122.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.
@@ -387,7 +387,7 @@ export interface FixtureBase<Id, TDate> {
387
387
  name: string;
388
388
  date: TDate;
389
389
  stadiumId: string;
390
- typeId?: Id;
390
+ seasonIds: Id[];
391
391
  imgSrc?: string;
392
392
  description?: string;
393
393
  minimumReaders?: number;
@@ -396,6 +396,16 @@ export interface FixtureBase<Id, TDate> {
396
396
  createdAt?: TDate;
397
397
  updatedAt?: TDate;
398
398
  }
399
+ export interface SeasonBase<Id, TDate> {
400
+ _id?: Id;
401
+ name: string;
402
+ description?: string;
403
+ startDate: TDate;
404
+ endDate: TDate;
405
+ categories?: FixtureCategoryBase<Id>[];
406
+ createdAt?: TDate;
407
+ updatedAt?: TDate;
408
+ }
399
409
  export interface FlowBase<Id, TDate> {
400
410
  _id?: Id;
401
411
  name: string;
@@ -409,7 +419,7 @@ export interface GroupBase<Id, TDate> {
409
419
  name: string;
410
420
  data?: string;
411
421
  description?: string;
412
- type: 'fixture' | 'product' | 'blog' | 'pipeline' | 'prospect' | 'niche' | 'template' | 'emailAttachment';
422
+ type: 'product' | 'blog' | 'pipeline' | 'prospect' | 'niche' | 'template' | 'emailAttachment';
413
423
  createdAt?: TDate;
414
424
  updatedAt?: TDate;
415
425
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.121.0",
3
+ "version": "1.122.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.121.0 -m 'v1.121.0'; git push origin v1.121.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.122.0 -m 'v1.122.0'; git push origin v1.122.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",