@quesmed/types 2.6.293 → 2.6.294

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.
@@ -105,7 +105,7 @@ const resolveConceptCacheId = (cache, conceptId) => {
105
105
  const updateCacheOnUpsertConceptNote = (cache, result, options) => {
106
106
  const { upsertConceptNote } = result?.data?.restricted || {};
107
107
  const { variables } = options || {};
108
- if (!variables || !upsertConceptNote) {
108
+ if (!variables) {
109
109
  return;
110
110
  }
111
111
  const cacheId = resolveConceptCacheId(cache, variables.conceptId);
@@ -157,7 +157,7 @@ exports.UPSERT_STATION_NOTE = (0, client_1.gql) `
157
157
  const updateCacheOnUpsertStationNote = (cache, result, options) => {
158
158
  const { upsertStationNote } = result?.data?.restricted || {};
159
159
  const { variables } = options || {};
160
- if (!variables || !upsertStationNote) {
160
+ if (!variables) {
161
161
  return;
162
162
  }
163
163
  cache.writeFragment({
@@ -100,7 +100,7 @@ const resolveConceptCacheId = (cache, conceptId) => {
100
100
  export const updateCacheOnUpsertConceptNote = (cache, result, options) => {
101
101
  const { upsertConceptNote } = result?.data?.restricted || {};
102
102
  const { variables } = options || {};
103
- if (!variables || !upsertConceptNote) {
103
+ if (!variables) {
104
104
  return;
105
105
  }
106
106
  const cacheId = resolveConceptCacheId(cache, variables.conceptId);
@@ -150,7 +150,7 @@ export const UPSERT_STATION_NOTE = gql `
150
150
  export const updateCacheOnUpsertStationNote = (cache, result, options) => {
151
151
  const { upsertStationNote } = result?.data?.restricted || {};
152
152
  const { variables } = options || {};
153
- if (!variables || !upsertStationNote) {
153
+ if (!variables) {
154
154
  return;
155
155
  }
156
156
  cache.writeFragment({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.293",
3
+ "version": "2.6.294",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",