gst-common 1.6.41 → 1.6.42

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.
package/dist/index.d.cts CHANGED
@@ -361,7 +361,7 @@ type TCategoryEntity = {
361
361
  status: CATEGORY_STATUS;
362
362
  subjectProgramCount?: number;
363
363
  keywordProgramCount?: number;
364
- };
364
+ } & BaseEntity;
365
365
 
366
366
  declare enum CUSTOMER_TYPE {
367
367
  TUTOR = "tutor",
@@ -1721,7 +1721,7 @@ type TClassRoomCreate = {
1721
1721
  }[];
1722
1722
  };
1723
1723
  type TCategoryInternalCreate = {
1724
- parentId: string;
1724
+ parentId?: string;
1725
1725
  name: string;
1726
1726
  slug: string;
1727
1727
  };
@@ -1730,7 +1730,7 @@ type TCategoryInternalUpdate = {
1730
1730
  status?: CATEGORY_STATUS;
1731
1731
  } & Partial<TCategoryInternalCreate>;
1732
1732
  type TCategoryInternalList = {
1733
- parentId: string;
1733
+ parentId?: string;
1734
1734
  };
1735
1735
 
1736
1736
  type TProgramRegisteredMeTutorEdit = {
package/dist/index.d.ts CHANGED
@@ -361,7 +361,7 @@ type TCategoryEntity = {
361
361
  status: CATEGORY_STATUS;
362
362
  subjectProgramCount?: number;
363
363
  keywordProgramCount?: number;
364
- };
364
+ } & BaseEntity;
365
365
 
366
366
  declare enum CUSTOMER_TYPE {
367
367
  TUTOR = "tutor",
@@ -1721,7 +1721,7 @@ type TClassRoomCreate = {
1721
1721
  }[];
1722
1722
  };
1723
1723
  type TCategoryInternalCreate = {
1724
- parentId: string;
1724
+ parentId?: string;
1725
1725
  name: string;
1726
1726
  slug: string;
1727
1727
  };
@@ -1730,7 +1730,7 @@ type TCategoryInternalUpdate = {
1730
1730
  status?: CATEGORY_STATUS;
1731
1731
  } & Partial<TCategoryInternalCreate>;
1732
1732
  type TCategoryInternalList = {
1733
- parentId: string;
1733
+ parentId?: string;
1734
1734
  };
1735
1735
 
1736
1736
  type TProgramRegisteredMeTutorEdit = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.6.41",
3
+ "version": "1.6.42",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",