@chopkola/common 1.0.207 → 1.0.208

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.
@@ -1,4 +1,4 @@
1
- import { Category, CategoryTreeNode } from "../../category";
1
+ import { CategoryTreeNode, CategoryWithRelations } from "../../category";
2
2
  export type CategoryItemStat = {
3
3
  title: string;
4
4
  value: string | number;
@@ -11,11 +11,11 @@ export type CategoryItemStats = {
11
11
  };
12
12
  export interface CategoryDetailsData {
13
13
  stats: CategoryItemStats;
14
- category: Category;
14
+ category: CategoryWithRelations;
15
15
  }
16
16
  export interface CreateOrEditCategoryData {
17
- category: Category | null;
18
- parentCategory: Category | null;
17
+ category: CategoryWithRelations | null;
18
+ parentCategory: CategoryWithRelations | null;
19
19
  }
20
20
  export type CategoryManagementData = {
21
21
  roots: CategoryTreeNode[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.207",
3
+ "version": "1.0.208",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",