grafast
Version:
Cutting edge GraphQL planning and execution engine
27 lines • 978 B
TypeScript
import { $$deepDepSkip } from "../constants.ts";
import type { GrafastResultsList, JSONValue } from "../index.ts";
import type { Step } from "../step.ts";
import { $$noExec, UnbatchedStep } from "../step.ts";
/**
* An __ItemStep is an internal plan (users must never construct it
* themselves!) that Grafast uses to refer to an individual item within a list
* or stream.
*/
export declare class __ItemStep<TData> extends UnbatchedStep<TData> {
static $$export: {
moduleName: string;
exportName: string;
};
isSyncAndSafe: boolean;
[$$noExec]: boolean;
readonly depth: number;
constructor(parentPlan: Step<TData> | Step<TData[]>, depth?: number);
toStringMeta(): string;
planJSONExtra(): Record<string, JSONValue | undefined> | undefined;
getParentStep(): Step;
[$$deepDepSkip](): Step;
execute(): GrafastResultsList<TData>;
unbatchedExecute(): TData;
finalize(): void;
}
//# sourceMappingURL=__item.d.ts.map