UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

43 lines (42 loc) 1.67 kB
/** * @internal * Used to set `extensions` on the GraphQL result without exposing it * unnecessarily. Only use internally! * * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time. */ export declare const extensionsSymbol: unique symbol; /** * For use in Cache implementations only. * This should not be used in userland code. */ export declare const streamInfoSymbol: unique symbol; /** * @internal * Used as key for `ApolloClient.WatchQueryOptions`. * * Meant for framework integrators only! * * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time. */ export declare const variablesUnknownSymbol: unique symbol; /** * @internal * Used to tell `ApolloCache.diff` whether to handle incremental results. This * changes the behavior of `returnPartialData: false` when handling incremental * queries with partial or empty data at a `@defer` or `@stream` boundary. This * also signals to the cache that it should return a data state. * * When `handleIncrementalSymbol` is not provided, the cache should behave as it * does today. * * 3rd party caches that want to implement this behavior should talk to the * Apollo Client team. Open a GitHub issue so we can chat with you on what is * required for this to work in Apollo Client version 4.x. * * Meant for cache implementers only. This should not be used in userland code. * * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time. */ export declare const handleIncrementalSymbol: unique symbol; //# sourceMappingURL=constants.d.ts.map