@apollo/client 3.8.0-rc.0 → 3.8.0-rc.2

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 (293) hide show
  1. package/apollo-client.cjs +231 -202
  2. package/apollo-client.cjs.map +1 -1
  3. package/apollo-client.min.cjs +1 -1
  4. package/cache/index.d.ts +13 -7
  5. package/cache/index.d.ts.map +1 -1
  6. package/cache/index.js +4 -4
  7. package/cache/index.js.map +1 -1
  8. package/cache/inmemory/types.d.ts +2 -2
  9. package/cache/inmemory/types.d.ts.map +1 -1
  10. package/cache/inmemory/types.js.map +1 -1
  11. package/core/core.cjs +2 -2
  12. package/core/core.cjs.map +1 -1
  13. package/core/core.cjs.native.js +2 -2
  14. package/core/equalByQuery.d.ts +2 -2
  15. package/core/equalByQuery.js +3 -3
  16. package/core/equalByQuery.js.map +1 -1
  17. package/core/index.d.ts +19 -14
  18. package/core/index.d.ts.map +1 -1
  19. package/core/index.js +12 -12
  20. package/core/index.js.map +1 -1
  21. package/core/types.d.ts +1 -1
  22. package/core/types.d.ts.map +1 -1
  23. package/core/types.js.map +1 -1
  24. package/dev/dev.cjs +22 -24
  25. package/dev/dev.cjs.map +1 -1
  26. package/dev/dev.cjs.native.js +22 -24
  27. package/dev/index.d.ts +3 -3
  28. package/dev/index.js +3 -3
  29. package/dev/index.js.map +1 -1
  30. package/dev/loadDevMessages.js +2 -2
  31. package/dev/loadDevMessages.js.map +1 -1
  32. package/dev/loadErrorMessageHandler.d.ts +1 -1
  33. package/dev/loadErrorMessageHandler.js +4 -4
  34. package/dev/loadErrorMessageHandler.js.map +1 -1
  35. package/dev/loadErrorMessages.js +2 -2
  36. package/dev/loadErrorMessages.js.map +1 -1
  37. package/invariantErrorCodes.js +16 -18
  38. package/link/batch/batchLink.d.ts +2 -1
  39. package/link/batch/batchLink.d.ts.map +1 -1
  40. package/link/batch/batchLink.js.map +1 -1
  41. package/link/core/types.d.ts +2 -2
  42. package/link/core/types.d.ts.map +1 -1
  43. package/link/core/types.js.map +1 -1
  44. package/link/http/index.d.ts +6 -3
  45. package/link/http/index.d.ts.map +1 -1
  46. package/link/http/index.js +1 -1
  47. package/link/http/index.js.map +1 -1
  48. package/link/remove-typename/index.d.ts +2 -1
  49. package/link/remove-typename/index.d.ts.map +1 -1
  50. package/link/remove-typename/index.js +1 -1
  51. package/link/remove-typename/index.js.map +1 -1
  52. package/link/remove-typename/remove-typename.cjs +2 -2
  53. package/link/remove-typename/remove-typename.cjs.map +1 -1
  54. package/link/remove-typename/remove-typename.cjs.native.js +2 -2
  55. package/link/remove-typename/removeTypenameFromVariables.d.ts +1 -1
  56. package/link/remove-typename/removeTypenameFromVariables.js +6 -6
  57. package/link/remove-typename/removeTypenameFromVariables.js.map +1 -1
  58. package/link/utils/index.d.ts +2 -1
  59. package/link/utils/index.d.ts.map +1 -1
  60. package/link/utils/index.js.map +1 -1
  61. package/package.json +2 -10
  62. package/react/cache/QueryReference.d.ts +10 -6
  63. package/react/cache/QueryReference.d.ts.map +1 -1
  64. package/react/cache/QueryReference.js +42 -31
  65. package/react/cache/QueryReference.js.map +1 -1
  66. package/react/cache/SuspenseCache.d.ts +3 -3
  67. package/react/cache/SuspenseCache.d.ts.map +1 -1
  68. package/react/cache/SuspenseCache.js +3 -3
  69. package/react/cache/SuspenseCache.js.map +1 -1
  70. package/react/cache/getSuspenseCache.d.ts +4 -4
  71. package/react/cache/getSuspenseCache.js +2 -2
  72. package/react/cache/getSuspenseCache.js.map +1 -1
  73. package/react/cache/index.d.ts +3 -3
  74. package/react/cache/index.js +5 -5
  75. package/react/cache/index.js.map +1 -1
  76. package/react/cache/types.d.ts +5 -1
  77. package/react/cache/types.d.ts.map +1 -1
  78. package/react/cache/types.js.map +1 -1
  79. package/react/components/Mutation.d.ts +3 -3
  80. package/react/components/Mutation.js +3 -3
  81. package/react/components/Mutation.js.map +1 -1
  82. package/react/components/Query.d.ts +3 -3
  83. package/react/components/Query.d.ts.map +1 -1
  84. package/react/components/Query.js +3 -3
  85. package/react/components/Query.js.map +1 -1
  86. package/react/components/Subscription.d.ts +3 -3
  87. package/react/components/Subscription.d.ts.map +1 -1
  88. package/react/components/Subscription.js +3 -3
  89. package/react/components/Subscription.js.map +1 -1
  90. package/react/components/components.cjs +3 -3
  91. package/react/components/components.cjs.map +1 -1
  92. package/react/components/components.cjs.native.js +3 -3
  93. package/react/components/index.d.ts +4 -4
  94. package/react/components/index.js +4 -4
  95. package/react/components/index.js.map +1 -1
  96. package/react/components/types.d.ts +4 -4
  97. package/react/components/types.d.ts.map +1 -1
  98. package/react/components/types.js.map +1 -1
  99. package/react/context/ApolloConsumer.d.ts +2 -2
  100. package/react/context/ApolloConsumer.js +3 -3
  101. package/react/context/ApolloConsumer.js.map +1 -1
  102. package/react/context/ApolloContext.d.ts +3 -10
  103. package/react/context/ApolloContext.d.ts.map +1 -1
  104. package/react/context/ApolloContext.js +15 -13
  105. package/react/context/ApolloContext.js.map +1 -1
  106. package/react/context/ApolloProvider.d.ts +2 -2
  107. package/react/context/ApolloProvider.js +3 -3
  108. package/react/context/ApolloProvider.js.map +1 -1
  109. package/react/context/context.cjs +12 -10
  110. package/react/context/context.cjs.map +1 -1
  111. package/react/context/context.cjs.native.js +12 -10
  112. package/react/context/index.d.ts +7 -4
  113. package/react/context/index.d.ts.map +1 -1
  114. package/react/context/index.js +4 -4
  115. package/react/context/index.js.map +1 -1
  116. package/react/hoc/graphql.d.ts +3 -3
  117. package/react/hoc/graphql.js +4 -4
  118. package/react/hoc/graphql.js.map +1 -1
  119. package/react/hoc/hoc-utils.d.ts +3 -3
  120. package/react/hoc/hoc-utils.d.ts.map +1 -1
  121. package/react/hoc/hoc-utils.js +5 -5
  122. package/react/hoc/hoc-utils.js.map +1 -1
  123. package/react/hoc/hoc.cjs +24 -23
  124. package/react/hoc/hoc.cjs.map +1 -1
  125. package/react/hoc/hoc.cjs.native.js +24 -23
  126. package/react/hoc/index.d.ts +7 -7
  127. package/react/hoc/index.js +7 -7
  128. package/react/hoc/index.js.map +1 -1
  129. package/react/hoc/mutation-hoc.d.ts +5 -5
  130. package/react/hoc/mutation-hoc.d.ts.map +1 -1
  131. package/react/hoc/mutation-hoc.js +13 -11
  132. package/react/hoc/mutation-hoc.js.map +1 -1
  133. package/react/hoc/query-hoc.d.ts +3 -3
  134. package/react/hoc/query-hoc.d.ts.map +1 -1
  135. package/react/hoc/query-hoc.js +10 -10
  136. package/react/hoc/query-hoc.js.map +1 -1
  137. package/react/hoc/subscription-hoc.d.ts +3 -3
  138. package/react/hoc/subscription-hoc.d.ts.map +1 -1
  139. package/react/hoc/subscription-hoc.js +11 -12
  140. package/react/hoc/subscription-hoc.js.map +1 -1
  141. package/react/hoc/types.d.ts +4 -4
  142. package/react/hoc/types.d.ts.map +1 -1
  143. package/react/hoc/types.js.map +1 -1
  144. package/react/hoc/withApollo.d.ts +3 -3
  145. package/react/hoc/withApollo.js +6 -6
  146. package/react/hoc/withApollo.js.map +1 -1
  147. package/react/hooks/constants.d.ts +3 -0
  148. package/react/hooks/constants.d.ts.map +1 -0
  149. package/react/hooks/constants.js +2 -0
  150. package/react/hooks/constants.js.map +1 -0
  151. package/react/hooks/hooks.cjs +182 -160
  152. package/react/hooks/hooks.cjs.map +1 -1
  153. package/react/hooks/hooks.cjs.native.js +182 -160
  154. package/react/hooks/index.d.ts +15 -11
  155. package/react/hooks/index.d.ts.map +1 -1
  156. package/react/hooks/index.js +12 -11
  157. package/react/hooks/index.js.map +1 -1
  158. package/react/hooks/internal/__use.js +6 -6
  159. package/react/hooks/internal/__use.js.map +1 -1
  160. package/react/hooks/internal/index.d.ts +3 -3
  161. package/react/hooks/internal/index.js +3 -3
  162. package/react/hooks/internal/index.js.map +1 -1
  163. package/react/hooks/internal/useDeepMemo.d.ts +1 -1
  164. package/react/hooks/internal/useDeepMemo.js +2 -2
  165. package/react/hooks/internal/useDeepMemo.js.map +1 -1
  166. package/react/hooks/internal/useIsomorphicLayoutEffect.d.ts +1 -1
  167. package/react/hooks/internal/useIsomorphicLayoutEffect.js +2 -2
  168. package/react/hooks/internal/useIsomorphicLayoutEffect.js.map +1 -1
  169. package/react/hooks/useApolloClient.d.ts +1 -1
  170. package/react/hooks/useApolloClient.js +3 -3
  171. package/react/hooks/useApolloClient.js.map +1 -1
  172. package/react/hooks/useBackgroundQuery.d.ts +48 -21
  173. package/react/hooks/useBackgroundQuery.d.ts.map +1 -1
  174. package/react/hooks/useBackgroundQuery.js +14 -17
  175. package/react/hooks/useBackgroundQuery.js.map +1 -1
  176. package/react/hooks/useFragment.d.ts.map +1 -1
  177. package/react/hooks/useFragment.js +7 -2
  178. package/react/hooks/useFragment.js.map +1 -1
  179. package/react/hooks/useLazyQuery.d.ts +4 -4
  180. package/react/hooks/useLazyQuery.d.ts.map +1 -1
  181. package/react/hooks/useLazyQuery.js +13 -12
  182. package/react/hooks/useLazyQuery.js.map +1 -1
  183. package/react/hooks/useMutation.d.ts +4 -4
  184. package/react/hooks/useMutation.d.ts.map +1 -1
  185. package/react/hooks/useMutation.js +28 -18
  186. package/react/hooks/useMutation.js.map +1 -1
  187. package/react/hooks/useQuery.d.ts +6 -5
  188. package/react/hooks/useQuery.d.ts.map +1 -1
  189. package/react/hooks/useQuery.js +45 -40
  190. package/react/hooks/useQuery.js.map +1 -1
  191. package/react/hooks/useReactiveVar.d.ts +1 -1
  192. package/react/hooks/useReactiveVar.js +1 -1
  193. package/react/hooks/useReactiveVar.js.map +1 -1
  194. package/react/hooks/useReadQuery.d.ts +2 -3
  195. package/react/hooks/useReadQuery.d.ts.map +1 -1
  196. package/react/hooks/useReadQuery.js +11 -24
  197. package/react/hooks/useReadQuery.js.map +1 -1
  198. package/react/hooks/useSubscription.d.ts +4 -4
  199. package/react/hooks/useSubscription.d.ts.map +1 -1
  200. package/react/hooks/useSubscription.js +10 -10
  201. package/react/hooks/useSubscription.js.map +1 -1
  202. package/react/hooks/useSuspenseQuery.d.ts +15 -10
  203. package/react/hooks/useSuspenseQuery.d.ts.map +1 -1
  204. package/react/hooks/useSuspenseQuery.js +22 -18
  205. package/react/hooks/useSuspenseQuery.js.map +1 -1
  206. package/react/hooks/useSyncExternalStore.d.ts.map +1 -1
  207. package/react/hooks/useSyncExternalStore.js +33 -30
  208. package/react/hooks/useSyncExternalStore.js.map +1 -1
  209. package/react/index.d.ts +8 -6
  210. package/react/index.d.ts.map +1 -1
  211. package/react/index.js +6 -6
  212. package/react/index.js.map +1 -1
  213. package/react/parser/index.d.ts +1 -1
  214. package/react/parser/index.d.ts.map +1 -1
  215. package/react/parser/index.js +14 -12
  216. package/react/parser/index.js.map +1 -1
  217. package/react/parser/parser.cjs +13 -11
  218. package/react/parser/parser.cjs.map +1 -1
  219. package/react/parser/parser.cjs.native.js +13 -11
  220. package/react/react.cjs +34 -30
  221. package/react/react.cjs.map +1 -1
  222. package/react/react.cjs.native.js +34 -30
  223. package/react/ssr/RenderPromises.d.ts +2 -2
  224. package/react/ssr/RenderPromises.d.ts.map +1 -1
  225. package/react/ssr/RenderPromises.js +17 -15
  226. package/react/ssr/RenderPromises.js.map +1 -1
  227. package/react/ssr/getDataFromTree.d.ts +2 -2
  228. package/react/ssr/getDataFromTree.d.ts.map +1 -1
  229. package/react/ssr/getDataFromTree.js +9 -7
  230. package/react/ssr/getDataFromTree.js.map +1 -1
  231. package/react/ssr/index.d.ts +3 -3
  232. package/react/ssr/index.js +3 -3
  233. package/react/ssr/index.js.map +1 -1
  234. package/react/ssr/renderToStringWithData.d.ts +1 -1
  235. package/react/ssr/renderToStringWithData.js +3 -3
  236. package/react/ssr/renderToStringWithData.js.map +1 -1
  237. package/react/ssr/ssr.cjs +23 -19
  238. package/react/ssr/ssr.cjs.map +1 -1
  239. package/react/ssr/ssr.cjs.native.js +23 -19
  240. package/react/types/types.d.ts +18 -19
  241. package/react/types/types.d.ts.map +1 -1
  242. package/react/types/types.js.map +1 -1
  243. package/testing/core/index.d.ts +8 -7
  244. package/testing/core/index.d.ts.map +1 -1
  245. package/testing/core/index.js +7 -7
  246. package/testing/core/index.js.map +1 -1
  247. package/testing/index.d.ts +2 -1
  248. package/testing/index.d.ts.map +1 -1
  249. package/testing/index.js.map +1 -1
  250. package/testing/matchers/index.js +3 -3
  251. package/testing/matchers/index.js.map +1 -1
  252. package/testing/matchers/toHaveSuspenseCacheEntryUsing.d.ts +3 -3
  253. package/testing/matchers/toHaveSuspenseCacheEntryUsing.js +6 -6
  254. package/testing/matchers/toHaveSuspenseCacheEntryUsing.js.map +1 -1
  255. package/testing/matchers/toMatchDocument.d.ts +2 -2
  256. package/testing/matchers/toMatchDocument.js +8 -8
  257. package/testing/matchers/toMatchDocument.js.map +1 -1
  258. package/utilities/common/omitDeep.d.ts +1 -1
  259. package/utilities/common/omitDeep.js +1 -1
  260. package/utilities/common/omitDeep.js.map +1 -1
  261. package/utilities/common/stripTypename.js +2 -2
  262. package/utilities/common/stripTypename.js.map +1 -1
  263. package/utilities/globals/globals.cjs +4 -4
  264. package/utilities/globals/globals.cjs.map +1 -1
  265. package/utilities/globals/globals.cjs.native.js +4 -4
  266. package/utilities/globals/invariantWrappers.d.ts +2 -2
  267. package/utilities/globals/invariantWrappers.js +7 -7
  268. package/utilities/globals/invariantWrappers.js.map +1 -1
  269. package/utilities/graphql/DocumentTransform.d.ts +1 -1
  270. package/utilities/graphql/DocumentTransform.js +4 -4
  271. package/utilities/graphql/DocumentTransform.js.map +1 -1
  272. package/utilities/graphql/operations.d.ts +1 -1
  273. package/utilities/graphql/operations.d.ts.map +1 -1
  274. package/utilities/graphql/operations.js +4 -5
  275. package/utilities/graphql/operations.js.map +1 -1
  276. package/utilities/graphql/print.d.ts +1 -1
  277. package/utilities/graphql/print.js +2 -2
  278. package/utilities/graphql/print.js.map +1 -1
  279. package/utilities/index.d.ts +40 -34
  280. package/utilities/index.d.ts.map +1 -1
  281. package/utilities/index.js +32 -32
  282. package/utilities/index.js.map +1 -1
  283. package/utilities/promises/decoration.d.ts +3 -3
  284. package/utilities/promises/decoration.js +8 -8
  285. package/utilities/promises/decoration.js.map +1 -1
  286. package/utilities/types/DeepOmit.d.ts +1 -1
  287. package/utilities/types/DeepOmit.js.map +1 -1
  288. package/utilities/types/DeepPartial.d.ts +1 -1
  289. package/utilities/types/DeepPartial.js.map +1 -1
  290. package/utilities/utilities.cjs +12 -12
  291. package/utilities/utilities.cjs.map +1 -1
  292. package/utilities/utilities.cjs.native.js +12 -12
  293. package/version.js +1 -1
package/dev/dev.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"dev.cjs","sources":["../invariantErrorCodes.js","../version.js","../utilities/globals/maybe.js","../utilities/globals/global.js","../utilities/common/makeUniqueId.js","../utilities/common/stringifyForDisplay.js","../utilities/globals/invariantWrappers.js","loadErrorMessageHandler.js","loadDevMessages.js","loadErrorMessages.js"],"sourcesContent":["export const errorCodes = // This file is used by the error message display website and the\n// @apollo/client/includeErrors entry point.\n// This file is not meant to be imported manually.\n{\n 1: {\n file: \"@apollo/client/cache/inmemory/entityStore.js\",\n condition: \"typeof dataId === \\\"string\\\"\",\n message: \"store.merge expects a string ID\"\n },\n\n 2: {\n file: \"@apollo/client/cache/inmemory/key-extractor.js\",\n condition: \"extracted !== void 0\",\n message: \"Missing field '%s' while extracting keyFields from %s\"\n },\n\n 3: {\n file: \"@apollo/client/cache/inmemory/policies.js\",\n condition: \"!old || old === which\",\n message: \"Cannot change root %s __typename more than once\"\n },\n\n 6: {\n file: \"@apollo/client/cache/inmemory/policies.js\",\n message: \"Cannot automatically merge arrays\"\n },\n\n 7: {\n file: \"@apollo/client/cache/inmemory/readFromStore.js\",\n message: \"No fragment named %s\"\n },\n\n 8: {\n file: \"@apollo/client/cache/inmemory/readFromStore.js\",\n condition: \"!isReference(value)\",\n message: \"Missing selection set for object of type %s returned for query field %s\"\n },\n\n 9: {\n file: \"@apollo/client/cache/inmemory/writeToStore.js\",\n message: \"Could not identify object %s\"\n },\n\n 11: {\n file: \"@apollo/client/cache/inmemory/writeToStore.js\",\n message: \"No fragment named %s\"\n },\n\n 13: {\n file: \"@apollo/client/core/ApolloClient.js\",\n\n message: \"To initialize Apollo Client, you must specify a 'cache' property \" +\n \"in the options object. \\n\" +\n \"For more information, please visit: https://go.apollo.dev/c/docs\"\n },\n\n 14: {\n file: \"@apollo/client/core/ApolloClient.js\",\n condition: \"options.fetchPolicy !== 'cache-and-network'\",\n\n message: 'The cache-and-network fetchPolicy does not work with client.query, because ' +\n 'client.query can only return a single result. Please use client.watchQuery ' +\n 'to receive multiple results from the cache and the network, or consider ' +\n 'using a different fetchPolicy, such as cache-first or network-only.'\n },\n\n 16: {\n file: \"@apollo/client/core/LocalState.js\",\n condition: \"fragment\",\n message: \"No fragment named %s\"\n },\n\n 17: {\n file: \"@apollo/client/core/LocalState.js\",\n condition: \"fragment\",\n message: \"No fragment named %s\"\n },\n\n 20: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n condition: \"pollInterval\",\n message: 'Attempted to start a polling query without a polling interval.'\n },\n\n 23: {\n file: \"@apollo/client/core/QueryManager.js\",\n message: 'QueryManager stopped while query was in flight'\n },\n\n 24: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"mutation\",\n message: 'mutation option is required. You must specify your GraphQL document in the mutation option.'\n },\n\n 25: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"fetchPolicy === 'network-only' ||\\n fetchPolicy === 'no-cache'\",\n message: \"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write.\"\n },\n\n 26: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"options.query\",\n\n message: 'query option is required. You must specify your GraphQL document ' +\n 'in the query option.'\n },\n\n 27: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"options.query.kind === 'Document'\",\n message: 'You must wrap the query string in a \"gql\" tag.'\n },\n\n 28: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"!options.returnPartialData\",\n message: 'returnPartialData option only supported on watchQuery.'\n },\n\n 29: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"!options.pollInterval\",\n message: 'pollInterval option only supported on watchQuery.'\n },\n\n 30: {\n file: \"@apollo/client/core/QueryManager.js\",\n message: 'Store reset while query was in flight (not completed in link chain)'\n },\n\n 34: {\n file: \"@apollo/client/link/core/ApolloLink.js\",\n message: 'request is not implemented'\n },\n\n 35: {\n file: \"@apollo/client/link/http/checkFetcher.js\",\n message: \"\\n\\\"fetch\\\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\\n\\nimport fetch from 'cross-fetch';\\nimport { ApolloClient, HttpLink } from '@apollo/client';\\nconst client = new ApolloClient({\\n link: new HttpLink({ uri: '/graphql', fetch })\\n});\\n \"\n },\n\n 37: {\n file: \"@apollo/client/link/http/serializeFetchParameter.js\",\n message: \"Network request failed. %s is not serializable: %s\"\n },\n\n 38: {\n file: \"@apollo/client/link/persisted-queries/index.js\",\n condition: \"options && (typeof options.sha256 === 'function' ||\\n typeof options.generateHash === 'function')\",\n\n message: 'Missing/invalid \"sha256\" or \"generateHash\" function. Please ' +\n 'configure one using the \"createPersistedQueryLink(options)\" options ' +\n 'parameter.'\n },\n\n 39: {\n file: \"@apollo/client/link/persisted-queries/index.js\",\n condition: \"forward\",\n message: 'PersistedQueryLink cannot be the last link in the chain.'\n },\n\n 41: {\n file: \"@apollo/client/link/utils/validateOperation.js\",\n message: \"illegal argument: %s\"\n },\n\n 42: {\n file: \"@apollo/client/react/context/ApolloConsumer.js\",\n condition: \"context && context.client\",\n\n message: 'Could not find \"client\" in the context of ApolloConsumer. ' +\n 'Wrap the root component in an <ApolloProvider>.'\n },\n\n 43: {\n file: \"@apollo/client/react/context/ApolloContext.js\",\n condition: \"'createContext' in React\",\n\n message: 'Invoking `getApolloContext` in an environment where `React.createContext` is not available.\\n' +\n 'The Apollo Client functionality you are trying to use is only available in React Client Components.\\n' +\n 'Please make sure to add \"use client\" at the top of your file.\\n' +\n 'For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components'\n },\n\n 44: {\n file: \"@apollo/client/react/context/ApolloProvider.js\",\n condition: \"context.client\",\n\n message: 'ApolloProvider was not passed a client instance. Make ' +\n 'sure you pass in your client via the \"client\" prop.'\n },\n\n 45: {\n file: \"@apollo/client/react/hoc/hoc-utils.js\",\n condition: \"this.withRef\",\n\n message: \"To access the wrapped instance, you need to specify \" +\n \"{ withRef: true } in the options\"\n },\n\n 46: {\n file: \"@apollo/client/react/hoc/withApollo.js\",\n condition: \"operationOptions.withRef\",\n\n message: \"To access the wrapped instance, you need to specify \" +\n \"{ withRef: true } in the options\"\n },\n\n 47: {\n file: \"@apollo/client/react/hooks/useApolloClient.js\",\n condition: \"!!client\",\n\n message: 'Could not find \"client\" in the context or passed in as an option. ' +\n 'Wrap the root component in an <ApolloProvider>, or pass an ApolloClient ' +\n 'instance in via options.'\n },\n\n 49: {\n file: \"@apollo/client/react/hooks/useReadQuery.js\",\n condition: \"internalQueryRef.promiseCache\",\n\n message: 'It appears that `useReadQuery` was used outside of `useBackgroundQuery`. ' +\n '`useReadQuery` is only supported for use with `useBackgroundQuery`. ' +\n 'Please ensure you are passing the `queryRef` returned from `useBackgroundQuery`.'\n },\n\n 54: {\n file: \"@apollo/client/react/hooks/useSuspenseQuery.js\",\n condition: \"supportedFetchPolicies.includes(fetchPolicy)\",\n message: \"The fetch policy `%s` is not supported with suspense.\"\n },\n\n 57: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"!!document && !!document.kind\",\n\n message: \"Argument of %s passed to parser was not a valid GraphQL \" +\n \"DocumentNode. You may need to use 'graphql-tag' or another method \" +\n \"to convert your operation into a document\"\n },\n\n 58: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"!fragments.length ||\\n (queries.length || mutations.length || subscriptions.length)\",\n\n message: \"Passing only a fragment to 'graphql' is not yet supported. \" +\n \"You must include a query, subscription or mutation as well\"\n },\n\n 59: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"queries.length + mutations.length + subscriptions.length <= 1\",\n\n message: \"react-apollo only supports a query, subscription, or a mutation per HOC. \" +\n \"%s had %s queries, %s \" +\n \"subscriptions and %s mutations. \" +\n \"You can use 'compose' to join multiple operation types to a component\"\n },\n\n 60: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"definitions.length === 1\",\n\n message: \"react-apollo only supports one definition per HOC. %s had \" +\n \"%s definitions. \" +\n \"You can use 'compose' to join multiple operation types to a component\"\n },\n\n 61: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"operation.type === type\",\n\n message: \"Running a %s requires a graphql \" +\n \"%s, but a %s was used instead.\"\n },\n\n 62: {\n file: \"@apollo/client/testing/core/mocking/mockLink.js\",\n condition: \"queryWithoutConnection\",\n message: \"query is required\"\n },\n\n 63: {\n file: \"@apollo/client/utilities/graphql/DocumentTransform.js\",\n condition: \"Array.isArray(cacheKeys)\",\n message: '`getCacheKey` must return an array or undefined'\n },\n\n 64: {\n file: \"@apollo/client/utilities/graphql/directives.js\",\n condition: \"evaledValue !== void 0\",\n message: \"Invalid variable referenced in @%s directive.\"\n },\n\n 65: {\n file: \"@apollo/client/utilities/graphql/directives.js\",\n condition: \"directiveArguments && directiveArguments.length === 1\",\n message: \"Incorrect number of arguments for the @%s directive.\"\n },\n\n 66: {\n file: \"@apollo/client/utilities/graphql/directives.js\",\n condition: \"ifArgument.name && ifArgument.name.value === 'if'\",\n message: \"Invalid argument for the @%s directive.\"\n },\n\n 67: {\n file: \"@apollo/client/utilities/graphql/directives.js\",\n condition: \"ifValue &&\\n (ifValue.kind === 'Variable' || ifValue.kind === 'BooleanValue')\",\n message: \"Argument for the @%s directive must be a variable or a boolean value.\"\n },\n\n 68: {\n file: \"@apollo/client/utilities/graphql/fragments.js\",\n\n message: \"Found a %s operation%s. \" +\n 'No operations are allowed when using a fragment as a query. Only fragments are allowed.'\n },\n\n 69: {\n file: \"@apollo/client/utilities/graphql/fragments.js\",\n condition: \"fragments.length === 1\",\n message: \"Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment.\"\n },\n\n 70: {\n file: \"@apollo/client/utilities/graphql/fragments.js\",\n condition: \"fragment\",\n message: \"No fragment named %s\"\n },\n\n 71: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"doc && doc.kind === 'Document'\",\n message: \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\"\n },\n\n 72: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n message: \"Schema type definitions not allowed in queries. Found: \\\"%s\\\"\"\n },\n\n 73: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"operations.length <= 1\",\n message: \"Ambiguous GraphQL document: contains %s operations\"\n },\n\n 74: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"queryDef && queryDef.operation === 'query'\",\n message: 'Must contain a query definition.'\n },\n\n 75: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"doc.kind === 'Document'\",\n message: \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\"\n },\n\n 76: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"doc.definitions.length <= 1\",\n message: 'Fragment must have exactly one definition.'\n },\n\n 77: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"fragmentDef.kind === 'FragmentDefinition'\",\n message: 'Must be a fragment definition.'\n },\n\n 78: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n message: 'Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment.'\n },\n\n 79: {\n file: \"@apollo/client/utilities/graphql/storeUtils.js\",\n\n message: \"The inline argument \\\"%s\\\" of kind \\\"%s\\\"\" +\n 'is not supported. Use variables instead of inline arguments to ' +\n 'overcome this limitation.'\n }\n};\n\nexport const devDebug = {\n 15: {\n file: \"@apollo/client/core/ApolloClient.js\",\n message: \"In client.refetchQueries, Promise.all promise rejected with error %o\"\n },\n\n 22: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n message: \"Missing cache result fields: %o\"\n }\n};\n\nexport const devLog = {};\n\nexport const devWarn = {\n 4: {\n file: \"@apollo/client/cache/inmemory/policies.js\",\n message: \"Inferring subtype %s of supertype %s\"\n },\n\n 5: {\n file: \"@apollo/client/cache/inmemory/policies.js\",\n message: \"Undefined 'from' passed to readField with arguments %s\"\n },\n\n 12: {\n file: \"@apollo/client/cache/inmemory/writeToStore.js\",\n message: \"Cache data may be lost when replacing the %s field of a %s object.\\n\\nThis could cause additional (usually avoidable) network requests to fetch data that were otherwise cached.\\n\\nTo address this problem (which is not a bug in Apollo Client), %sdefine a custom merge function for the %s field, so InMemoryCache can safely merge these objects:\\n\\n existing: %s\\n incoming: %s\\n\\nFor more information about these options, please refer to the documentation:\\n\\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\\n\"\n },\n\n 18: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n message: \"Called refetch(%o) for query %o, which does not declare a $variables variable.\\nDid you mean to call refetch(variables) instead of refetch({ variables })?\"\n },\n\n 31: {\n file: \"@apollo/client/core/QueryManager.js\",\n message: \"Unknown query named \\\"%s\\\" requested in refetchQueries options.include array\"\n },\n\n 32: {\n file: \"@apollo/client/core/QueryManager.js\",\n message: \"Unknown query %s requested in refetchQueries options.include array\"\n },\n\n 33: {\n file: \"@apollo/client/link/core/ApolloLink.js\",\n message: \"You are calling concat on a terminating link, which will have no effect %o\"\n },\n\n 36: {\n file: \"@apollo/client/link/http/createHttpLink.js\",\n message: \"Multipart-subscriptions do not support @defer\"\n },\n\n 40: {\n file: \"@apollo/client/link/utils/toPromise.js\",\n message: \"Promise Wrapper does not support multiple results from Observable\"\n },\n\n 48: {\n file: \"@apollo/client/react/hooks/useQuery.js\",\n message: \"Calling default no-op implementation of InternalState#forceUpdate\"\n },\n\n 50: {\n file: \"@apollo/client/react/hooks/useSubscription.js\",\n message: \"'useSubscription' supports only the 'onSubscriptionData' or 'onData' option, but not both. Only the 'onData' option will be used.\"\n },\n\n 51: {\n file: \"@apollo/client/react/hooks/useSubscription.js\",\n message: \"'onSubscriptionData' is deprecated and will be removed in a future major version. Please use the 'onData' option instead.\"\n },\n\n 52: {\n file: \"@apollo/client/react/hooks/useSubscription.js\",\n message: \"'useSubscription' supports only the 'onSubscriptionComplete' or 'onComplete' option, but not both. Only the 'onComplete' option will be used.\"\n },\n\n 53: {\n file: \"@apollo/client/react/hooks/useSubscription.js\",\n message: \"'onSubscriptionComplete' is deprecated and will be removed in a future major version. Please use the 'onComplete' option instead.\"\n },\n\n 55: {\n file: \"@apollo/client/react/hooks/useSuspenseQuery.js\",\n 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.'\n },\n\n 81: {\n file: \"@apollo/client/utilities/graphql/transform.js\",\n\n message: 'Removing an @connection directive even though it does not have a key. ' +\n 'You may want to use the key parameter to specify a store key.'\n }\n};\n\nexport const devError = {\n 10: {\n file: \"@apollo/client/cache/inmemory/writeToStore.js\",\n message: \"Missing field '%s' while writing result %o\"\n },\n\n 19: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n message: 'Unhandled GraphQL subscription error'\n },\n\n 21: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n message: 'Unhandled error'\n },\n\n 56: {\n file: \"@apollo/client/react/hooks/useSyncExternalStore.js\",\n message: 'The result of getSnapshot should be cached to avoid an infinite loop'\n },\n\n 80: {\n file: \"@apollo/client/utilities/graphql/transform.js\",\n message: \"Could not find operation or fragment\"\n }\n};\n","export var version = '3.8.0-rc.0';\n//# sourceMappingURL=version.js.map","export function maybe(thunk) {\n try {\n return thunk();\n }\n catch (_a) { }\n}\n//# sourceMappingURL=maybe.js.map","import { maybe } from \"./maybe.js\";\nexport default (maybe(function () { return globalThis; }) ||\n maybe(function () { return window; }) ||\n maybe(function () { return self; }) ||\n maybe(function () { return global; }) || maybe(function () { return maybe.constructor(\"return this\")(); }));\n//# sourceMappingURL=global.js.map","var prefixCounts = new Map();\nexport function makeUniqueId(prefix) {\n var count = prefixCounts.get(prefix) || 1;\n prefixCounts.set(prefix, count + 1);\n return \"\".concat(prefix, \":\").concat(count, \":\").concat(Math.random().toString(36).slice(2));\n}\n//# sourceMappingURL=makeUniqueId.js.map","import { makeUniqueId } from \"./makeUniqueId.js\";\nexport function stringifyForDisplay(value, space) {\n if (space === void 0) { space = 0; }\n var undefId = makeUniqueId(\"stringifyForDisplay\");\n return JSON.stringify(value, function (key, value) {\n return value === void 0 ? undefId : value;\n }, space).split(JSON.stringify(undefId)).join(\"<undefined>\");\n}\n//# sourceMappingURL=stringifyForDisplay.js.map","import { __spreadArray } from \"tslib\";\nimport { invariant as originalInvariant, InvariantError } from 'ts-invariant';\nimport { version } from '../../version.js';\nimport global from './global.js';\nimport { stringifyForDisplay } from '../common/stringifyForDisplay.js';\nfunction wrap(fn) {\n return function (message) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n fn.apply(void 0, __spreadArray([typeof message === 'number' ? getErrorMsg(message) : message], args, false));\n };\n}\nvar invariant = Object.assign(function invariant(condition, message) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n if (!condition) {\n originalInvariant(condition, getErrorMsg(message, args));\n }\n}, {\n debug: wrap(originalInvariant.debug),\n log: wrap(originalInvariant.log),\n warn: wrap(originalInvariant.warn),\n error: wrap(originalInvariant.error),\n});\nfunction newInvariantError(message) {\n var optionalParams = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n optionalParams[_i - 1] = arguments[_i];\n }\n return new InvariantError(getErrorMsg(message, optionalParams));\n}\nvar ApolloErrorMessageHandler = Symbol.for('ApolloErrorMessageHandler_' + version);\nfunction getErrorMsg(message, messageArgs) {\n if (messageArgs === void 0) { messageArgs = []; }\n if (!message)\n return;\n var args = messageArgs.map(function (arg) {\n return typeof arg == 'string' ? arg : stringifyForDisplay(arg, 2).slice(0, 1000);\n });\n return ((global[ApolloErrorMessageHandler] &&\n global[ApolloErrorMessageHandler](message, args)) ||\n \"An error occured! For more details, see the full error text at https://go.apollo.dev/c/err#\".concat(encodeURIComponent(JSON.stringify({\n version: version,\n message: message,\n args: args,\n }))));\n}\nexport { invariant, InvariantError, newInvariantError, ApolloErrorMessageHandler, };\n//# sourceMappingURL=invariantWrappers.js.map","import { global } from '../utilities/globals/index.js';\nimport { ApolloErrorMessageHandler } from '../utilities/globals/invariantWrappers.js';\nexport function loadErrorMessageHandler() {\n var errorCodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n errorCodes[_i] = arguments[_i];\n }\n if (!global[ApolloErrorMessageHandler]) {\n global[ApolloErrorMessageHandler] = handler;\n }\n for (var _a = 0, errorCodes_1 = errorCodes; _a < errorCodes_1.length; _a++) {\n var codes = errorCodes_1[_a];\n Object.assign(global[ApolloErrorMessageHandler], codes);\n }\n return global[ApolloErrorMessageHandler];\n function handler(message, args) {\n if (typeof message === 'number') {\n var definition = global[ApolloErrorMessageHandler][message];\n if (!message || !definition.message)\n return;\n message = definition.message;\n }\n return args.reduce(function (msg, arg) { return msg.replace('%s', String(arg)); }, String(message));\n }\n}\n//# sourceMappingURL=loadErrorMessageHandler.js.map","import { devDebug, devError, devLog, devWarn } from '../invariantErrorCodes.js';\nimport { loadErrorMessageHandler } from './loadErrorMessageHandler.js';\nexport function loadDevMessages() {\n loadErrorMessageHandler(devDebug, devError, devLog, devWarn);\n}\n//# sourceMappingURL=loadDevMessages.js.map","import { errorCodes } from '../invariantErrorCodes.js';\nimport { loadErrorMessageHandler } from './loadErrorMessageHandler.js';\nexport function loadErrorMessages() {\n loadErrorMessageHandler(errorCodes);\n}\n//# sourceMappingURL=loadErrorMessages.js.map"],"names":["__spreadArray","originalInvariant","global"],"mappings":";;;;;;;;AAAO,MAAM,UAAU;AACvB;AACA;AACA;AACA,EAAE,CAAC,EAAE;AACL,IAAI,IAAI,EAAE,8CAA8C;AACxD,IAAI,SAAS,EAAE,8BAA8B;AAC7C,IAAI,OAAO,EAAE,iCAAiC;AAC9C,GAAG;AACH;AACA,EAAE,CAAC,EAAE;AACL,IAAI,IAAI,EAAE,gDAAgD;AAC1D,IAAI,SAAS,EAAE,sBAAsB;AACrC,IAAI,OAAO,EAAE,uDAAuD;AACpE,GAAG;AACH;AACA,EAAE,CAAC,EAAE;AACL,IAAI,IAAI,EAAE,2CAA2C;AACrD,IAAI,SAAS,EAAE,uBAAuB;AACtC,IAAI,OAAO,EAAE,iDAAiD;AAC9D,GAAG;AACH;AACA,EAAE,CAAC,EAAE;AACL,IAAI,IAAI,EAAE,2CAA2C;AACrD,IAAI,OAAO,EAAE,mCAAmC;AAChD,GAAG;AACH;AACA,EAAE,CAAC,EAAE;AACL,IAAI,IAAI,EAAE,gDAAgD;AAC1D,IAAI,OAAO,EAAE,sBAAsB;AACnC,GAAG;AACH;AACA,EAAE,CAAC,EAAE;AACL,IAAI,IAAI,EAAE,gDAAgD;AAC1D,IAAI,SAAS,EAAE,qBAAqB;AACpC,IAAI,OAAO,EAAE,yEAAyE;AACtF,GAAG;AACH;AACA,EAAE,CAAC,EAAE;AACL,IAAI,IAAI,EAAE,+CAA+C;AACzD,IAAI,OAAO,EAAE,8BAA8B;AAC3C,GAAG;AACH;AACA,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,+CAA+C;AACzD,IAAI,OAAO,EAAE,sBAAsB;AACnC,GAAG;AACH;AACA,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,qCAAqC;AAC/C;AACA,IAAI,OAAO,EAAE,mEAAmE;AAChF,QAAQ,2BAA2B;AACnC,QAAQ,kEAAkE;AAC1E,GAAG;AACH;AACA,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CAAC,CAAC;AACxC;;;;;;"}
1
+ {"version":3,"file":"dev.cjs","sources":["../invariantErrorCodes.js","../version.js","../utilities/globals/maybe.js","../utilities/globals/global.js","../utilities/common/makeUniqueId.js","../utilities/common/stringifyForDisplay.js","../utilities/globals/invariantWrappers.js","loadErrorMessageHandler.js","loadDevMessages.js","loadErrorMessages.js"],"sourcesContent":["export const errorCodes = // This file is used by the error message display website and the\n// @apollo/client/includeErrors entry point.\n// This file is not meant to be imported manually.\n{\n 1: {\n file: \"@apollo/client/cache/inmemory/entityStore.js\",\n condition: \"typeof dataId === \\\"string\\\"\",\n message: \"store.merge expects a string ID\"\n },\n\n 2: {\n file: \"@apollo/client/cache/inmemory/key-extractor.js\",\n condition: \"extracted !== void 0\",\n message: \"Missing field '%s' while extracting keyFields from %s\"\n },\n\n 3: {\n file: \"@apollo/client/cache/inmemory/policies.js\",\n condition: \"!old || old === which\",\n message: \"Cannot change root %s __typename more than once\"\n },\n\n 6: {\n file: \"@apollo/client/cache/inmemory/policies.js\",\n message: \"Cannot automatically merge arrays\"\n },\n\n 7: {\n file: \"@apollo/client/cache/inmemory/readFromStore.js\",\n message: \"No fragment named %s\"\n },\n\n 8: {\n file: \"@apollo/client/cache/inmemory/readFromStore.js\",\n condition: \"!isReference(value)\",\n message: \"Missing selection set for object of type %s returned for query field %s\"\n },\n\n 9: {\n file: \"@apollo/client/cache/inmemory/writeToStore.js\",\n message: \"Could not identify object %s\"\n },\n\n 11: {\n file: \"@apollo/client/cache/inmemory/writeToStore.js\",\n message: \"No fragment named %s\"\n },\n\n 13: {\n file: \"@apollo/client/core/ApolloClient.js\",\n\n message: \"To initialize Apollo Client, you must specify a 'cache' property \" +\n \"in the options object. \\n\" +\n \"For more information, please visit: https://go.apollo.dev/c/docs\"\n },\n\n 14: {\n file: \"@apollo/client/core/ApolloClient.js\",\n condition: \"options.fetchPolicy !== 'cache-and-network'\",\n\n message: 'The cache-and-network fetchPolicy does not work with client.query, because ' +\n 'client.query can only return a single result. Please use client.watchQuery ' +\n 'to receive multiple results from the cache and the network, or consider ' +\n 'using a different fetchPolicy, such as cache-first or network-only.'\n },\n\n 16: {\n file: \"@apollo/client/core/LocalState.js\",\n condition: \"fragment\",\n message: \"No fragment named %s\"\n },\n\n 17: {\n file: \"@apollo/client/core/LocalState.js\",\n condition: \"fragment\",\n message: \"No fragment named %s\"\n },\n\n 20: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n condition: \"pollInterval\",\n message: 'Attempted to start a polling query without a polling interval.'\n },\n\n 23: {\n file: \"@apollo/client/core/QueryManager.js\",\n message: 'QueryManager stopped while query was in flight'\n },\n\n 24: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"mutation\",\n message: 'mutation option is required. You must specify your GraphQL document in the mutation option.'\n },\n\n 25: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"fetchPolicy === 'network-only' ||\\n fetchPolicy === 'no-cache'\",\n message: \"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write.\"\n },\n\n 26: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"options.query\",\n\n message: 'query option is required. You must specify your GraphQL document ' +\n 'in the query option.'\n },\n\n 27: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"options.query.kind === 'Document'\",\n message: 'You must wrap the query string in a \"gql\" tag.'\n },\n\n 28: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"!options.returnPartialData\",\n message: 'returnPartialData option only supported on watchQuery.'\n },\n\n 29: {\n file: \"@apollo/client/core/QueryManager.js\",\n condition: \"!options.pollInterval\",\n message: 'pollInterval option only supported on watchQuery.'\n },\n\n 30: {\n file: \"@apollo/client/core/QueryManager.js\",\n message: 'Store reset while query was in flight (not completed in link chain)'\n },\n\n 34: {\n file: \"@apollo/client/link/core/ApolloLink.js\",\n message: 'request is not implemented'\n },\n\n 35: {\n file: \"@apollo/client/link/http/checkFetcher.js\",\n message: \"\\n\\\"fetch\\\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\\n\\nimport fetch from 'cross-fetch';\\nimport { ApolloClient, HttpLink } from '@apollo/client';\\nconst client = new ApolloClient({\\n link: new HttpLink({ uri: '/graphql', fetch })\\n});\\n \"\n },\n\n 37: {\n file: \"@apollo/client/link/http/serializeFetchParameter.js\",\n message: \"Network request failed. %s is not serializable: %s\"\n },\n\n 38: {\n file: \"@apollo/client/link/persisted-queries/index.js\",\n condition: \"options && (typeof options.sha256 === 'function' ||\\n typeof options.generateHash === 'function')\",\n\n message: 'Missing/invalid \"sha256\" or \"generateHash\" function. Please ' +\n 'configure one using the \"createPersistedQueryLink(options)\" options ' +\n 'parameter.'\n },\n\n 39: {\n file: \"@apollo/client/link/persisted-queries/index.js\",\n condition: \"forward\",\n message: 'PersistedQueryLink cannot be the last link in the chain.'\n },\n\n 41: {\n file: \"@apollo/client/link/utils/validateOperation.js\",\n message: \"illegal argument: %s\"\n },\n\n 42: {\n file: \"@apollo/client/react/context/ApolloConsumer.js\",\n condition: \"context && context.client\",\n\n message: 'Could not find \"client\" in the context of ApolloConsumer. ' +\n \"Wrap the root component in an <ApolloProvider>.\"\n },\n\n 43: {\n file: \"@apollo/client/react/context/ApolloContext.js\",\n condition: \"\\\"createContext\\\" in React\",\n\n message: \"Invoking `getApolloContext` in an environment where `React.createContext` is not available.\\n\" +\n \"The Apollo Client functionality you are trying to use is only available in React Client Components.\\n\" +\n 'Please make sure to add \"use client\" at the top of your file.\\n' +\n \"For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components\"\n },\n\n 44: {\n file: \"@apollo/client/react/context/ApolloProvider.js\",\n condition: \"context.client\",\n\n message: \"ApolloProvider was not passed a client instance. Make \" +\n 'sure you pass in your client via the \"client\" prop.'\n },\n\n 45: {\n file: \"@apollo/client/react/hoc/hoc-utils.js\",\n condition: \"this.withRef\",\n\n message: \"To access the wrapped instance, you need to specify \" +\n \"{ withRef: true } in the options\"\n },\n\n 46: {\n file: \"@apollo/client/react/hoc/withApollo.js\",\n condition: \"operationOptions.withRef\",\n\n message: \"To access the wrapped instance, you need to specify \" +\n \"{ withRef: true } in the options\"\n },\n\n 47: {\n file: \"@apollo/client/react/hooks/useApolloClient.js\",\n condition: \"!!client\",\n\n message: 'Could not find \"client\" in the context or passed in as an option. ' +\n \"Wrap the root component in an <ApolloProvider>, or pass an ApolloClient \" +\n \"instance in via options.\"\n },\n\n 49: {\n file: \"@apollo/client/react/hooks/useReadQuery.js\",\n condition: \"internalQueryRef.promiseCache\",\n\n message: \"It appears that `useReadQuery` was used outside of `useBackgroundQuery`. \" +\n \"`useReadQuery` is only supported for use with `useBackgroundQuery`. \" +\n \"Please ensure you are passing the `queryRef` returned from `useBackgroundQuery`.\"\n },\n\n 54: {\n file: \"@apollo/client/react/hooks/useSuspenseQuery.js\",\n condition: \"supportedFetchPolicies.includes(fetchPolicy)\",\n message: \"The fetch policy `%s` is not supported with suspense.\"\n },\n\n 57: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"!!document && !!document.kind\",\n\n message: \"Argument of %s passed to parser was not a valid GraphQL \" +\n \"DocumentNode. You may need to use 'graphql-tag' or another method \" +\n \"to convert your operation into a document\"\n },\n\n 58: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"!fragments.length ||\\n queries.length ||\\n mutations.length ||\\n subscriptions.length\",\n\n message: \"Passing only a fragment to 'graphql' is not yet supported. \" +\n \"You must include a query, subscription or mutation as well\"\n },\n\n 59: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"queries.length + mutations.length + subscriptions.length <= 1\",\n\n message: \"react-apollo only supports a query, subscription, or a mutation per HOC. \" +\n \"%s had %s queries, %s \" +\n \"subscriptions and %s mutations. \" +\n \"You can use 'compose' to join multiple operation types to a component\"\n },\n\n 60: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"definitions.length === 1\",\n\n message: \"react-apollo only supports one definition per HOC. %s had \" +\n \"%s definitions. \" +\n \"You can use 'compose' to join multiple operation types to a component\"\n },\n\n 61: {\n file: \"@apollo/client/react/parser/index.js\",\n condition: \"operation.type === type\",\n message: \"Running a %s requires a graphql \" + \"%s, but a %s was used instead.\"\n },\n\n 62: {\n file: \"@apollo/client/testing/core/mocking/mockLink.js\",\n condition: \"queryWithoutConnection\",\n message: \"query is required\"\n },\n\n 63: {\n file: \"@apollo/client/utilities/graphql/DocumentTransform.js\",\n condition: \"Array.isArray(cacheKeys)\",\n message: \"`getCacheKey` must return an array or undefined\"\n },\n\n 64: {\n file: \"@apollo/client/utilities/graphql/directives.js\",\n condition: \"evaledValue !== void 0\",\n message: \"Invalid variable referenced in @%s directive.\"\n },\n\n 65: {\n file: \"@apollo/client/utilities/graphql/directives.js\",\n condition: \"directiveArguments && directiveArguments.length === 1\",\n message: \"Incorrect number of arguments for the @%s directive.\"\n },\n\n 66: {\n file: \"@apollo/client/utilities/graphql/directives.js\",\n condition: \"ifArgument.name && ifArgument.name.value === 'if'\",\n message: \"Invalid argument for the @%s directive.\"\n },\n\n 67: {\n file: \"@apollo/client/utilities/graphql/directives.js\",\n condition: \"ifValue &&\\n (ifValue.kind === 'Variable' || ifValue.kind === 'BooleanValue')\",\n message: \"Argument for the @%s directive must be a variable or a boolean value.\"\n },\n\n 68: {\n file: \"@apollo/client/utilities/graphql/fragments.js\",\n\n message: \"Found a %s operation%s. \" +\n 'No operations are allowed when using a fragment as a query. Only fragments are allowed.'\n },\n\n 69: {\n file: \"@apollo/client/utilities/graphql/fragments.js\",\n condition: \"fragments.length === 1\",\n message: \"Found %s fragments. `fragmentName` must be provided when there is not exactly 1 fragment.\"\n },\n\n 70: {\n file: \"@apollo/client/utilities/graphql/fragments.js\",\n condition: \"fragment\",\n message: \"No fragment named %s\"\n },\n\n 71: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"doc && doc.kind === 'Document'\",\n message: \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\"\n },\n\n 72: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n message: \"Schema type definitions not allowed in queries. Found: \\\"%s\\\"\"\n },\n\n 73: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"operations.length <= 1\",\n message: \"Ambiguous GraphQL document: contains %s operations\"\n },\n\n 74: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"queryDef && queryDef.operation === 'query'\",\n message: 'Must contain a query definition.'\n },\n\n 75: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"doc.kind === 'Document'\",\n message: \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\"\n },\n\n 76: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"doc.definitions.length <= 1\",\n message: 'Fragment must have exactly one definition.'\n },\n\n 77: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n condition: \"fragmentDef.kind === 'FragmentDefinition'\",\n message: 'Must be a fragment definition.'\n },\n\n 78: {\n file: \"@apollo/client/utilities/graphql/getFromAST.js\",\n message: 'Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment.'\n },\n\n 79: {\n file: \"@apollo/client/utilities/graphql/storeUtils.js\",\n\n message: \"The inline argument \\\"%s\\\" of kind \\\"%s\\\"\" +\n 'is not supported. Use variables instead of inline arguments to ' +\n 'overcome this limitation.'\n }\n};\n\nexport const devDebug = {\n 15: {\n file: \"@apollo/client/core/ApolloClient.js\",\n message: \"In client.refetchQueries, Promise.all promise rejected with error %o\"\n },\n\n 22: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n message: \"Missing cache result fields: %o\"\n }\n};\n\nexport const devLog = {};\n\nexport const devWarn = {\n 4: {\n file: \"@apollo/client/cache/inmemory/policies.js\",\n message: \"Inferring subtype %s of supertype %s\"\n },\n\n 5: {\n file: \"@apollo/client/cache/inmemory/policies.js\",\n message: \"Undefined 'from' passed to readField with arguments %s\"\n },\n\n 12: {\n file: \"@apollo/client/cache/inmemory/writeToStore.js\",\n message: \"Cache data may be lost when replacing the %s field of a %s object.\\n\\nThis could cause additional (usually avoidable) network requests to fetch data that were otherwise cached.\\n\\nTo address this problem (which is not a bug in Apollo Client), %sdefine a custom merge function for the %s field, so InMemoryCache can safely merge these objects:\\n\\n existing: %s\\n incoming: %s\\n\\nFor more information about these options, please refer to the documentation:\\n\\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\\n\"\n },\n\n 18: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n message: \"Called refetch(%o) for query %o, which does not declare a $variables variable.\\nDid you mean to call refetch(variables) instead of refetch({ variables })?\"\n },\n\n 31: {\n file: \"@apollo/client/core/QueryManager.js\",\n message: \"Unknown query named \\\"%s\\\" requested in refetchQueries options.include array\"\n },\n\n 32: {\n file: \"@apollo/client/core/QueryManager.js\",\n message: \"Unknown query %s requested in refetchQueries options.include array\"\n },\n\n 33: {\n file: \"@apollo/client/link/core/ApolloLink.js\",\n message: \"You are calling concat on a terminating link, which will have no effect %o\"\n },\n\n 36: {\n file: \"@apollo/client/link/http/createHttpLink.js\",\n message: \"Multipart-subscriptions do not support @defer\"\n },\n\n 40: {\n file: \"@apollo/client/link/utils/toPromise.js\",\n message: \"Promise Wrapper does not support multiple results from Observable\"\n },\n\n 48: {\n file: \"@apollo/client/react/hooks/useQuery.js\",\n message: \"Calling default no-op implementation of InternalState#forceUpdate\"\n },\n\n 50: {\n file: \"@apollo/client/react/hooks/useSubscription.js\",\n message: \"'useSubscription' supports only the 'onSubscriptionData' or 'onData' option, but not both. Only the 'onData' option will be used.\"\n },\n\n 51: {\n file: \"@apollo/client/react/hooks/useSubscription.js\",\n message: \"'onSubscriptionData' is deprecated and will be removed in a future major version. Please use the 'onData' option instead.\"\n },\n\n 52: {\n file: \"@apollo/client/react/hooks/useSubscription.js\",\n message: \"'useSubscription' supports only the 'onSubscriptionComplete' or 'onComplete' option, but not both. Only the 'onComplete' option will be used.\"\n },\n\n 53: {\n file: \"@apollo/client/react/hooks/useSubscription.js\",\n message: \"'onSubscriptionComplete' is deprecated and will be removed in a future major version. Please use the 'onComplete' option instead.\"\n },\n\n 55: {\n file: \"@apollo/client/react/hooks/useSuspenseQuery.js\",\n 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.\"\n },\n\n 81: {\n file: \"@apollo/client/utilities/graphql/transform.js\",\n\n message: 'Removing an @connection directive even though it does not have a key. ' +\n 'You may want to use the key parameter to specify a store key.'\n }\n};\n\nexport const devError = {\n 10: {\n file: \"@apollo/client/cache/inmemory/writeToStore.js\",\n message: \"Missing field '%s' while writing result %o\"\n },\n\n 19: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n message: 'Unhandled GraphQL subscription error'\n },\n\n 21: {\n file: \"@apollo/client/core/ObservableQuery.js\",\n message: 'Unhandled error'\n },\n\n 56: {\n file: \"@apollo/client/react/hooks/useSyncExternalStore.js\",\n message: \"The result of getSnapshot should be cached to avoid an infinite loop\"\n },\n\n 80: {\n file: \"@apollo/client/utilities/graphql/transform.js\",\n message: \"Could not find operation or fragment\"\n }\n};\n","export var version = '3.8.0-rc.2';\n//# sourceMappingURL=version.js.map","export function maybe(thunk) {\n try {\n return thunk();\n }\n catch (_a) { }\n}\n//# sourceMappingURL=maybe.js.map","import { maybe } from \"./maybe.js\";\nexport default (maybe(function () { return globalThis; }) ||\n maybe(function () { return window; }) ||\n maybe(function () { return self; }) ||\n maybe(function () { return global; }) || maybe(function () { return maybe.constructor(\"return this\")(); }));\n//# sourceMappingURL=global.js.map","var prefixCounts = new Map();\nexport function makeUniqueId(prefix) {\n var count = prefixCounts.get(prefix) || 1;\n prefixCounts.set(prefix, count + 1);\n return \"\".concat(prefix, \":\").concat(count, \":\").concat(Math.random().toString(36).slice(2));\n}\n//# sourceMappingURL=makeUniqueId.js.map","import { makeUniqueId } from \"./makeUniqueId.js\";\nexport function stringifyForDisplay(value, space) {\n if (space === void 0) { space = 0; }\n var undefId = makeUniqueId(\"stringifyForDisplay\");\n return JSON.stringify(value, function (key, value) {\n return value === void 0 ? undefId : value;\n }, space).split(JSON.stringify(undefId)).join(\"<undefined>\");\n}\n//# sourceMappingURL=stringifyForDisplay.js.map","import { __spreadArray } from \"tslib\";\nimport { invariant as originalInvariant, InvariantError } from \"ts-invariant\";\nimport { version } from \"../../version.js\";\nimport global from \"./global.js\";\nimport { stringifyForDisplay } from \"../common/stringifyForDisplay.js\";\nfunction wrap(fn) {\n return function (message) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n fn.apply(void 0, __spreadArray([typeof message === \"number\" ? getErrorMsg(message) : message], args, false));\n };\n}\nvar invariant = Object.assign(function invariant(condition, message) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n if (!condition) {\n originalInvariant(condition, getErrorMsg(message, args));\n }\n}, {\n debug: wrap(originalInvariant.debug),\n log: wrap(originalInvariant.log),\n warn: wrap(originalInvariant.warn),\n error: wrap(originalInvariant.error),\n});\nfunction newInvariantError(message) {\n var optionalParams = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n optionalParams[_i - 1] = arguments[_i];\n }\n return new InvariantError(getErrorMsg(message, optionalParams));\n}\nvar ApolloErrorMessageHandler = Symbol.for(\"ApolloErrorMessageHandler_\" + version);\nfunction getErrorMsg(message, messageArgs) {\n if (messageArgs === void 0) { messageArgs = []; }\n if (!message)\n return;\n var args = messageArgs.map(function (arg) {\n return typeof arg == \"string\" ? arg : stringifyForDisplay(arg, 2).slice(0, 1000);\n });\n return ((global[ApolloErrorMessageHandler] &&\n global[ApolloErrorMessageHandler](message, args)) ||\n \"An error occured! For more details, see the full error text at https://go.apollo.dev/c/err#\".concat(encodeURIComponent(JSON.stringify({\n version: version,\n message: message,\n args: args,\n }))));\n}\nexport { invariant, InvariantError, newInvariantError, ApolloErrorMessageHandler, };\n//# sourceMappingURL=invariantWrappers.js.map","import { global } from \"../utilities/globals/index.js\";\nimport { ApolloErrorMessageHandler } from \"../utilities/globals/invariantWrappers.js\";\nexport function loadErrorMessageHandler() {\n var errorCodes = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n errorCodes[_i] = arguments[_i];\n }\n if (!global[ApolloErrorMessageHandler]) {\n global[ApolloErrorMessageHandler] = handler;\n }\n for (var _a = 0, errorCodes_1 = errorCodes; _a < errorCodes_1.length; _a++) {\n var codes = errorCodes_1[_a];\n Object.assign(global[ApolloErrorMessageHandler], codes);\n }\n return global[ApolloErrorMessageHandler];\n function handler(message, args) {\n if (typeof message === \"number\") {\n var definition = global[ApolloErrorMessageHandler][message];\n if (!message || !definition.message)\n return;\n message = definition.message;\n }\n return args.reduce(function (msg, arg) { return msg.replace(\"%s\", String(arg)); }, String(message));\n }\n}\n//# sourceMappingURL=loadErrorMessageHandler.js.map","import { devDebug, devError, devLog, devWarn } from \"../invariantErrorCodes.js\";\nimport { loadErrorMessageHandler } from \"./loadErrorMessageHandler.js\";\nexport function loadDevMessages() {\n loadErrorMessageHandler(devDebug, devError, devLog, devWarn);\n}\n//# sourceMappingURL=loadDevMessages.js.map","import { errorCodes } from \"../invariantErrorCodes.js\";\nimport { loadErrorMessageHandler } from \"./loadErrorMessageHandler.js\";\nexport function loadErrorMessages() {\n loadErrorMessageHandler(errorCodes);\n}\n//# sourceMappingURL=loadErrorMessages.js.map"],"names":["__spreadArray","originalInvariant","global"],"mappings":";;;;;;;;AAAO,MAAM,UAAU;AACvB;AACA;AACA;AACA,EAAE,CAAC,EAAE;AACL,IAAI,IAAI,EAAE,8CAA8C;AACxD,IAAI,SAAS,EAAE,8BAA8B;AAC7C,IAAI,OAAO,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G,UAAU,EAAE,EAAE,GAAG,YAAY,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE;AAChF,QAAQ,IAAI,KAAK,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;AACrC,QAAQ,MAAM,CAAC,MAAM,CAACA,cAAM,CAAC,yBAAyB,CAAC,EAAE,KAAK,CAAC,CAAC;AAChE,KAAK;AACL,IAAI,OAAOA,cAAM,CAAC,yBAAyB,CAAC,CAAC;AAC7C,IAAI,SAAS,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE;AACpC,QAAQ,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;AACzC,YAAY,IAAI,UAAU,GAAGA,cAAM,CAAC,yBAAyB,CAAC,CAAC,OAAO,CAAC,CAAC;AACxE,YAAY,IAAI,CAAC,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO;AAC/C,gBAAgB,OAAO;AACvB,YAAY,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;AACzC,SAAS;AACT,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,EAAE,GAAG,EAAE,EAAE,OAAO,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AAC5G,KAAK;AACL;;ACtBO,SAAS,eAAe,GAAG;AAClC,IAAI,uBAAuB,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AACjE;;ACFO,SAAS,iBAAiB,GAAG;AACpC,IAAI,uBAAuB,CAAC,UAAU,CAAC,CAAC;AACxC;;;;;;"}
@@ -178,24 +178,24 @@ const errorCodes = // This file is used by the error message display website and
178
178
  condition: "context && context.client",
179
179
 
180
180
  message: 'Could not find "client" in the context of ApolloConsumer. ' +
181
- 'Wrap the root component in an <ApolloProvider>.'
181
+ "Wrap the root component in an <ApolloProvider>."
182
182
  },
183
183
 
184
184
  43: {
185
185
  file: "@apollo/client/react/context/ApolloContext.js",
186
- condition: "'createContext' in React",
186
+ condition: "\"createContext\" in React",
187
187
 
188
- message: 'Invoking `getApolloContext` in an environment where `React.createContext` is not available.\n' +
189
- 'The Apollo Client functionality you are trying to use is only available in React Client Components.\n' +
188
+ message: "Invoking `getApolloContext` in an environment where `React.createContext` is not available.\n" +
189
+ "The Apollo Client functionality you are trying to use is only available in React Client Components.\n" +
190
190
  'Please make sure to add "use client" at the top of your file.\n' +
191
- 'For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components'
191
+ "For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components"
192
192
  },
193
193
 
194
194
  44: {
195
195
  file: "@apollo/client/react/context/ApolloProvider.js",
196
196
  condition: "context.client",
197
197
 
198
- message: 'ApolloProvider was not passed a client instance. Make ' +
198
+ message: "ApolloProvider was not passed a client instance. Make " +
199
199
  'sure you pass in your client via the "client" prop.'
200
200
  },
201
201
 
@@ -220,17 +220,17 @@ const errorCodes = // This file is used by the error message display website and
220
220
  condition: "!!client",
221
221
 
222
222
  message: 'Could not find "client" in the context or passed in as an option. ' +
223
- 'Wrap the root component in an <ApolloProvider>, or pass an ApolloClient ' +
224
- 'instance in via options.'
223
+ "Wrap the root component in an <ApolloProvider>, or pass an ApolloClient " +
224
+ "instance in via options."
225
225
  },
226
226
 
227
227
  49: {
228
228
  file: "@apollo/client/react/hooks/useReadQuery.js",
229
229
  condition: "internalQueryRef.promiseCache",
230
230
 
231
- message: 'It appears that `useReadQuery` was used outside of `useBackgroundQuery`. ' +
232
- '`useReadQuery` is only supported for use with `useBackgroundQuery`. ' +
233
- 'Please ensure you are passing the `queryRef` returned from `useBackgroundQuery`.'
231
+ message: "It appears that `useReadQuery` was used outside of `useBackgroundQuery`. " +
232
+ "`useReadQuery` is only supported for use with `useBackgroundQuery`. " +
233
+ "Please ensure you are passing the `queryRef` returned from `useBackgroundQuery`."
234
234
  },
235
235
 
236
236
  54: {
@@ -250,7 +250,7 @@ const errorCodes = // This file is used by the error message display website and
250
250
 
251
251
  58: {
252
252
  file: "@apollo/client/react/parser/index.js",
253
- condition: "!fragments.length ||\n (queries.length || mutations.length || subscriptions.length)",
253
+ condition: "!fragments.length ||\n queries.length ||\n mutations.length ||\n subscriptions.length",
254
254
 
255
255
  message: "Passing only a fragment to 'graphql' is not yet supported. " +
256
256
  "You must include a query, subscription or mutation as well"
@@ -278,9 +278,7 @@ const errorCodes = // This file is used by the error message display website and
278
278
  61: {
279
279
  file: "@apollo/client/react/parser/index.js",
280
280
  condition: "operation.type === type",
281
-
282
- message: "Running a %s requires a graphql " +
283
- "%s, but a %s was used instead."
281
+ message: "Running a %s requires a graphql " + "%s, but a %s was used instead."
284
282
  },
285
283
 
286
284
  62: {
@@ -292,7 +290,7 @@ const errorCodes = // This file is used by the error message display website and
292
290
  63: {
293
291
  file: "@apollo/client/utilities/graphql/DocumentTransform.js",
294
292
  condition: "Array.isArray(cacheKeys)",
295
- message: '`getCacheKey` must return an array or undefined'
293
+ message: "`getCacheKey` must return an array or undefined"
296
294
  },
297
295
 
298
296
  64: {
@@ -480,7 +478,7 @@ const devWarn = {
480
478
 
481
479
  55: {
482
480
  file: "@apollo/client/react/hooks/useSuspenseQuery.js",
483
- 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.'
481
+ 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."
484
482
  },
485
483
 
486
484
  81: {
@@ -509,7 +507,7 @@ const devError = {
509
507
 
510
508
  56: {
511
509
  file: "@apollo/client/react/hooks/useSyncExternalStore.js",
512
- message: 'The result of getSnapshot should be cached to avoid an infinite loop'
510
+ message: "The result of getSnapshot should be cached to avoid an infinite loop"
513
511
  },
514
512
 
515
513
  80: {
@@ -518,7 +516,7 @@ const devError = {
518
516
  }
519
517
  };
520
518
 
521
- var version = '3.8.0-rc.0';
519
+ var version = '3.8.0-rc.2';
522
520
 
523
521
  function maybe(thunk) {
524
522
  try {
@@ -553,7 +551,7 @@ function wrap(fn) {
553
551
  for (var _i = 1; _i < arguments.length; _i++) {
554
552
  args[_i - 1] = arguments[_i];
555
553
  }
556
- fn.apply(void 0, tslib.__spreadArray([typeof message === 'number' ? getErrorMsg(message) : message], args, false));
554
+ fn.apply(void 0, tslib.__spreadArray([typeof message === "number" ? getErrorMsg(message) : message], args, false));
557
555
  };
558
556
  }
559
557
  Object.assign(function invariant(condition, message) {
@@ -570,13 +568,13 @@ Object.assign(function invariant(condition, message) {
570
568
  warn: wrap(tsInvariant.invariant.warn),
571
569
  error: wrap(tsInvariant.invariant.error),
572
570
  });
573
- var ApolloErrorMessageHandler = Symbol.for('ApolloErrorMessageHandler_' + version);
571
+ var ApolloErrorMessageHandler = Symbol.for("ApolloErrorMessageHandler_" + version);
574
572
  function getErrorMsg(message, messageArgs) {
575
573
  if (messageArgs === void 0) { messageArgs = []; }
576
574
  if (!message)
577
575
  return;
578
576
  var args = messageArgs.map(function (arg) {
579
- return typeof arg == 'string' ? arg : stringifyForDisplay(arg, 2).slice(0, 1000);
577
+ return typeof arg == "string" ? arg : stringifyForDisplay(arg, 2).slice(0, 1000);
580
578
  });
581
579
  return ((global$1[ApolloErrorMessageHandler] &&
582
580
  global$1[ApolloErrorMessageHandler](message, args)) ||
@@ -601,13 +599,13 @@ function loadErrorMessageHandler() {
601
599
  }
602
600
  return globals.global[ApolloErrorMessageHandler];
603
601
  function handler(message, args) {
604
- if (typeof message === 'number') {
602
+ if (typeof message === "number") {
605
603
  var definition = globals.global[ApolloErrorMessageHandler][message];
606
604
  if (!message || !definition.message)
607
605
  return;
608
606
  message = definition.message;
609
607
  }
610
- return args.reduce(function (msg, arg) { return msg.replace('%s', String(arg)); }, String(message));
608
+ return args.reduce(function (msg, arg) { return msg.replace("%s", String(arg)); }, String(message));
611
609
  }
612
610
  }
613
611
 
package/dev/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { loadDevMessages } from './loadDevMessages.js';
2
- export { loadErrorMessageHandler } from './loadErrorMessageHandler.js';
3
- export { loadErrorMessages } from './loadErrorMessages.js';
1
+ export { loadDevMessages } from "./loadDevMessages.js";
2
+ export { loadErrorMessageHandler } from "./loadErrorMessageHandler.js";
3
+ export { loadErrorMessages } from "./loadErrorMessages.js";
4
4
  //# sourceMappingURL=index.d.ts.map
package/dev/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { loadDevMessages } from './loadDevMessages.js';
2
- export { loadErrorMessageHandler } from './loadErrorMessageHandler.js';
3
- export { loadErrorMessages } from './loadErrorMessages.js';
1
+ export { loadDevMessages } from "./loadDevMessages.js";
2
+ export { loadErrorMessageHandler } from "./loadErrorMessageHandler.js";
3
+ export { loadErrorMessages } from "./loadErrorMessages.js";
4
4
  //# sourceMappingURL=index.js.map
package/dev/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dev/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC","sourcesContent":["export { loadDevMessages } from './loadDevMessages.js';\nexport { loadErrorMessageHandler } from './loadErrorMessageHandler.js';\nexport { loadErrorMessages } from './loadErrorMessages.js';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dev/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC","sourcesContent":["export { loadDevMessages } from \"./loadDevMessages.js\";\nexport { loadErrorMessageHandler } from \"./loadErrorMessageHandler.js\";\nexport { loadErrorMessages } from \"./loadErrorMessages.js\";\n"]}
@@ -1,5 +1,5 @@
1
- import { devDebug, devError, devLog, devWarn } from '../invariantErrorCodes.js';
2
- import { loadErrorMessageHandler } from './loadErrorMessageHandler.js';
1
+ import { devDebug, devError, devLog, devWarn } from "../invariantErrorCodes.js";
2
+ import { loadErrorMessageHandler } from "./loadErrorMessageHandler.js";
3
3
  export function loadDevMessages() {
4
4
  loadErrorMessageHandler(devDebug, devError, devLog, devWarn);
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"loadDevMessages.js","sourceRoot":"","sources":["../../src/dev/loadDevMessages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,UAAU,eAAe;IAC7B,uBAAuB,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAC/D,CAAC","sourcesContent":["import { devDebug, devError, devLog, devWarn } from '../invariantErrorCodes.js';\nimport { loadErrorMessageHandler } from './loadErrorMessageHandler.js';\n\nexport function loadDevMessages() {\n loadErrorMessageHandler(devDebug, devError, devLog, devWarn);\n}\n"]}
1
+ {"version":3,"file":"loadDevMessages.js","sourceRoot":"","sources":["../../src/dev/loadDevMessages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,UAAU,eAAe;IAC7B,uBAAuB,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAC/D,CAAC","sourcesContent":["import { devDebug, devError, devLog, devWarn } from \"../invariantErrorCodes.js\";\nimport { loadErrorMessageHandler } from \"./loadErrorMessageHandler.js\";\n\nexport function loadDevMessages() {\n loadErrorMessageHandler(devDebug, devError, devLog, devWarn);\n}\n"]}
@@ -1,3 +1,3 @@
1
- import type { ErrorCodes } from '../invariantErrorCodes.js';
1
+ import type { ErrorCodes } from "../invariantErrorCodes.js";
2
2
  export declare function loadErrorMessageHandler(...errorCodes: ErrorCodes[]): ((message: string | number, args: unknown[]) => string | undefined) & ErrorCodes;
3
3
  //# sourceMappingURL=loadErrorMessageHandler.d.ts.map
@@ -1,5 +1,5 @@
1
- import { global } from '../utilities/globals/index.js';
2
- import { ApolloErrorMessageHandler } from '../utilities/globals/invariantWrappers.js';
1
+ import { global } from "../utilities/globals/index.js";
2
+ import { ApolloErrorMessageHandler } from "../utilities/globals/invariantWrappers.js";
3
3
  export function loadErrorMessageHandler() {
4
4
  var errorCodes = [];
5
5
  for (var _i = 0; _i < arguments.length; _i++) {
@@ -14,13 +14,13 @@ export function loadErrorMessageHandler() {
14
14
  }
15
15
  return global[ApolloErrorMessageHandler];
16
16
  function handler(message, args) {
17
- if (typeof message === 'number') {
17
+ if (typeof message === "number") {
18
18
  var definition = global[ApolloErrorMessageHandler][message];
19
19
  if (!message || !definition.message)
20
20
  return;
21
21
  message = definition.message;
22
22
  }
23
- return args.reduce(function (msg, arg) { return msg.replace('%s', String(arg)); }, String(message));
23
+ return args.reduce(function (msg, arg) { return msg.replace("%s", String(arg)); }, String(message));
24
24
  }
25
25
  }
26
26
  //# sourceMappingURL=loadErrorMessageHandler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loadErrorMessageHandler.js","sourceRoot":"","sources":["../../src/dev/loadErrorMessageHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAEtF,MAAM,UAAU,uBAAuB;IAAC,oBAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,+BAA2B;;IACjE,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,EAAE;QACtC,MAAM,CAAC,yBAAyB,CAAC,GAAG,OAAsC,CAAC;KAC5E;IAED,KAAoB,UAAU,EAAV,yBAAU,EAAV,wBAAU,EAAV,IAAU,EAAE;QAA3B,IAAM,KAAK,mBAAA;QACd,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,EAAE,KAAK,CAAC,CAAC;KACzD;IAED,OAAO,MAAM,CAAC,yBAAyB,CAAC,CAAC;IAEzC,SAAS,OAAO,CAAC,OAAwB,EAAE,IAAe;QACxD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;YAC/B,IAAM,UAAU,GAAG,MAAM,CAAC,yBAAyB,CAAE,CAAC,OAAO,CAAC,CAAC;YAC/D,IAAI,CAAC,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO;gBAAE,OAAO;YAC5C,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;SAC9B;QACD,OAAO,IAAI,CAAC,MAAM,CAChB,UAAC,GAAG,EAAE,GAAG,IAAK,OAAA,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAA9B,CAA8B,EAC5C,MAAM,CAAC,OAAO,CAAC,CAChB,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["import type { ErrorCodes } from '../invariantErrorCodes.js';\nimport { global } from '../utilities/globals/index.js';\nimport { ApolloErrorMessageHandler } from '../utilities/globals/invariantWrappers.js';\n\nexport function loadErrorMessageHandler(...errorCodes: ErrorCodes[]) {\n if (!global[ApolloErrorMessageHandler]) {\n global[ApolloErrorMessageHandler] = handler as typeof handler & ErrorCodes;\n }\n\n for (const codes of errorCodes) {\n Object.assign(global[ApolloErrorMessageHandler], codes);\n }\n\n return global[ApolloErrorMessageHandler];\n\n function handler(message: string | number, args: unknown[]) {\n if (typeof message === 'number') {\n const definition = global[ApolloErrorMessageHandler]![message];\n if (!message || !definition.message) return;\n message = definition.message;\n }\n return args.reduce<string>(\n (msg, arg) => msg.replace('%s', String(arg)),\n String(message)\n );\n }\n}\n"]}
1
+ {"version":3,"file":"loadErrorMessageHandler.js","sourceRoot":"","sources":["../../src/dev/loadErrorMessageHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAEtF,MAAM,UAAU,uBAAuB;IAAC,oBAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,+BAA2B;;IACjE,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,EAAE;QACtC,MAAM,CAAC,yBAAyB,CAAC,GAAG,OAAsC,CAAC;KAC5E;IAED,KAAoB,UAAU,EAAV,yBAAU,EAAV,wBAAU,EAAV,IAAU,EAAE;QAA3B,IAAM,KAAK,mBAAA;QACd,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,EAAE,KAAK,CAAC,CAAC;KACzD;IAED,OAAO,MAAM,CAAC,yBAAyB,CAAC,CAAC;IAEzC,SAAS,OAAO,CAAC,OAAwB,EAAE,IAAe;QACxD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;YAC/B,IAAM,UAAU,GAAG,MAAM,CAAC,yBAAyB,CAAE,CAAC,OAAO,CAAC,CAAC;YAC/D,IAAI,CAAC,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO;gBAAE,OAAO;YAC5C,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;SAC9B;QACD,OAAO,IAAI,CAAC,MAAM,CAChB,UAAC,GAAG,EAAE,GAAG,IAAK,OAAA,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAA9B,CAA8B,EAC5C,MAAM,CAAC,OAAO,CAAC,CAChB,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["import type { ErrorCodes } from \"../invariantErrorCodes.js\";\nimport { global } from \"../utilities/globals/index.js\";\nimport { ApolloErrorMessageHandler } from \"../utilities/globals/invariantWrappers.js\";\n\nexport function loadErrorMessageHandler(...errorCodes: ErrorCodes[]) {\n if (!global[ApolloErrorMessageHandler]) {\n global[ApolloErrorMessageHandler] = handler as typeof handler & ErrorCodes;\n }\n\n for (const codes of errorCodes) {\n Object.assign(global[ApolloErrorMessageHandler], codes);\n }\n\n return global[ApolloErrorMessageHandler];\n\n function handler(message: string | number, args: unknown[]) {\n if (typeof message === \"number\") {\n const definition = global[ApolloErrorMessageHandler]![message];\n if (!message || !definition.message) return;\n message = definition.message;\n }\n return args.reduce<string>(\n (msg, arg) => msg.replace(\"%s\", String(arg)),\n String(message)\n );\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { errorCodes } from '../invariantErrorCodes.js';
2
- import { loadErrorMessageHandler } from './loadErrorMessageHandler.js';
1
+ import { errorCodes } from "../invariantErrorCodes.js";
2
+ import { loadErrorMessageHandler } from "./loadErrorMessageHandler.js";
3
3
  export function loadErrorMessages() {
4
4
  loadErrorMessageHandler(errorCodes);
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"loadErrorMessages.js","sourceRoot":"","sources":["../../src/dev/loadErrorMessages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,UAAU,iBAAiB;IAC/B,uBAAuB,CAAC,UAAU,CAAC,CAAC;AACtC,CAAC","sourcesContent":["import { errorCodes } from '../invariantErrorCodes.js';\nimport { loadErrorMessageHandler } from './loadErrorMessageHandler.js';\n\nexport function loadErrorMessages() {\n loadErrorMessageHandler(errorCodes);\n}\n"]}
1
+ {"version":3,"file":"loadErrorMessages.js","sourceRoot":"","sources":["../../src/dev/loadErrorMessages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,UAAU,iBAAiB;IAC/B,uBAAuB,CAAC,UAAU,CAAC,CAAC;AACtC,CAAC","sourcesContent":["import { errorCodes } from \"../invariantErrorCodes.js\";\nimport { loadErrorMessageHandler } from \"./loadErrorMessageHandler.js\";\n\nexport function loadErrorMessages() {\n loadErrorMessageHandler(errorCodes);\n}\n"]}
@@ -170,24 +170,24 @@ export const errorCodes = // This file is used by the error message display webs
170
170
  condition: "context && context.client",
171
171
 
172
172
  message: 'Could not find "client" in the context of ApolloConsumer. ' +
173
- 'Wrap the root component in an <ApolloProvider>.'
173
+ "Wrap the root component in an <ApolloProvider>."
174
174
  },
175
175
 
176
176
  43: {
177
177
  file: "@apollo/client/react/context/ApolloContext.js",
178
- condition: "'createContext' in React",
178
+ condition: "\"createContext\" in React",
179
179
 
180
- message: 'Invoking `getApolloContext` in an environment where `React.createContext` is not available.\n' +
181
- 'The Apollo Client functionality you are trying to use is only available in React Client Components.\n' +
180
+ message: "Invoking `getApolloContext` in an environment where `React.createContext` is not available.\n" +
181
+ "The Apollo Client functionality you are trying to use is only available in React Client Components.\n" +
182
182
  'Please make sure to add "use client" at the top of your file.\n' +
183
- 'For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components'
183
+ "For more information, see https://nextjs.org/docs/getting-started/react-essentials#client-components"
184
184
  },
185
185
 
186
186
  44: {
187
187
  file: "@apollo/client/react/context/ApolloProvider.js",
188
188
  condition: "context.client",
189
189
 
190
- message: 'ApolloProvider was not passed a client instance. Make ' +
190
+ message: "ApolloProvider was not passed a client instance. Make " +
191
191
  'sure you pass in your client via the "client" prop.'
192
192
  },
193
193
 
@@ -212,17 +212,17 @@ export const errorCodes = // This file is used by the error message display webs
212
212
  condition: "!!client",
213
213
 
214
214
  message: 'Could not find "client" in the context or passed in as an option. ' +
215
- 'Wrap the root component in an <ApolloProvider>, or pass an ApolloClient ' +
216
- 'instance in via options.'
215
+ "Wrap the root component in an <ApolloProvider>, or pass an ApolloClient " +
216
+ "instance in via options."
217
217
  },
218
218
 
219
219
  49: {
220
220
  file: "@apollo/client/react/hooks/useReadQuery.js",
221
221
  condition: "internalQueryRef.promiseCache",
222
222
 
223
- message: 'It appears that `useReadQuery` was used outside of `useBackgroundQuery`. ' +
224
- '`useReadQuery` is only supported for use with `useBackgroundQuery`. ' +
225
- 'Please ensure you are passing the `queryRef` returned from `useBackgroundQuery`.'
223
+ message: "It appears that `useReadQuery` was used outside of `useBackgroundQuery`. " +
224
+ "`useReadQuery` is only supported for use with `useBackgroundQuery`. " +
225
+ "Please ensure you are passing the `queryRef` returned from `useBackgroundQuery`."
226
226
  },
227
227
 
228
228
  54: {
@@ -242,7 +242,7 @@ export const errorCodes = // This file is used by the error message display webs
242
242
 
243
243
  58: {
244
244
  file: "@apollo/client/react/parser/index.js",
245
- condition: "!fragments.length ||\n (queries.length || mutations.length || subscriptions.length)",
245
+ condition: "!fragments.length ||\n queries.length ||\n mutations.length ||\n subscriptions.length",
246
246
 
247
247
  message: "Passing only a fragment to 'graphql' is not yet supported. " +
248
248
  "You must include a query, subscription or mutation as well"
@@ -270,9 +270,7 @@ export const errorCodes = // This file is used by the error message display webs
270
270
  61: {
271
271
  file: "@apollo/client/react/parser/index.js",
272
272
  condition: "operation.type === type",
273
-
274
- message: "Running a %s requires a graphql " +
275
- "%s, but a %s was used instead."
273
+ message: "Running a %s requires a graphql " + "%s, but a %s was used instead."
276
274
  },
277
275
 
278
276
  62: {
@@ -284,7 +282,7 @@ export const errorCodes = // This file is used by the error message display webs
284
282
  63: {
285
283
  file: "@apollo/client/utilities/graphql/DocumentTransform.js",
286
284
  condition: "Array.isArray(cacheKeys)",
287
- message: '`getCacheKey` must return an array or undefined'
285
+ message: "`getCacheKey` must return an array or undefined"
288
286
  },
289
287
 
290
288
  64: {
@@ -472,7 +470,7 @@ export const devWarn = {
472
470
 
473
471
  55: {
474
472
  file: "@apollo/client/react/hooks/useSuspenseQuery.js",
475
- 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.'
473
+ 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."
476
474
  },
477
475
 
478
476
  81: {
@@ -501,7 +499,7 @@ export const devError = {
501
499
 
502
500
  56: {
503
501
  file: "@apollo/client/react/hooks/useSyncExternalStore.js",
504
- message: 'The result of getSnapshot should be cached to avoid an infinite loop'
502
+ message: "The result of getSnapshot should be cached to avoid an infinite loop"
505
503
  },
506
504
 
507
505
  80: {
@@ -2,7 +2,8 @@ import type { Operation, FetchResult, NextLink } from '../core/index.js';
2
2
  import { ApolloLink } from '../core/index.js';
3
3
  import type { Observable } from '../../utilities/index.js';
4
4
  import type { BatchHandler } from './batching.js';
5
- export { OperationBatcher, BatchableRequest, BatchHandler } from './batching.js';
5
+ export type { BatchableRequest, BatchHandler } from './batching.js';
6
+ export { OperationBatcher } from './batching.js';
6
7
  export declare namespace BatchLink {
7
8
  interface Options {
8
9
  batchInterval?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"batchLink.d.ts","sourceRoot":"","sources":["../../../src/link/batch/batchLink.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGjF,yBAAiB,SAAS,CAAC;IACzB,UAAiB,OAAO;QAMtB,aAAa,CAAC,EAAE,MAAM,CAAC;QAOvB,aAAa,CAAC,EAAE,OAAO,CAAC;QAOxB,QAAQ,CAAC,EAAE,MAAM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AC,AArCD,CAA+B,UAAU,GAqCxC","sourcesContent":["import type { Operation, FetchResult, NextLink } from '../core/index.js';\nimport { ApolloLink } from '../core/index.js';\nimport type { Observable } from '../../utilities/index.js';\nimport type { BatchHandler } from './batching.js';\nimport { OperationBatcher } from './batching.js';\nexport { OperationBatcher, BatchableRequest, BatchHandler } from './batching.js';\n\n\nexport namespace BatchLink {\n export interface Options {\n /**\n * The interval at which to batch, in milliseconds.\n *\n * Defaults to 10.\n */\n batchInterval?: number;\n\n /**\n * \"batchInterval\" is a throttling behavior by default, if you instead wish\n * to debounce outbound requests, set \"batchDebounce\" to true. More useful\n * for mutations than queries.\n */\n batchDebounce?: boolean;\n\n /**\n * The maximum number of operations to include in one fetch.\n *\n * Defaults to 0 (infinite operations within the interval).\n */\n batchMax?: number;\n\n /**\n * The handler that should execute a batch of operations.\n */\n batchHandler?: BatchHandler;\n\n /**\n * creates the key for a batch\n */\n batchKey?: (operation: Operation) => string;\n }\n}\n\nexport class BatchLink extends ApolloLink {\n private batcher: OperationBatcher;\n\n constructor(fetchParams?: BatchLink.Options) {\n super();\n\n const {\n batchDebounce,\n batchInterval = 10,\n batchMax = 0,\n batchHandler = () => null,\n batchKey = () => '',\n } = fetchParams || {};\n\n this.batcher = new OperationBatcher({\n batchDebounce,\n batchInterval,\n batchMax,\n batchHandler,\n batchKey,\n });\n\n //make this link terminating\n if (fetchParams!.batchHandler!.length <= 1) {\n this.request = operation => this.batcher.enqueueRequest({ operation });\n }\n }\n\n public request(\n operation: Operation,\n forward?: NextLink,\n ): Observable<FetchResult> | null {\n return this.batcher.enqueueRequest({\n operation,\n forward,\n });\n }\n}\n"]}
1
+ {"version":3,"file":"batchLink.js","sourceRoot":"","sources":["../../../src/link/batch/batchLink.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAsCjD;IAA+B,6BAAU;IAGvC,mBAAY,WAA+B;QAA3C,YACE,iBAAO,SAsBR;QApBO,IAAA,KAMF,WAAW,IAAI,EAAE,EALnB,aAAa,mBAAA,EACb,qBAAkB,EAAlB,aAAa,mBAAG,EAAE,KAAA,EAClB,gBAAY,EAAZ,QAAQ,mBAAG,CAAC,KAAA,EACZ,oBAAyB,EAAzB,YAAY,mBAAG,cAAM,OAAA,IAAI,EAAJ,CAAI,KAAA,EACzB,gBAAmB,EAAnB,QAAQ,mBAAG,cAAM,OAAA,EAAE,EAAF,CAAE,KACA,CAAC;QAEtB,KAAI,CAAC,OAAO,GAAG,IAAI,gBAAgB,CAAC;YAClC,aAAa,eAAA;YACb,aAAa,eAAA;YACb,QAAQ,UAAA;YACR,YAAY,cAAA;YACZ,QAAQ,UAAA;SACT,CAAC,CAAC;QAGH,IAAI,WAAY,CAAC,YAAa,CAAC,MAAM,IAAI,CAAC,EAAE;YAC1C,KAAI,CAAC,OAAO,GAAG,UAAA,SAAS,IAAI,OAAA,KAAI,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,SAAS,WAAA,EAAE,CAAC,EAA1C,CAA0C,CAAC;SACxE;;IACH,CAAC;IAEM,2BAAO,GAAd,UACE,SAAoB,EACpB,OAAkB;QAElB,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC;YACjC,SAAS,WAAA;YACT,OAAO,SAAA;SACR,CAAC,CAAC;IACL,CAAC;IACH,gBAAC;AAAD,CAAC,AArCD,CAA+B,UAAU,GAqCxC","sourcesContent":["import type { Operation, FetchResult, NextLink } from '../core/index.js';\nimport { ApolloLink } from '../core/index.js';\nimport type { Observable } from '../../utilities/index.js';\nimport type { BatchHandler } from './batching.js';\nimport { OperationBatcher } from './batching.js';\nexport type { BatchableRequest, BatchHandler } from './batching.js';\nexport { OperationBatcher } from './batching.js';\n\n\nexport namespace BatchLink {\n export interface Options {\n /**\n * The interval at which to batch, in milliseconds.\n *\n * Defaults to 10.\n */\n batchInterval?: number;\n\n /**\n * \"batchInterval\" is a throttling behavior by default, if you instead wish\n * to debounce outbound requests, set \"batchDebounce\" to true. More useful\n * for mutations than queries.\n */\n batchDebounce?: boolean;\n\n /**\n * The maximum number of operations to include in one fetch.\n *\n * Defaults to 0 (infinite operations within the interval).\n */\n batchMax?: number;\n\n /**\n * The handler that should execute a batch of operations.\n */\n batchHandler?: BatchHandler;\n\n /**\n * creates the key for a batch\n */\n batchKey?: (operation: Operation) => string;\n }\n}\n\nexport class BatchLink extends ApolloLink {\n private batcher: OperationBatcher;\n\n constructor(fetchParams?: BatchLink.Options) {\n super();\n\n const {\n batchDebounce,\n batchInterval = 10,\n batchMax = 0,\n batchHandler = () => null,\n batchKey = () => '',\n } = fetchParams || {};\n\n this.batcher = new OperationBatcher({\n batchDebounce,\n batchInterval,\n batchMax,\n batchHandler,\n batchKey,\n });\n\n //make this link terminating\n if (fetchParams!.batchHandler!.length <= 1) {\n this.request = operation => this.batcher.enqueueRequest({ operation });\n }\n }\n\n public request(\n operation: Operation,\n forward?: NextLink,\n ): Observable<FetchResult> | null {\n return this.batcher.enqueueRequest({\n operation,\n forward,\n });\n }\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import type { ExecutionResult, GraphQLError } from "graphql";
2
- import { DocumentNode } from "graphql";
2
+ import type { DocumentNode } from "graphql";
3
3
  import type { DefaultContext } from "../../core/index.js";
4
- export { DocumentNode };
4
+ export type { DocumentNode };
5
5
  import type { Observable } from "../../utilities/index.js";
6
6
  export type Path = ReadonlyArray<string | number>;
7
7
  interface ExecutionPatchResultBase {