gst-common 1.5.83 → 1.5.85

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
@@ -2096,7 +2096,7 @@ type TPostAllListPostByAccountRes = {
2096
2096
  totalImported: number;
2097
2097
  hasImported: boolean;
2098
2098
  totalUpvote: number;
2099
- totalComment: number;
2099
+ totalComments: number;
2100
2100
  })[];
2101
2101
  total: number;
2102
2102
  };
@@ -2211,7 +2211,15 @@ type TStudentDocumentListRes = {
2211
2211
  documents: (TStudentDocumentEntity & {
2212
2212
  program: TProgramEntity;
2213
2213
  file: TFileEntity | null;
2214
- groupQuestion: TGroupQuestionEntity | null;
2214
+ groupQuestions: (TGroupQuestionEntity & {
2215
+ totalQuestion: number;
2216
+ sessionGroupQuestionsLastCreatedAt: string | null;
2217
+ sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
2218
+ sessionGroupQuestionId: string | null;
2219
+ totalWaitForGradeQuestion: number;
2220
+ sessionGroupQuestionTotalQuestion: number;
2221
+ totalCorrectQuestion: number;
2222
+ }) | null;
2215
2223
  editor: TEditorEntity | null;
2216
2224
  })[];
2217
2225
  total: number;
package/dist/index.d.ts CHANGED
@@ -2096,7 +2096,7 @@ type TPostAllListPostByAccountRes = {
2096
2096
  totalImported: number;
2097
2097
  hasImported: boolean;
2098
2098
  totalUpvote: number;
2099
- totalComment: number;
2099
+ totalComments: number;
2100
2100
  })[];
2101
2101
  total: number;
2102
2102
  };
@@ -2211,7 +2211,15 @@ type TStudentDocumentListRes = {
2211
2211
  documents: (TStudentDocumentEntity & {
2212
2212
  program: TProgramEntity;
2213
2213
  file: TFileEntity | null;
2214
- groupQuestion: TGroupQuestionEntity | null;
2214
+ groupQuestions: (TGroupQuestionEntity & {
2215
+ totalQuestion: number;
2216
+ sessionGroupQuestionsLastCreatedAt: string | null;
2217
+ sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
2218
+ sessionGroupQuestionId: string | null;
2219
+ totalWaitForGradeQuestion: number;
2220
+ sessionGroupQuestionTotalQuestion: number;
2221
+ totalCorrectQuestion: number;
2222
+ }) | null;
2215
2223
  editor: TEditorEntity | null;
2216
2224
  })[];
2217
2225
  total: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.5.83",
3
+ "version": "1.5.85",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",