grafast 0.0.1-alpha.7 → 0.0.1-alpha.9
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/dist/LICENSES.txt +1 -1
- package/dist/engine/StepTracker.d.ts +2 -1
- package/dist/envelop.js +4 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +4 -4
- package/dist/input.d.ts +3 -7
- package/dist/interfaces.d.ts +23 -8
- package/dist/makeGrafastSchema.d.ts +4 -10
- package/dist/mermaid.d.ts +1 -1
- package/dist/operationPlan-input.d.ts +3 -2
- package/dist/steps/__inputList.d.ts +3 -4
- package/dist/steps/__inputObject.d.ts +6 -4
- package/dist/steps/__trackedValue.d.ts +14 -4
- package/dist/steps/connection.d.ts +1 -2
- package/dist/steps/constant.d.ts +1 -0
- package/dist/steps/index.d.ts +2 -2
- package/dist/utils.d.ts +1 -2
- package/package.json +3 -3
package/dist/LICENSES.txt
CHANGED
|
@@ -254,7 +254,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
254
254
|
|
|
255
255
|
|
|
256
256
|
--------------------------------------------------------------------------------
|
|
257
|
-
tamedevil v0.0.0-alpha.
|
|
257
|
+
tamedevil v0.0.0-alpha.3 - Benjie Gillam <benjie@jemjie.com>
|
|
258
258
|
git+https://github.com/graphile/heart.git
|
|
259
259
|
--------------------------------------------------------------------------------
|
|
260
260
|
|
|
@@ -7,7 +7,7 @@ export declare class StepTracker {
|
|
|
7
7
|
stepCount: number;
|
|
8
8
|
activeSteps: Set<ExecutableStep<any>>;
|
|
9
9
|
stepById: {
|
|
10
|
-
[stepId: number]: ExecutableStep;
|
|
10
|
+
[stepId: number]: ExecutableStep | null;
|
|
11
11
|
};
|
|
12
12
|
private aliasesById;
|
|
13
13
|
stepsWithNoDependencies: Set<ExecutableStep<any>>;
|
|
@@ -32,6 +32,7 @@ export declare class StepTracker {
|
|
|
32
32
|
replaceStep($original: ExecutableStep, $replacement: ExecutableStep): void;
|
|
33
33
|
treeShakeSteps(): void;
|
|
34
34
|
private isNotNeeded;
|
|
35
|
+
purgeBackTo(count: number): void;
|
|
35
36
|
private eradicate;
|
|
36
37
|
moveStepToLayerPlan(step: ExecutableStep, targetLayerPlan: LayerPlan): void;
|
|
37
38
|
addStepToItsLayerPlan(step: ExecutableStep): void;
|
package/dist/envelop.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { Buffer } = require('node:buffer');
|
|
2
2
|
const { scryptSync, createDecipheriv } = require('node:crypto');
|
|
3
3
|
const pkgName = "grafast";
|
|
4
|
-
const pkgVersion = "0.0.1-alpha.
|
|
4
|
+
const pkgVersion = "0.0.1-alpha.9";
|
|
5
5
|
|
|
6
6
|
const RESET = '\x1b[0m';
|
|
7
7
|
const BOLD_BLACK_ON_RED = '\x1b[40;31;1;7m';
|
|
@@ -28,12 +28,12 @@ if (typeof password !== 'string') {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
const algorithm = "aes-192-cbc";
|
|
31
|
-
const salt = "We wouldn't be able to do so much OSS without sponsorship.
|
|
31
|
+
const salt = "We wouldn't be able to do so much OSS without sponsorship. 8585103646644423";
|
|
32
32
|
const key = scryptSync(password, salt, 24);
|
|
33
|
-
const ivBuffer = Buffer.from("
|
|
33
|
+
const ivBuffer = Buffer.from("iqQBrlQhhzLygmT7ks2rJQ==", "base64");
|
|
34
34
|
const iv = new Uint8Array(ivBuffer.buffer, ivBuffer.byteOffset, ivBuffer.length);
|
|
35
35
|
const decipher = createDecipheriv(algorithm, key, iv);
|
|
36
|
-
const encrypted = "
|
|
36
|
+
const encrypted = "AmT/IOgDt1FGoVOYzAKMlZupq/MPvSJrqBAW/mdLvRna1yQ6KzmfFYwF9hObAuhFTPr5QH8bQEvB1MLD7WBfCLpYAR6Txzi5DIuIAnHNMpFIR6Umv7heJsn4w/UmO38gKoXsDvJgAhBARl1DiKDa8lPOQntQVZbFSGKjIZ9gz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YWFXDH9M4FbuS/ty/doZx2ejvU6LjXgLQ+ubzIxB/nJzhg7dQ3NbuJ0eTghimMtuzrbg8nraTZXRwTgR5sglbcu/ZoxKDWdMV2Nms8X2c80RYOpbGtKz4rWmLJng3TJyb6jHXXAjcQ/fEMEsaBbO2X0a+6Q3lKTOG5xZkrwvEWOXH75zZ7qfxQZ78Jaq4V50PH2n6M1gIWI6ULCrDW2jvxePC1Ei4zLHeys/6IDYvBbIh5GzHf1aCVQswvPI754E/6QPAb1FVofpkSET/vGb6B1jTzbTeOuFm7Luiw+QIvkaBi3PPhBOEMFmje5BUpb5kUfdF1xeQraAY5PWbuUBDTMtij2D1zeDYVRPGVIlEXlPw8xXUxzYhtFGpCxTFdwes+oj9WbLQowr+mfZoh9kbyVAVrzVfiUcfA71alYRbgz6CQeK8JNzepN4U4ntdJQGphpiDViZnPHkAfEp/PCWekxRt09VqsafxyskQlvqPgVcGNG/EvtJmZ+lZCa9+jgPdT9KqFaeVXBfH9TtuxUoKskIjf/qLckjLodsij6gowMm45laF4BZxuK1FJozOHaJmmeeA="
|
|
37
37
|
let decrypted;
|
|
38
38
|
try {
|
|
39
39
|
decrypted = decipher.update(encrypted, 'base64', 'utf8') + decipher.final('utf8');
|
package/dist/index.d.ts
CHANGED
|
@@ -9,16 +9,15 @@ 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 { InputStep } from "./
|
|
13
|
-
import { $$bypassGraphQL, $$eventEmitter, $$extensions, $$idempotent, $$verbatim, ArgumentApplyPlanResolver, ArgumentInputPlanResolver, BaseEventMap, BaseGraphQLArguments, BaseGraphQLRootValue, BaseGraphQLVariables, EnumValueApplyPlanResolver, EventCallback, EventMapKey, ExecutionEventEmitter, ExecutionEventMap, ExecutionExtra, FieldArgs, FieldInfo, FieldPlanResolver, GrafastArgumentConfig, GrafastArgumentExtensions, GrafastEnumValueExtensions, GrafastFieldConfig, GrafastFieldConfigArgumentMap, GrafastFieldExtensions, GrafastInputFieldConfig, GrafastInputFieldExtensions, GrafastObjectTypeExtensions, GrafastResultsList, GrafastResultStreamList, GrafastSubscriber, GrafastValuesList, InputObjectFieldApplyPlanResolver, InputObjectFieldInputPlanResolver, InputObjectTypeInputPlanResolver, JSONArray, JSONObject, JSONValue, NodeIdCodec, NodeIdHandler, OutputPlanForType, PolymorphicData, PromiseOrDirect, ScalarPlanResolver, StepOptimizeOptions, StepStreamOptions, TypedEventEmitter } from "./interfaces.js";
|
|
12
|
+
import { $$bypassGraphQL, $$eventEmitter, $$extensions, $$idempotent, $$verbatim, ArgumentApplyPlanResolver, ArgumentInputPlanResolver, BaseEventMap, BaseGraphQLArguments, BaseGraphQLRootValue, BaseGraphQLVariables, EnumValueApplyPlanResolver, EventCallback, EventMapKey, ExecutionEventEmitter, ExecutionEventMap, ExecutionExtra, FieldArgs, FieldInfo, FieldPlanResolver, GrafastArgumentConfig, GrafastArgumentExtensions, GrafastEnumValueExtensions, GrafastFieldConfig, GrafastFieldConfigArgumentMap, GrafastFieldExtensions, GrafastInputFieldConfig, GrafastInputFieldExtensions, GrafastObjectTypeExtensions, GrafastResultsList, GrafastResultStreamList, GrafastSubscriber, GrafastValuesList, InputObjectFieldApplyPlanResolver, InputObjectFieldInputPlanResolver, InputObjectTypeInputPlanResolver, InputStep, JSONArray, JSONObject, JSONValue, NodeIdCodec, NodeIdHandler, OutputPlanForType, PolymorphicData, PromiseOrDirect, ScalarPlanResolver, StepOptimizeOptions, StepStreamOptions, TypedEventEmitter } from "./interfaces.js";
|
|
14
13
|
import { polymorphicWrap } from "./polymorphic.js";
|
|
15
14
|
import { assertListCapableStep, BaseStep, ExecutableStep, isExecutableStep, isListCapableStep, isModifierStep, isObjectLikeStep, isStreamableStep, ListCapableStep, ModifierStep, ObjectLikeStep, PolymorphicStep, StreamableStep, UnbatchedExecutableStep } from "./step.js";
|
|
16
|
-
import { __InputListStep, __InputObjectStep, __InputStaticLeafStep, __ItemStep, __ListTransformStep, __TrackedValueStep, __ValueStep, access, AccessStep, ActualKeyByDesiredKey, connection, ConnectionCapableStep, ConnectionStep, constant, ConstantStep, context, debugPlans, deepEval, DeepEvalStep, 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";
|
|
15
|
+
import { __InputListStep, __InputObjectStep, __InputObjectStepWithDollars, __InputStaticLeafStep, __ItemStep, __ListTransformStep, __TrackedValueStep, __TrackedValueStepWithDollars, __ValueStep, access, AccessStep, ActualKeyByDesiredKey, connection, ConnectionCapableStep, ConnectionStep, constant, ConstantStep, context, debugPlans, deepEval, DeepEvalStep, 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";
|
|
17
16
|
import { stringifyPayload } from "./stringifyPayload.js";
|
|
18
17
|
import { stripAnsi } from "./stripAnsi.js";
|
|
19
18
|
import { subscribe } from "./subscribe.js";
|
|
20
19
|
import { arrayOfLength, arraysMatch, getEnumValueConfig, GrafastInputFieldConfigMap, GrafastInputObjectType, GrafastObjectType, inputObjectFieldSpec, InputObjectTypeSpec, isPromiseLike, newGrafastFieldConfigBuilder, newInputObjectTypeBuilder, newObjectTypeBuilder, objectFieldSpec, objectSpec, ObjectTypeFields, ObjectTypeSpec, stepADependsOnStepB, stepAMayDependOnStepB, stepsAreInSamePhase } from "./utils.js";
|
|
21
20
|
export { isAsyncIterable } from "iterall";
|
|
22
|
-
export { __InputListStep, __InputObjectStep, __InputStaticLeafStep, __ItemStep, __ListTransformStep, __TrackedValueStep, __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, deepEval, DeepEvalStep, 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, GrafastArgumentExtensions, GrafastEnumValueExtensions, GrafastError, GrafastFieldConfig, GrafastFieldConfigArgumentMap, GrafastFieldExtensions, grafast as grafastGraphql, grafastSync as grafastGraphqlSync, GrafastInputFieldConfig, GrafastInputFieldConfigMap, GrafastInputFieldExtensions, GrafastInputObjectType, GrafastObjectType, GrafastObjectTypeExtensions, 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, };
|
|
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, deepEval, DeepEvalStep, 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, GrafastArgumentExtensions, GrafastEnumValueExtensions, GrafastError, GrafastFieldConfig, GrafastFieldConfigArgumentMap, GrafastFieldExtensions, grafast as grafastGraphql, grafastSync as grafastGraphqlSync, GrafastInputFieldConfig, GrafastInputFieldConfigMap, GrafastInputFieldExtensions, GrafastInputObjectType, GrafastObjectType, GrafastObjectTypeExtensions, 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, };
|
|
23
22
|
export { hookArgs } from "./args.js";
|
|
24
23
|
//# sourceMappingURL=index.d.ts.map
|