UNPKG

@theguild/federation-composition

Version:
11 lines • 491 B
import { type DocumentNode, GraphQLError } from "graphql"; import type { SupergraphState } from "../supergraph/state.js"; import { type SchemaContractFilter } from "./tag-extraction.js"; export declare function createSupergraphStateContractFilter(services: ReadonlyArray<{ name: string; typeDefs: DocumentNode; }>, state: SupergraphState): (filter: SchemaContractFilter) => { errors: GraphQLError[]; restore(): void; }; //# sourceMappingURL=supergraph-state-contract.d.ts.map