grafast
Version:
Cutting edge GraphQL planning and execution engine
14 lines • 683 B
TypeScript
import type { OperationPlan } from "./engine/OperationPlan.ts";
import type { __ValueStep } from "./steps/index.ts";
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>>;
export declare function variableValues(): __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