gst-common 1.5.95 → 1.5.96

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
@@ -1849,9 +1849,14 @@ type TLessonDocumentsRes = TLessonEntity & {
1849
1849
  totalQuestion: number;
1850
1850
  };
1851
1851
  type TLessonStudentDocumentsRes = TLessonEntity & {
1852
- files: TFileLessonEntity[];
1853
- editors: TEditorEntity[];
1852
+ files: (TFileLessonEntity & {
1853
+ isExistingInDocument: boolean;
1854
+ })[];
1855
+ editors: (TEditorEntity & {
1856
+ isExistingInDocument: boolean;
1857
+ })[];
1854
1858
  groupQuestions: (Pick<TGroupQuestionEntity, "id" | "title"> & {
1859
+ isExistingInDocument: boolean;
1855
1860
  totalQuestion: number;
1856
1861
  sessionGroupQuestionsLastCreatedAt: string | null;
1857
1862
  sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
package/dist/index.d.ts CHANGED
@@ -1849,9 +1849,14 @@ type TLessonDocumentsRes = TLessonEntity & {
1849
1849
  totalQuestion: number;
1850
1850
  };
1851
1851
  type TLessonStudentDocumentsRes = TLessonEntity & {
1852
- files: TFileLessonEntity[];
1853
- editors: TEditorEntity[];
1852
+ files: (TFileLessonEntity & {
1853
+ isExistingInDocument: boolean;
1854
+ })[];
1855
+ editors: (TEditorEntity & {
1856
+ isExistingInDocument: boolean;
1857
+ })[];
1854
1858
  groupQuestions: (Pick<TGroupQuestionEntity, "id" | "title"> & {
1859
+ isExistingInDocument: boolean;
1855
1860
  totalQuestion: number;
1856
1861
  sessionGroupQuestionsLastCreatedAt: string | null;
1857
1862
  sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.5.95",
3
+ "version": "1.5.96",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",