gst-common 1.5.32 → 1.5.34

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
@@ -1682,12 +1682,14 @@ type TGroupQuestionDetailRes = TGroupQuestionEntity & {
1682
1682
  type TGroupQuestionUpdateRes = TGroupQuestionEntity;
1683
1683
  type TLessonImportRes = TLessonEntity & {};
1684
1684
  type TLessonDocumentsRes = TLessonEntity & {
1685
- fileLessons: TFileLessonEntity[];
1685
+ files: TFileLessonEntity[];
1686
1686
  editors: TEditorEntity[];
1687
1687
  groupQuestions: (Pick<TGroupQuestionEntity, "id" | "title"> & {
1688
1688
  totalQuestion: number;
1689
1689
  sessionGroupQuestionsLastCreatedAt: string | null;
1690
1690
  sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
1691
+ isCreatedByCurrentAccount: boolean;
1692
+ referencesDocumentId: string | null;
1691
1693
  sessionGroupQuestionId: string | null;
1692
1694
  sessionGroupQuestionsCorrectQuestion: number | null;
1693
1695
  sessionGroupQuestionsTotalQuestion: number | null;
@@ -1696,7 +1698,7 @@ type TLessonDocumentsRes = TLessonEntity & {
1696
1698
  totalQuestion: number;
1697
1699
  };
1698
1700
  type TLessonStudentDocumentsRes = TLessonEntity & {
1699
- fileLessons: TFileLessonEntity[];
1701
+ files: TFileLessonEntity[];
1700
1702
  editors: TEditorEntity[];
1701
1703
  groupQuestions: (Pick<TGroupQuestionEntity, "id" | "title"> & {
1702
1704
  totalQuestion: number;
@@ -1784,7 +1786,7 @@ type TClassNotificationUploadRes = TClassNotificationEntity;
1784
1786
  type TFileDeleteRes = TFileEntity;
1785
1787
  type TLessonAllDocumentsRes = {
1786
1788
  lessons: (Omit<TLessonEntity, "class"> & {
1787
- fileLessons: TFileLessonEntity[];
1789
+ files: TFileLessonEntity[];
1788
1790
  editors: TEditorEntity[];
1789
1791
  groupQuestions: (TGroupQuestionEntity & {
1790
1792
  totalQuestion: number;
@@ -1800,7 +1802,7 @@ type TLessonAllDocumentsRes = {
1800
1802
  };
1801
1803
  type TLessonStudentAllDocumentsRes = {
1802
1804
  lessons: (Omit<TLessonEntity, "class"> & {
1803
- fileLessons: TFileLessonEntity[];
1805
+ files: TFileLessonEntity[];
1804
1806
  editors: TEditorEntity[];
1805
1807
  groupQuestions: (TGroupQuestionEntity & {
1806
1808
  totalQuestion: number;
package/dist/index.d.ts CHANGED
@@ -1682,12 +1682,14 @@ type TGroupQuestionDetailRes = TGroupQuestionEntity & {
1682
1682
  type TGroupQuestionUpdateRes = TGroupQuestionEntity;
1683
1683
  type TLessonImportRes = TLessonEntity & {};
1684
1684
  type TLessonDocumentsRes = TLessonEntity & {
1685
- fileLessons: TFileLessonEntity[];
1685
+ files: TFileLessonEntity[];
1686
1686
  editors: TEditorEntity[];
1687
1687
  groupQuestions: (Pick<TGroupQuestionEntity, "id" | "title"> & {
1688
1688
  totalQuestion: number;
1689
1689
  sessionGroupQuestionsLastCreatedAt: string | null;
1690
1690
  sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
1691
+ isCreatedByCurrentAccount: boolean;
1692
+ referencesDocumentId: string | null;
1691
1693
  sessionGroupQuestionId: string | null;
1692
1694
  sessionGroupQuestionsCorrectQuestion: number | null;
1693
1695
  sessionGroupQuestionsTotalQuestion: number | null;
@@ -1696,7 +1698,7 @@ type TLessonDocumentsRes = TLessonEntity & {
1696
1698
  totalQuestion: number;
1697
1699
  };
1698
1700
  type TLessonStudentDocumentsRes = TLessonEntity & {
1699
- fileLessons: TFileLessonEntity[];
1701
+ files: TFileLessonEntity[];
1700
1702
  editors: TEditorEntity[];
1701
1703
  groupQuestions: (Pick<TGroupQuestionEntity, "id" | "title"> & {
1702
1704
  totalQuestion: number;
@@ -1784,7 +1786,7 @@ type TClassNotificationUploadRes = TClassNotificationEntity;
1784
1786
  type TFileDeleteRes = TFileEntity;
1785
1787
  type TLessonAllDocumentsRes = {
1786
1788
  lessons: (Omit<TLessonEntity, "class"> & {
1787
- fileLessons: TFileLessonEntity[];
1789
+ files: TFileLessonEntity[];
1788
1790
  editors: TEditorEntity[];
1789
1791
  groupQuestions: (TGroupQuestionEntity & {
1790
1792
  totalQuestion: number;
@@ -1800,7 +1802,7 @@ type TLessonAllDocumentsRes = {
1800
1802
  };
1801
1803
  type TLessonStudentAllDocumentsRes = {
1802
1804
  lessons: (Omit<TLessonEntity, "class"> & {
1803
- fileLessons: TFileLessonEntity[];
1805
+ files: TFileLessonEntity[];
1804
1806
  editors: TEditorEntity[];
1805
1807
  groupQuestions: (TGroupQuestionEntity & {
1806
1808
  totalQuestion: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.5.32",
3
+ "version": "1.5.34",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",