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