@graphql-tools/federation
Version:
Useful tools to create and manipulate GraphQL schemas.
9 lines (8 loc) • 523 B
text/typescript
import { GraphQLSchema, TypeNode } from 'graphql';
export declare function getArgsFromKeysForFederation(representations: readonly any[]): {
representations: readonly any[];
};
export declare function getKeyForFederation<TRoot>(root: TRoot): TRoot;
export declare function getCacheKeyFnFromKey(key: string): (root: any) => any;
export declare function filterInternalFieldsAndTypes(finalSchema: GraphQLSchema): GraphQLSchema;
export declare function getNamedTypeNode(typeNode: TypeNode): import("graphql").NamedTypeNode;