@apollo/subgraph
Version:
Apollo Subgraph Utilities
16 lines • 909 B
TypeScript
import { GraphQLFieldConfig, GraphQLUnionType, GraphQLObjectType, GraphQLScalarType, GraphQLType, GraphQLNamedType, GraphQLResolveInfo } from 'graphql';
export type Maybe<T> = null | undefined | T;
export declare const EntityType: GraphQLUnionType;
export declare const ServiceType: GraphQLObjectType<any, any>;
export declare const AnyType: GraphQLScalarType<unknown, unknown>;
export declare const LinkImportType: GraphQLScalarType<unknown, unknown>;
export declare function entitiesResolver({ representations, context, info }: {
representations: any;
context: any;
info: GraphQLResolveInfo;
}): any;
export declare const entitiesField: GraphQLFieldConfig<any, any>;
export declare const serviceField: GraphQLFieldConfig<any, any>;
export declare const federationTypes: GraphQLNamedType[];
export declare function isFederationType(type: GraphQLType): boolean;
//# sourceMappingURL=types.d.ts.map