grafast
Version:
Cutting edge GraphQL planning and execution engine
13 lines • 607 B
TypeScript
import type { OperationPlan } from "./engine/OperationPlan.js";
import type { __ValueStep } from "./steps/index.js";
export declare function setDebug(newDebug: boolean): void;
export declare function getDebug(): boolean;
export declare function operationPlan(): OperationPlan;
export declare function context(): __ValueStep<Grafast.Context>;
export declare function rootValue(): __ValueStep<Record<string, any>>;
/**
* Turns on debug mode, calls the callback, and then turns debug mode back off
* again.
*/
export declare function debugPlans<T>(callback: () => T): T;
//# sourceMappingURL=global.d.ts.map