@quesmed/types-rn 2.6.69 → 2.6.71
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/package.json
CHANGED
|
@@ -400,10 +400,10 @@ const updateQuestionLearningPoint = (typeId) => (cache, result, options) => {
|
|
|
400
400
|
return;
|
|
401
401
|
}
|
|
402
402
|
try {
|
|
403
|
-
for (const {
|
|
403
|
+
for (const { questionId, userPoint } of addQuestionLearningPoint) {
|
|
404
404
|
cache.writeFragment({
|
|
405
405
|
id: cache.identify({
|
|
406
|
-
id,
|
|
406
|
+
id: questionId,
|
|
407
407
|
__typename: (0, exports.getQuestionTypeName)(typeId),
|
|
408
408
|
}),
|
|
409
409
|
data: {
|
|
@@ -12,6 +12,10 @@ exports.CONCEPT = (0, client_1.gql) `
|
|
|
12
12
|
name
|
|
13
13
|
status
|
|
14
14
|
totalCards
|
|
15
|
+
entitlement {
|
|
16
|
+
id
|
|
17
|
+
name
|
|
18
|
+
}
|
|
15
19
|
topic {
|
|
16
20
|
id
|
|
17
21
|
name
|
|
@@ -52,6 +56,10 @@ exports.CONCEPTS = (0, client_1.gql) `
|
|
|
52
56
|
name
|
|
53
57
|
status
|
|
54
58
|
totalCards
|
|
59
|
+
entitlement {
|
|
60
|
+
id
|
|
61
|
+
name
|
|
62
|
+
}
|
|
55
63
|
topic {
|
|
56
64
|
id
|
|
57
65
|
name
|
|
@@ -102,6 +102,11 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
|
|
|
102
102
|
topics(filter: 0) {
|
|
103
103
|
id
|
|
104
104
|
name
|
|
105
|
+
entitlement {
|
|
106
|
+
id
|
|
107
|
+
name
|
|
108
|
+
index
|
|
109
|
+
}
|
|
105
110
|
totalQuestions
|
|
106
111
|
correctQuestions
|
|
107
112
|
incorrectQuestions
|
|
@@ -205,6 +210,11 @@ exports.DASHBOARD = (0, client_1.gql) `
|
|
|
205
210
|
topics(filter: 0, order: $order) {
|
|
206
211
|
id
|
|
207
212
|
name
|
|
213
|
+
entitlement {
|
|
214
|
+
id
|
|
215
|
+
name
|
|
216
|
+
index
|
|
217
|
+
}
|
|
208
218
|
totalQuestions
|
|
209
219
|
correctQuestions
|
|
210
220
|
incorrectQuestions
|