@theguild/federation-composition
Version:
Open Source Composition library for Apollo Federation
13 lines • 449 B
text/typescript
import type { SupergraphState } from "../../../state.cjs";
export declare class Contexts {
private readonly bitByContext;
readonly byTypeName: Map<string, bigint>;
constructor(supergraphState: SupergraphState);
maskOf(context: string): bigint;
maskFor(contexts: Iterable<string>): bigint;
private bitFor;
private addMask;
private addUnionContexts;
private addTypeContexts;
}
//# sourceMappingURL=contexts.d.ts.map