@quesmed/types-rn 2.6.232 → 2.6.234

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.232",
3
+ "version": "2.6.234",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -215,6 +215,22 @@ const updateCacheOnConceptLearningStatusUpdate = (topicId, prevStatus, entitleme
215
215
  data: { status },
216
216
  fragment: STATUS_CONCEPT_FRAGMENT,
217
217
  });
218
+ cache.writeFragment({
219
+ id: cache.identify({
220
+ id: id.toString(),
221
+ ...(entitlement && {
222
+ entitlement: {
223
+ __ref: cache.identify({
224
+ id: entitlement,
225
+ __typename: 'Entitlement',
226
+ }),
227
+ },
228
+ }),
229
+ __typename: 'Concept',
230
+ }),
231
+ data: { status },
232
+ fragment: STATUS_CONCEPT_FRAGMENT,
233
+ });
218
234
  });
219
235
  const topicFragmentId = cache.identify({
220
236
  id: topicId.toString(),