@ibiliaze/global-vars 1.96.0 → 1.98.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.
@@ -365,21 +365,20 @@ export interface FileBase<Id, TDate> {
365
365
  createdAt?: TDate;
366
366
  updatedAt?: TDate;
367
367
  }
368
- export interface FixtureSectionBase<Id> {
369
- sectionId: Id;
370
- sectionName: string;
371
- category: {
372
- categoryId: Id;
373
- categoryName: string;
374
- color: string;
375
- price: number;
376
- disabled?: boolean;
377
- };
378
- flows: {
379
- flowId: Id;
380
- name: string;
381
- type: (typeof flows)[number];
382
- }[];
368
+ export interface FixtureCategoryBase<Id> {
369
+ categoryId: Id;
370
+ name: string;
371
+ color: string;
372
+ price: number;
373
+ sectionIds: string[];
374
+ disabled?: boolean;
375
+ }
376
+ export interface FixtureFlowBase<Id> {
377
+ flowId: Id;
378
+ name: string;
379
+ type: FlowBase<Id, Date>['type'];
380
+ sectionIds: string[];
381
+ categoryIds: string[];
383
382
  }
384
383
  export interface FixtureBase<Id, TDate> {
385
384
  _id?: Id;
@@ -391,7 +390,8 @@ export interface FixtureBase<Id, TDate> {
391
390
  description?: string;
392
391
  minimumReaders?: number;
393
392
  active?: boolean;
394
- sections?: FixtureSectionBase<Id>[];
393
+ categories?: FixtureCategoryBase<Id>[];
394
+ flows?: FixtureFlowBase<Id>[];
395
395
  createdAt?: TDate;
396
396
  updatedAt?: TDate;
397
397
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.96.0",
3
+ "version": "1.98.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.96.0 -m 'v1.96.0'; git push origin v1.96.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.98.0 -m 'v1.98.0'; git push origin v1.98.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",