@apollo/client-integration-nextjs
Version:
<div align="center"> <img src="https://raw.githubusercontent.com/apollographql/apollo-client-integrations/main/banner.jpg" width="500" alt="Apollo Client + Next.js App Router" /> </div>
1 lines • 2.21 kB
Source Map (JSON)
{"version":3,"sources":["../src/index.shared.ts","../src/bundleInfo.ts","../src/index.rsc.ts"],"names":[],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;;;ACLA,IAAM,SAAS;AAAA,EACpB,KAAK;AAAA,EACL,QAAQ;AAAA,EACR,OAAO;AACT;;;ADGA;AAAA,EACE,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,OACZ;AASA,IAAM,eAAN,cAEG,qBAAkC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM1C,OAAgB,OAAO;AACzB;AASO,IAAM,gBAAN,cAA4B,sBAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMvD,OAAgB,OAAO;AACzB;;;AE3CA,SAAS,4BAA4B","sourcesContent":["export {\n SSRMultipartLink,\n DebounceMultipartResponsesLink,\n RemoveMultipartDirectivesLink,\n type TransportedQueryRef,\n} from \"@apollo/client-react-streaming\";\nimport { bundle } from \"./bundleInfo.js\";\nimport {\n ApolloClient as UpstreamApolloClient,\n InMemoryCache as UpstreamInMemoryCache,\n} from \"@apollo/client-react-streaming\";\n\n/**\n * A version of `ApolloClient` to be used with streaming SSR or in React Server Components.\n *\n * For more documentation, please see {@link https://www.apollographql.com/docs/react/api/core/ApolloClient | the Apollo Client API documentation}.\n *\n * @public\n */\nexport class ApolloClient<\n TCacheShape,\n> extends UpstreamApolloClient<TCacheShape> {\n /**\n * Information about the current package and it's export names, for use in error messages.\n *\n * @internal\n */\n static readonly info = bundle;\n}\n\n/**\n * A version of `InMemoryCache` to be used with streaming SSR.\n *\n * For more documentation, please see {@link https://www.apollographql.com/docs/react/api/cache/InMemoryCache | the Apollo Client API documentation}.\n *\n * @public\n */\nexport class InMemoryCache extends UpstreamInMemoryCache {\n /**\n * Information about the current package and it's export names, for use in error messages.\n *\n * @internal\n */\n static readonly info = bundle;\n}\n","export const bundle = {\n pkg: \"@apollo/client-integration-nextjs\",\n client: \"ApolloClient\",\n cache: \"InMemoryCache\",\n};\n","export * from \"./index.shared.js\";\nexport { registerApolloClient } from \"@apollo/client-react-streaming\";\nexport type {\n PreloadQueryComponent,\n PreloadQueryProps,\n} from \"@apollo/client-react-streaming\";\n"]}