@graphitation/supermassive 0.8.2 → 0.8.5
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/CHANGELOG.md +26 -2
- package/README.md +24 -29
- package/lib/ast/TypedAST.js +14 -2
- package/lib/ast/addTypesToRequestDocument.js +23 -23
- package/lib/ast/addTypesToRequestDocument.mjs +8 -5
- package/lib/benchmarks/index.js +33 -36
- package/lib/benchmarks/index.mjs +101 -92
- package/lib/benchmarks/nice-benchmark.js +14 -18
- package/lib/benchmarks/nice-benchmark.mjs +2 -3
- package/lib/benchmarks/swapi-schema/index.js +19 -20
- package/lib/benchmarks/swapi-schema/index.mjs +4 -4
- package/lib/benchmarks/swapi-schema/models.js +16 -17
- package/lib/benchmarks/swapi-schema/models.mjs +1 -1
- package/lib/benchmarks/swapi-schema/resolvers.js +65 -66
- package/lib/benchmarks/swapi-schema/resolvers.mjs +51 -48
- package/lib/bin/supermassive.js +23 -24
- package/lib/bin/supermassive.mjs +6 -6
- package/lib/collectFields.js +23 -27
- package/lib/collectFields.mjs +10 -10
- package/lib/definition.js +15 -19
- package/lib/definition.mjs +2 -2
- package/lib/directives.js +21 -25
- package/lib/directives.mjs +7 -7
- package/lib/executeWithSchema.js +15 -19
- package/lib/executeWithSchema.mjs +1 -1
- package/lib/executeWithoutSchema.js +37 -41
- package/lib/executeWithoutSchema.mjs +22 -22
- package/lib/extractImplicitTypesRuntime.js +17 -21
- package/lib/extractImplicitTypesRuntime.mjs +3 -3
- package/lib/extractImplicitTypesToTypescript.js +16 -17
- package/lib/extractImplicitTypesToTypescript.mjs +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +23 -25
- package/lib/index.mjs +10 -8
- package/lib/jsutils/Maybe.js +14 -2
- package/lib/jsutils/ObjMap.js +14 -2
- package/lib/jsutils/Path.js +17 -5
- package/lib/jsutils/Path.mjs +1 -1
- package/lib/jsutils/PromiseOrValue.js +14 -2
- package/lib/jsutils/devAssert.js +16 -4
- package/lib/jsutils/didYouMean.js +16 -4
- package/lib/jsutils/identityFunc.js +16 -4
- package/lib/jsutils/inspect.js +16 -4
- package/lib/jsutils/instanceOf.js +14 -18
- package/lib/jsutils/instanceOf.mjs +1 -1
- package/lib/jsutils/invariant.js +16 -4
- package/lib/jsutils/isAsyncIterable.js +16 -4
- package/lib/jsutils/isIterableObject.js +16 -4
- package/lib/jsutils/isObjectLike.js +16 -4
- package/lib/jsutils/isPromise.js +16 -4
- package/lib/jsutils/keyMap.js +17 -5
- package/lib/jsutils/keyMap.mjs +1 -1
- package/lib/jsutils/keyValMap.js +17 -5
- package/lib/jsutils/keyValMap.mjs +1 -1
- package/lib/jsutils/mapValue.js +17 -5
- package/lib/jsutils/mapValue.mjs +1 -1
- package/lib/jsutils/memoize3.js +19 -7
- package/lib/jsutils/memoize3.mjs +3 -3
- package/lib/jsutils/naturalCompare.js +16 -4
- package/lib/jsutils/printPathArray.js +16 -4
- package/lib/jsutils/promiseForObject.js +17 -5
- package/lib/jsutils/promiseForObject.mjs +1 -1
- package/lib/jsutils/promiseReduce.js +14 -18
- package/lib/jsutils/promiseReduce.mjs +1 -1
- package/lib/jsutils/suggestionList.js +15 -19
- package/lib/jsutils/suggestionList.mjs +2 -2
- package/lib/jsutils/toObjMap.js +17 -5
- package/lib/jsutils/toObjMap.mjs +1 -1
- package/lib/subscribeWithSchema.js +15 -19
- package/lib/subscribeWithSchema.mjs +1 -1
- package/lib/subscribeWithoutSchema.js +26 -30
- package/lib/subscribeWithoutSchema.mjs +11 -11
- package/lib/transforms/annotateDocumentGraphQLTransform.js +15 -19
- package/lib/transforms/annotateDocumentGraphQLTransform.mjs +1 -1
- package/lib/transforms/transformerTestUtils.js +24 -25
- package/lib/transforms/transformerTestUtils.mjs +12 -16
- package/lib/types.js +14 -2
- package/lib/utilities/mapAsyncIterator.js +18 -6
- package/lib/utilities/mapAsyncIterator.mjs +2 -2
- package/lib/utilities/mergeResolvers.js +20 -9
- package/lib/utilities/mergeResolvers.mjs +5 -5
- package/lib/utilities/typeNameFromAST.js +14 -18
- package/lib/utilities/typeNameFromAST.mjs +1 -1
- package/lib/values.js +19 -23
- package/lib/values.mjs +5 -5
- package/package.json +1 -1
- package/.eslintcache +0 -1
- package/lib/benchmarks/swapi-schema/__generated__/schema.d.ts +0 -3
- package/lib/benchmarks/swapi-schema/__generated__/schema.d.ts.map +0 -1
- package/lib/benchmarks/swapi-schema/__generated__/schema.js +0 -41
- package/lib/benchmarks/swapi-schema/__generated__/schema.mjs +0 -19
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3
2
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
4
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value;
|
|
6
|
-
var
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
7
|
for (var prop in b || (b = {}))
|
|
8
8
|
if (__hasOwnProp.call(b, prop))
|
|
9
9
|
__defNormalProp(a, prop, b[prop]);
|
|
@@ -17,10 +17,10 @@ var __objSpread = (a, b) => {
|
|
|
17
17
|
|
|
18
18
|
// src/utilities/mergeResolvers.ts
|
|
19
19
|
function mergeResolvers(resolvers, extractedResolvers) {
|
|
20
|
-
const fullResolvers =
|
|
20
|
+
const fullResolvers = __spreadValues({}, extractedResolvers);
|
|
21
21
|
Object.keys(resolvers).forEach((resolverKey) => {
|
|
22
22
|
if (fullResolvers[resolverKey] && typeof resolvers[resolverKey] === "object" && resolvers[resolverKey].constructor === Object) {
|
|
23
|
-
fullResolvers[resolverKey] =
|
|
23
|
+
fullResolvers[resolverKey] = __spreadValues(__spreadValues({}, fullResolvers[resolverKey]), resolvers[resolverKey]);
|
|
24
24
|
} else {
|
|
25
25
|
fullResolvers[resolverKey] = resolvers[resolverKey];
|
|
26
26
|
}
|
|
@@ -1,30 +1,26 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
5
|
var __export = (target, all) => {
|
|
9
6
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
8
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
14
|
}
|
|
18
|
-
return
|
|
19
|
-
};
|
|
20
|
-
var __toModule = (module2) => {
|
|
21
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
15
|
+
return to;
|
|
22
16
|
};
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var typeNameFromAST_exports = {};
|
|
19
|
+
__export(typeNameFromAST_exports, {
|
|
25
20
|
typeNameFromAST: () => typeNameFromAST
|
|
26
21
|
});
|
|
27
|
-
|
|
22
|
+
module.exports = __toCommonJS(typeNameFromAST_exports);
|
|
23
|
+
var import_graphql = require("graphql");
|
|
28
24
|
function typeNameFromAST(typeAst) {
|
|
29
25
|
if (typeAst.kind === import_graphql.Kind.LIST_TYPE || typeAst.kind === import_graphql.Kind.NON_NULL_TYPE) {
|
|
30
26
|
return typeNameFromAST(typeAst.type);
|
package/lib/values.js
CHANGED
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
5
|
var __export = (target, all) => {
|
|
9
6
|
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
8
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
14
|
}
|
|
18
|
-
return
|
|
19
|
-
};
|
|
20
|
-
var __toModule = (module2) => {
|
|
21
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
15
|
+
return to;
|
|
22
16
|
};
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var values_exports = {};
|
|
19
|
+
__export(values_exports, {
|
|
25
20
|
getArgumentValues: () => getArgumentValues,
|
|
26
21
|
getDirectiveValues: () => getDirectiveValues,
|
|
27
22
|
getVariableValues: () => getVariableValues,
|
|
28
23
|
specifiedScalars: () => specifiedScalars
|
|
29
24
|
});
|
|
30
|
-
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
25
|
+
module.exports = __toCommonJS(values_exports);
|
|
26
|
+
var import_graphql = require("graphql");
|
|
27
|
+
var import_inspect = require("./jsutils/inspect");
|
|
28
|
+
var import_keyMap = require("./jsutils/keyMap");
|
|
29
|
+
var import_printPathArray = require("./jsutils/printPathArray");
|
|
34
30
|
function getVariableValues(resolvers, varDefNodes, inputs, options) {
|
|
35
31
|
const errors = [];
|
|
36
32
|
const maxErrors = options == null ? void 0 : options.maxErrors;
|
|
@@ -42,12 +38,12 @@ function getVariableValues(resolvers, varDefNodes, inputs, options) {
|
|
|
42
38
|
errors.push(error);
|
|
43
39
|
});
|
|
44
40
|
if (errors.length === 0) {
|
|
45
|
-
return {coerced};
|
|
41
|
+
return { coerced };
|
|
46
42
|
}
|
|
47
43
|
} catch (error) {
|
|
48
44
|
errors.push(error);
|
|
49
45
|
}
|
|
50
|
-
return {errors};
|
|
46
|
+
return { errors };
|
|
51
47
|
}
|
|
52
48
|
function coerceVariableValues(resolvers, varDefNodes, inputs, onError) {
|
|
53
49
|
const coercedValues = {};
|
package/lib/values.mjs
CHANGED
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
valueFromAST,
|
|
16
16
|
coerceInputValue
|
|
17
17
|
} from "graphql";
|
|
18
|
-
import {inspect} from "./jsutils/inspect.mjs";
|
|
19
|
-
import {keyMap} from "./jsutils/keyMap.mjs";
|
|
20
|
-
import {printPathArray} from "./jsutils/printPathArray.mjs";
|
|
18
|
+
import { inspect } from "./jsutils/inspect.mjs";
|
|
19
|
+
import { keyMap } from "./jsutils/keyMap.mjs";
|
|
20
|
+
import { printPathArray } from "./jsutils/printPathArray.mjs";
|
|
21
21
|
function getVariableValues(resolvers, varDefNodes, inputs, options) {
|
|
22
22
|
const errors = [];
|
|
23
23
|
const maxErrors = options == null ? void 0 : options.maxErrors;
|
|
@@ -29,12 +29,12 @@ function getVariableValues(resolvers, varDefNodes, inputs, options) {
|
|
|
29
29
|
errors.push(error);
|
|
30
30
|
});
|
|
31
31
|
if (errors.length === 0) {
|
|
32
|
-
return {coerced};
|
|
32
|
+
return { coerced };
|
|
33
33
|
}
|
|
34
34
|
} catch (error) {
|
|
35
35
|
errors.push(error);
|
|
36
36
|
}
|
|
37
|
-
return {errors};
|
|
37
|
+
return { errors };
|
|
38
38
|
}
|
|
39
39
|
function coerceVariableValues(resolvers, varDefNodes, inputs, onError) {
|
|
40
40
|
const coercedValues = {};
|
package/package.json
CHANGED
package/.eslintcache
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/execute.test.ts":"1","/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts":"2","/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts":"3","/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts":"4","/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts":"5","/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts":"6","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts":"7","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts":"8","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts":"9","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts":"10","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts":"11","/mnt/vss/_work/1/s/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts":"12","/mnt/vss/_work/1/s/packages/supermassive/src/bin/supermassive.ts":"13","/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts":"14","/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts":"15","/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts":"16","/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts":"17","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts":"18","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts":"19","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts":"20","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesToTypescript.ts":"21","/mnt/vss/_work/1/s/packages/supermassive/src/index.ts":"22","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts":"23","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts":"24","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts":"25","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts":"26","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts":"27","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts":"28","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts":"29","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts":"30","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts":"31","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts":"32","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts":"33","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts":"34","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts":"35","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts":"36","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts":"37","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts":"38","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts":"39","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts":"40","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts":"41","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts":"42","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts":"43","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts":"44","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts":"45","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts":"46","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts":"47","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts":"48","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"49","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/transformerTestUtils.ts":"50","/mnt/vss/_work/1/s/packages/supermassive/src/types.ts":"51","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts":"52","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts":"53","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts":"54","/mnt/vss/_work/1/s/packages/supermassive/src/values.ts":"55"},{"size":6041,"mtime":1648828571291,"results":"56","hashOfConfig":"57"},{"size":1592,"mtime":1648828571291,"results":"58","hashOfConfig":"57"},{"size":6845,"mtime":1648828571291,"results":"59","hashOfConfig":"57"},{"size":14345,"mtime":1648828571291,"results":"60","hashOfConfig":"57"},{"size":5297,"mtime":1648828571291,"results":"61","hashOfConfig":"57"},{"size":2189,"mtime":1648828571291,"results":"62","hashOfConfig":"57"},{"size":3662,"mtime":1648828571291,"results":"63","hashOfConfig":"57"},{"size":712,"mtime":1648828571291,"results":"64","hashOfConfig":"57"},{"size":382,"mtime":1648828571291,"results":"65","hashOfConfig":"57"},{"size":128,"mtime":1648828571291,"results":"66","hashOfConfig":"57"},{"size":10233,"mtime":1648828571291,"results":"67","hashOfConfig":"57"},{"size":848,"mtime":1648828571295,"results":"68","hashOfConfig":"57"},{"size":1655,"mtime":1648828571295,"results":"69","hashOfConfig":"57"},{"size":5387,"mtime":1648828571295,"results":"70","hashOfConfig":"57"},{"size":3431,"mtime":1648828571295,"results":"71","hashOfConfig":"57"},{"size":1649,"mtime":1648828571295,"results":"72","hashOfConfig":"57"},{"size":6589,"mtime":1648828571295,"results":"73","hashOfConfig":"57"},{"size":1230,"mtime":1648828571295,"results":"74","hashOfConfig":"57"},{"size":28220,"mtime":1648828571295,"results":"75","hashOfConfig":"57"},{"size":4918,"mtime":1648828571295,"results":"76","hashOfConfig":"57"},{"size":14787,"mtime":1648828571295,"results":"77","hashOfConfig":"57"},{"size":1735,"mtime":1648828571295,"results":"78","hashOfConfig":"57"},{"size":134,"mtime":1648828571295,"results":"79","hashOfConfig":"57"},{"size":277,"mtime":1648828571295,"results":"80","hashOfConfig":"57"},{"size":711,"mtime":1648828571295,"results":"81","hashOfConfig":"57"},{"size":48,"mtime":1648828571295,"results":"82","hashOfConfig":"57"},{"size":269,"mtime":1648828571295,"results":"83","hashOfConfig":"57"},{"size":1038,"mtime":1648828571295,"results":"84","hashOfConfig":"57"},{"size":108,"mtime":1648828571295,"results":"85","hashOfConfig":"57"},{"size":2797,"mtime":1648828571295,"results":"86","hashOfConfig":"57"},{"size":2294,"mtime":1648828571295,"results":"87","hashOfConfig":"57"},{"size":357,"mtime":1648828571295,"results":"88","hashOfConfig":"57"},{"size":325,"mtime":1648828571295,"results":"89","hashOfConfig":"57"},{"size":778,"mtime":1648828571295,"results":"90","hashOfConfig":"57"},{"size":278,"mtime":1648828571295,"results":"91","hashOfConfig":"57"},{"size":227,"mtime":1648828571295,"results":"92","hashOfConfig":"57"},{"size":921,"mtime":1648828571295,"results":"93","hashOfConfig":"57"},{"size":764,"mtime":1648828571295,"results":"94","hashOfConfig":"57"},{"size":441,"mtime":1648828571295,"results":"95","hashOfConfig":"57"},{"size":821,"mtime":1648828571295,"results":"96","hashOfConfig":"57"},{"size":1314,"mtime":1648828571295,"results":"97","hashOfConfig":"57"},{"size":253,"mtime":1648828571295,"results":"98","hashOfConfig":"57"},{"size":650,"mtime":1648828571295,"results":"99","hashOfConfig":"57"},{"size":803,"mtime":1648828571295,"results":"100","hashOfConfig":"57"},{"size":3938,"mtime":1648828571295,"results":"101","hashOfConfig":"57"},{"size":503,"mtime":1648828571295,"results":"102","hashOfConfig":"57"},{"size":1280,"mtime":1648828571295,"results":"103","hashOfConfig":"57"},{"size":9122,"mtime":1648828571295,"results":"104","hashOfConfig":"57"},{"size":495,"mtime":1648828571295,"results":"105","hashOfConfig":"57"},{"size":6652,"mtime":1648828571295,"results":"106","hashOfConfig":"57"},{"size":4576,"mtime":1648828571295,"results":"107","hashOfConfig":"57"},{"size":1815,"mtime":1648828571295,"results":"108","hashOfConfig":"57"},{"size":735,"mtime":1648828571295,"results":"109","hashOfConfig":"57"},{"size":308,"mtime":1648828571295,"results":"110","hashOfConfig":"57"},{"size":9318,"mtime":1648828571295,"results":"111","hashOfConfig":"57"},{"filePath":"112","messages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"17q1hrq",{"filePath":"114","messages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"196","messages":"197","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"218","messages":"219","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"220","messages":"221","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/execute.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/bin/supermassive.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesToTypescript.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/transformerTestUtils.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/values.ts",[]]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/benchmarks/swapi-schema/__generated__/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAkF,MAAM,4BAA4B,CAAC;AAcvI,eAAO,MAAM,SAAS,EAAE,SAAqI,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
-
};
|
|
12
|
-
var __reExport = (target, module2, desc) => {
|
|
13
|
-
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(module2))
|
|
15
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
-
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
-
}
|
|
18
|
-
return target;
|
|
19
|
-
};
|
|
20
|
-
var __toModule = (module2) => {
|
|
21
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
22
|
-
};
|
|
23
|
-
__markAsModule(exports);
|
|
24
|
-
__export(exports, {
|
|
25
|
-
resolvers: () => resolvers
|
|
26
|
-
});
|
|
27
|
-
var import_graphql = __toModule(require("graphql"));
|
|
28
|
-
const SearchResult = {__types: ["Person", "Starship", "Transport", "Species", "Vehicle", "Planet", "Film"], __resolveType: void 0};
|
|
29
|
-
const NodeType = new import_graphql.GraphQLEnumType({name: "NodeType", description: "", values: {Person: {description: ""}, Starship: {description: ""}, Transport: {description: ""}, Species: {description: ""}, Vehicle: {description: ""}, Planet: {description: ""}, Film: {description: ""}}});
|
|
30
|
-
const Subscription = {};
|
|
31
|
-
const Query = {};
|
|
32
|
-
const Alive = {__types: ["Person", "Species"], __resolveType: void 0};
|
|
33
|
-
const Film = {};
|
|
34
|
-
const Vehicle = {};
|
|
35
|
-
const Person = {};
|
|
36
|
-
const Starship = {};
|
|
37
|
-
const Planet = {};
|
|
38
|
-
const Species = {};
|
|
39
|
-
const Transport = {};
|
|
40
|
-
const Node = {__implementedBy: ["Film", "Vehicle", "Person", "Starship", "Planet", "Species", "Transport"], __resolveType: void 0};
|
|
41
|
-
const resolvers = {SearchResult, NodeType, Subscription, Query, Node, Alive, Film, Vehicle, Person, Starship, Planet, Species, Transport};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// src/benchmarks/swapi-schema/__generated__/schema.ts
|
|
2
|
-
import {GraphQLEnumType} from "graphql";
|
|
3
|
-
var SearchResult = {__types: ["Person", "Starship", "Transport", "Species", "Vehicle", "Planet", "Film"], __resolveType: void 0};
|
|
4
|
-
var NodeType = new GraphQLEnumType({name: "NodeType", description: "", values: {Person: {description: ""}, Starship: {description: ""}, Transport: {description: ""}, Species: {description: ""}, Vehicle: {description: ""}, Planet: {description: ""}, Film: {description: ""}}});
|
|
5
|
-
var Subscription = {};
|
|
6
|
-
var Query = {};
|
|
7
|
-
var Alive = {__types: ["Person", "Species"], __resolveType: void 0};
|
|
8
|
-
var Film = {};
|
|
9
|
-
var Vehicle = {};
|
|
10
|
-
var Person = {};
|
|
11
|
-
var Starship = {};
|
|
12
|
-
var Planet = {};
|
|
13
|
-
var Species = {};
|
|
14
|
-
var Transport = {};
|
|
15
|
-
var Node = {__implementedBy: ["Film", "Vehicle", "Person", "Starship", "Planet", "Species", "Transport"], __resolveType: void 0};
|
|
16
|
-
var resolvers = {SearchResult, NodeType, Subscription, Query, Node, Alive, Film, Vehicle, Person, Starship, Planet, Species, Transport};
|
|
17
|
-
export {
|
|
18
|
-
resolvers
|
|
19
|
-
};
|