grafast
Version:
Cutting edge GraphQL planning and execution engine
8 lines • 828 B
TypeScript
import type { GraphQLField, GraphQLInputType, GraphQLNullableType } from "graphql";
import type { OperationPlan } from "./engine/OperationPlan.js";
import type { FieldArgs, TrackedArguments } from "./interfaces.js";
import type { Step } from "./step.js";
export type ApplyAfterModeArg = "plan" | "subscribePlan";
export declare function withFieldArgsForArguments<T extends Step>(operationPlan: OperationPlan, trackedArguments: TrackedArguments, field: GraphQLField<any, any, any>, $parent: Step, applyAfterMode: ApplyAfterModeArg, coordinate: string, callback: (fieldArgs: FieldArgs) => T | null | undefined): T | null;
export declare function getNullableInputTypeAtPath(startType: GraphQLInputType, path: ReadonlyArray<string | number>): GraphQLInputType & GraphQLNullableType;
//# sourceMappingURL=operationPlan-input.d.ts.map