grafast
Version:
Cutting edge GraphQL planning and execution engine
12 lines • 711 B
TypeScript
import type { DirectiveNode, SelectionNode } from "graphql";
import type { OperationPlan } from "./engine/OperationPlan.ts";
import type { __TrackedValueStep } from "./steps/index.ts";
export declare function evalDirectiveArgDirect<T = unknown>(directive: DirectiveNode, argumentName: string, variableValuesStep: __TrackedValueStep, defaultValue: T): T | undefined;
export declare function newSelectionSetDigest(resolverEmulation: boolean): {
label: undefined;
fields: Map<any, any>;
deferred: undefined;
resolverEmulation: boolean;
};
export declare function selectionIsSkipped(operationPlan: OperationPlan, selection: SelectionNode): boolean;
//# sourceMappingURL=graphqlCollectFields.d.ts.map