gst-common 1.6.66 → 1.6.68

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
@@ -30,7 +30,9 @@ type TStudentEntity = {
30
30
  learningDayOfWeeks: TDayOfWeekEntity[];
31
31
  studyTimeRange: TTeachingTimeRangeEntity[];
32
32
  subjectInterested: TCategoryEntity[];
33
- keywordInterested: TCategoryEntity[];
33
+ keywordInterested: (TCategoryEntity & {
34
+ parent: TCategoryEntity;
35
+ })[];
34
36
  } & BaseEntity;
35
37
  type TAccountEntity = {
36
38
  id: string;
@@ -2776,7 +2778,9 @@ type TCategoryInternalUpdateRes = TCategoryEntity;
2776
2778
  type TCategoryInternalDeleteRes = TCategoryEntity;
2777
2779
  type TCategoryInternalListRes = TCategoryEntity[];
2778
2780
  type TCategoryPublicListSubjectRes = TCategoryEntity[];
2779
- type TCategoryPublicListKeywordRes = TCategoryEntity[];
2781
+ type TCategoryPublicListKeywordRes = (TCategoryEntity & {
2782
+ parent: TCategoryEntity;
2783
+ })[];
2780
2784
  type TProposedCategoryInternalListKeywordsRes = (TCategoryEntity & {
2781
2785
  proposedCategories: (TProposedCategoryEntity & {
2782
2786
  fromProgram: TProgramEntity;
package/dist/index.d.ts CHANGED
@@ -30,7 +30,9 @@ type TStudentEntity = {
30
30
  learningDayOfWeeks: TDayOfWeekEntity[];
31
31
  studyTimeRange: TTeachingTimeRangeEntity[];
32
32
  subjectInterested: TCategoryEntity[];
33
- keywordInterested: TCategoryEntity[];
33
+ keywordInterested: (TCategoryEntity & {
34
+ parent: TCategoryEntity;
35
+ })[];
34
36
  } & BaseEntity;
35
37
  type TAccountEntity = {
36
38
  id: string;
@@ -2776,7 +2778,9 @@ type TCategoryInternalUpdateRes = TCategoryEntity;
2776
2778
  type TCategoryInternalDeleteRes = TCategoryEntity;
2777
2779
  type TCategoryInternalListRes = TCategoryEntity[];
2778
2780
  type TCategoryPublicListSubjectRes = TCategoryEntity[];
2779
- type TCategoryPublicListKeywordRes = TCategoryEntity[];
2781
+ type TCategoryPublicListKeywordRes = (TCategoryEntity & {
2782
+ parent: TCategoryEntity;
2783
+ })[];
2780
2784
  type TProposedCategoryInternalListKeywordsRes = (TCategoryEntity & {
2781
2785
  proposedCategories: (TProposedCategoryEntity & {
2782
2786
  fromProgram: TProgramEntity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.6.66",
3
+ "version": "1.6.68",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",