gst-common 1.5.94 → 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;
@@ -1955,10 +1960,15 @@ type TLessonAllDocumentsRes = {
1955
1960
  };
1956
1961
  type TLessonStudentAllDocumentsRes = {
1957
1962
  lessons: (Omit<TLessonEntity, "class"> & {
1958
- files: TFileLessonEntity[];
1959
- editors: TEditorEntity[];
1963
+ files: (TFileLessonEntity & {
1964
+ isExistingInDocument: boolean;
1965
+ })[];
1966
+ editors: (TEditorEntity & {
1967
+ isExistingInDocument: boolean;
1968
+ })[];
1960
1969
  groupQuestions: (TGroupQuestionEntity & {
1961
1970
  totalQuestion: number;
1971
+ isExistingInDocument: boolean;
1962
1972
  sessionGroupQuestionsLastCreatedAt: string | null;
1963
1973
  sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
1964
1974
  sessionGroupQuestionId: string | 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;
@@ -1955,10 +1960,15 @@ type TLessonAllDocumentsRes = {
1955
1960
  };
1956
1961
  type TLessonStudentAllDocumentsRes = {
1957
1962
  lessons: (Omit<TLessonEntity, "class"> & {
1958
- files: TFileLessonEntity[];
1959
- editors: TEditorEntity[];
1963
+ files: (TFileLessonEntity & {
1964
+ isExistingInDocument: boolean;
1965
+ })[];
1966
+ editors: (TEditorEntity & {
1967
+ isExistingInDocument: boolean;
1968
+ })[];
1960
1969
  groupQuestions: (TGroupQuestionEntity & {
1961
1970
  totalQuestion: number;
1971
+ isExistingInDocument: boolean;
1962
1972
  sessionGroupQuestionsLastCreatedAt: string | null;
1963
1973
  sessionGroupQuestionsStatus: SESSION_GROUP_QUESTION | null;
1964
1974
  sessionGroupQuestionId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.5.94",
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",