@graphql-mesh/graphql
Version:
5 lines (4 loc) • 321 B
text/typescript
import { type DocumentNode } from 'graphql';
import type { SubschemaConfig } from '@graphql-tools/delegate';
export declare const SubgraphSDLQuery = "\n query SubgraphSDL {\n _service {\n sdl\n }\n }\n";
export declare function getSubschemaForFederationWithTypeDefs(typeDefs: DocumentNode): SubschemaConfig;