gst-common 1.4.29 → 1.4.31

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
@@ -189,6 +189,8 @@ type TQuestionEntity = {
189
189
  content: string;
190
190
  order: number;
191
191
  type: QUESTION_TYPES;
192
+ explainContent: string;
193
+ showExplain: boolean;
192
194
  } & BaseEntity;
193
195
  type TQuestionTypeChoiceEntity = {
194
196
  content: string;
@@ -818,6 +820,10 @@ type TGroupQuestionCreate = {
818
820
  title: string;
819
821
  content: string;
820
822
  questions: {
823
+ explain: {
824
+ content: string;
825
+ show: boolean;
826
+ };
821
827
  content?: string;
822
828
  order: number;
823
829
  type: QUESTION_TYPES;
@@ -1377,11 +1383,11 @@ type TGroupQuestionDeleteGroupQuestion = TGroupQuestionEntity & {
1377
1383
  }[];
1378
1384
  };
1379
1385
  type TGroupQuestionDetailRes = TGroupQuestionEntity & {
1380
- questions: TQuestionEntity & {
1386
+ questions: (TQuestionEntity & {
1381
1387
  choices: TQuestionTypeChoiceEntity[];
1382
1388
  essays: TQuestionTypeEssayEntity[];
1383
1389
  wordArrangements: TQuestionTypeWordArrangementEntity[];
1384
- }[];
1390
+ })[];
1385
1391
  };
1386
1392
  type TGroupQuestionUpdateRes = TGroupQuestionEntity;
1387
1393
  type TLessonImportRes = TLessonEntity & {};
package/dist/index.d.ts CHANGED
@@ -189,6 +189,8 @@ type TQuestionEntity = {
189
189
  content: string;
190
190
  order: number;
191
191
  type: QUESTION_TYPES;
192
+ explainContent: string;
193
+ showExplain: boolean;
192
194
  } & BaseEntity;
193
195
  type TQuestionTypeChoiceEntity = {
194
196
  content: string;
@@ -818,6 +820,10 @@ type TGroupQuestionCreate = {
818
820
  title: string;
819
821
  content: string;
820
822
  questions: {
823
+ explain: {
824
+ content: string;
825
+ show: boolean;
826
+ };
821
827
  content?: string;
822
828
  order: number;
823
829
  type: QUESTION_TYPES;
@@ -1377,11 +1383,11 @@ type TGroupQuestionDeleteGroupQuestion = TGroupQuestionEntity & {
1377
1383
  }[];
1378
1384
  };
1379
1385
  type TGroupQuestionDetailRes = TGroupQuestionEntity & {
1380
- questions: TQuestionEntity & {
1386
+ questions: (TQuestionEntity & {
1381
1387
  choices: TQuestionTypeChoiceEntity[];
1382
1388
  essays: TQuestionTypeEssayEntity[];
1383
1389
  wordArrangements: TQuestionTypeWordArrangementEntity[];
1384
- }[];
1390
+ })[];
1385
1391
  };
1386
1392
  type TGroupQuestionUpdateRes = TGroupQuestionEntity;
1387
1393
  type TLessonImportRes = TLessonEntity & {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.4.29",
3
+ "version": "1.4.31",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",