grafast 0.0.1-alpha.9 → 0.0.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +15 -17
- package/README.md +138 -1
- package/dist/LICENSES.txt +1 -1
- package/dist/args.d.ts +7 -1
- package/dist/assert.d.ts +2 -0
- package/dist/bucket.d.ts +66 -1
- package/dist/constraints.d.ts +31 -0
- package/dist/deferred.d.ts +7 -0
- package/dist/dev.d.ts +3 -0
- package/dist/engine/LayerPlan.d.ts +131 -0
- package/dist/engine/OperationPlan.d.ts +151 -0
- package/dist/engine/OutputPlan.d.ts +105 -1
- package/dist/engine/StepTracker.d.ts +56 -1
- package/dist/engine/executeBucket.d.ts +4 -1
- package/dist/engine/executeOutputPlan.d.ts +42 -1
- package/dist/envelop.d.ts +12 -0
- package/dist/envelop.js +2 -51
- package/dist/error.d.ts +23 -0
- package/dist/establishOperationPlan.d.ts +10 -31
- package/dist/execute.d.ts +8 -0
- package/dist/exportAs.d.ts +14 -0
- package/dist/grafastGraphql.d.ts +8 -3
- package/dist/grafastPrint.d.ts +8 -0
- package/dist/graphqlCollectFields.d.ts +22 -0
- package/dist/graphqlMergeSelectionSets.d.ts +4 -0
- package/dist/index.d.ts +9 -4
- package/dist/index.js +387 -53
- package/dist/input.d.ts +8 -1
- package/dist/interfaces.d.ts +356 -59
- package/dist/makeGrafastSchema.d.ts +30 -3
- package/dist/mermaid.d.ts +28 -0
- package/dist/polymorphic.d.ts +8 -0
- package/dist/prepare.d.ts +16 -2
- package/dist/step.d.ts +183 -0
- package/dist/steps/__inputDynamicScalar.d.ts +3 -0
- package/dist/steps/__inputList.d.ts +3 -0
- package/dist/steps/__inputObject.d.ts +3 -0
- package/dist/steps/__inputStaticLeaf.d.ts +5 -0
- package/dist/steps/__item.d.ts +8 -0
- package/dist/steps/__trackedValue.d.ts +74 -0
- package/dist/steps/__value.d.ts +5 -0
- package/dist/steps/access.d.ts +20 -0
- package/dist/steps/{deepEval.d.ts → applyTransforms.d.ts} +16 -3
- package/dist/steps/connection.d.ts +49 -0
- package/dist/steps/constant.d.ts +11 -3
- package/dist/steps/each.d.ts +3 -0
- package/dist/steps/filter.d.ts +4 -0
- package/dist/steps/first.d.ts +4 -0
- package/dist/steps/graphqlResolver.d.ts +18 -0
- package/dist/steps/groupBy.d.ts +6 -0
- package/dist/steps/index.d.ts +6 -2
- package/dist/steps/lambda.d.ts +8 -0
- package/dist/steps/last.d.ts +4 -0
- package/dist/steps/list.d.ts +7 -0
- package/dist/steps/listTransform.d.ts +21 -0
- package/dist/steps/listen.d.ts +16 -0
- package/dist/steps/load.d.ts +13 -0
- package/dist/steps/node.d.ts +20 -12
- package/dist/steps/object.d.ts +15 -0
- package/dist/steps/partitionByIndex.d.ts +35 -0
- package/dist/steps/proxy.d.ts +11 -0
- package/dist/steps/remapKeys.d.ts +8 -0
- package/dist/steps/reverse.d.ts +9 -0
- package/dist/subscribe.d.ts +4 -0
- package/dist/utils.d.ts +113 -5
- package/dist/version.d.ts +2 -0
- package/fwd/graphql/index.d.ts +1 -0
- package/fwd/graphql/index.js +1 -0
- package/package.json +14 -6
package/dist/error.d.ts
CHANGED
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import type { $$extensions } from "./interfaces.js";
|
|
3
3
|
import { $$safeError } from "./interfaces.js";
|
|
4
|
+
/**
|
|
5
|
+
* Internally we wrap errors that occur in a GrafastError; this allows us to do
|
|
6
|
+
* simple `instanceof` checks to see if a value is an actual value or an error.
|
|
7
|
+
* Users should never use this class; it's for internal usage only.
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
4
11
|
export interface GrafastError extends Error {
|
|
5
12
|
originalError: Error;
|
|
6
13
|
[$$extensions]?: Record<string, any>;
|
|
7
14
|
}
|
|
8
15
|
export declare const $$error: unique symbol;
|
|
16
|
+
/**
|
|
17
|
+
* When an error occurs during plan execution we wrap it in a GrafastError so
|
|
18
|
+
* that we can pass it around as a value. It gets unwrapped and thrown in the
|
|
19
|
+
* grafast resolver.
|
|
20
|
+
*
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
9
23
|
export declare const _GrafastError: {
|
|
10
24
|
new (originalError: Error, planId: number | null): {
|
|
11
25
|
readonly originalError: Error;
|
|
@@ -20,6 +34,11 @@ export declare const _GrafastError: {
|
|
|
20
34
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
21
35
|
stackTraceLimit: number;
|
|
22
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* DO NOT ALLOW CONSTRUCTION OF ERRORS OUTSIDE OF THIS MODULE!
|
|
39
|
+
*
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
23
42
|
export declare function newGrafastError(error: Error, planId: number | null): {
|
|
24
43
|
readonly originalError: Error;
|
|
25
44
|
extensions: Record<string, any>;
|
|
@@ -29,6 +48,10 @@ export declare function newGrafastError(error: Error, planId: number | null): {
|
|
|
29
48
|
stack?: string | undefined;
|
|
30
49
|
cause?: unknown;
|
|
31
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* Is the given value a GrafastError? This is the only public API that people
|
|
53
|
+
* should use for looking at GrafastErrors.
|
|
54
|
+
*/
|
|
32
55
|
export declare function isGrafastError(value: any): value is GrafastError;
|
|
33
56
|
export declare class SafeError<TExtensions extends Record<string, any> | undefined = Record<string, any> | undefined> extends Error {
|
|
34
57
|
extensions: TExtensions;
|
|
@@ -1,33 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
[$$ts]: number;
|
|
12
|
-
} | {
|
|
13
|
-
[$$timeout]?: undefined;
|
|
14
|
-
[$$ts]?: undefined;
|
|
15
|
-
} | undefined>;
|
|
16
|
-
interface LinkedList<T> {
|
|
17
|
-
value: T;
|
|
18
|
-
next: LinkedList<T> | null;
|
|
19
|
-
}
|
|
20
|
-
interface Cache {
|
|
21
|
-
possibleOperationPlans: LinkedList<OperationPlanOrError> | null;
|
|
22
|
-
fragments: Fragments;
|
|
23
|
-
}
|
|
24
|
-
type CacheByOperation = LRU<OperationDefinitionNode, Cache>;
|
|
25
|
-
declare const $$cacheByOperation: unique symbol;
|
|
26
|
-
declare module "graphql" {
|
|
27
|
-
interface GraphQLSchema {
|
|
28
|
-
[$$cacheByOperation]?: CacheByOperation;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
import type { GraphQLSchema, OperationDefinitionNode } from "graphql";
|
|
2
|
+
import { OperationPlan } from "./index.js";
|
|
3
|
+
import type { BaseGraphQLRootValue, BaseGraphQLVariables, Fragments } from "./interfaces.js";
|
|
4
|
+
/**
|
|
5
|
+
* Implements the `EstablishOpPlan` algorithm.
|
|
6
|
+
*
|
|
7
|
+
* @remarks Though EstablishOpPlan accepts document and operationName, we
|
|
8
|
+
* instead accept operation and fragments since they're easier to get a hold of
|
|
9
|
+
* in GraphQL.js.
|
|
10
|
+
*/
|
|
31
11
|
export declare function establishOperationPlan<TVariables extends BaseGraphQLVariables = BaseGraphQLVariables, TContext extends Grafast.Context = Grafast.Context, TRootValue extends BaseGraphQLRootValue = BaseGraphQLRootValue>(schema: GraphQLSchema, operation: OperationDefinitionNode, fragments: Fragments, variableValues: TVariables, context: TContext, rootValue: TRootValue, planningTimeout?: number | null): OperationPlan;
|
|
32
|
-
export {};
|
|
33
12
|
//# sourceMappingURL=establishOperationPlan.d.ts.map
|
package/dist/execute.d.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { AsyncExecutionResult, ExecutionArgs, ExecutionResult } from "graphql";
|
|
2
2
|
import type { PromiseOrValue } from "graphql/jsutils/PromiseOrValue";
|
|
3
|
+
/**
|
|
4
|
+
* Used by `execute` and `subscribe`.
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
3
7
|
export declare function withGrafastArgs(args: ExecutionArgs, resolvedPreset: GraphileConfig.ResolvedPreset, outputDataAsString: boolean): PromiseOrValue<ExecutionResult | AsyncGenerator<AsyncExecutionResult, void, void>>;
|
|
8
|
+
/**
|
|
9
|
+
* Use this instead of GraphQL.js' execute method and we'll automatically
|
|
10
|
+
* run grafastPrepare for you and handle the result.
|
|
11
|
+
*/
|
|
4
12
|
export declare function execute(args: ExecutionArgs, resolvedPreset?: GraphileConfig.ResolvedPreset, outputDataAsString?: boolean): PromiseOrValue<ExecutionResult | AsyncGenerator<AsyncExecutionResult, void, undefined>>;
|
|
5
13
|
//# sourceMappingURL=execute.d.ts.map
|
package/dist/exportAs.d.ts
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marks that `thing` is exported from the `grafast` module as
|
|
3
|
+
* `exportName` so that `graphile-export` can convert references to `thing`
|
|
4
|
+
* into an `import` statement.
|
|
5
|
+
*
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
1
8
|
export declare function exportAs<T extends object>(moduleName: string, thing: T, exportName: string | string[]): T;
|
|
9
|
+
/**
|
|
10
|
+
* Marks that each value in `all` is exported from the `grafast`
|
|
11
|
+
* module as the key in the `all` object so that `graphile-export` can
|
|
12
|
+
* convert references to these values into `import` statements.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
2
16
|
export declare function exportAsMany(moduleName: string, all: {
|
|
3
17
|
[key: string]: any;
|
|
4
18
|
}): void;
|
package/dist/grafastGraphql.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import type { AsyncExecutionResult, ExecutionResult
|
|
1
|
+
import type { AsyncExecutionResult, ExecutionResult } from "graphql";
|
|
2
2
|
import type { PromiseOrValue } from "graphql/jsutils/PromiseOrValue";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import type { GrafastArgs } from "./interfaces.js";
|
|
4
|
+
/**
|
|
5
|
+
* A replacement for GraphQL.js' `graphql` method that calls Grafast's
|
|
6
|
+
* execute instead
|
|
7
|
+
*/
|
|
8
|
+
export declare function grafast(args: GrafastArgs, legacyResolvedPreset?: GraphileConfig.ResolvedPreset, legacyCtx?: Partial<Grafast.RequestContext>): PromiseOrValue<ExecutionResult | AsyncGenerator<AsyncExecutionResult, void, undefined>>;
|
|
9
|
+
export declare function grafastSync(args: GrafastArgs, legacyResolvedPreset?: GraphileConfig.ResolvedPreset, legacyRequestContext?: Partial<Grafast.RequestContext>): ExecutionResult;
|
|
5
10
|
//# sourceMappingURL=grafastGraphql.d.ts.map
|
package/dist/grafastPrint.d.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
export declare function _grafastPrint(symbol: string | symbol | symbol[] | Record<symbol, any> | Map<any, any>, seen: Set<any>): string;
|
|
2
2
|
export declare function grafastColor(text: string, n: number): string;
|
|
3
|
+
/**
|
|
4
|
+
* Prints something grafast-style (i.e. concise, coloured, with helpful detail)
|
|
5
|
+
*/
|
|
3
6
|
export declare function grafastPrint(symbol: symbol | symbol[] | Record<symbol, any> | Map<any, any> | any): string;
|
|
7
|
+
/**
|
|
8
|
+
* An ANSI-aware pad function; strips ANSI sequences from the string, figures
|
|
9
|
+
* out how much it needs to pad it by, and then pads the original string by
|
|
10
|
+
* that amount.
|
|
11
|
+
*/
|
|
4
12
|
export declare function ansiPad(ansiString: string, targetLength: number, fill: string, position: "start" | "end"): string;
|
|
5
13
|
//# sourceMappingURL=grafastPrint.d.ts.map
|
|
@@ -2,13 +2,35 @@ import type { DirectiveNode, FieldNode, SelectionNode } from "graphql";
|
|
|
2
2
|
import * as graphql from "graphql";
|
|
3
3
|
import type { OperationPlan } from "./engine/OperationPlan.js";
|
|
4
4
|
import type { __TrackedValueStep } from "./steps/index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Given a selection, finds the first directive named `directiveName` and, if
|
|
7
|
+
* found, extracts and returns the value from the argument named
|
|
8
|
+
* `argumentName`, tracking variable access if necessary.
|
|
9
|
+
*
|
|
10
|
+
* @remarks Currently only supports booleans.
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
* PERF: inline.
|
|
15
|
+
*/
|
|
5
16
|
export declare function evalDirectiveArg<T = unknown>(selection: SelectionNode, directiveName: string, argumentName: string, variableValuesStep: __TrackedValueStep, defaultValue: T): T | undefined;
|
|
6
17
|
export declare function evalDirectiveArgDirect<T = unknown>(directive: DirectiveNode, argumentName: string, variableValuesStep: __TrackedValueStep, defaultValue: T): T | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
7
21
|
export interface SelectionSetDigest {
|
|
8
22
|
label: string | undefined;
|
|
9
23
|
fields: Map<string, FieldNode[]>;
|
|
10
24
|
deferred: SelectionSetDigest[] | undefined;
|
|
11
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Implements the `GraphQLCollectFields` algorithm - like `CollectFields` the
|
|
28
|
+
* GraphQL spec, but modified such that access to variables is tracked.
|
|
29
|
+
*
|
|
30
|
+
* @see https://spec.graphql.org/draft/#CollectFields()
|
|
31
|
+
*
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
12
34
|
export declare function graphqlCollectFields(operationPlan: OperationPlan, parentStepId: number, objectType: graphql.GraphQLObjectType, selections: readonly SelectionNode[], isMutation?: boolean, visitedFragments?: {
|
|
13
35
|
[fragmentName: string]: true;
|
|
14
36
|
}, selectionSetDigest?: SelectionSetDigest): SelectionSetDigest;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { FieldNode, GraphQLObjectType, SelectionNode } from "graphql";
|
|
2
2
|
import type { OperationPlan } from "./index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Given a list of polymorphic selections, return a list of the nested field
|
|
5
|
+
* selections that apply to the object type `type`.
|
|
6
|
+
*/
|
|
3
7
|
export declare function fieldSelectionsForType(operationPlan: OperationPlan, type: GraphQLObjectType, selections: ReadonlyArray<SelectionNode>, result?: Array<FieldNode>): ReadonlyArray<FieldNode>;
|
|
4
8
|
//# sourceMappingURL=graphqlMergeSelectionSets.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -9,15 +9,20 @@ import { OperationPlan } from "./engine/OperationPlan.js";
|
|
|
9
9
|
import { GrafastError, isGrafastError, isSafeError, SafeError } from "./error.js";
|
|
10
10
|
import { execute } from "./execute.js";
|
|
11
11
|
import { grafast, grafastSync } from "./grafastGraphql.js";
|
|
12
|
-
import { $$bypassGraphQL, $$eventEmitter, $$extensions, $$idempotent, $$verbatim, ArgumentApplyPlanResolver, ArgumentInputPlanResolver, BaseEventMap, BaseGraphQLArguments, BaseGraphQLRootValue, BaseGraphQLVariables, EnumValueApplyPlanResolver, EventCallback, EventMapKey, ExecutionEventEmitter, ExecutionEventMap, ExecutionExtra, FieldArgs, FieldInfo, FieldPlanResolver, GrafastArgumentConfig,
|
|
12
|
+
import { $$bypassGraphQL, $$eventEmitter, $$extensions, $$idempotent, $$verbatim, ArgumentApplyPlanResolver, ArgumentInputPlanResolver, BaseEventMap, BaseGraphQLArguments, BaseGraphQLRootValue, BaseGraphQLVariables, EnumValueApplyPlanResolver, EventCallback, EventMapKey, ExecutionEventEmitter, ExecutionEventMap, ExecutionExtra, FieldArgs, FieldInfo, FieldPlanResolver, GrafastArgumentConfig, GrafastFieldConfig, GrafastFieldConfigArgumentMap, GrafastInputFieldConfig, GrafastResultsList, GrafastResultStreamList, GrafastSubscriber, GrafastValuesList, InputObjectFieldApplyPlanResolver, InputObjectFieldInputPlanResolver, InputObjectTypeInputPlanResolver, InputStep, JSONArray, JSONObject, JSONValue, NodeIdCodec, NodeIdHandler, OutputPlanForType, PolymorphicData, PromiseOrDirect, ScalarPlanResolver, StepOptimizeOptions, StepStreamOptions, TypedEventEmitter } from "./interfaces.js";
|
|
13
13
|
import { polymorphicWrap } from "./polymorphic.js";
|
|
14
|
-
import { assertListCapableStep, BaseStep, ExecutableStep, isExecutableStep, isListCapableStep, isModifierStep, isObjectLikeStep, isStreamableStep, ListCapableStep, ModifierStep, ObjectLikeStep, PolymorphicStep, StreamableStep, UnbatchedExecutableStep } from "./step.js";
|
|
15
|
-
import { __InputListStep, __InputObjectStep, __InputObjectStepWithDollars, __InputStaticLeafStep, __ItemStep, __ListTransformStep, __TrackedValueStep, __TrackedValueStepWithDollars, __ValueStep, access, AccessStep, ActualKeyByDesiredKey, connection, ConnectionCapableStep, ConnectionStep, constant, ConstantStep, context, debugPlans,
|
|
14
|
+
import { assertExecutableStep, assertListCapableStep, assertModifierStep, BaseStep, ExecutableStep, isExecutableStep, isListCapableStep, isModifierStep, isObjectLikeStep, isStreamableStep, ListCapableStep, ModifierStep, ObjectLikeStep, PolymorphicStep, StreamableStep, UnbatchedExecutableStep } from "./step.js";
|
|
15
|
+
import { __InputListStep, __InputObjectStep, __InputObjectStepWithDollars, __InputStaticLeafStep, __ItemStep, __ListTransformStep, __TrackedValueStep, __TrackedValueStepWithDollars, __ValueStep, access, AccessStep, ActualKeyByDesiredKey, applyTransforms, ApplyTransformsStep, assertEdgeCapableStep, assertPageInfoCapableStep, connection, ConnectionCapableStep, ConnectionStep, constant, ConstantStep, context, debugPlans, each, EdgeCapableStep, EdgeStep, error, ErrorStep, filter, FilterPlanMemo, first, FirstStep, GraphQLItemHandler, graphqlItemHandler, graphqlResolver, GraphQLResolverStep, groupBy, GroupByPlanMemo, lambda, LambdaStep, last, LastStep, list, listen, ListenStep, ListStep, listTransform, ListTransformItemPlanCallback, ListTransformOptions, ListTransformReduce, LoadedRecordStep, loadMany, LoadManyCallback, loadManyCallback, loadOne, LoadOneCallback, loadOneCallback, LoadOptions, LoadStep, node, NodeStep, object, ObjectPlanMeta, ObjectStep, operationPlan, PageInfoCapableStep, partitionByIndex, proxy, ProxyStep, remapKeys, RemapKeysStep, reverse, reverseArray, ReverseStep, setter, SetterCapableStep, SetterStep, specFromNodeId } from "./steps/index.js";
|
|
16
16
|
import { stringifyPayload } from "./stringifyPayload.js";
|
|
17
17
|
import { stripAnsi } from "./stripAnsi.js";
|
|
18
18
|
import { subscribe } from "./subscribe.js";
|
|
19
19
|
import { arrayOfLength, arraysMatch, getEnumValueConfig, GrafastInputFieldConfigMap, GrafastInputObjectType, GrafastObjectType, inputObjectFieldSpec, InputObjectTypeSpec, isPromiseLike, newGrafastFieldConfigBuilder, newInputObjectTypeBuilder, newObjectTypeBuilder, objectFieldSpec, objectSpec, ObjectTypeFields, ObjectTypeSpec, stepADependsOnStepB, stepAMayDependOnStepB, stepsAreInSamePhase } from "./utils.js";
|
|
20
20
|
export { isAsyncIterable } from "iterall";
|
|
21
|
-
export { __InputListStep, __InputObjectStep, __InputObjectStepWithDollars, __InputStaticLeafStep, __ItemStep, __ListTransformStep, __TrackedValueStep, __TrackedValueStepWithDollars, __ValueStep, $$bypassGraphQL, $$eventEmitter, $$extensions, $$idempotent, $$verbatim, access, AccessStep, ActualKeyByDesiredKey, ArgumentApplyPlanResolver, ArgumentInputPlanResolver, arrayOfLength, arraysMatch, assertListCapableStep, BaseEventMap, BaseGraphQLArguments, BaseGraphQLRootValue, BaseGraphQLVariables, BaseStep, connection, ConnectionCapableStep, ConnectionStep, constant, ConstantStep, context, debugPlans,
|
|
21
|
+
export { __InputListStep, __InputObjectStep, __InputObjectStepWithDollars, __InputStaticLeafStep, __ItemStep, __ListTransformStep, __TrackedValueStep, __TrackedValueStepWithDollars, __ValueStep, $$bypassGraphQL, $$eventEmitter, $$extensions, $$idempotent, $$verbatim, access, AccessStep, ActualKeyByDesiredKey, applyTransforms, ApplyTransformsStep, ArgumentApplyPlanResolver, ArgumentInputPlanResolver, arrayOfLength, arraysMatch, assertEdgeCapableStep, assertExecutableStep, assertListCapableStep, assertModifierStep, assertPageInfoCapableStep, BaseEventMap, BaseGraphQLArguments, BaseGraphQLRootValue, BaseGraphQLVariables, BaseStep, connection, ConnectionCapableStep, ConnectionStep, constant, ConstantStep, context, debugPlans, defer, Deferred, each, EdgeCapableStep, EdgeStep, EnumPlans, EnumValueApplyPlanResolver, error, ErrorStep, EventCallback, EventMapKey, ExecutableStep, execute, ExecutionEventEmitter, ExecutionEventMap, ExecutionExtra, exportAs, exportAsMany, FieldArgs, FieldInfo, FieldPlanResolver, FieldPlans, filter, FilterPlanMemo, first, FirstStep, getEnumValueConfig, grafast, GrafastArgumentConfig, GrafastError, GrafastFieldConfig, GrafastFieldConfigArgumentMap, grafast as grafastGraphql, grafastSync as grafastGraphqlSync, GrafastInputFieldConfig, GrafastInputFieldConfigMap, GrafastInputObjectType, GrafastObjectType, GrafastPlans, grafastPrint, GrafastResultsList, GrafastResultStreamList, GrafastSubscriber, grafastSync, GrafastValuesList, GraphQLItemHandler, graphqlItemHandler, graphqlResolver, GraphQLResolverStep, groupBy, GroupByPlanMemo, InputObjectFieldApplyPlanResolver, InputObjectFieldInputPlanResolver, inputObjectFieldSpec, InputObjectPlans, InputObjectTypeInputPlanResolver, InputObjectTypeSpec, InputStep, InterfaceOrUnionPlans, isDev, isExecutableStep, isGrafastError, isListCapableStep, isModifierStep, isObjectLikeStep, isPromiseLike, isSafeError, isStreamableStep, JSONArray, JSONObject, JSONValue, lambda, LambdaStep, last, LastStep, list, ListCapableStep, listen, ListenStep, ListStep, listTransform, ListTransformItemPlanCallback, ListTransformOptions, ListTransformReduce, LoadedRecordStep, loadMany, LoadManyCallback, loadManyCallback, loadOne, LoadOneCallback, loadOneCallback, LoadOptions, LoadStep, makeGrafastSchema, ModifierStep, newGrafastFieldConfigBuilder, newInputObjectTypeBuilder, newObjectTypeBuilder, node, NodeIdCodec, NodeIdHandler, NodeStep, noop, object, objectFieldSpec, ObjectLikeStep, ObjectPlanMeta, ObjectPlans, objectSpec, ObjectStep, ObjectTypeFields, ObjectTypeSpec, OperationPlan, operationPlan, OutputPlanForType, PageInfoCapableStep, partitionByIndex, PolymorphicData, PolymorphicStep, polymorphicWrap, PrintPlanGraphOptions, PromiseOrDirect, proxy, ProxyStep, remapKeys, RemapKeysStep, reverse, reverseArray, ReverseStep, SafeError, ScalarPlanResolver, ScalarPlans, setter, SetterCapableStep, SetterStep, specFromNodeId, stepADependsOnStepB, stepAMayDependOnStepB, StepOptimizeOptions, stepsAreInSamePhase, StepStreamOptions, StreamableStep, stringifyPayload, stripAnsi, subscribe, TypedEventEmitter, UnbatchedExecutableStep, };
|
|
22
22
|
export { hookArgs } from "./args.js";
|
|
23
|
+
export { version } from "./version.js";
|
|
24
|
+
/** @deprecated Renamed to 'applyTransforms' */
|
|
25
|
+
export declare const deepEval: typeof applyTransforms;
|
|
26
|
+
/** @deprecated Renamed to 'ApplyTransformsStep' */
|
|
27
|
+
export declare const DeepEvalStep: typeof ApplyTransformsStep;
|
|
23
28
|
//# sourceMappingURL=index.d.ts.map
|