gst-common 1.4.37 → 1.4.39

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
@@ -1420,8 +1420,9 @@ type TLessonStudentDocumentsRes = TLessonEntity & {
1420
1420
  sessionGroupQuestionsLastCreatedAt: string | null;
1421
1421
  sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
1422
1422
  sessionGroupQuestionId: string | null;
1423
- sessionGroupQuestionsCorrectQuestion: number | null;
1423
+ sessionGroupQuestionsCorrectQuestion: number;
1424
1424
  sessionGroupQuestionsTotalQuestion: number | null;
1425
+ sessionGroupQuestionsWaitForGradeQuestion: number;
1425
1426
  })[];
1426
1427
  totalQuestion: number;
1427
1428
  };
@@ -1434,6 +1435,8 @@ type TGroupQuestionStudentStartDoingRes = TSessionGroupQuestionEntity & {
1434
1435
  };
1435
1436
  type TGroupQuestionStudentLessonFinishDoingRes = TSessionGroupQuestionEntity;
1436
1437
  type TGroupQuestionStudentResultRes = TSessionGroupQuestionEntity & {
1438
+ totalCorrectQuestion: number;
1439
+ totalWaitForGradeQuestion: number;
1437
1440
  groupQuestion: TGroupQuestionEntity & {
1438
1441
  questions: (TQuestionEntity & {
1439
1442
  answerType: ANSWER_QUESTION_TYPE;
package/dist/index.d.ts CHANGED
@@ -1420,8 +1420,9 @@ type TLessonStudentDocumentsRes = TLessonEntity & {
1420
1420
  sessionGroupQuestionsLastCreatedAt: string | null;
1421
1421
  sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
1422
1422
  sessionGroupQuestionId: string | null;
1423
- sessionGroupQuestionsCorrectQuestion: number | null;
1423
+ sessionGroupQuestionsCorrectQuestion: number;
1424
1424
  sessionGroupQuestionsTotalQuestion: number | null;
1425
+ sessionGroupQuestionsWaitForGradeQuestion: number;
1425
1426
  })[];
1426
1427
  totalQuestion: number;
1427
1428
  };
@@ -1434,6 +1435,8 @@ type TGroupQuestionStudentStartDoingRes = TSessionGroupQuestionEntity & {
1434
1435
  };
1435
1436
  type TGroupQuestionStudentLessonFinishDoingRes = TSessionGroupQuestionEntity;
1436
1437
  type TGroupQuestionStudentResultRes = TSessionGroupQuestionEntity & {
1438
+ totalCorrectQuestion: number;
1439
+ totalWaitForGradeQuestion: number;
1437
1440
  groupQuestion: TGroupQuestionEntity & {
1438
1441
  questions: (TQuestionEntity & {
1439
1442
  answerType: ANSWER_QUESTION_TYPE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.4.37",
3
+ "version": "1.4.39",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",