@quesmed/types 2.5.108 → 2.5.109
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.
|
@@ -95,6 +95,7 @@ const optimisticMarkOsceMarksheetMark = (variables, productType) => {
|
|
|
95
95
|
const data = {};
|
|
96
96
|
if (productType === models_1.EProductType.OSCE) {
|
|
97
97
|
data.mark = variables.mark;
|
|
98
|
+
data.selectedChoice = null;
|
|
98
99
|
}
|
|
99
100
|
else {
|
|
100
101
|
data.selectedChoice = variables.mark;
|
|
@@ -102,6 +103,7 @@ const optimisticMarkOsceMarksheetMark = (variables, productType) => {
|
|
|
102
103
|
return {
|
|
103
104
|
restricted: {
|
|
104
105
|
markOsceMarksheetMark: {
|
|
106
|
+
...data,
|
|
105
107
|
id: variables.osceMarksheetMarkId,
|
|
106
108
|
__typename: 'OsceMarksheetMark',
|
|
107
109
|
},
|
|
@@ -92,6 +92,7 @@ export const optimisticMarkOsceMarksheetMark = (variables, productType) => {
|
|
|
92
92
|
const data = {};
|
|
93
93
|
if (productType === EProductType.OSCE) {
|
|
94
94
|
data.mark = variables.mark;
|
|
95
|
+
data.selectedChoice = null;
|
|
95
96
|
}
|
|
96
97
|
else {
|
|
97
98
|
data.selectedChoice = variables.mark;
|
|
@@ -99,6 +100,7 @@ export const optimisticMarkOsceMarksheetMark = (variables, productType) => {
|
|
|
99
100
|
return {
|
|
100
101
|
restricted: {
|
|
101
102
|
markOsceMarksheetMark: {
|
|
103
|
+
...data,
|
|
102
104
|
id: variables.osceMarksheetMarkId,
|
|
103
105
|
__typename: 'OsceMarksheetMark',
|
|
104
106
|
},
|