@quesmed/types 2.4.12 → 2.4.14
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.
|
@@ -19,6 +19,7 @@ export interface ICardPicture {
|
|
|
19
19
|
pictureId: Id;
|
|
20
20
|
cardId: Id;
|
|
21
21
|
picture: IPicture;
|
|
22
|
+
pictureIdx: number;
|
|
22
23
|
}
|
|
23
24
|
export interface IChapterPicture {
|
|
24
25
|
id: Id;
|
|
@@ -32,24 +33,28 @@ export interface IOsceActorPicture {
|
|
|
32
33
|
pictureId: Id;
|
|
33
34
|
osceStationId: Id;
|
|
34
35
|
picture: IPicture;
|
|
36
|
+
pictureIdx: number;
|
|
35
37
|
}
|
|
36
38
|
export interface IOsceCandidatePicture {
|
|
37
39
|
id: Id;
|
|
38
40
|
pictureId: Id;
|
|
39
41
|
osceStationId: Id;
|
|
40
42
|
picture: IPicture;
|
|
43
|
+
pictureIdx: number;
|
|
41
44
|
}
|
|
42
45
|
export interface IOsceExaminerPicture {
|
|
43
46
|
id: Id;
|
|
44
47
|
pictureId: Id;
|
|
45
48
|
osceStationId: Id;
|
|
46
49
|
picture: IPicture;
|
|
50
|
+
pictureIdx: number;
|
|
47
51
|
}
|
|
48
52
|
export interface IOsceWalkthroughPicture {
|
|
49
53
|
id: Id;
|
|
50
54
|
pictureId: Id;
|
|
51
55
|
osceStationId: Id;
|
|
52
56
|
picture: IPicture;
|
|
57
|
+
pictureIdx: number;
|
|
53
58
|
}
|
|
54
59
|
export interface IQuestionPicture {
|
|
55
60
|
id: Id;
|
|
@@ -57,4 +62,5 @@ export interface IQuestionPicture {
|
|
|
57
62
|
questionId: Id;
|
|
58
63
|
choiceId: Id | null;
|
|
59
64
|
picture: IPicture;
|
|
65
|
+
pictureIdx: number;
|
|
60
66
|
}
|
|
@@ -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 = [
|
|
@@ -19,6 +19,7 @@ export interface ICardPicture {
|
|
|
19
19
|
pictureId: Id;
|
|
20
20
|
cardId: Id;
|
|
21
21
|
picture: IPicture;
|
|
22
|
+
pictureIdx: number;
|
|
22
23
|
}
|
|
23
24
|
export interface IChapterPicture {
|
|
24
25
|
id: Id;
|
|
@@ -32,24 +33,28 @@ export interface IOsceActorPicture {
|
|
|
32
33
|
pictureId: Id;
|
|
33
34
|
osceStationId: Id;
|
|
34
35
|
picture: IPicture;
|
|
36
|
+
pictureIdx: number;
|
|
35
37
|
}
|
|
36
38
|
export interface IOsceCandidatePicture {
|
|
37
39
|
id: Id;
|
|
38
40
|
pictureId: Id;
|
|
39
41
|
osceStationId: Id;
|
|
40
42
|
picture: IPicture;
|
|
43
|
+
pictureIdx: number;
|
|
41
44
|
}
|
|
42
45
|
export interface IOsceExaminerPicture {
|
|
43
46
|
id: Id;
|
|
44
47
|
pictureId: Id;
|
|
45
48
|
osceStationId: Id;
|
|
46
49
|
picture: IPicture;
|
|
50
|
+
pictureIdx: number;
|
|
47
51
|
}
|
|
48
52
|
export interface IOsceWalkthroughPicture {
|
|
49
53
|
id: Id;
|
|
50
54
|
pictureId: Id;
|
|
51
55
|
osceStationId: Id;
|
|
52
56
|
picture: IPicture;
|
|
57
|
+
pictureIdx: number;
|
|
53
58
|
}
|
|
54
59
|
export interface IQuestionPicture {
|
|
55
60
|
id: Id;
|
|
@@ -57,4 +62,5 @@ export interface IQuestionPicture {
|
|
|
57
62
|
questionId: Id;
|
|
58
63
|
choiceId: Id | null;
|
|
59
64
|
picture: IPicture;
|
|
65
|
+
pictureIdx: number;
|
|
60
66
|
}
|
|
@@ -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 = [
|