@quesmed/types 2.4.12 → 2.4.13

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.
@@ -1873,12 +1873,14 @@ const updateMarksheets = (cache, result, options) => {
1873
1873
  timeTaken: marksheet.timeTaken || 0,
1874
1874
  mark: marksheet.mark,
1875
1875
  questionChoiceId: marksheet.choiceId,
1876
+ isAnswered: true,
1876
1877
  },
1877
1878
  fragment: (0, client_1.gql) `
1878
1879
  fragment NewTodoMark on MarksheetMark {
1879
1880
  timeTaken
1880
1881
  questionChoiceId
1881
1882
  mark
1883
+ isAnswered
1882
1884
  }
1883
1885
  `,
1884
1886
  });
@@ -1897,6 +1899,7 @@ const optimisticSaveMarksheets = (marksheet, marksheetInput, questionIndex) => {
1897
1899
  marksheetId,
1898
1900
  timeTaken,
1899
1901
  questionChoiceId: choiceId ?? null,
1902
+ isAnswered: true,
1900
1903
  mark: mark || null,
1901
1904
  };
1902
1905
  const udatedMarks = [
@@ -1870,12 +1870,14 @@ export const updateMarksheets = (cache, result, options) => {
1870
1870
  timeTaken: marksheet.timeTaken || 0,
1871
1871
  mark: marksheet.mark,
1872
1872
  questionChoiceId: marksheet.choiceId,
1873
+ isAnswered: true,
1873
1874
  },
1874
1875
  fragment: gql `
1875
1876
  fragment NewTodoMark on MarksheetMark {
1876
1877
  timeTaken
1877
1878
  questionChoiceId
1878
1879
  mark
1880
+ isAnswered
1879
1881
  }
1880
1882
  `,
1881
1883
  });
@@ -1893,6 +1895,7 @@ export const optimisticSaveMarksheets = (marksheet, marksheetInput, questionInde
1893
1895
  marksheetId,
1894
1896
  timeTaken,
1895
1897
  questionChoiceId: choiceId ?? null,
1898
+ isAnswered: true,
1896
1899
  mark: mark || null,
1897
1900
  };
1898
1901
  const udatedMarks = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.4.12",
3
+ "version": "2.4.13",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",