@ibiliaze/global-vars 1.89.0 → 1.90.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,10 +365,15 @@ export interface FileBase<Id, TDate> {
365
365
  createdAt?: TDate;
366
366
  updatedAt?: TDate;
367
367
  }
368
- export interface SectionsCategoryBase<Id> {
369
- categoryId: Id;
370
- flowIds: Id[];
368
+ export interface FlowLinkBase<Id> {
369
+ flowId: Id;
370
+ sectionIds: Id[];
371
+ categoryIds: Id[];
372
+ }
373
+ export interface CategoryLinkBase<Id> {
374
+ sectionId: Id;
371
375
  sectionName: string;
376
+ categoryId: Id;
372
377
  price: number;
373
378
  disabled?: boolean;
374
379
  }
@@ -382,7 +387,8 @@ export interface FixtureBase<Id, TDate> {
382
387
  description?: string;
383
388
  minimumReaders?: number;
384
389
  active?: boolean;
385
- sectionsCategory?: Record<string, SectionsCategoryBase<Id>>;
390
+ flowLinks?: FlowLinkBase<Id>[];
391
+ categoryLinks?: CategoryLinkBase<Id>[];
386
392
  createdAt?: TDate;
387
393
  updatedAt?: TDate;
388
394
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiliaze/global-vars",
3
- "version": "1.89.0",
3
+ "version": "1.90.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.89.0 -m 'v1.89.0'; git push origin v1.89.0; git push",
25
+ "git": "git add .; git commit -m 'changes'; git tag -a v1.90.0 -m 'v1.90.0'; git push origin v1.90.0; git push",
26
26
  "push": "npm run build; npm run git; npm run pub"
27
27
  },
28
28
  "author": "Ibi Hasanli",