@graphql-hive/core
Version:
12 lines • 384 B
TypeScript
import type { Logger } from './types.js';
export interface SupergraphSDLFetcherOptions {
endpoint: string;
key: string;
logger?: Logger;
fetchImplementation?: typeof fetch;
}
export declare function createSupergraphSDLFetcher(options: SupergraphSDLFetcherOptions): () => Promise<{
id: string;
supergraphSdl: string;
}>;
//# sourceMappingURL=supergraph.d.ts.map