@graphitation/supermassive 2.5.0 → 3.0.0-alpha.1
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/.eslintcache +1 -1
- package/CHANGELOG.md +18 -2
- package/lib/benchmarks/index.js +2 -2
- package/lib/benchmarks/index.js.map +2 -2
- package/lib/benchmarks/index.mjs +2 -2
- package/lib/benchmarks/index.mjs.map +2 -2
- package/lib/benchmarks/swapi-schema/index.d.ts +4 -2
- package/lib/benchmarks/swapi-schema/index.d.ts.map +1 -1
- package/lib/benchmarks/swapi-schema/index.js +8 -2
- package/lib/benchmarks/swapi-schema/index.js.map +2 -2
- package/lib/benchmarks/swapi-schema/index.mjs +8 -2
- package/lib/benchmarks/swapi-schema/index.mjs.map +2 -2
- package/lib/benchmarks/swapi-schema/makeExecutableSchema.d.ts +7 -0
- package/lib/benchmarks/swapi-schema/makeExecutableSchema.d.ts.map +1 -0
- package/lib/benchmarks/swapi-schema/makeExecutableSchema.js +916 -0
- package/lib/benchmarks/swapi-schema/makeExecutableSchema.js.map +7 -0
- package/lib/benchmarks/swapi-schema/makeExecutableSchema.mjs +903 -0
- package/lib/benchmarks/swapi-schema/makeExecutableSchema.mjs.map +7 -0
- package/lib/benchmarks/swapi-schema/resolvers.d.ts.map +1 -1
- package/lib/benchmarks/swapi-schema/resolvers.js +53 -17
- package/lib/benchmarks/swapi-schema/resolvers.js.map +2 -2
- package/lib/benchmarks/swapi-schema/resolvers.mjs +54 -18
- package/lib/benchmarks/swapi-schema/resolvers.mjs.map +2 -2
- package/lib/collectFields.d.ts +28 -6
- package/lib/collectFields.d.ts.map +1 -1
- package/lib/collectFields.js +155 -28
- package/lib/collectFields.js.map +3 -3
- package/lib/collectFields.mjs +150 -29
- package/lib/collectFields.mjs.map +2 -2
- package/lib/definition.js +1 -1
- package/lib/definition.js.map +2 -2
- package/lib/definition.mjs +1 -1
- package/lib/definition.mjs.map +2 -2
- package/lib/directives.d.ts +2 -73
- package/lib/directives.d.ts.map +1 -1
- package/lib/directives.js +10 -123
- package/lib/directives.js.map +2 -2
- package/lib/directives.mjs +13 -122
- package/lib/directives.mjs.map +2 -2
- package/lib/executeWithoutSchema.d.ts +50 -13
- package/lib/executeWithoutSchema.d.ts.map +1 -1
- package/lib/executeWithoutSchema.js +1038 -184
- package/lib/executeWithoutSchema.js.map +3 -3
- package/lib/executeWithoutSchema.mjs +1049 -186
- package/lib/executeWithoutSchema.mjs.map +3 -3
- package/lib/extractImplicitTypesRuntime.js +2 -2
- package/lib/extractImplicitTypesRuntime.js.map +2 -2
- package/lib/extractImplicitTypesRuntime.mjs +2 -2
- package/lib/extractImplicitTypesRuntime.mjs.map +2 -2
- package/lib/hooks/types.d.ts +1 -1
- package/lib/hooks/types.d.ts.map +1 -1
- package/lib/index.d.ts +4 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -1
- package/lib/index.js.map +2 -2
- package/lib/index.mjs +4 -1
- package/lib/index.mjs.map +2 -2
- package/lib/jsutils/AccumulatorMap.d.ts +8 -0
- package/lib/jsutils/AccumulatorMap.d.ts.map +1 -0
- package/lib/jsutils/AccumulatorMap.js +36 -0
- package/lib/jsutils/AccumulatorMap.js.map +7 -0
- package/lib/jsutils/AccumulatorMap.mjs +17 -0
- package/lib/jsutils/AccumulatorMap.mjs.map +7 -0
- package/lib/jsutils/Maybe.d.ts +1 -1
- package/lib/jsutils/Maybe.d.ts.map +1 -1
- package/lib/jsutils/ObjMap.d.ts +2 -2
- package/lib/jsutils/ObjMap.d.ts.map +1 -1
- package/lib/jsutils/PromiseOrValue.d.ts +1 -1
- package/lib/jsutils/PromiseOrValue.d.ts.map +1 -1
- package/lib/jsutils/didYouMean.d.ts +1 -2
- package/lib/jsutils/didYouMean.d.ts.map +1 -1
- package/lib/jsutils/didYouMean.js.map +2 -2
- package/lib/jsutils/didYouMean.mjs.map +2 -2
- package/lib/jsutils/instanceOf.js.map +2 -2
- package/lib/jsutils/instanceOf.mjs.map +2 -2
- package/lib/subscribeWithSchema.d.ts +3 -2
- package/lib/subscribeWithSchema.d.ts.map +1 -1
- package/lib/subscribeWithSchema.js.map +2 -2
- package/lib/subscribeWithSchema.mjs.map +2 -2
- package/lib/subscribeWithoutSchema.d.ts +3 -35
- package/lib/subscribeWithoutSchema.d.ts.map +1 -1
- package/lib/subscribeWithoutSchema.js +1 -163
- package/lib/subscribeWithoutSchema.js.map +2 -2
- package/lib/subscribeWithoutSchema.mjs +2 -175
- package/lib/subscribeWithoutSchema.mjs.map +2 -2
- package/lib/supermassive-ast/TypedAST.d.ts +370 -0
- package/lib/supermassive-ast/TypedAST.d.ts.map +1 -0
- package/lib/supermassive-ast/TypedAST.js +29 -0
- package/lib/supermassive-ast/TypedAST.js.map +7 -0
- package/lib/supermassive-ast/TypedAST.mjs +10 -0
- package/lib/supermassive-ast/TypedAST.mjs.map +7 -0
- package/lib/supermassive-ast/addTypesToRequestDocument.d.ts +56 -0
- package/lib/supermassive-ast/addTypesToRequestDocument.d.ts.map +1 -0
- package/lib/supermassive-ast/addTypesToRequestDocument.js +473 -0
- package/lib/supermassive-ast/addTypesToRequestDocument.js.map +7 -0
- package/lib/supermassive-ast/addTypesToRequestDocument.mjs +463 -0
- package/lib/supermassive-ast/addTypesToRequestDocument.mjs.map +7 -0
- package/lib/supermassive-ast/annotateDocumentGraphQLTransform.d.ts +3 -0
- package/lib/supermassive-ast/annotateDocumentGraphQLTransform.d.ts.map +1 -0
- package/lib/supermassive-ast/annotateDocumentGraphQLTransform.js +34 -0
- package/lib/supermassive-ast/annotateDocumentGraphQLTransform.js.map +7 -0
- package/lib/supermassive-ast/annotateDocumentGraphQLTransform.mjs +17 -0
- package/lib/supermassive-ast/annotateDocumentGraphQLTransform.mjs.map +7 -0
- package/lib/supermassive-ast/directives.d.ts +36 -0
- package/lib/supermassive-ast/directives.d.ts.map +1 -0
- package/lib/supermassive-ast/directives.js +165 -0
- package/lib/supermassive-ast/directives.js.map +7 -0
- package/lib/supermassive-ast/directives.mjs +153 -0
- package/lib/supermassive-ast/directives.mjs.map +7 -0
- package/lib/supermassive-ast/index.d.ts +6 -0
- package/lib/supermassive-ast/index.d.ts.map +1 -0
- package/lib/supermassive-ast/index.js +37 -0
- package/lib/supermassive-ast/index.js.map +7 -0
- package/lib/supermassive-ast/index.mjs +27 -0
- package/lib/supermassive-ast/index.mjs.map +7 -0
- package/lib/types.d.ts +80 -24
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +14 -0
- package/lib/types.js.map +2 -2
- package/lib/types.mjs +11 -0
- package/lib/types.mjs.map +3 -3
- package/lib/utilities/mergeResolvers.d.ts +1 -1
- package/lib/utilities/mergeResolvers.d.ts.map +1 -1
- package/lib/utilities/mergeResolvers.js.map +2 -2
- package/lib/utilities/mergeResolvers.mjs.map +2 -2
- package/lib/utilities/typeNameFromAST.d.ts +1 -1
- package/lib/utilities/typeNameFromAST.d.ts.map +1 -1
- package/lib/utilities/typeNameFromAST.js.map +1 -1
- package/lib/utilities/typeNameFromAST.mjs.map +1 -1
- package/lib/values.d.ts +3 -4
- package/lib/values.d.ts.map +1 -1
- package/lib/values.js +10 -14
- package/lib/values.js.map +2 -2
- package/lib/values.mjs +10 -14
- package/lib/values.mjs.map +2 -2
- package/package.json +4 -9
|
@@ -1,181 +1,8 @@
|
|
|
1
|
-
var __async = (__this, __arguments, generator) => {
|
|
2
|
-
return new Promise((resolve, reject) => {
|
|
3
|
-
var fulfilled = (value) => {
|
|
4
|
-
try {
|
|
5
|
-
step(generator.next(value));
|
|
6
|
-
} catch (e) {
|
|
7
|
-
reject(e);
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
var rejected = (value) => {
|
|
11
|
-
try {
|
|
12
|
-
step(generator.throw(value));
|
|
13
|
-
} catch (e) {
|
|
14
|
-
reject(e);
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
18
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
|
|
22
1
|
// src/subscribeWithoutSchema.ts
|
|
23
|
-
import {
|
|
24
|
-
import { isAsyncIterable } from "./jsutils/isAsyncIterable.mjs";
|
|
25
|
-
import { addPath, pathToArray } from "./jsutils/Path.mjs";
|
|
26
|
-
import {
|
|
27
|
-
GraphQLError,
|
|
28
|
-
locatedError,
|
|
29
|
-
Kind
|
|
30
|
-
} from "graphql";
|
|
31
|
-
import {
|
|
32
|
-
assertValidExecutionArguments,
|
|
33
|
-
buildExecutionContext,
|
|
34
|
-
buildResolveInfo,
|
|
35
|
-
executeWithoutSchema,
|
|
36
|
-
getOperationRootTypeName
|
|
37
|
-
} from "./executeWithoutSchema.mjs";
|
|
38
|
-
import { collectFields } from "./collectFields.mjs";
|
|
39
|
-
import { getArgumentValues } from "./values.mjs";
|
|
40
|
-
import { typeNameFromAST } from "./utilities/typeNameFromAST.mjs";
|
|
41
|
-
import { mergeResolvers } from "./utilities/mergeResolvers.mjs";
|
|
42
|
-
import { mapAsyncIterator } from "./utilities/mapAsyncIterator.mjs";
|
|
2
|
+
import { executeWithoutSchema } from "./executeWithoutSchema.mjs";
|
|
43
3
|
function subscribeWithoutSchema(args) {
|
|
44
|
-
return
|
|
45
|
-
const {
|
|
46
|
-
resolvers,
|
|
47
|
-
schemaResolvers,
|
|
48
|
-
document,
|
|
49
|
-
rootValue,
|
|
50
|
-
contextValue,
|
|
51
|
-
variableValues,
|
|
52
|
-
operationName,
|
|
53
|
-
fieldResolver,
|
|
54
|
-
subscribeFieldResolver
|
|
55
|
-
} = args;
|
|
56
|
-
const combinedResolvers = schemaResolvers ? mergeResolvers(resolvers, schemaResolvers) : resolvers;
|
|
57
|
-
const resultOrStream = yield createSourceEventStream(
|
|
58
|
-
combinedResolvers,
|
|
59
|
-
document,
|
|
60
|
-
rootValue,
|
|
61
|
-
contextValue,
|
|
62
|
-
variableValues,
|
|
63
|
-
operationName,
|
|
64
|
-
subscribeFieldResolver
|
|
65
|
-
);
|
|
66
|
-
if (!isAsyncIterable(resultOrStream)) {
|
|
67
|
-
return resultOrStream;
|
|
68
|
-
}
|
|
69
|
-
const mapSourceToResponse = (payload) => executeWithoutSchema({
|
|
70
|
-
resolvers,
|
|
71
|
-
schemaResolvers,
|
|
72
|
-
document,
|
|
73
|
-
rootValue: payload,
|
|
74
|
-
contextValue,
|
|
75
|
-
variableValues,
|
|
76
|
-
operationName,
|
|
77
|
-
fieldResolver
|
|
78
|
-
});
|
|
79
|
-
return mapAsyncIterator(resultOrStream, mapSourceToResponse);
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
function createSourceEventStream(resolvers, document, rootValue, contextValue, variableValues, operationName, fieldResolver) {
|
|
83
|
-
return __async(this, null, function* () {
|
|
84
|
-
assertValidExecutionArguments(document, variableValues);
|
|
85
|
-
try {
|
|
86
|
-
const exeContext = buildExecutionContext(
|
|
87
|
-
resolvers,
|
|
88
|
-
document,
|
|
89
|
-
rootValue,
|
|
90
|
-
contextValue,
|
|
91
|
-
variableValues,
|
|
92
|
-
operationName,
|
|
93
|
-
fieldResolver
|
|
94
|
-
);
|
|
95
|
-
if (!("resolvers" in exeContext)) {
|
|
96
|
-
return { errors: exeContext };
|
|
97
|
-
}
|
|
98
|
-
const eventStream = yield executeSubscription(exeContext);
|
|
99
|
-
if (!isAsyncIterable(eventStream)) {
|
|
100
|
-
throw new Error(
|
|
101
|
-
`Subscription field must return Async Iterable. Received: ${inspect(eventStream)}.`
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
return eventStream;
|
|
105
|
-
} catch (error) {
|
|
106
|
-
if (error instanceof GraphQLError) {
|
|
107
|
-
return { errors: [error] };
|
|
108
|
-
}
|
|
109
|
-
throw error;
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
function executeSubscription(exeContext) {
|
|
114
|
-
return __async(this, null, function* () {
|
|
115
|
-
const { resolvers, fragments, operation, variableValues, rootValue } = exeContext;
|
|
116
|
-
const typeName = getOperationRootTypeName(operation);
|
|
117
|
-
const fields = collectFields(
|
|
118
|
-
resolvers,
|
|
119
|
-
fragments,
|
|
120
|
-
variableValues,
|
|
121
|
-
typeName,
|
|
122
|
-
operation.selectionSet,
|
|
123
|
-
/* @__PURE__ */ new Map(),
|
|
124
|
-
/* @__PURE__ */ new Set()
|
|
125
|
-
);
|
|
126
|
-
const [responseName, fieldNodes] = [...fields.entries()][0];
|
|
127
|
-
const fieldName = fieldNodes[0].name.value;
|
|
128
|
-
let resolveFn;
|
|
129
|
-
let returnTypeName;
|
|
130
|
-
let returnTypeNode;
|
|
131
|
-
if (fieldName === "__typename" && !resolveFn) {
|
|
132
|
-
resolveFn = () => typeName;
|
|
133
|
-
returnTypeName = "String";
|
|
134
|
-
returnTypeNode = {
|
|
135
|
-
kind: Kind.NAMED_TYPE,
|
|
136
|
-
name: {
|
|
137
|
-
kind: Kind.NAME,
|
|
138
|
-
value: "String"
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
} else {
|
|
142
|
-
returnTypeNode = fieldNodes[0].__type;
|
|
143
|
-
returnTypeName = typeNameFromAST(returnTypeNode);
|
|
144
|
-
const typeResolvers = exeContext.resolvers[typeName];
|
|
145
|
-
const fieldResolver = typeResolvers == null ? void 0 : typeResolvers[fieldName];
|
|
146
|
-
resolveFn = fieldResolver == null ? void 0 : fieldResolver.subscribe;
|
|
147
|
-
}
|
|
148
|
-
if (!resolveFn) {
|
|
149
|
-
resolveFn = exeContext.fieldResolver;
|
|
150
|
-
}
|
|
151
|
-
const path = addPath(void 0, responseName, typeName);
|
|
152
|
-
const info = buildResolveInfo(
|
|
153
|
-
exeContext,
|
|
154
|
-
fieldName,
|
|
155
|
-
fieldNodes,
|
|
156
|
-
typeName,
|
|
157
|
-
returnTypeName,
|
|
158
|
-
returnTypeNode,
|
|
159
|
-
path
|
|
160
|
-
);
|
|
161
|
-
try {
|
|
162
|
-
const args = getArgumentValues(resolvers, fieldNodes[0], variableValues);
|
|
163
|
-
const contextValue = exeContext.contextValue;
|
|
164
|
-
const eventStream = yield resolveFn(rootValue, args, contextValue, info);
|
|
165
|
-
if (eventStream instanceof Error) {
|
|
166
|
-
throw eventStream;
|
|
167
|
-
}
|
|
168
|
-
return eventStream;
|
|
169
|
-
} catch (error) {
|
|
170
|
-
throw locatedError(
|
|
171
|
-
error,
|
|
172
|
-
fieldNodes,
|
|
173
|
-
pathToArray(path)
|
|
174
|
-
);
|
|
175
|
-
}
|
|
176
|
-
});
|
|
4
|
+
return executeWithoutSchema(args);
|
|
177
5
|
}
|
|
178
6
|
export {
|
|
179
|
-
createSourceEventStream,
|
|
180
7
|
subscribeWithoutSchema
|
|
181
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/subscribeWithoutSchema.ts"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { executeWithoutSchema } from \"./executeWithoutSchema\";\n\nimport { ExecutionWithoutSchemaArgs, ExecutionResult } from \"./types\";\nimport type { PromiseOrValue } from \"./jsutils/PromiseOrValue\";\n\n/**\n * Implements the \"Subscribe\" algorithm described in the GraphQL specification.\n *\n * Returns a Promise which resolves to either an AsyncIterator (if successful)\n * or an ExecutionResult (error). The promise will be rejected if the schema or\n * other arguments to this function are invalid, or if the resolved event stream\n * is not an async iterable.\n *\n * If the client-provided arguments to this function do not result in a\n * compliant subscription, a GraphQL Response (ExecutionResult) with\n * descriptive errors and no data will be returned.\n *\n * If the source stream could not be created due to faulty subscription\n * resolver logic or underlying systems, the promise will resolve to a single\n * ExecutionResult containing `errors` and no `data`.\n *\n * If the operation succeeded, the promise resolves to an AsyncIterator, which\n * yields a stream of ExecutionResults representing the response stream.\n *\n * Accepts either an object with named arguments, or individual arguments.\n */\nexport function subscribeWithoutSchema(\n args: ExecutionWithoutSchemaArgs,\n): PromiseOrValue<ExecutionResult> {\n return executeWithoutSchema(args);\n}\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,4BAA4B;AA0B9B,SAAS,uBACd,MACiC;AACjC,SAAO,qBAAqB,IAAI;AAClC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Taken from node_modules/graphql/language/ast.d.ts
|
|
3
|
+
* License: MIT License
|
|
4
|
+
* Copyright (c): GraphQL Contributors
|
|
5
|
+
*
|
|
6
|
+
* Our changes MUST be annotated inline for ease of future merging.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* [SUPERMASSIVE]
|
|
10
|
+
*
|
|
11
|
+
* We don't need `Location`, `Token`, and `isNode` , so remove it and its dependencies.
|
|
12
|
+
*/
|
|
13
|
+
type Location = unknown;
|
|
14
|
+
/**
|
|
15
|
+
* The list of all possible AST node types.
|
|
16
|
+
*/
|
|
17
|
+
export type ASTNode = NameNode | DocumentNode | OperationDefinitionNode | VariableDefinitionNode | VariableNode | SelectionSetNode | FieldNode | ArgumentNode | FragmentSpreadNode | InlineFragmentNode | FragmentDefinitionNode | IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | NullValueNode | EnumValueNode | ListValueNode | ObjectValueNode | ObjectFieldNode | DirectiveNode | NamedTypeNode | ListTypeNode | NonNullTypeNode | SchemaDefinitionNode | OperationTypeDefinitionNode | ScalarTypeDefinitionNode | ObjectTypeDefinitionNode | FieldDefinitionNode | InputValueDefinitionNode | InterfaceTypeDefinitionNode | UnionTypeDefinitionNode | EnumTypeDefinitionNode | EnumValueDefinitionNode | InputObjectTypeDefinitionNode | DirectiveDefinitionNode | SchemaExtensionNode | ScalarTypeExtensionNode | ObjectTypeExtensionNode | InterfaceTypeExtensionNode | UnionTypeExtensionNode | EnumTypeExtensionNode | InputObjectTypeExtensionNode;
|
|
18
|
+
/**
|
|
19
|
+
* Utility type listing all nodes indexed by their kind.
|
|
20
|
+
*/
|
|
21
|
+
export interface ASTKindToNode {
|
|
22
|
+
Name: NameNode;
|
|
23
|
+
Document: DocumentNode;
|
|
24
|
+
OperationDefinition: OperationDefinitionNode;
|
|
25
|
+
VariableDefinition: VariableDefinitionNode;
|
|
26
|
+
Variable: VariableNode;
|
|
27
|
+
SelectionSet: SelectionSetNode;
|
|
28
|
+
Field: FieldNode;
|
|
29
|
+
Argument: ArgumentNode;
|
|
30
|
+
FragmentSpread: FragmentSpreadNode;
|
|
31
|
+
InlineFragment: InlineFragmentNode;
|
|
32
|
+
FragmentDefinition: FragmentDefinitionNode;
|
|
33
|
+
IntValue: IntValueNode;
|
|
34
|
+
FloatValue: FloatValueNode;
|
|
35
|
+
StringValue: StringValueNode;
|
|
36
|
+
BooleanValue: BooleanValueNode;
|
|
37
|
+
NullValue: NullValueNode;
|
|
38
|
+
EnumValue: EnumValueNode;
|
|
39
|
+
ListValue: ListValueNode;
|
|
40
|
+
ObjectValue: ObjectValueNode;
|
|
41
|
+
ObjectField: ObjectFieldNode;
|
|
42
|
+
Directive: DirectiveNode;
|
|
43
|
+
NamedType: NamedTypeNode;
|
|
44
|
+
ListType: ListTypeNode;
|
|
45
|
+
NonNullType: NonNullTypeNode;
|
|
46
|
+
SchemaDefinition: SchemaDefinitionNode;
|
|
47
|
+
OperationTypeDefinition: OperationTypeDefinitionNode;
|
|
48
|
+
ScalarTypeDefinition: ScalarTypeDefinitionNode;
|
|
49
|
+
ObjectTypeDefinition: ObjectTypeDefinitionNode;
|
|
50
|
+
FieldDefinition: FieldDefinitionNode;
|
|
51
|
+
InputValueDefinition: InputValueDefinitionNode;
|
|
52
|
+
InterfaceTypeDefinition: InterfaceTypeDefinitionNode;
|
|
53
|
+
UnionTypeDefinition: UnionTypeDefinitionNode;
|
|
54
|
+
EnumTypeDefinition: EnumTypeDefinitionNode;
|
|
55
|
+
EnumValueDefinition: EnumValueDefinitionNode;
|
|
56
|
+
InputObjectTypeDefinition: InputObjectTypeDefinitionNode;
|
|
57
|
+
DirectiveDefinition: DirectiveDefinitionNode;
|
|
58
|
+
SchemaExtension: SchemaExtensionNode;
|
|
59
|
+
ScalarTypeExtension: ScalarTypeExtensionNode;
|
|
60
|
+
ObjectTypeExtension: ObjectTypeExtensionNode;
|
|
61
|
+
InterfaceTypeExtension: InterfaceTypeExtensionNode;
|
|
62
|
+
UnionTypeExtension: UnionTypeExtensionNode;
|
|
63
|
+
EnumTypeExtension: EnumTypeExtensionNode;
|
|
64
|
+
InputObjectTypeExtension: InputObjectTypeExtensionNode;
|
|
65
|
+
}
|
|
66
|
+
export interface NameNode {
|
|
67
|
+
readonly kind: "Name";
|
|
68
|
+
readonly loc?: Location;
|
|
69
|
+
readonly value: string;
|
|
70
|
+
}
|
|
71
|
+
export interface DocumentNode {
|
|
72
|
+
readonly kind: "Document";
|
|
73
|
+
readonly loc?: Location;
|
|
74
|
+
readonly definitions: ReadonlyArray<DefinitionNode>;
|
|
75
|
+
}
|
|
76
|
+
export type DefinitionNode = ExecutableDefinitionNode | TypeSystemDefinitionNode | TypeSystemExtensionNode;
|
|
77
|
+
export type ExecutableDefinitionNode = OperationDefinitionNode | FragmentDefinitionNode;
|
|
78
|
+
export interface OperationDefinitionNode {
|
|
79
|
+
readonly kind: "OperationDefinition";
|
|
80
|
+
readonly loc?: Location;
|
|
81
|
+
readonly operation: OperationTypeNode;
|
|
82
|
+
readonly name?: NameNode;
|
|
83
|
+
readonly variableDefinitions?: ReadonlyArray<VariableDefinitionNode>;
|
|
84
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
85
|
+
readonly selectionSet: SelectionSetNode;
|
|
86
|
+
}
|
|
87
|
+
export declare enum OperationTypeNode {
|
|
88
|
+
QUERY = "query",
|
|
89
|
+
MUTATION = "mutation",
|
|
90
|
+
SUBSCRIPTION = "subscription"
|
|
91
|
+
}
|
|
92
|
+
export interface VariableDefinitionNode {
|
|
93
|
+
readonly kind: "VariableDefinition";
|
|
94
|
+
readonly loc?: Location;
|
|
95
|
+
readonly variable: VariableNode;
|
|
96
|
+
readonly type: TypeNode;
|
|
97
|
+
readonly defaultValue?: ValueNode;
|
|
98
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
99
|
+
}
|
|
100
|
+
export interface VariableNode {
|
|
101
|
+
readonly kind: "Variable";
|
|
102
|
+
readonly loc?: Location;
|
|
103
|
+
readonly name: NameNode;
|
|
104
|
+
}
|
|
105
|
+
export interface SelectionSetNode {
|
|
106
|
+
kind: "SelectionSet";
|
|
107
|
+
loc?: Location;
|
|
108
|
+
selections: ReadonlyArray<SelectionNode>;
|
|
109
|
+
}
|
|
110
|
+
export type SelectionNode = FieldNode | FragmentSpreadNode | InlineFragmentNode;
|
|
111
|
+
export interface FieldNode {
|
|
112
|
+
readonly __type: TypeNode;
|
|
113
|
+
readonly kind: "Field";
|
|
114
|
+
readonly loc?: Location;
|
|
115
|
+
readonly alias?: NameNode;
|
|
116
|
+
readonly name: NameNode;
|
|
117
|
+
readonly arguments?: ReadonlyArray<ArgumentNode>;
|
|
118
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
119
|
+
readonly selectionSet?: SelectionSetNode;
|
|
120
|
+
}
|
|
121
|
+
export interface ArgumentNode {
|
|
122
|
+
readonly __type: TypeNode;
|
|
123
|
+
readonly __defaultValue?: ValueNode | null;
|
|
124
|
+
readonly kind: "Argument";
|
|
125
|
+
readonly loc?: Location;
|
|
126
|
+
readonly name: NameNode;
|
|
127
|
+
readonly value: ValueNode;
|
|
128
|
+
}
|
|
129
|
+
export interface FragmentSpreadNode {
|
|
130
|
+
readonly kind: "FragmentSpread";
|
|
131
|
+
readonly loc?: Location;
|
|
132
|
+
readonly name: NameNode;
|
|
133
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
134
|
+
}
|
|
135
|
+
export interface InlineFragmentNode {
|
|
136
|
+
readonly kind: "InlineFragment";
|
|
137
|
+
readonly loc?: Location;
|
|
138
|
+
readonly typeCondition?: NamedTypeNode;
|
|
139
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
140
|
+
readonly selectionSet: SelectionSetNode;
|
|
141
|
+
}
|
|
142
|
+
export interface FragmentDefinitionNode {
|
|
143
|
+
readonly kind: "FragmentDefinition";
|
|
144
|
+
readonly loc?: Location;
|
|
145
|
+
readonly name: NameNode;
|
|
146
|
+
readonly variableDefinitions?: ReadonlyArray<VariableDefinitionNode>;
|
|
147
|
+
readonly typeCondition: NamedTypeNode;
|
|
148
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
149
|
+
readonly selectionSet: SelectionSetNode;
|
|
150
|
+
}
|
|
151
|
+
export type ValueNode = VariableNode | IntValueNode | FloatValueNode | StringValueNode | BooleanValueNode | NullValueNode | EnumValueNode | ListValueNode | ObjectValueNode;
|
|
152
|
+
export interface IntValueNode {
|
|
153
|
+
readonly kind: "IntValue";
|
|
154
|
+
readonly loc?: Location;
|
|
155
|
+
readonly value: string;
|
|
156
|
+
}
|
|
157
|
+
export interface FloatValueNode {
|
|
158
|
+
readonly kind: "FloatValue";
|
|
159
|
+
readonly loc?: Location;
|
|
160
|
+
readonly value: string;
|
|
161
|
+
}
|
|
162
|
+
export interface StringValueNode {
|
|
163
|
+
readonly kind: "StringValue";
|
|
164
|
+
readonly loc?: Location;
|
|
165
|
+
readonly value: string;
|
|
166
|
+
readonly block?: boolean;
|
|
167
|
+
}
|
|
168
|
+
export interface BooleanValueNode {
|
|
169
|
+
readonly kind: "BooleanValue";
|
|
170
|
+
readonly loc?: Location;
|
|
171
|
+
readonly value: boolean;
|
|
172
|
+
}
|
|
173
|
+
export interface NullValueNode {
|
|
174
|
+
readonly kind: "NullValue";
|
|
175
|
+
readonly loc?: Location;
|
|
176
|
+
}
|
|
177
|
+
export interface EnumValueNode {
|
|
178
|
+
readonly kind: "EnumValue";
|
|
179
|
+
readonly loc?: Location;
|
|
180
|
+
readonly value: string;
|
|
181
|
+
}
|
|
182
|
+
export interface ListValueNode {
|
|
183
|
+
readonly kind: "ListValue";
|
|
184
|
+
readonly loc?: Location;
|
|
185
|
+
readonly values: ReadonlyArray<ValueNode>;
|
|
186
|
+
}
|
|
187
|
+
export interface ObjectValueNode {
|
|
188
|
+
readonly kind: "ObjectValue";
|
|
189
|
+
readonly loc?: Location;
|
|
190
|
+
readonly fields: ReadonlyArray<ObjectFieldNode>;
|
|
191
|
+
}
|
|
192
|
+
export interface ObjectFieldNode {
|
|
193
|
+
readonly kind: "ObjectField";
|
|
194
|
+
readonly loc?: Location;
|
|
195
|
+
readonly name: NameNode;
|
|
196
|
+
readonly value: ValueNode;
|
|
197
|
+
}
|
|
198
|
+
export interface DirectiveNode {
|
|
199
|
+
readonly kind: "Directive";
|
|
200
|
+
readonly loc?: Location;
|
|
201
|
+
readonly name: NameNode;
|
|
202
|
+
readonly arguments?: ReadonlyArray<ArgumentNode>;
|
|
203
|
+
}
|
|
204
|
+
export type TypeNode = NamedTypeNode | ListTypeNode | NonNullTypeNode;
|
|
205
|
+
export interface NamedTypeNode {
|
|
206
|
+
readonly kind: "NamedType";
|
|
207
|
+
readonly loc?: Location;
|
|
208
|
+
readonly name: NameNode;
|
|
209
|
+
}
|
|
210
|
+
export interface ListTypeNode {
|
|
211
|
+
readonly kind: "ListType";
|
|
212
|
+
readonly loc?: Location;
|
|
213
|
+
readonly type: TypeNode;
|
|
214
|
+
}
|
|
215
|
+
export interface NonNullTypeNode {
|
|
216
|
+
readonly kind: "NonNullType";
|
|
217
|
+
readonly loc?: Location;
|
|
218
|
+
readonly type: NamedTypeNode | ListTypeNode;
|
|
219
|
+
}
|
|
220
|
+
export type TypeSystemDefinitionNode = SchemaDefinitionNode | TypeDefinitionNode | DirectiveDefinitionNode;
|
|
221
|
+
export interface SchemaDefinitionNode {
|
|
222
|
+
readonly kind: "SchemaDefinition";
|
|
223
|
+
readonly loc?: Location;
|
|
224
|
+
readonly description?: StringValueNode;
|
|
225
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
226
|
+
readonly operationTypes: ReadonlyArray<OperationTypeDefinitionNode>;
|
|
227
|
+
}
|
|
228
|
+
export interface OperationTypeDefinitionNode {
|
|
229
|
+
readonly kind: "OperationTypeDefinition";
|
|
230
|
+
readonly loc?: Location;
|
|
231
|
+
readonly operation: OperationTypeNode;
|
|
232
|
+
readonly type: NamedTypeNode;
|
|
233
|
+
}
|
|
234
|
+
export type TypeDefinitionNode = ScalarTypeDefinitionNode | ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode | UnionTypeDefinitionNode | EnumTypeDefinitionNode | InputObjectTypeDefinitionNode;
|
|
235
|
+
export interface ScalarTypeDefinitionNode {
|
|
236
|
+
readonly kind: "ScalarTypeDefinition";
|
|
237
|
+
readonly loc?: Location;
|
|
238
|
+
readonly description?: StringValueNode;
|
|
239
|
+
readonly name: NameNode;
|
|
240
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
241
|
+
}
|
|
242
|
+
export interface ObjectTypeDefinitionNode {
|
|
243
|
+
readonly kind: "ObjectTypeDefinition";
|
|
244
|
+
readonly loc?: Location;
|
|
245
|
+
readonly description?: StringValueNode;
|
|
246
|
+
readonly name: NameNode;
|
|
247
|
+
readonly interfaces?: ReadonlyArray<NamedTypeNode>;
|
|
248
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
249
|
+
readonly fields?: ReadonlyArray<FieldDefinitionNode>;
|
|
250
|
+
}
|
|
251
|
+
export interface FieldDefinitionNode {
|
|
252
|
+
readonly kind: "FieldDefinition";
|
|
253
|
+
readonly loc?: Location;
|
|
254
|
+
readonly description?: StringValueNode;
|
|
255
|
+
readonly name: NameNode;
|
|
256
|
+
readonly arguments?: ReadonlyArray<InputValueDefinitionNode>;
|
|
257
|
+
readonly type: TypeNode;
|
|
258
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
259
|
+
}
|
|
260
|
+
export interface InputValueDefinitionNode {
|
|
261
|
+
readonly kind: "InputValueDefinition";
|
|
262
|
+
readonly loc?: Location;
|
|
263
|
+
readonly description?: StringValueNode;
|
|
264
|
+
readonly name: NameNode;
|
|
265
|
+
readonly type: TypeNode;
|
|
266
|
+
readonly defaultValue?: ValueNode;
|
|
267
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
268
|
+
}
|
|
269
|
+
export interface InterfaceTypeDefinitionNode {
|
|
270
|
+
readonly kind: "InterfaceTypeDefinition";
|
|
271
|
+
readonly loc?: Location;
|
|
272
|
+
readonly description?: StringValueNode;
|
|
273
|
+
readonly name: NameNode;
|
|
274
|
+
readonly interfaces?: ReadonlyArray<NamedTypeNode>;
|
|
275
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
276
|
+
readonly fields?: ReadonlyArray<FieldDefinitionNode>;
|
|
277
|
+
}
|
|
278
|
+
export interface UnionTypeDefinitionNode {
|
|
279
|
+
readonly kind: "UnionTypeDefinition";
|
|
280
|
+
readonly loc?: Location;
|
|
281
|
+
readonly description?: StringValueNode;
|
|
282
|
+
readonly name: NameNode;
|
|
283
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
284
|
+
readonly types?: ReadonlyArray<NamedTypeNode>;
|
|
285
|
+
}
|
|
286
|
+
export interface EnumTypeDefinitionNode {
|
|
287
|
+
readonly kind: "EnumTypeDefinition";
|
|
288
|
+
readonly loc?: Location;
|
|
289
|
+
readonly description?: StringValueNode;
|
|
290
|
+
readonly name: NameNode;
|
|
291
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
292
|
+
readonly values?: ReadonlyArray<EnumValueDefinitionNode>;
|
|
293
|
+
}
|
|
294
|
+
export interface EnumValueDefinitionNode {
|
|
295
|
+
readonly kind: "EnumValueDefinition";
|
|
296
|
+
readonly loc?: Location;
|
|
297
|
+
readonly description?: StringValueNode;
|
|
298
|
+
readonly name: NameNode;
|
|
299
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
300
|
+
}
|
|
301
|
+
export interface InputObjectTypeDefinitionNode {
|
|
302
|
+
readonly kind: "InputObjectTypeDefinition";
|
|
303
|
+
readonly loc?: Location;
|
|
304
|
+
readonly description?: StringValueNode;
|
|
305
|
+
readonly name: NameNode;
|
|
306
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
307
|
+
readonly fields?: ReadonlyArray<InputValueDefinitionNode>;
|
|
308
|
+
}
|
|
309
|
+
export interface DirectiveDefinitionNode {
|
|
310
|
+
readonly kind: "DirectiveDefinition";
|
|
311
|
+
readonly loc?: Location;
|
|
312
|
+
readonly description?: StringValueNode;
|
|
313
|
+
readonly name: NameNode;
|
|
314
|
+
readonly arguments?: ReadonlyArray<InputValueDefinitionNode>;
|
|
315
|
+
readonly repeatable: boolean;
|
|
316
|
+
readonly locations: ReadonlyArray<NameNode>;
|
|
317
|
+
}
|
|
318
|
+
export type TypeSystemExtensionNode = SchemaExtensionNode | TypeExtensionNode;
|
|
319
|
+
export interface SchemaExtensionNode {
|
|
320
|
+
readonly kind: "SchemaExtension";
|
|
321
|
+
readonly loc?: Location;
|
|
322
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
323
|
+
readonly operationTypes?: ReadonlyArray<OperationTypeDefinitionNode>;
|
|
324
|
+
}
|
|
325
|
+
export type TypeExtensionNode = ScalarTypeExtensionNode | ObjectTypeExtensionNode | InterfaceTypeExtensionNode | UnionTypeExtensionNode | EnumTypeExtensionNode | InputObjectTypeExtensionNode;
|
|
326
|
+
export interface ScalarTypeExtensionNode {
|
|
327
|
+
readonly kind: "ScalarTypeExtension";
|
|
328
|
+
readonly loc?: Location;
|
|
329
|
+
readonly name: NameNode;
|
|
330
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
331
|
+
}
|
|
332
|
+
export interface ObjectTypeExtensionNode {
|
|
333
|
+
readonly kind: "ObjectTypeExtension";
|
|
334
|
+
readonly loc?: Location;
|
|
335
|
+
readonly name: NameNode;
|
|
336
|
+
readonly interfaces?: ReadonlyArray<NamedTypeNode>;
|
|
337
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
338
|
+
readonly fields?: ReadonlyArray<FieldDefinitionNode>;
|
|
339
|
+
}
|
|
340
|
+
export interface InterfaceTypeExtensionNode {
|
|
341
|
+
readonly kind: "InterfaceTypeExtension";
|
|
342
|
+
readonly loc?: Location;
|
|
343
|
+
readonly name: NameNode;
|
|
344
|
+
readonly interfaces?: ReadonlyArray<NamedTypeNode>;
|
|
345
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
346
|
+
readonly fields?: ReadonlyArray<FieldDefinitionNode>;
|
|
347
|
+
}
|
|
348
|
+
export interface UnionTypeExtensionNode {
|
|
349
|
+
readonly kind: "UnionTypeExtension";
|
|
350
|
+
readonly loc?: Location;
|
|
351
|
+
readonly name: NameNode;
|
|
352
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
353
|
+
readonly types?: ReadonlyArray<NamedTypeNode>;
|
|
354
|
+
}
|
|
355
|
+
export interface EnumTypeExtensionNode {
|
|
356
|
+
readonly kind: "EnumTypeExtension";
|
|
357
|
+
readonly loc?: Location;
|
|
358
|
+
readonly name: NameNode;
|
|
359
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
360
|
+
readonly values?: ReadonlyArray<EnumValueDefinitionNode>;
|
|
361
|
+
}
|
|
362
|
+
export interface InputObjectTypeExtensionNode {
|
|
363
|
+
readonly kind: "InputObjectTypeExtension";
|
|
364
|
+
readonly loc?: Location;
|
|
365
|
+
readonly name: NameNode;
|
|
366
|
+
readonly directives?: ReadonlyArray<DirectiveNode>;
|
|
367
|
+
readonly fields?: ReadonlyArray<InputValueDefinitionNode>;
|
|
368
|
+
}
|
|
369
|
+
export {};
|
|
370
|
+
//# sourceMappingURL=TypedAST.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypedAST.d.ts","sourceRoot":"","sources":["../../src/supermassive-ast/TypedAST.ts"],"names":[],"mappings":"AAAA;;;;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AC;IACxB,QAAQ,CAAC,UAAU,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IACnD,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,wBAAwB,CAAC,CAAC;CAC3D"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var TypedAST_exports = {};
|
|
20
|
+
__export(TypedAST_exports, {
|
|
21
|
+
OperationTypeNode: () => OperationTypeNode
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(TypedAST_exports);
|
|
24
|
+
var OperationTypeNode = /* @__PURE__ */ ((OperationTypeNode2) => {
|
|
25
|
+
OperationTypeNode2["QUERY"] = "query";
|
|
26
|
+
OperationTypeNode2["MUTATION"] = "mutation";
|
|
27
|
+
OperationTypeNode2["SUBSCRIPTION"] = "subscription";
|
|
28
|
+
return OperationTypeNode2;
|
|
29
|
+
})(OperationTypeNode || {});
|