@graphql-hive/gateway-plugin-console-sdk
Version:
Hive Console + Hive Gateway
15 lines • 881 B
TypeScript
import { HiveClient, HivePluginOptions } from '@graphql-hive/core';
import type { GatewayPlugin } from '@graphql-hive/gateway-runtime';
export { atLeastOnceSampler, createSchemaFetcher, createServicesFetcher, createSupergraphSDLFetcher, } from '@graphql-hive/core';
export type { SupergraphSDLFetcherOptions } from '@graphql-hive/core';
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