@graphitation/supermassive 0.8.3 → 1.0.0

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.
Files changed (94) hide show
  1. package/CHANGELOG.md +26 -2
  2. package/README.md +24 -29
  3. package/lib/ast/TypedAST.js +14 -2
  4. package/lib/ast/addTypesToRequestDocument.js +23 -23
  5. package/lib/ast/addTypesToRequestDocument.mjs +8 -5
  6. package/lib/benchmarks/index.js +33 -36
  7. package/lib/benchmarks/index.mjs +101 -92
  8. package/lib/benchmarks/nice-benchmark.js +14 -18
  9. package/lib/benchmarks/nice-benchmark.mjs +2 -3
  10. package/lib/benchmarks/swapi-schema/index.js +19 -20
  11. package/lib/benchmarks/swapi-schema/index.mjs +4 -4
  12. package/lib/benchmarks/swapi-schema/models.js +16 -17
  13. package/lib/benchmarks/swapi-schema/models.mjs +1 -1
  14. package/lib/benchmarks/swapi-schema/resolvers.js +65 -66
  15. package/lib/benchmarks/swapi-schema/resolvers.mjs +51 -48
  16. package/lib/bin/supermassive.js +23 -24
  17. package/lib/bin/supermassive.mjs +6 -6
  18. package/lib/collectFields.js +23 -27
  19. package/lib/collectFields.mjs +10 -10
  20. package/lib/definition.js +15 -19
  21. package/lib/definition.mjs +2 -2
  22. package/lib/directives.js +21 -25
  23. package/lib/directives.mjs +7 -7
  24. package/lib/executeWithSchema.js +15 -19
  25. package/lib/executeWithSchema.mjs +1 -1
  26. package/lib/executeWithoutSchema.js +37 -41
  27. package/lib/executeWithoutSchema.mjs +22 -22
  28. package/lib/extractImplicitTypesRuntime.js +17 -21
  29. package/lib/extractImplicitTypesRuntime.mjs +3 -3
  30. package/lib/extractImplicitTypesToTypescript.js +16 -17
  31. package/lib/extractImplicitTypesToTypescript.mjs +1 -1
  32. package/lib/extractors/index.d.ts +2 -0
  33. package/lib/extractors/index.d.ts.map +1 -0
  34. package/lib/extractors/index.js +23 -0
  35. package/lib/extractors/index.mjs +5 -0
  36. package/lib/index.js +21 -25
  37. package/lib/index.mjs +8 -8
  38. package/lib/jsutils/Maybe.js +14 -2
  39. package/lib/jsutils/ObjMap.js +14 -2
  40. package/lib/jsutils/Path.js +17 -5
  41. package/lib/jsutils/Path.mjs +1 -1
  42. package/lib/jsutils/PromiseOrValue.js +14 -2
  43. package/lib/jsutils/devAssert.js +16 -4
  44. package/lib/jsutils/didYouMean.js +16 -4
  45. package/lib/jsutils/identityFunc.js +16 -4
  46. package/lib/jsutils/inspect.js +16 -4
  47. package/lib/jsutils/instanceOf.js +14 -18
  48. package/lib/jsutils/instanceOf.mjs +1 -1
  49. package/lib/jsutils/invariant.js +16 -4
  50. package/lib/jsutils/isAsyncIterable.js +16 -4
  51. package/lib/jsutils/isIterableObject.js +16 -4
  52. package/lib/jsutils/isObjectLike.js +16 -4
  53. package/lib/jsutils/isPromise.js +16 -4
  54. package/lib/jsutils/keyMap.js +17 -5
  55. package/lib/jsutils/keyMap.mjs +1 -1
  56. package/lib/jsutils/keyValMap.js +17 -5
  57. package/lib/jsutils/keyValMap.mjs +1 -1
  58. package/lib/jsutils/mapValue.js +17 -5
  59. package/lib/jsutils/mapValue.mjs +1 -1
  60. package/lib/jsutils/memoize3.js +19 -7
  61. package/lib/jsutils/memoize3.mjs +3 -3
  62. package/lib/jsutils/naturalCompare.js +16 -4
  63. package/lib/jsutils/printPathArray.js +16 -4
  64. package/lib/jsutils/promiseForObject.js +17 -5
  65. package/lib/jsutils/promiseForObject.mjs +1 -1
  66. package/lib/jsutils/promiseReduce.js +14 -18
  67. package/lib/jsutils/promiseReduce.mjs +1 -1
  68. package/lib/jsutils/suggestionList.js +15 -19
  69. package/lib/jsutils/suggestionList.mjs +2 -2
  70. package/lib/jsutils/toObjMap.js +17 -5
  71. package/lib/jsutils/toObjMap.mjs +1 -1
  72. package/lib/subscribeWithSchema.js +15 -19
  73. package/lib/subscribeWithSchema.mjs +1 -1
  74. package/lib/subscribeWithoutSchema.js +26 -30
  75. package/lib/subscribeWithoutSchema.mjs +11 -11
  76. package/lib/transforms/annotateDocumentGraphQLTransform.js +15 -19
  77. package/lib/transforms/annotateDocumentGraphQLTransform.mjs +1 -1
  78. package/lib/transforms/transformerTestUtils.js +24 -25
  79. package/lib/transforms/transformerTestUtils.mjs +12 -16
  80. package/lib/types.js +14 -2
  81. package/lib/utilities/mapAsyncIterator.js +18 -6
  82. package/lib/utilities/mapAsyncIterator.mjs +2 -2
  83. package/lib/utilities/mergeResolvers.js +20 -9
  84. package/lib/utilities/mergeResolvers.mjs +5 -5
  85. package/lib/utilities/typeNameFromAST.js +14 -18
  86. package/lib/utilities/typeNameFromAST.mjs +1 -1
  87. package/lib/values.js +19 -23
  88. package/lib/values.mjs +5 -5
  89. package/package.json +13 -8
  90. package/.eslintcache +0 -1
  91. package/lib/benchmarks/swapi-schema/__generated__/schema.d.ts +0 -3
  92. package/lib/benchmarks/swapi-schema/__generated__/schema.d.ts.map +0 -1
  93. package/lib/benchmarks/swapi-schema/__generated__/schema.js +0 -41
  94. 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 __objSpread = (a, b) => {
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 = __objSpread({}, extractedResolvers);
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] = __objSpread(__objSpread({}, fullResolvers[resolverKey]), resolvers[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 __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
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 __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});
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 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);
15
+ return to;
22
16
  };
23
- __markAsModule(exports);
24
- __export(exports, {
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
- var import_graphql = __toModule(require("graphql"));
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);
@@ -1,5 +1,5 @@
1
1
  // src/utilities/typeNameFromAST.ts
2
- import {Kind} from "graphql";
2
+ import { Kind } from "graphql";
3
3
  function typeNameFromAST(typeAst) {
4
4
  if (typeAst.kind === Kind.LIST_TYPE || typeAst.kind === Kind.NON_NULL_TYPE) {
5
5
  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 __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
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 __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});
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 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);
15
+ return to;
22
16
  };
23
- __markAsModule(exports);
24
- __export(exports, {
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
- var import_graphql = __toModule(require("graphql"));
31
- var import_inspect = __toModule(require("./jsutils/inspect"));
32
- var import_keyMap = __toModule(require("./jsutils/keyMap"));
33
- var import_printPathArray = __toModule(require("./jsutils/printPathArray"));
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@graphitation/supermassive",
3
3
  "license": "MIT",
4
- "version": "0.8.3",
4
+ "version": "1.0.0",
5
5
  "bin": {
6
6
  "supermassive": "./bin/supermassive.js"
7
7
  },
@@ -36,6 +36,17 @@
36
36
  },
37
37
  "sideEffects": false,
38
38
  "access": "public",
39
+ "exports": {
40
+ ".": {
41
+ "import": "./lib/index.mjs",
42
+ "require": "./lib/index.js"
43
+ },
44
+ "./lib/extractors": {
45
+ "import": "./lib/extractors/index.mjs",
46
+ "require": "./lib/extractors/index.js",
47
+ "types": "./lib/extractors/index.d.ts"
48
+ }
49
+ },
39
50
  "publishConfig": {},
40
51
  "dependencies": {
41
52
  "commander": "^8.3.0",
@@ -43,11 +54,5 @@
43
54
  "typescript": "^4.4.3 <4.5.0"
44
55
  },
45
56
  "types": "./lib/index.d.ts",
46
- "module": "./lib/index.mjs",
47
- "exports": {
48
- ".": {
49
- "import": "./lib/index.mjs",
50
- "require": "./lib/index.js"
51
- }
52
- }
57
+ "module": "./lib/index.mjs"
53
58
  }
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":1651599667312,"results":"56","hashOfConfig":"57"},{"size":1592,"mtime":1651599667312,"results":"58","hashOfConfig":"57"},{"size":6845,"mtime":1651599667312,"results":"59","hashOfConfig":"57"},{"size":14345,"mtime":1651599667312,"results":"60","hashOfConfig":"57"},{"size":5297,"mtime":1651599667312,"results":"61","hashOfConfig":"57"},{"size":2189,"mtime":1651599667312,"results":"62","hashOfConfig":"57"},{"size":3662,"mtime":1651599667312,"results":"63","hashOfConfig":"57"},{"size":712,"mtime":1651599667312,"results":"64","hashOfConfig":"57"},{"size":382,"mtime":1651599667312,"results":"65","hashOfConfig":"57"},{"size":128,"mtime":1651599667312,"results":"66","hashOfConfig":"57"},{"size":10233,"mtime":1651599667312,"results":"67","hashOfConfig":"57"},{"size":848,"mtime":1651599667312,"results":"68","hashOfConfig":"57"},{"size":1655,"mtime":1651599667312,"results":"69","hashOfConfig":"57"},{"size":5387,"mtime":1651599667312,"results":"70","hashOfConfig":"57"},{"size":3431,"mtime":1651599667312,"results":"71","hashOfConfig":"57"},{"size":1649,"mtime":1651599667312,"results":"72","hashOfConfig":"57"},{"size":6589,"mtime":1651599667312,"results":"73","hashOfConfig":"57"},{"size":1230,"mtime":1651599667312,"results":"74","hashOfConfig":"57"},{"size":28220,"mtime":1651599667312,"results":"75","hashOfConfig":"57"},{"size":4918,"mtime":1651599667312,"results":"76","hashOfConfig":"57"},{"size":14787,"mtime":1651599667312,"results":"77","hashOfConfig":"57"},{"size":1760,"mtime":1651599667312,"results":"78","hashOfConfig":"57"},{"size":134,"mtime":1651599667312,"results":"79","hashOfConfig":"57"},{"size":277,"mtime":1651599667312,"results":"80","hashOfConfig":"57"},{"size":711,"mtime":1651599667312,"results":"81","hashOfConfig":"57"},{"size":48,"mtime":1651599667312,"results":"82","hashOfConfig":"57"},{"size":269,"mtime":1651599667312,"results":"83","hashOfConfig":"57"},{"size":1038,"mtime":1651599667312,"results":"84","hashOfConfig":"57"},{"size":108,"mtime":1651599667312,"results":"85","hashOfConfig":"57"},{"size":2797,"mtime":1651599667324,"results":"86","hashOfConfig":"57"},{"size":2294,"mtime":1651599667324,"results":"87","hashOfConfig":"57"},{"size":357,"mtime":1651599667324,"results":"88","hashOfConfig":"57"},{"size":325,"mtime":1651599667324,"results":"89","hashOfConfig":"57"},{"size":778,"mtime":1651599667324,"results":"90","hashOfConfig":"57"},{"size":278,"mtime":1651599667324,"results":"91","hashOfConfig":"57"},{"size":227,"mtime":1651599667324,"results":"92","hashOfConfig":"57"},{"size":921,"mtime":1651599667324,"results":"93","hashOfConfig":"57"},{"size":764,"mtime":1651599667324,"results":"94","hashOfConfig":"57"},{"size":441,"mtime":1651599667324,"results":"95","hashOfConfig":"57"},{"size":821,"mtime":1651599667324,"results":"96","hashOfConfig":"57"},{"size":1314,"mtime":1651599667324,"results":"97","hashOfConfig":"57"},{"size":253,"mtime":1651599667324,"results":"98","hashOfConfig":"57"},{"size":650,"mtime":1651599667324,"results":"99","hashOfConfig":"57"},{"size":803,"mtime":1651599667324,"results":"100","hashOfConfig":"57"},{"size":3938,"mtime":1651599667324,"results":"101","hashOfConfig":"57"},{"size":503,"mtime":1651599667324,"results":"102","hashOfConfig":"57"},{"size":1280,"mtime":1651599667324,"results":"103","hashOfConfig":"57"},{"size":9122,"mtime":1651599667324,"results":"104","hashOfConfig":"57"},{"size":495,"mtime":1651599667324,"results":"105","hashOfConfig":"57"},{"size":6652,"mtime":1651599667324,"results":"106","hashOfConfig":"57"},{"size":4576,"mtime":1651599667324,"results":"107","hashOfConfig":"57"},{"size":1815,"mtime":1651599667324,"results":"108","hashOfConfig":"57"},{"size":735,"mtime":1651599667324,"results":"109","hashOfConfig":"57"},{"size":308,"mtime":1651599667324,"results":"110","hashOfConfig":"57"},{"size":9318,"mtime":1651599667324,"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,3 +0,0 @@
1
- import { Resolvers } from "@graphitation/supermassive";
2
- export declare const resolvers: Resolvers;
3
- //# sourceMappingURL=schema.d.ts.map
@@ -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
- };