grafast
Version:
Cutting edge GraphQL planning and execution engine
20 lines • 896 B
TypeScript
import type { BooleanValueNode, EnumValueNode, FloatValueNode, GraphQLLeafType, IntValueNode, NullValueNode, StringValueNode } from "graphql";
import { UnbatchedStep } from "../step.ts";
/**
* Implements `InputStaticLeafStep`
*
* @see __InputDynamicScalarStep
*/
export declare class __InputStaticLeafStep<TLeaf = any> extends UnbatchedStep<TLeaf> {
static $$export: {
moduleName: string;
exportName: string;
};
isSyncAndSafe: boolean;
private readonly coercedValue;
constructor(coercedValue: any);
unbatchedExecute(): TLeaf;
optimize(): import("./constant.ts").ConstantStep<any>;
}
export declare function __inputStaticLeaf(inputType: GraphQLLeafType, value: IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | NullValueNode | EnumValueNode | undefined): __InputStaticLeafStep<any>;
//# sourceMappingURL=__inputStaticLeaf.d.ts.map