@apollo/client 4.3.0-alpha.9 → 4.3.0-rc.1

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.
Files changed (232) hide show
  1. package/CHANGELOG.md +170 -0
  2. package/__cjs/cache/core/Scalar.cjs.map +1 -1
  3. package/__cjs/cache/core/Scalar.d.cts +0 -1
  4. package/__cjs/cache/core/cache.cjs +3 -3
  5. package/__cjs/cache/core/cache.cjs.map +1 -1
  6. package/__cjs/cache/core/cache.d.cts +53 -8
  7. package/__cjs/cache/index.cjs.map +1 -1
  8. package/__cjs/cache/index.d.cts +1 -1
  9. package/__cjs/cache/inmemory/entityStore.cjs +25 -10
  10. package/__cjs/cache/inmemory/entityStore.cjs.map +1 -1
  11. package/__cjs/cache/inmemory/helpers.cjs +12 -0
  12. package/__cjs/cache/inmemory/helpers.cjs.map +1 -1
  13. package/__cjs/cache/inmemory/helpers.d.cts +2 -1
  14. package/__cjs/cache/inmemory/inMemoryCache.cjs +34 -22
  15. package/__cjs/cache/inmemory/inMemoryCache.cjs.map +1 -1
  16. package/__cjs/cache/inmemory/inMemoryCache.d.cts +4 -4
  17. package/__cjs/cache/inmemory/key-extractor.cjs +1 -1
  18. package/__cjs/cache/inmemory/policies.cjs +7 -8
  19. package/__cjs/cache/inmemory/policies.cjs.map +1 -1
  20. package/__cjs/cache/inmemory/policies.d.cts +3 -4
  21. package/__cjs/cache/inmemory/readFromStore.cjs +3 -3
  22. package/__cjs/cache/inmemory/types.d.cts +3 -1
  23. package/__cjs/cache/inmemory/writeToStore.cjs +4 -4
  24. package/__cjs/core/ApolloClient.cjs +14 -14
  25. package/__cjs/core/ObservableQuery.cjs +8 -8
  26. package/__cjs/core/QueryInfo.cjs +1 -1
  27. package/__cjs/core/QueryManager.cjs +12 -12
  28. package/__cjs/core/RefetchEventManager.cjs +3 -3
  29. package/__cjs/core/index.cjs.map +1 -1
  30. package/__cjs/core/index.d.cts +3 -2
  31. package/__cjs/core/types.d.cts +9 -4
  32. package/__cjs/incremental/handlers/graphql17Alpha9.cjs +1 -1
  33. package/__cjs/incremental/handlers/notImplemented.cjs +1 -1
  34. package/__cjs/invariantErrorCodes.cjs +131 -116
  35. package/__cjs/link/core/ApolloLink.cjs +3 -3
  36. package/__cjs/link/http/checkFetcher.cjs +1 -1
  37. package/__cjs/link/http/parseAndCheckHttpResponse.cjs +1 -1
  38. package/__cjs/link/persisted-queries/index.cjs +2 -2
  39. package/__cjs/link/ws/index.cjs +1 -1
  40. package/__cjs/local-state/LocalState.cjs +11 -11
  41. package/__cjs/local-state/LocalState.cjs.map +1 -1
  42. package/__cjs/local-state/LocalState.d.cts +1 -1
  43. package/__cjs/masking/maskDefinition.cjs +2 -2
  44. package/__cjs/masking/maskFragment.cjs +2 -2
  45. package/__cjs/masking/maskOperation.cjs +1 -1
  46. package/__cjs/masking/utils.cjs +3 -3
  47. package/__cjs/react/context/ApolloContext.cjs +1 -1
  48. package/__cjs/react/context/ApolloProvider.cjs +1 -1
  49. package/__cjs/react/hooks/internal/validateSuspenseHookOptions.cjs +2 -2
  50. package/__cjs/react/hooks/useApolloClient.cjs +1 -1
  51. package/__cjs/react/hooks/useBackgroundQuery.cjs.map +1 -1
  52. package/__cjs/react/hooks/useBackgroundQuery.d.cts +1 -1
  53. package/__cjs/react/hooks/useFragment.cjs.map +1 -1
  54. package/__cjs/react/hooks/useFragment.d.cts +0 -1
  55. package/__cjs/react/hooks/useLazyQuery.cjs +2 -2
  56. package/__cjs/react/hooks/useLazyQuery.cjs.map +1 -1
  57. package/__cjs/react/hooks/useLazyQuery.d.cts +1 -1
  58. package/__cjs/react/hooks/useLoadableQuery.cjs +2 -2
  59. package/__cjs/react/hooks/useMutation.cjs.map +1 -1
  60. package/__cjs/react/hooks/useMutation.d.cts +1 -1
  61. package/__cjs/react/hooks/useQuery.cjs.map +1 -1
  62. package/__cjs/react/hooks/useQuery.d.cts +1 -1
  63. package/__cjs/react/hooks/useSubscription.cjs +7 -3
  64. package/__cjs/react/hooks/useSubscription.cjs.map +1 -1
  65. package/__cjs/react/hooks/useSubscription.d.cts +7 -4
  66. package/__cjs/react/hooks/useSuspenseFragment.cjs.map +1 -1
  67. package/__cjs/react/hooks/useSuspenseFragment.d.cts +1 -1
  68. package/__cjs/react/hooks/useSuspenseQuery.cjs.map +1 -1
  69. package/__cjs/react/hooks/useSuspenseQuery.d.cts +1 -1
  70. package/__cjs/react/hooks/useSyncExternalStore.cjs +1 -1
  71. package/__cjs/react/internal/cache/QueryReference.cjs +1 -1
  72. package/__cjs/react/query-preloader/createQueryPreloader.cjs.map +1 -1
  73. package/__cjs/react/query-preloader/createQueryPreloader.d.cts +1 -1
  74. package/__cjs/react/ssr/prerenderStatic.cjs +2 -2
  75. package/__cjs/testing/core/mocking/mockLink.cjs +4 -4
  76. package/__cjs/utilities/graphql/DocumentTransform.cjs +1 -1
  77. package/__cjs/utilities/internal/coerceScalarFieldsToParsed.cjs +45 -12
  78. package/__cjs/utilities/internal/coerceScalarFieldsToParsed.cjs.map +1 -1
  79. package/__cjs/utilities/internal/getFragmentDefinition.cjs +3 -3
  80. package/__cjs/utilities/internal/getFragmentDefinition.cjs.map +1 -1
  81. package/__cjs/utilities/internal/getFragmentFromSelection.cjs +1 -1
  82. package/__cjs/utilities/internal/getFragmentQueryDocument.cjs +2 -2
  83. package/__cjs/utilities/internal/getMainDefinition.cjs +1 -1
  84. package/__cjs/utilities/internal/getQueryDefinition.cjs +1 -1
  85. package/__cjs/utilities/internal/index.cjs +6 -4
  86. package/__cjs/utilities/internal/index.cjs.map +1 -1
  87. package/__cjs/utilities/internal/index.d.cts +2 -2
  88. package/__cjs/utilities/internal/matchScalarList.cjs +12 -0
  89. package/__cjs/utilities/internal/matchScalarList.cjs.map +1 -0
  90. package/__cjs/utilities/internal/matchScalarList.d.cts +8 -0
  91. package/__cjs/utilities/internal/removeDirectivesFromDocument.cjs +1 -1
  92. package/__cjs/utilities/internal/shouldInclude.cjs +4 -4
  93. package/__cjs/utilities/internal/unwrapScalarType.cjs +12 -0
  94. package/__cjs/utilities/internal/unwrapScalarType.cjs.map +1 -0
  95. package/__cjs/utilities/internal/unwrapScalarType.d.cts +10 -0
  96. package/__cjs/utilities/internal/valueToObjectRepresentation.cjs +1 -1
  97. package/__cjs/version.cjs +1 -1
  98. package/__cjs/version.cjs.map +1 -1
  99. package/cache/core/Scalar.d.ts +0 -1
  100. package/cache/core/Scalar.js.map +1 -1
  101. package/cache/core/cache.d.ts +53 -8
  102. package/cache/core/cache.js +3 -3
  103. package/cache/core/cache.js.map +1 -1
  104. package/cache/index.d.ts +1 -1
  105. package/cache/index.js.map +1 -1
  106. package/cache/inmemory/entityStore.js +26 -11
  107. package/cache/inmemory/entityStore.js.map +1 -1
  108. package/cache/inmemory/helpers.d.ts +2 -1
  109. package/cache/inmemory/helpers.js +11 -0
  110. package/cache/inmemory/helpers.js.map +1 -1
  111. package/cache/inmemory/inMemoryCache.d.ts +4 -4
  112. package/cache/inmemory/inMemoryCache.js +36 -24
  113. package/cache/inmemory/inMemoryCache.js.map +1 -1
  114. package/cache/inmemory/key-extractor.js +1 -1
  115. package/cache/inmemory/policies.d.ts +3 -4
  116. package/cache/inmemory/policies.js +7 -8
  117. package/cache/inmemory/policies.js.map +1 -1
  118. package/cache/inmemory/readFromStore.js +3 -3
  119. package/cache/inmemory/types.d.ts +3 -1
  120. package/cache/inmemory/types.js.map +1 -1
  121. package/cache/inmemory/writeToStore.js +4 -4
  122. package/core/ApolloClient.js +14 -14
  123. package/core/ObservableQuery.js +8 -8
  124. package/core/QueryInfo.js +1 -1
  125. package/core/QueryManager.js +12 -12
  126. package/core/RefetchEventManager.js +3 -3
  127. package/core/index.d.ts +3 -2
  128. package/core/index.js.map +1 -1
  129. package/core/types.d.ts +9 -4
  130. package/core/types.js.map +1 -1
  131. package/incremental/handlers/graphql17Alpha9.js +1 -1
  132. package/incremental/handlers/notImplemented.js +1 -1
  133. package/invariantErrorCodes.js +131 -116
  134. package/link/core/ApolloLink.js +3 -3
  135. package/link/http/checkFetcher.js +1 -1
  136. package/link/http/parseAndCheckHttpResponse.js +1 -1
  137. package/link/persisted-queries/index.js +2 -2
  138. package/link/ws/index.js +1 -1
  139. package/local-state/LocalState.d.ts +1 -1
  140. package/local-state/LocalState.js +11 -11
  141. package/local-state/LocalState.js.map +1 -1
  142. package/masking/maskDefinition.js +2 -2
  143. package/masking/maskFragment.js +2 -2
  144. package/masking/maskOperation.js +1 -1
  145. package/masking/utils.js +3 -3
  146. package/package.json +1 -1
  147. package/react/context/ApolloContext.js +1 -1
  148. package/react/context/ApolloProvider.js +1 -1
  149. package/react/hooks/internal/validateSuspenseHookOptions.js +2 -2
  150. package/react/hooks/useApolloClient.js +1 -1
  151. package/react/hooks/useBackgroundQuery.d.ts +1 -1
  152. package/react/hooks/useBackgroundQuery.js.map +1 -1
  153. package/react/hooks/useFragment.d.ts +0 -1
  154. package/react/hooks/useFragment.js.map +1 -1
  155. package/react/hooks/useLazyQuery.d.ts +1 -1
  156. package/react/hooks/useLazyQuery.js +2 -2
  157. package/react/hooks/useLazyQuery.js.map +1 -1
  158. package/react/hooks/useLoadableQuery.js +2 -2
  159. package/react/hooks/useMutation.d.ts +1 -1
  160. package/react/hooks/useMutation.js.map +1 -1
  161. package/react/hooks/useQuery.d.ts +1 -1
  162. package/react/hooks/useQuery.js.map +1 -1
  163. package/react/hooks/useSubscription.d.ts +7 -4
  164. package/react/hooks/useSubscription.js +7 -3
  165. package/react/hooks/useSubscription.js.map +1 -1
  166. package/react/hooks/useSuspenseFragment.d.ts +1 -1
  167. package/react/hooks/useSuspenseFragment.js.map +1 -1
  168. package/react/hooks/useSuspenseQuery.d.ts +1 -1
  169. package/react/hooks/useSuspenseQuery.js.map +1 -1
  170. package/react/hooks/useSyncExternalStore.js +1 -1
  171. package/react/hooks-compiled/internal/validateSuspenseHookOptions.js +2 -2
  172. package/react/hooks-compiled/useApolloClient.js +1 -1
  173. package/react/hooks-compiled/useBackgroundQuery.d.ts +1 -1
  174. package/react/hooks-compiled/useBackgroundQuery.js.map +1 -1
  175. package/react/hooks-compiled/useFragment.d.ts +0 -1
  176. package/react/hooks-compiled/useFragment.js.map +1 -1
  177. package/react/hooks-compiled/useLazyQuery.d.ts +1 -1
  178. package/react/hooks-compiled/useLazyQuery.js +2 -2
  179. package/react/hooks-compiled/useLazyQuery.js.map +1 -1
  180. package/react/hooks-compiled/useLoadableQuery.js +2 -2
  181. package/react/hooks-compiled/useMutation.d.ts +1 -1
  182. package/react/hooks-compiled/useMutation.js.map +1 -1
  183. package/react/hooks-compiled/useQuery.d.ts +1 -1
  184. package/react/hooks-compiled/useQuery.js.map +1 -1
  185. package/react/hooks-compiled/useSubscription.d.ts +7 -4
  186. package/react/hooks-compiled/useSubscription.js +107 -93
  187. package/react/hooks-compiled/useSubscription.js.map +1 -1
  188. package/react/hooks-compiled/useSuspenseFragment.d.ts +1 -1
  189. package/react/hooks-compiled/useSuspenseFragment.js.map +1 -1
  190. package/react/hooks-compiled/useSuspenseQuery.d.ts +1 -1
  191. package/react/hooks-compiled/useSuspenseQuery.js.map +1 -1
  192. package/react/hooks-compiled/useSyncExternalStore.js +1 -1
  193. package/react/internal/cache/QueryReference.js +1 -1
  194. package/react/query-preloader/createQueryPreloader.d.ts +1 -1
  195. package/react/query-preloader/createQueryPreloader.js.map +1 -1
  196. package/react/ssr/prerenderStatic.js +2 -2
  197. package/testing/core/mocking/mockLink.js +4 -4
  198. package/utilities/graphql/DocumentTransform.js +1 -1
  199. package/utilities/internal/coerceScalarFieldsToParsed.js +40 -11
  200. package/utilities/internal/coerceScalarFieldsToParsed.js.map +1 -1
  201. package/utilities/internal/getFragmentDefinition.js +3 -3
  202. package/utilities/internal/getFragmentDefinition.js.map +1 -1
  203. package/utilities/internal/getFragmentFromSelection.js +1 -1
  204. package/utilities/internal/getFragmentQueryDocument.js +2 -2
  205. package/utilities/internal/getMainDefinition.js +1 -1
  206. package/utilities/internal/getQueryDefinition.js +1 -1
  207. package/utilities/internal/index.d.ts +2 -2
  208. package/utilities/internal/index.js +2 -1
  209. package/utilities/internal/index.js.map +1 -1
  210. package/utilities/internal/matchScalarList.d.ts +8 -0
  211. package/utilities/internal/matchScalarList.js +9 -0
  212. package/utilities/internal/matchScalarList.js.map +1 -0
  213. package/utilities/internal/removeDirectivesFromDocument.js +1 -1
  214. package/utilities/internal/shouldInclude.js +4 -4
  215. package/utilities/internal/unwrapScalarType.d.ts +10 -0
  216. package/utilities/internal/unwrapScalarType.js +9 -0
  217. package/utilities/internal/unwrapScalarType.js.map +1 -0
  218. package/utilities/internal/valueToObjectRepresentation.js +1 -1
  219. package/version.js +1 -1
  220. package/version.js.map +1 -1
  221. package/__cjs/utilities/internal/getUnwrappedType.cjs +0 -20
  222. package/__cjs/utilities/internal/getUnwrappedType.cjs.map +0 -1
  223. package/__cjs/utilities/internal/getUnwrappedType.d.cts +0 -8
  224. package/__cjs/utilities/internal/types/NoInfer.cjs +0 -3
  225. package/__cjs/utilities/internal/types/NoInfer.cjs.map +0 -1
  226. package/__cjs/utilities/internal/types/NoInfer.d.cts +0 -35
  227. package/utilities/internal/getUnwrappedType.d.ts +0 -8
  228. package/utilities/internal/getUnwrappedType.js +0 -17
  229. package/utilities/internal/getUnwrappedType.js.map +0 -1
  230. package/utilities/internal/types/NoInfer.d.ts +0 -35
  231. package/utilities/internal/types/NoInfer.js +0 -2
  232. package/utilities/internal/types/NoInfer.js.map +0 -1
@@ -44,7 +44,7 @@ string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql`
44
44
  message: "Document node must be a query, mutation, or subscription"
45
45
  },
46
46
 
47
- 7: {
47
+ 8: {
48
48
  file: "@apollo/client/__cjs/utilities/internal/getFragmentDefinition.cjs",
49
49
  condition: "doc.kind === \"Document\"",
50
50
 
@@ -52,73 +52,73 @@ string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql`
52
52
  string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql`
53
53
  },
54
54
 
55
- 8: {
55
+ 9: {
56
56
  file: "@apollo/client/__cjs/utilities/internal/getFragmentDefinition.cjs",
57
57
  condition: "doc.definitions.length <= 1",
58
58
  message: "Fragment must have exactly one definition."
59
59
  },
60
60
 
61
- 9: {
61
+ 10: {
62
62
  file: "@apollo/client/__cjs/utilities/internal/getFragmentDefinition.cjs",
63
63
  condition: "fragmentDef.kind === \"FragmentDefinition\"",
64
64
  message: "Must be a fragment definition."
65
65
  },
66
66
 
67
- 10: {
67
+ 11: {
68
68
  file: "@apollo/client/__cjs/utilities/internal/getFragmentFromSelection.cjs",
69
69
  condition: "fragment",
70
70
  message: `No fragment named %s`
71
71
  },
72
72
 
73
- 11: {
73
+ 12: {
74
74
  file: "@apollo/client/__cjs/utilities/internal/getFragmentQueryDocument.cjs",
75
75
 
76
76
  message: `Found a %s operation%s. ` +
77
77
  "No operations are allowed when using a fragment as a query. Only fragments are allowed."
78
78
  },
79
79
 
80
- 12: {
80
+ 13: {
81
81
  file: "@apollo/client/__cjs/utilities/internal/getFragmentQueryDocument.cjs",
82
82
  condition: "fragments.length === 1",
83
83
  message: `Found %s fragments. \`fragmentName\` must be provided when there is not exactly 1 fragment.`
84
84
  },
85
85
 
86
- 13: {
86
+ 14: {
87
87
  file: "@apollo/client/__cjs/utilities/internal/getMainDefinition.cjs",
88
88
  message: "Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."
89
89
  },
90
90
 
91
- 14: {
91
+ 15: {
92
92
  file: "@apollo/client/__cjs/utilities/internal/getQueryDefinition.cjs",
93
93
  condition: "queryDef && queryDef.operation === \"query\"",
94
94
  message: "Must contain a query definition."
95
95
  },
96
96
 
97
- 16: {
97
+ 17: {
98
98
  file: "@apollo/client/__cjs/utilities/internal/shouldInclude.cjs",
99
99
  condition: "evaledValue !== void 0",
100
100
  message: `Invalid variable referenced in @%s directive.`
101
101
  },
102
102
 
103
- 17: {
103
+ 18: {
104
104
  file: "@apollo/client/__cjs/utilities/internal/shouldInclude.cjs",
105
105
  condition: "directiveArguments && directiveArguments.length === 1",
106
106
  message: `Incorrect number of arguments for the @%s directive.`
107
107
  },
108
108
 
109
- 18: {
109
+ 19: {
110
110
  file: "@apollo/client/__cjs/utilities/internal/shouldInclude.cjs",
111
111
  condition: "ifArgument.name && ifArgument.name.value === \"if\"",
112
112
  message: `Invalid argument for the @%s directive.`
113
113
  },
114
114
 
115
- 19: {
115
+ 20: {
116
116
  file: "@apollo/client/__cjs/utilities/internal/shouldInclude.cjs",
117
117
  condition: "ifValue &&\n (ifValue.kind === \"Variable\" || ifValue.kind === \"BooleanValue\")",
118
118
  message: `Argument for the @%s directive must be a variable or a boolean value.`
119
119
  },
120
120
 
121
- 20: {
121
+ 21: {
122
122
  file: "@apollo/client/__cjs/utilities/internal/valueToObjectRepresentation.cjs",
123
123
 
124
124
  message: `The inline argument "%s" of kind "%s"` +
@@ -126,37 +126,37 @@ string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql`
126
126
  "overcome this limitation."
127
127
  },
128
128
 
129
- 21: {
129
+ 22: {
130
130
  file: "@apollo/client/__cjs/utilities/graphql/DocumentTransform.cjs",
131
131
  condition: "Array.isArray(cacheKeys)",
132
132
  message: "`getCacheKey` must return an array or undefined"
133
133
  },
134
134
 
135
- 22: {
135
+ 23: {
136
136
  file: "@apollo/client/__cjs/testing/core/mocking/mockLink.cjs",
137
137
  condition: "max > min",
138
138
  message: "realisticDelay: `min` must be less than `max`"
139
139
  },
140
140
 
141
- 23: {
141
+ 24: {
142
142
  file: "@apollo/client/__cjs/testing/core/mocking/mockLink.cjs",
143
143
  condition: "queryWithoutClientOnlyDirectives",
144
144
  message: "query is required"
145
145
  },
146
146
 
147
- 24: {
147
+ 25: {
148
148
  file: "@apollo/client/__cjs/testing/core/mocking/mockLink.cjs",
149
149
  condition: "serverQuery",
150
150
  message: "Cannot mock a client-only query. Mocked responses should contain at least one non-client field."
151
151
  },
152
152
 
153
- 25: {
153
+ 26: {
154
154
  file: "@apollo/client/__cjs/testing/core/mocking/mockLink.cjs",
155
155
  condition: "(mock.maxUsageCount ?? 1) > 0",
156
156
  message: "Mocked response `maxUsageCount` must be greater than 0. Given %s"
157
157
  },
158
158
 
159
- 26: {
159
+ 27: {
160
160
  file: "@apollo/client/__cjs/react/ssr/prerenderStatic.cjs",
161
161
  condition: "renderCount <= maxRerenders",
162
162
 
@@ -166,19 +166,19 @@ and need to increase the \`maxRerender\` option to \`prerenderStatic\`, or that
166
166
  you have an infinite render loop in your application.`
167
167
  },
168
168
 
169
- 27: {
169
+ 28: {
170
170
  file: "@apollo/client/__cjs/react/ssr/prerenderStatic.cjs",
171
171
  condition: "!signal?.aborted",
172
172
  message: "The operation was aborted before it could be attempted."
173
173
  },
174
174
 
175
- 28: {
175
+ 29: {
176
176
  file: "@apollo/client/__cjs/react/internal/cache/QueryReference.cjs",
177
177
  condition: "!queryRef || QUERY_REFERENCE_SYMBOL in queryRef",
178
178
  message: "Expected a QueryRef object, but got something else instead."
179
179
  },
180
180
 
181
- 29: {
181
+ 30: {
182
182
  file: "@apollo/client/__cjs/react/hooks/useApolloClient.cjs",
183
183
  condition: "!!client",
184
184
 
@@ -187,43 +187,43 @@ you have an infinite render loop in your application.`
187
187
  "instance in via options."
188
188
  },
189
189
 
190
- 30: {
190
+ 31: {
191
191
  file: "@apollo/client/__cjs/react/hooks/useLazyQuery.cjs",
192
192
  condition: "resultRef.current",
193
193
  message: "useLazyQuery: '%s' cannot be called before executing the query."
194
194
  },
195
195
 
196
- 31: {
196
+ 32: {
197
197
  file: "@apollo/client/__cjs/react/hooks/useLazyQuery.cjs",
198
198
  condition: "!calledDuringRender()",
199
199
  message: "useLazyQuery: 'execute' should not be called during render. To start a query during render, use the 'useQuery' hook."
200
200
  },
201
201
 
202
- 32: {
202
+ 33: {
203
203
  file: "@apollo/client/__cjs/react/hooks/useLoadableQuery.cjs",
204
204
  condition: "!calledDuringRender()",
205
205
  message: "useLoadableQuery: 'loadQuery' should not be called during render. To start a query during render, use the 'useBackgroundQuery' hook."
206
206
  },
207
207
 
208
- 33: {
208
+ 34: {
209
209
  file: "@apollo/client/__cjs/react/hooks/useLoadableQuery.cjs",
210
210
  condition: "internalQueryRef",
211
211
  message: "The query has not been loaded. Please load the query."
212
212
  },
213
213
 
214
- 34: {
214
+ 35: {
215
215
  file: "@apollo/client/__cjs/react/hooks/useSubscription.cjs",
216
216
  condition: "!optionsRef.current.skip",
217
217
  message: "A subscription that is skipped cannot be restarted."
218
218
  },
219
219
 
220
- 36: {
220
+ 37: {
221
221
  file: "@apollo/client/__cjs/react/hooks/internal/validateSuspenseHookOptions.cjs",
222
222
  condition: "supportedFetchPolicies.includes(fetchPolicy)",
223
223
  message: `The fetch policy \`%s\` is not supported with suspense.`
224
224
  },
225
225
 
226
- 38: {
226
+ 39: {
227
227
  file: "@apollo/client/__cjs/react/context/ApolloContext.cjs",
228
228
  condition: "\"createContext\" in React",
229
229
 
@@ -234,7 +234,7 @@ you have an infinite render loop in your application.`
234
234
  "For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components"
235
235
  },
236
236
 
237
- 39: {
237
+ 40: {
238
238
  file: "@apollo/client/__cjs/react/context/ApolloProvider.cjs",
239
239
  condition: "context.client",
240
240
 
@@ -242,66 +242,66 @@ you have an infinite render loop in your application.`
242
242
  'sure you pass in your client via the "client" prop.'
243
243
  },
244
244
 
245
- 40: {
245
+ 41: {
246
246
  file: "@apollo/client/__cjs/masking/maskDefinition.cjs",
247
247
  condition: "fragment",
248
248
  message: "Could not find fragment with name '%s'."
249
249
  },
250
250
 
251
- 42: {
251
+ 43: {
252
252
  file: "@apollo/client/__cjs/masking/maskFragment.cjs",
253
253
  condition: "fragments.length === 1",
254
254
  message: `Found %s fragments. \`fragmentName\` must be provided when there is not exactly 1 fragment.`
255
255
  },
256
256
 
257
- 43: {
257
+ 44: {
258
258
  file: "@apollo/client/__cjs/masking/maskFragment.cjs",
259
259
  condition: "!!fragment",
260
260
  message: `Could not find fragment with name "%s".`
261
261
  },
262
262
 
263
- 44: {
263
+ 45: {
264
264
  file: "@apollo/client/__cjs/masking/maskOperation.cjs",
265
265
  condition: "definition",
266
266
  message: "Expected a parsed GraphQL document with a query, mutation, or subscription."
267
267
  },
268
268
 
269
- 48: {
269
+ 49: {
270
270
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
271
271
  condition: "(0, internal_1.hasDirectives)([\"client\"], document)",
272
272
  message: "Expected document to contain `@client` fields."
273
273
  },
274
274
 
275
- 49: {
275
+ 50: {
276
276
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
277
277
  condition: "(0, internal_1.hasDirectives)([\"client\"], document)",
278
278
  message: "Expected document to contain `@client` fields."
279
279
  },
280
280
 
281
- 50: {
281
+ 51: {
282
282
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
283
283
  condition: "fragment",
284
284
  message: "No fragment named %s"
285
285
  },
286
286
 
287
- 56: {
287
+ 57: {
288
288
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
289
289
  message: "Could not resolve __typename on object %o returned from resolver '%s'. '__typename' needs to be returned to properly resolve child fields."
290
290
  },
291
291
 
292
- 57: {
292
+ 58: {
293
293
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
294
294
  condition: "fragment",
295
295
  message: `No fragment named %s`
296
296
  },
297
297
 
298
- 58: {
298
+ 59: {
299
299
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
300
300
  condition: "cache.fragmentMatches",
301
301
  message: "The configured cache does not support fragment matching which will lead to incorrect results when executing local resolvers. Please use a cache that implements `fragmetMatches`."
302
302
  },
303
303
 
304
- 60: {
304
+ 61: {
305
305
  file: "@apollo/client/__cjs/link/persisted-queries/index.cjs",
306
306
  condition: "options &&\n (typeof options.sha256 === \"function\" ||\n typeof options.generateHash === \"function\")",
307
307
 
@@ -310,13 +310,13 @@ you have an infinite render loop in your application.`
310
310
  "parameter."
311
311
  },
312
312
 
313
- 61: {
313
+ 62: {
314
314
  file: "@apollo/client/__cjs/link/persisted-queries/index.cjs",
315
315
  condition: "forward",
316
316
  message: "PersistedQueryLink cannot be the last link in the chain."
317
317
  },
318
318
 
319
- 62: {
319
+ 63: {
320
320
  file: "@apollo/client/__cjs/link/http/checkFetcher.cjs",
321
321
  condition: "fetcher || typeof fetch !== \"undefined\"",
322
322
 
@@ -334,30 +334,30 @@ const client = new ApolloClient({
334
334
  `
335
335
  },
336
336
 
337
- 63: {
337
+ 64: {
338
338
  file: "@apollo/client/__cjs/link/http/parseAndCheckHttpResponse.cjs",
339
339
  condition: "response.body && typeof response.body.getReader === \"function\"",
340
340
  message: "Unknown type for `response.body`. Please use a `fetch` implementation that is WhatWG-compliant and that uses WhatWG ReadableStreams for `body`."
341
341
  },
342
342
 
343
- 66: {
343
+ 67: {
344
344
  file: "@apollo/client/__cjs/link/core/ApolloLink.cjs",
345
345
  message: "request is not implemented"
346
346
  },
347
347
 
348
- 67: {
348
+ 68: {
349
349
  file: "@apollo/client/__cjs/incremental/handlers/graphql17Alpha9.cjs",
350
350
  condition: "pending",
351
351
  message: "Could not find pending chunk for incremental value. Please file an issue for the Apollo Client team to investigate."
352
352
  },
353
353
 
354
- 68: {
354
+ 69: {
355
355
  file: "@apollo/client/__cjs/incremental/handlers/notImplemented.cjs",
356
356
  condition: "!(0, internal_1.hasDirectives)([\"defer\", \"stream\"], request.query)",
357
357
  message: "`@defer` and `@stream` are not supported without specifying an incremental handler. Please pass a handler as the `incrementalHandler` option to the `ApolloClient` constructor."
358
358
  },
359
359
 
360
- 69: {
360
+ 70: {
361
361
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
362
362
  condition: "options.cache",
363
363
 
@@ -366,7 +366,7 @@ const client = new ApolloClient({
366
366
  "For more information, please visit: https://go.apollo.dev/c/docs"
367
367
  },
368
368
 
369
- 70: {
369
+ 71: {
370
370
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
371
371
  condition: "options.link",
372
372
 
@@ -375,7 +375,7 @@ const client = new ApolloClient({
375
375
  "For more information, please visit: https://go.apollo.dev/c/docs"
376
376
  },
377
377
 
378
- 73: {
378
+ 74: {
379
379
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
380
380
  condition: "options.fetchPolicy !== \"cache-and-network\"",
381
381
 
@@ -385,7 +385,7 @@ const client = new ApolloClient({
385
385
  "using a different fetchPolicy, such as cache-first or network-only."
386
386
  },
387
387
 
388
- 74: {
388
+ 75: {
389
389
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
390
390
  condition: "options.fetchPolicy !== \"standby\"",
391
391
 
@@ -394,7 +394,7 @@ const client = new ApolloClient({
394
394
  "as cache-first or network-only."
395
395
  },
396
396
 
397
- 75: {
397
+ 76: {
398
398
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
399
399
  condition: "options.query",
400
400
 
@@ -402,164 +402,164 @@ const client = new ApolloClient({
402
402
  "in the query option."
403
403
  },
404
404
 
405
- 76: {
405
+ 77: {
406
406
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
407
407
  condition: "options.query.kind === \"Document\"",
408
408
  message: 'You must wrap the query string in a "gql" tag.'
409
409
  },
410
410
 
411
- 77: {
411
+ 78: {
412
412
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
413
413
  condition: "!options.returnPartialData",
414
414
  message: "returnPartialData option only supported on watchQuery."
415
415
  },
416
416
 
417
- 78: {
417
+ 79: {
418
418
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
419
419
  condition: "!options.pollInterval",
420
420
  message: "pollInterval option only supported on watchQuery."
421
421
  },
422
422
 
423
- 79: {
423
+ 80: {
424
424
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
425
425
  condition: "!options.notifyOnNetworkStatusChange",
426
426
  message: "notifyOnNetworkStatusChange option only supported on watchQuery."
427
427
  },
428
428
 
429
- 80: {
429
+ 81: {
430
430
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
431
431
  condition: "optionsWithDefaults.mutation",
432
432
  message: "The `mutation` option is required. Please provide a GraphQL document in the `mutation` option."
433
433
  },
434
434
 
435
- 81: {
435
+ 82: {
436
436
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
437
437
  condition: "optionsWithDefaults.fetchPolicy === \"network-only\" ||\n optionsWithDefaults.fetchPolicy === \"no-cache\"",
438
438
  message: "Mutations only support 'network-only' or 'no-cache' fetch policies. The default 'network-only' behavior automatically writes mutation results to the cache. Passing 'no-cache' skips the cache write."
439
439
  },
440
440
 
441
- 83: {
441
+ 84: {
442
442
  file: "@apollo/client/__cjs/core/ObservableQuery.cjs",
443
443
  condition: "fetchPolicy === \"standby\"",
444
444
  message: "The `variablesUnknown` option can only be used together with a `standby` fetch policy."
445
445
  },
446
446
 
447
- 85: {
447
+ 86: {
448
448
  file: "@apollo/client/__cjs/core/ObservableQuery.cjs",
449
449
  condition: "this.options.fetchPolicy !== \"cache-only\"",
450
450
  message: "Cannot execute `fetchMore` for 'cache-only' query '%s'. Please use a different fetch policy."
451
451
  },
452
452
 
453
- 86: {
453
+ 87: {
454
454
  file: "@apollo/client/__cjs/core/ObservableQuery.cjs",
455
455
  condition: "updateQuery",
456
456
  message: "You must provide an `updateQuery` function when using `fetchMore` with a `no-cache` fetch policy."
457
457
  },
458
458
 
459
- 92: {
459
+ 93: {
460
460
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
461
461
  message: "QueryManager stopped while query was in flight"
462
462
  },
463
463
 
464
- 93: {
464
+ 94: {
465
465
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
466
466
  condition: "this.localState",
467
467
  message: "Mutation '%s' contains `@client` fields with variables provided by `@export` but local state has not been configured."
468
468
  },
469
469
 
470
- 94: {
470
+ 95: {
471
471
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
472
472
  message: "Store reset while query was in flight (not completed in link chain)"
473
473
  },
474
474
 
475
- 97: {
475
+ 98: {
476
476
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
477
477
  condition: "!this.getDocumentInfo(query).hasClientExports || this.localState",
478
478
  message: "Subscription '%s' contains `@client` fields with variables provided by `@export` but local state has not been configured."
479
479
  },
480
480
 
481
- 98: {
481
+ 99: {
482
482
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
483
483
  condition: "this.localState",
484
484
  message: "%s '%s' contains `@client` fields but local state has not been configured."
485
485
  },
486
486
 
487
- 99: {
487
+ 100: {
488
488
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
489
489
  condition: "!hasIncrementalDirective",
490
490
  message: "%s '%s' contains `@client` and `@defer` directives. These cannot be used together."
491
491
  },
492
492
 
493
- 100: {
493
+ 101: {
494
494
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
495
495
  condition: "this.localState",
496
496
  message: "Query '%s' contains `@client` fields with variables provided by `@export` but local state has not been configured."
497
497
  },
498
498
 
499
- 102: {
499
+ 103: {
500
500
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
501
501
  condition: "this.localState",
502
502
  message: "Query '%s' contains `@client` fields but local state has not been configured."
503
503
  },
504
504
 
505
- 103: {
505
+ 104: {
506
506
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
507
507
  condition: "didEmitValue",
508
508
  message: "The link chain completed without emitting a value. This is likely unintentional and should be updated to emit a value before completing."
509
509
  },
510
510
 
511
- 107: {
511
+ 108: {
512
512
  file: "@apollo/client/__cjs/cache/inmemory/entityStore.cjs",
513
513
  condition: "typeof dataId === \"string\"",
514
514
  message: "store.merge expects a string ID"
515
515
  },
516
516
 
517
- 110: {
517
+ 113: {
518
518
  file: "@apollo/client/__cjs/cache/inmemory/key-extractor.cjs",
519
519
  condition: "extracted !== void 0",
520
520
  message: `Missing field '%s' while extracting keyFields from %s`
521
521
  },
522
522
 
523
- 111: {
523
+ 114: {
524
524
  file: "@apollo/client/__cjs/cache/inmemory/policies.cjs",
525
525
  condition: "!old || old === which",
526
526
  message: `Cannot change root %s __typename more than once`
527
527
  },
528
528
 
529
- 114: {
529
+ 117: {
530
530
  file: "@apollo/client/__cjs/cache/inmemory/policies.cjs",
531
531
  message: "Cannot automatically merge arrays"
532
532
  },
533
533
 
534
- 117: {
534
+ 120: {
535
535
  file: "@apollo/client/__cjs/cache/inmemory/readFromStore.cjs",
536
536
  message: `No fragment named %s`
537
537
  },
538
538
 
539
- 118: {
539
+ 121: {
540
540
  file: "@apollo/client/__cjs/cache/inmemory/readFromStore.cjs",
541
541
  condition: "!(0, utilities_1.isReference)(value)",
542
542
  message: `Missing selection set for object of type %s returned for query field %s`
543
543
  },
544
544
 
545
- 119: {
545
+ 122: {
546
546
  file: "@apollo/client/__cjs/cache/inmemory/writeToStore.cjs",
547
547
  message: `Could not identify object %s`
548
548
  },
549
549
 
550
- 121: {
550
+ 124: {
551
551
  file: "@apollo/client/__cjs/cache/inmemory/writeToStore.cjs",
552
552
  message: `No fragment named %s`
553
553
  }
554
554
  };
555
555
 
556
556
  exports.devDebug = {
557
- 82: {
557
+ 83: {
558
558
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
559
559
  message: `In client.refetchQueries, Promise.all promise rejected with error %o`
560
560
  },
561
561
 
562
- 89: {
562
+ 90: {
563
563
  file: "@apollo/client/__cjs/core/ObservableQuery.cjs",
564
564
  message: `Missing cache result fields: %o`
565
565
  }
@@ -568,67 +568,72 @@ exports.devDebug = {
568
568
  exports.devLog = {};
569
569
 
570
570
  exports.devWarn = {
571
- 37: {
571
+ 7: {
572
+ file: "@apollo/client/__cjs/utilities/internal/coerceScalarFieldsToParsed.cjs",
573
+ message: "The custom scalar configuration for '%s' uses list type '%s', but the value is not an array. The value was coerced as '%s' anyway."
574
+ },
575
+
576
+ 38: {
572
577
  file: "@apollo/client/__cjs/react/hooks/internal/validateSuspenseHookOptions.cjs",
573
578
  message: "Using `returnPartialData` with a `no-cache` fetch policy has no effect. To read partial data from the cache, consider using an alternate fetch policy."
574
579
  },
575
580
 
576
- 41: {
581
+ 42: {
577
582
  file: "@apollo/client/__cjs/masking/maskDefinition.cjs",
578
583
  message: "Accessing unmasked field on %s at path '%s'. This field will not be available when masking is enabled. Please read the field from the fragment instead."
579
584
  },
580
585
 
581
- 45: {
586
+ 46: {
582
587
  file: "@apollo/client/__cjs/masking/utils.cjs",
583
588
  message: "@unmask 'mode' argument does not support variables."
584
589
  },
585
590
 
586
- 46: {
591
+ 47: {
587
592
  file: "@apollo/client/__cjs/masking/utils.cjs",
588
593
  message: "@unmask 'mode' argument must be of type string."
589
594
  },
590
595
 
591
- 47: {
596
+ 48: {
592
597
  file: "@apollo/client/__cjs/masking/utils.cjs",
593
598
  message: "@unmask 'mode' argument does not recognize value '%s'."
594
599
  },
595
600
 
596
- 51: {
601
+ 52: {
597
602
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
598
603
  message: "The '%s' field resolves the value from the cache, for example from a 'read' function, but a 'no-cache' fetch policy was used. The field value has been set to `null`. Either define a local resolver or use a fetch policy that uses the cache to ensure the field is resolved correctly."
599
604
  },
600
605
 
601
- 52: {
606
+ 53: {
602
607
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
603
608
  message: "Could not find a resolver for the '%s' field nor does the cache resolve the field. The field value has been set to `null`. Either define a resolver for the field or ensure the cache can resolve the value, for example, by adding a 'read' function to a field policy in 'InMemoryCache'."
604
609
  },
605
610
 
606
- 53: {
611
+ 54: {
607
612
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
608
613
  message: "The '%s' resolver returned `undefined` instead of a value. This is likely a bug in the resolver. If you didn't mean to return a value, return `null` instead."
609
614
  },
610
615
 
611
- 54: {
616
+ 55: {
612
617
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
613
618
  message: "The '%s' field had no cached value and only forced resolvers were run. The value was set to `null`."
614
619
  },
615
620
 
616
- 55: {
621
+ 56: {
617
622
  file: "@apollo/client/__cjs/local-state/LocalState.cjs",
618
623
  message: "The '%s' field on object %o returned `undefined` instead of a value. The parent resolver did not include the property in the returned value and there was no resolver defined for the field."
619
624
  },
620
625
 
621
- 59: {
626
+ 60: {
622
627
  file: "@apollo/client/__cjs/link/ws/index.cjs",
623
628
  message: "`WebSocketLink` uses the deprecated and unmaintained `subscriptions-transport-ws` library. This link is no longer maintained and will be removed in a future major version of Apollo Client. We recommend switching to `GraphQLWsLink` which uses the `graphql-ws` library to send GraphQL operations through WebSocket connections (https://the-guild.dev/graphql/ws)."
624
629
  },
625
630
 
626
- 64: {
631
+ 65: {
627
632
  file: "@apollo/client/__cjs/link/core/ApolloLink.cjs",
628
633
  message: "[ApolloLink.split]: The test function returned a non-boolean value which could result in subtle bugs (e.g. such as using an `async` function which always returns a truthy value). Got `%o`."
629
634
  },
630
635
 
631
- 65: {
636
+ 66: {
632
637
  file: "@apollo/client/__cjs/link/core/ApolloLink.cjs",
633
638
 
634
639
  message: "The terminating link provided to `ApolloLink.execute` called `forward` instead of handling the request. " +
@@ -637,29 +642,29 @@ exports.devWarn = {
637
642
  "If you are using a split link, ensure each branch contains a terminating link that handles the request."
638
643
  },
639
644
 
640
- 71: {
645
+ 72: {
641
646
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
642
647
  message: "`refetchOn` was set on query '%s' but no `RefetchEventManager` is configured on this `ApolloClient` instance. This option has no effect until a RefetchEventManager is connected to this client. Pass a `RefetchEventManager` instance to the `refetchEventManager` option on the `ApolloClient` constructor."
643
648
  },
644
649
 
645
- 72: {
650
+ 73: {
646
651
  file: "@apollo/client/__cjs/core/ApolloClient.cjs",
647
652
  message: "`refetchOn` references the '%s' event on query '%s' but no source is configured for it on the `RefetchEventManager`. This event will never fire. Add a source for the event to the `sources` option or call `setEventSource` on the refetch event manager."
648
653
  },
649
654
 
650
- 84: {
655
+ 85: {
651
656
  file: "@apollo/client/__cjs/core/ObservableQuery.cjs",
652
657
 
653
658
  message: `Called refetch(%o) for query %o, which does not declare a $variables variable.
654
659
  Did you mean to call refetch(variables) instead of refetch({ variables })?`
655
660
  },
656
661
 
657
- 88: {
662
+ 89: {
658
663
  file: "@apollo/client/__cjs/core/ObservableQuery.cjs",
659
664
  message: "Cannot poll on 'cache-only' query '%s' and as such, polling is disabled. Please use a different fetch policy."
660
665
  },
661
666
 
662
- 90: {
667
+ 91: {
663
668
  file: "@apollo/client/__cjs/core/ObservableQuery.cjs",
664
669
 
665
670
  message: `Apollo Client stopped refetching '%s' because the same incomplete cache result was already refetched. Automatic refetching was halted to prevent an endless cycle of network requests.
@@ -679,7 +684,7 @@ For more information about these options, please refer to the documentation:
679
684
  `
680
685
  },
681
686
 
682
- 91: {
687
+ 92: {
683
688
  file: "@apollo/client/__cjs/core/QueryInfo.cjs",
684
689
 
685
690
  message: `The network result for query %s was written to the cache, but reading it back returned a partial result.
@@ -698,37 +703,37 @@ For more information, please refer to the documentation:
698
703
  `
699
704
  },
700
705
 
701
- 95: {
706
+ 96: {
702
707
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
703
708
  message: `Unknown query named "%s" requested in refetchQueries options.include array`
704
709
  },
705
710
 
706
- 96: {
711
+ 97: {
707
712
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
708
713
  message: `Unknown anonymous query requested in refetchQueries options.include array`
709
714
  },
710
715
 
711
- 101: {
716
+ 102: {
712
717
  file: "@apollo/client/__cjs/core/QueryManager.cjs",
713
718
  message: '[%s]: Fragments masked by data masking are inaccessible when using fetch policy "no-cache". Please add `@unmask` to each fragment spread to access the data.'
714
719
  },
715
720
 
716
- 104: {
721
+ 105: {
717
722
  file: "@apollo/client/__cjs/core/RefetchEventManager.cjs",
718
723
  message: "Connected an `ApolloClient` instance to a `RefetchEventManager` that was already connected to a different `ApolloClient`. The previous client has been disconnected and will no longer receive refetch events from this manager."
719
724
  },
720
725
 
721
- 105: {
726
+ 106: {
722
727
  file: "@apollo/client/__cjs/core/RefetchEventManager.cjs",
723
728
  message: "Received '%s' event but an `ApolloClient` instance is not connected to the `RefetchEventManager`. No queries will refetch. Pass the manager to the `refetchEventManager` option on the `ApolloClient` constructor."
724
729
  },
725
730
 
726
- 106: {
731
+ 107: {
727
732
  file: "@apollo/client/__cjs/core/RefetchEventManager.cjs",
728
733
  message: "Received '%s' event but no source is configured for it on the `RefetchEventManager`. No queries will refetch. Add the event to the `sources` option or call `setEventSource`."
729
734
  },
730
735
 
731
- 108: {
736
+ 109: {
732
737
  file: "@apollo/client/__cjs/cache/inmemory/entityStore.cjs",
733
738
 
734
739
  message: "cache.modify: You are trying to write a Reference that is not part of the store: %o\n" +
@@ -736,34 +741,44 @@ For more information, please refer to the documentation:
736
741
  "`toReference(object, true)`"
737
742
  },
738
743
 
739
- 109: {
744
+ 110: {
740
745
  file: "@apollo/client/__cjs/cache/inmemory/entityStore.cjs",
741
746
 
742
747
  message: "cache.modify: Writing an array with a mix of both References and Objects will not result in the Objects being normalized correctly.\n" +
743
748
  "Please convert the object instance %o to a Reference before writing it to the cache by calling `toReference(object, true)`."
744
749
  },
745
750
 
751
+ 111: {
752
+ file: "@apollo/client/__cjs/cache/inmemory/entityStore.cjs",
753
+ message: "The custom scalar configuration for '%s' uses list type '%s', but the value is not an array. The value was coerced as '%s' anyway."
754
+ },
755
+
746
756
  112: {
757
+ file: "@apollo/client/__cjs/cache/inmemory/inMemoryCache.cjs",
758
+ message: "The variable '%s' has list type '%s', but the value is not an array. The value was coerced as '%s' anyway."
759
+ },
760
+
761
+ 115: {
747
762
  file: "@apollo/client/__cjs/cache/inmemory/policies.cjs",
748
763
  message: `Inferring subtype %s of supertype %s`
749
764
  },
750
765
 
751
- 113: {
766
+ 116: {
752
767
  file: "@apollo/client/__cjs/cache/inmemory/policies.cjs",
753
768
  message: `Undefined 'from' passed to readField with arguments %s`
754
769
  },
755
770
 
756
- 115: {
771
+ 118: {
757
772
  file: "@apollo/client/__cjs/cache/inmemory/policies.cjs",
758
773
  message: "The field policy for '%s' is configured with the '%s' scalar, so its '%s' function is ignored. Scalar configuration cannot be used with custom read or merge functions."
759
774
  },
760
775
 
761
- 116: {
776
+ 119: {
762
777
  file: "@apollo/client/__cjs/cache/inmemory/readFromStore.cjs",
763
778
  message: "The field policy for '%s' is configured with the '%s' scalar, but the field is not a scalar field because it contains a selection set. The field value remains unchanged."
764
779
  },
765
780
 
766
- 122: {
781
+ 125: {
767
782
  file: "@apollo/client/__cjs/cache/inmemory/writeToStore.cjs",
768
783
 
769
784
  message: `Cache data may be lost when replacing the %s field of a %s object.
@@ -782,29 +797,29 @@ For more information about these options, please refer to the documentation:
782
797
  `
783
798
  },
784
799
 
785
- 123: {
800
+ 126: {
786
801
  file: "@apollo/client/__cjs/cache/core/cache.cjs",
787
802
  message: "Could not identify object passed to `from` for '%s' fragment, either because the object is non-normalized or the key fields are missing. If you are masking this object, please ensure the key fields are requested by the parent object."
788
803
  }
789
804
  };
790
805
 
791
806
  exports.devError = {
792
- 15: {
807
+ 16: {
793
808
  file: "@apollo/client/__cjs/utilities/internal/removeDirectivesFromDocument.cjs",
794
809
  message: `Could not find operation or fragment`
795
810
  },
796
811
 
797
- 35: {
812
+ 36: {
798
813
  file: "@apollo/client/__cjs/react/hooks/useSyncExternalStore.cjs",
799
814
  message: "The result of getSnapshot should be cached to avoid an infinite loop"
800
815
  },
801
816
 
802
- 87: {
817
+ 88: {
803
818
  file: "@apollo/client/__cjs/core/ObservableQuery.cjs",
804
819
  message: "Unhandled GraphQL subscription error"
805
820
  },
806
821
 
807
- 120: {
822
+ 123: {
808
823
  file: "@apollo/client/__cjs/cache/inmemory/writeToStore.cjs",
809
824
  message: `Missing field '%s' while writing result %o`
810
825
  }