@ibiliaze/global-vars 1.102.0 → 1.103.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.
@@ -370,15 +370,17 @@ export interface FixtureCategoryBase<Id> {
370
370
  name: string;
371
371
  color: string;
372
372
  price: number;
373
- sectionIds: Id[];
373
+ flows: FixtureCategoryFlowBase<Id>[];
374
+ sections: {
375
+ sectionId: Id[];
376
+ flows: FixtureCategoryFlowBase<Id>[];
377
+ }[];
374
378
  disabled?: boolean;
375
379
  }
376
- export interface FixtureFlowBase<Id> {
380
+ export interface FixtureCategoryFlowBase<Id> {
377
381
  flowId: Id;
378
382
  name: string;
379
383
  type: FlowBase<Id, Date>['type'];
380
- sectionIds: Id[];
381
- categoryIds: Id[];
382
384
  }
383
385
  export interface FixtureBase<Id, TDate> {
384
386
  _id?: Id;
@@ -391,7 +393,6 @@ export interface FixtureBase<Id, TDate> {
391
393
  minimumReaders?: number;
392
394
  active?: boolean;
393
395
  categories?: FixtureCategoryBase<Id>[];
394
- flows?: FixtureFlowBase<Id>[];
395
396
  createdAt?: TDate;
396
397
  updatedAt?: TDate;
397
398
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.102.0",
3
+ "version": "1.103.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.102.0 -m 'v1.102.0'; git push origin v1.102.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.103.0 -m 'v1.103.0'; git push origin v1.103.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",