UNPKG

@theguild/federation-composition

Version:
31 lines • 882 B
import { type Edge } from "./edge.cjs"; import type { Node } from "./node.cjs"; export type Step = FieldStep | AbstractStep; export declare const emptyOverrideLabel = " "; export type FieldStep = { fieldName: string; typeName: string; }; export type AbstractStep = { typeName: string; }; export declare class OperationPath { private _rootNode; private _toString; private previousEdges; private contextsInScope; get contexts(): bigint; constructor(_rootNode: Node); move(edge: Edge): OperationPath; clone(): OperationPath; withoutContexts(): OperationPath; hasContexts(required: bigint): boolean; depth(): number; edge(): Edge | undefined; steps(): Step[]; tail(): Node | undefined; rootNode(): Node; isVisitedEdge(edge: Edge): boolean; toString(): string; } //# sourceMappingURL=operation-path.d.ts.map