grafast
Version:
Cutting edge GraphQL planning and execution engine
9 lines • 709 B
TypeScript
import type { Step } from "../..";
import type { LayerPlan } from "../LayerPlan";
export declare function withGlobalLayerPlan<T, TThis = any, TArgs extends [...args: any[]] = [...args: any[]]>(layerPlan: LayerPlan, polymorphicPaths: ReadonlySet<string> | null, planningPath: string | null, callback: (this: TThis, ...args: TArgs) => T, callbackThis?: TThis, ...callbackArgs: TArgs): T;
export declare function currentLayerPlan(): LayerPlan;
export declare function currentPolymorphicPaths(): ReadonlySet<string> | null;
/** UNUSED */
export declare function currentPlanningPath(): string | undefined;
export declare function isUnaryStep($step: Step): boolean;
//# sourceMappingURL=withGlobalLayerPlan.d.ts.map