grafast
Version:
Cutting edge GraphQL planning and execution engine
26 lines • 1.02 kB
TypeScript
import type { GrafastResultsList, JSONValue } from "../interfaces.js";
import { $$noExec, Step } from "../step.js";
import type { AccessStep } from "./access.js";
/**
* Implements `__ValueStep(operationPlan)` which is never executed; it's purely
* internal - we populate the value as part of the algorithm - see
* `GetValueStepId` and `PopulateValueStep`.
*/
export declare class __ValueStep<TData> extends Step<TData> {
static $$export: {
moduleName: string;
exportName: string;
};
isSyncAndSafe: boolean;
[$$noExec]: boolean;
constructor(isImmutable: boolean);
planJSONExtra(): undefined | Record<string, JSONValue>;
toStringMeta(): string | null;
execute(): GrafastResultsList<TData>;
__inferGet?: {
[TAttr in keyof TData]: AccessStep<TData[TAttr]>;
};
get<TAttr extends keyof TData>(attrName: TAttr): AccessStep<TData[TAttr]>;
at<TIndex extends keyof TData>(index: TIndex): AccessStep<TData[TIndex]>;
}
//# sourceMappingURL=__value.d.ts.map