UNPKG

@graphql-hive/gateway-plugin-console-sdk

Version:
13 lines 685 B
import { type HiveClient, type HivePluginOptions } from '@graphql-hive/core'; import { GatewayPlugin } from '@graphql-hive/gateway-runtime'; export declare function createHive(clientOrOptions: HivePluginOptions): HiveClient; export type GatewayPluginOptions = HivePluginOptions & { /** * Size of document cache. This is used to store a transformed version of the operation * because abstract types must include a __typename. Default: 10_000 */ cache?: number; }; export declare function useHive(clientOrOptions: HiveClient): GatewayPlugin; export declare function useHive(clientOrOptions: GatewayPluginOptions): GatewayPlugin; //# sourceMappingURL=index.d.ts.map