@graphitation/supermassive 2.2.2 → 2.3.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 (85) hide show
  1. package/.eslintcache +1 -1
  2. package/CHANGELOG.md +9 -1
  3. package/lib/ast/TypedAST.js +1 -0
  4. package/lib/ast/addTypesToRequestDocument.js +48 -42
  5. package/lib/ast/addTypesToRequestDocument.mjs +47 -42
  6. package/lib/benchmarks/index.js +15 -4
  7. package/lib/benchmarks/index.mjs +6 -3
  8. package/lib/benchmarks/nice-benchmark.js +1 -0
  9. package/lib/benchmarks/swapi-schema/index.js +14 -4
  10. package/lib/benchmarks/swapi-schema/index.mjs +5 -3
  11. package/lib/benchmarks/swapi-schema/models.js +9 -1
  12. package/lib/benchmarks/swapi-schema/resolvers.js +22 -7
  13. package/lib/benchmarks/swapi-schema/resolvers.mjs +21 -7
  14. package/lib/collectFields.js +41 -11
  15. package/lib/collectFields.mjs +40 -11
  16. package/lib/compiledQuery.js +1 -0
  17. package/lib/definition.js +13 -8
  18. package/lib/definition.mjs +12 -8
  19. package/lib/directives.js +48 -33
  20. package/lib/directives.mjs +47 -33
  21. package/lib/executeWithSchema.d.ts +1 -1
  22. package/lib/executeWithSchema.d.ts.map +1 -1
  23. package/lib/executeWithSchema.js +5 -2
  24. package/lib/executeWithSchema.mjs +4 -2
  25. package/lib/executeWithoutSchema.d.ts +3 -1
  26. package/lib/executeWithoutSchema.d.ts.map +1 -1
  27. package/lib/executeWithoutSchema.js +365 -55
  28. package/lib/executeWithoutSchema.mjs +358 -52
  29. package/lib/extractImplicitTypesRuntime.js +4 -1
  30. package/lib/extractImplicitTypesRuntime.mjs +3 -1
  31. package/lib/hooks/types.d.ts +33 -0
  32. package/lib/hooks/types.d.ts.map +1 -0
  33. package/lib/hooks/types.js +16 -0
  34. package/lib/hooks/types.mjs +0 -0
  35. package/lib/index.d.ts +1 -0
  36. package/lib/index.d.ts.map +1 -1
  37. package/lib/index.js +9 -0
  38. package/lib/index.mjs +16 -0
  39. package/lib/jsutils/Maybe.js +1 -0
  40. package/lib/jsutils/ObjMap.js +1 -0
  41. package/lib/jsutils/Path.js +1 -0
  42. package/lib/jsutils/PromiseOrValue.js +1 -0
  43. package/lib/jsutils/devAssert.js +1 -0
  44. package/lib/jsutils/didYouMean.js +1 -0
  45. package/lib/jsutils/identityFunc.js +1 -0
  46. package/lib/jsutils/inspect.js +4 -1
  47. package/lib/jsutils/inspect.mjs +3 -1
  48. package/lib/jsutils/instanceOf.js +18 -6
  49. package/lib/jsutils/instanceOf.mjs +17 -6
  50. package/lib/jsutils/invariant.js +4 -1
  51. package/lib/jsutils/invariant.mjs +3 -1
  52. package/lib/jsutils/isAsyncIterable.js +1 -0
  53. package/lib/jsutils/isIterableObject.js +1 -0
  54. package/lib/jsutils/isObjectLike.js +1 -0
  55. package/lib/jsutils/isPromise.js +1 -0
  56. package/lib/jsutils/keyMap.js +1 -0
  57. package/lib/jsutils/keyValMap.js +1 -0
  58. package/lib/jsutils/mapValue.js +1 -0
  59. package/lib/jsutils/memoize3.js +1 -0
  60. package/lib/jsutils/naturalCompare.js +1 -0
  61. package/lib/jsutils/printPathArray.js +4 -1
  62. package/lib/jsutils/printPathArray.mjs +3 -1
  63. package/lib/jsutils/promiseForObject.js +1 -0
  64. package/lib/jsutils/promiseReduce.js +1 -0
  65. package/lib/jsutils/suggestionList.js +9 -1
  66. package/lib/jsutils/suggestionList.mjs +8 -1
  67. package/lib/jsutils/toObjMap.js +1 -0
  68. package/lib/subscribeWithSchema.js +1 -0
  69. package/lib/subscribeWithoutSchema.js +45 -6
  70. package/lib/subscribeWithoutSchema.mjs +44 -6
  71. package/lib/transforms/annotateDocumentGraphQLTransform.js +1 -0
  72. package/lib/types.d.ts +2 -0
  73. package/lib/types.d.ts.map +1 -1
  74. package/lib/types.js +1 -0
  75. package/lib/utilities/array.d.ts +2 -0
  76. package/lib/utilities/array.d.ts.map +1 -0
  77. package/lib/utilities/array.js +34 -0
  78. package/lib/utilities/array.mjs +15 -0
  79. package/lib/utilities/blankGraphQLTag.js +1 -0
  80. package/lib/utilities/mapAsyncIterator.js +1 -0
  81. package/lib/utilities/mergeResolvers.js +1 -0
  82. package/lib/utilities/typeNameFromAST.js +1 -0
  83. package/lib/values.js +82 -21
  84. package/lib/values.mjs +81 -21
  85. package/package.json +1 -1
package/.eslintcache CHANGED
@@ -1 +1 @@
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/collectFields.ts":"12","/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts":"13","/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts":"14","/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts":"15","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts":"16","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts":"17","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts":"18","/mnt/vss/_work/1/s/packages/supermassive/src/index.ts":"19","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts":"20","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts":"21","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts":"22","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts":"23","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts":"24","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts":"25","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts":"26","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts":"27","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts":"28","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts":"29","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts":"30","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts":"31","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts":"32","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts":"33","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts":"34","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts":"35","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts":"36","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts":"37","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts":"38","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts":"39","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts":"40","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts":"41","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts":"42","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts":"43","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts":"44","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts":"45","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"46","/mnt/vss/_work/1/s/packages/supermassive/src/types.ts":"47","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/blankGraphQLTag.ts":"48","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts":"49","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts":"50","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts":"51","/mnt/vss/_work/1/s/packages/supermassive/src/values.ts":"52"},{"size":6041,"mtime":1679923405367,"results":"53","hashOfConfig":"54"},{"size":967,"mtime":1679923405367,"results":"55","hashOfConfig":"54"},{"size":6845,"mtime":1679923405367,"results":"56","hashOfConfig":"54"},{"size":14345,"mtime":1679923405367,"results":"57","hashOfConfig":"54"},{"size":5895,"mtime":1679923405367,"results":"58","hashOfConfig":"54"},{"size":3340,"mtime":1679923405367,"results":"59","hashOfConfig":"54"},{"size":3662,"mtime":1679923405367,"results":"60","hashOfConfig":"54"},{"size":712,"mtime":1679923405367,"results":"61","hashOfConfig":"54"},{"size":382,"mtime":1679923405367,"results":"62","hashOfConfig":"54"},{"size":128,"mtime":1679923405367,"results":"63","hashOfConfig":"54"},{"size":10233,"mtime":1679923405367,"results":"64","hashOfConfig":"54"},{"size":5387,"mtime":1679923405367,"results":"65","hashOfConfig":"54"},{"size":3431,"mtime":1679923405367,"results":"66","hashOfConfig":"54"},{"size":1649,"mtime":1679923405367,"results":"67","hashOfConfig":"54"},{"size":6589,"mtime":1679923405367,"results":"68","hashOfConfig":"54"},{"size":1230,"mtime":1679923405367,"results":"69","hashOfConfig":"54"},{"size":28220,"mtime":1679923405367,"results":"70","hashOfConfig":"54"},{"size":4918,"mtime":1679923405367,"results":"71","hashOfConfig":"54"},{"size":1857,"mtime":1679923405367,"results":"72","hashOfConfig":"54"},{"size":134,"mtime":1679923405367,"results":"73","hashOfConfig":"54"},{"size":277,"mtime":1679923405367,"results":"74","hashOfConfig":"54"},{"size":711,"mtime":1679923405367,"results":"75","hashOfConfig":"54"},{"size":48,"mtime":1679923405367,"results":"76","hashOfConfig":"54"},{"size":269,"mtime":1679923405371,"results":"77","hashOfConfig":"54"},{"size":1038,"mtime":1679923405371,"results":"78","hashOfConfig":"54"},{"size":108,"mtime":1679923405371,"results":"79","hashOfConfig":"54"},{"size":2797,"mtime":1679923405371,"results":"80","hashOfConfig":"54"},{"size":2294,"mtime":1679923405371,"results":"81","hashOfConfig":"54"},{"size":357,"mtime":1679923405371,"results":"82","hashOfConfig":"54"},{"size":325,"mtime":1679923405371,"results":"83","hashOfConfig":"54"},{"size":778,"mtime":1679923405371,"results":"84","hashOfConfig":"54"},{"size":278,"mtime":1679923405371,"results":"85","hashOfConfig":"54"},{"size":227,"mtime":1679923405371,"results":"86","hashOfConfig":"54"},{"size":921,"mtime":1679923405371,"results":"87","hashOfConfig":"54"},{"size":764,"mtime":1679923405371,"results":"88","hashOfConfig":"54"},{"size":441,"mtime":1679923405371,"results":"89","hashOfConfig":"54"},{"size":821,"mtime":1679923405371,"results":"90","hashOfConfig":"54"},{"size":1314,"mtime":1679923405371,"results":"91","hashOfConfig":"54"},{"size":253,"mtime":1679923405371,"results":"92","hashOfConfig":"54"},{"size":650,"mtime":1679923405371,"results":"93","hashOfConfig":"54"},{"size":803,"mtime":1679923405371,"results":"94","hashOfConfig":"54"},{"size":3938,"mtime":1679923405371,"results":"95","hashOfConfig":"54"},{"size":503,"mtime":1679923405371,"results":"96","hashOfConfig":"54"},{"size":1280,"mtime":1679923405371,"results":"97","hashOfConfig":"54"},{"size":9122,"mtime":1679923405371,"results":"98","hashOfConfig":"54"},{"size":495,"mtime":1679923405371,"results":"99","hashOfConfig":"54"},{"size":4576,"mtime":1679923405371,"results":"100","hashOfConfig":"54"},{"size":104,"mtime":1679923405371,"results":"101","hashOfConfig":"54"},{"size":1815,"mtime":1679923405371,"results":"102","hashOfConfig":"54"},{"size":735,"mtime":1679923405371,"results":"103","hashOfConfig":"54"},{"size":308,"mtime":1679923405371,"results":"104","hashOfConfig":"54"},{"size":9318,"mtime":1679923405371,"results":"105","hashOfConfig":"54"},{"filePath":"106","messages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"gtojg1",{"filePath":"108","messages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"110","messages":"111","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"112","messages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"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},"/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/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/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/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/blankGraphQLTag.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
+ [{"/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__/hooks.test.ts":"3","/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts":"4","/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts":"5","/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts":"6","/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts":"7","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts":"8","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts":"9","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts":"10","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts":"11","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts":"12","/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts":"13","/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts":"14","/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts":"15","/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts":"16","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts":"17","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts":"18","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts":"19","/mnt/vss/_work/1/s/packages/supermassive/src/hooks/types.ts":"20","/mnt/vss/_work/1/s/packages/supermassive/src/index.ts":"21","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts":"22","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts":"23","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts":"24","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts":"25","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts":"26","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts":"27","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts":"28","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts":"29","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts":"30","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts":"31","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts":"32","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts":"33","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts":"34","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts":"35","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts":"36","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts":"37","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts":"38","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts":"39","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts":"40","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts":"41","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts":"42","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts":"43","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts":"44","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts":"45","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts":"46","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts":"47","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"48","/mnt/vss/_work/1/s/packages/supermassive/src/types.ts":"49","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/array.ts":"50","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/blankGraphQLTag.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":1680164569624,"results":"56","hashOfConfig":"57"},{"size":967,"mtime":1680164569624,"results":"58","hashOfConfig":"57"},{"size":11841,"mtime":1680164569624,"results":"59","hashOfConfig":"57"},{"size":6845,"mtime":1680164569624,"results":"60","hashOfConfig":"57"},{"size":14345,"mtime":1680164569624,"results":"61","hashOfConfig":"57"},{"size":5895,"mtime":1680164569624,"results":"62","hashOfConfig":"57"},{"size":3340,"mtime":1680164569624,"results":"63","hashOfConfig":"57"},{"size":3662,"mtime":1680164569624,"results":"64","hashOfConfig":"57"},{"size":712,"mtime":1680164569624,"results":"65","hashOfConfig":"57"},{"size":382,"mtime":1680164569624,"results":"66","hashOfConfig":"57"},{"size":128,"mtime":1680164569624,"results":"67","hashOfConfig":"57"},{"size":10233,"mtime":1680164569624,"results":"68","hashOfConfig":"57"},{"size":5387,"mtime":1680164569624,"results":"69","hashOfConfig":"57"},{"size":3431,"mtime":1680164569624,"results":"70","hashOfConfig":"57"},{"size":1649,"mtime":1680164569624,"results":"71","hashOfConfig":"57"},{"size":6589,"mtime":1680164569624,"results":"72","hashOfConfig":"57"},{"size":1278,"mtime":1680164569624,"results":"73","hashOfConfig":"57"},{"size":33072,"mtime":1680164569624,"results":"74","hashOfConfig":"57"},{"size":4918,"mtime":1680164569624,"results":"75","hashOfConfig":"57"},{"size":946,"mtime":1680164569624,"results":"76","hashOfConfig":"57"},{"size":2075,"mtime":1680164569624,"results":"77","hashOfConfig":"57"},{"size":134,"mtime":1680164569624,"results":"78","hashOfConfig":"57"},{"size":277,"mtime":1680164569624,"results":"79","hashOfConfig":"57"},{"size":711,"mtime":1680164569624,"results":"80","hashOfConfig":"57"},{"size":48,"mtime":1680164569624,"results":"81","hashOfConfig":"57"},{"size":269,"mtime":1680164569624,"results":"82","hashOfConfig":"57"},{"size":1038,"mtime":1680164569624,"results":"83","hashOfConfig":"57"},{"size":108,"mtime":1680164569624,"results":"84","hashOfConfig":"57"},{"size":2797,"mtime":1680164569624,"results":"85","hashOfConfig":"57"},{"size":2294,"mtime":1680164569624,"results":"86","hashOfConfig":"57"},{"size":357,"mtime":1680164569624,"results":"87","hashOfConfig":"57"},{"size":325,"mtime":1680164569624,"results":"88","hashOfConfig":"57"},{"size":778,"mtime":1680164569624,"results":"89","hashOfConfig":"57"},{"size":278,"mtime":1680164569624,"results":"90","hashOfConfig":"57"},{"size":227,"mtime":1680164569624,"results":"91","hashOfConfig":"57"},{"size":921,"mtime":1680164569624,"results":"92","hashOfConfig":"57"},{"size":764,"mtime":1680164569624,"results":"93","hashOfConfig":"57"},{"size":441,"mtime":1680164569624,"results":"94","hashOfConfig":"57"},{"size":821,"mtime":1680164569624,"results":"95","hashOfConfig":"57"},{"size":1314,"mtime":1680164569624,"results":"96","hashOfConfig":"57"},{"size":253,"mtime":1680164569624,"results":"97","hashOfConfig":"57"},{"size":650,"mtime":1680164569624,"results":"98","hashOfConfig":"57"},{"size":803,"mtime":1680164569624,"results":"99","hashOfConfig":"57"},{"size":3938,"mtime":1680164569624,"results":"100","hashOfConfig":"57"},{"size":503,"mtime":1680164569624,"results":"101","hashOfConfig":"57"},{"size":1280,"mtime":1680164569624,"results":"102","hashOfConfig":"57"},{"size":9122,"mtime":1680164569628,"results":"103","hashOfConfig":"57"},{"size":495,"mtime":1680164569628,"results":"104","hashOfConfig":"57"},{"size":4664,"mtime":1680164569628,"results":"105","hashOfConfig":"57"},{"size":290,"mtime":1680164569628,"results":"106","hashOfConfig":"57"},{"size":104,"mtime":1680164569628,"results":"107","hashOfConfig":"57"},{"size":1815,"mtime":1680164569628,"results":"108","hashOfConfig":"57"},{"size":735,"mtime":1680164569628,"results":"109","hashOfConfig":"57"},{"size":308,"mtime":1680164569628,"results":"110","hashOfConfig":"57"},{"size":9318,"mtime":1680164569628,"results":"111","hashOfConfig":"57"},{"filePath":"112","messages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"gtojg1",{"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__/hooks.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/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/hooks/types.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/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/array.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/blankGraphQLTag.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",[]]
package/CHANGELOG.md CHANGED
@@ -1,9 +1,17 @@
1
1
  # Change Log - @graphitation/supermassive
2
2
 
3
- This log was last generated on Wed, 01 Mar 2023 10:48:32 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 30 Mar 2023 08:30:10 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 2.3.0
8
+
9
+ Thu, 30 Mar 2023 08:30:10 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - [SUPERMASSIVE] Initial execution hooks implementation (sergeystoyan@microsoft.com)
14
+
7
15
  ## 2.1.0
8
16
 
9
17
  Wed, 01 Mar 2023 10:48:32 GMT
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __defProps = Object.defineProperties;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -42,52 +43,57 @@ var import_graphql = require("graphql");
42
43
  __reExport(addTypesToRequestDocument_exports, require("./TypedAST"), module.exports);
43
44
  function addTypesToRequestDocument(schema, document) {
44
45
  const typeInfo = new import_graphql.TypeInfo(schema);
45
- return (0, import_graphql.visit)(document, (0, import_graphql.visitWithTypeInfo)(typeInfo, {
46
- Argument: {
47
- leave(node) {
48
- const argument = typeInfo.getArgument();
49
- if (argument) {
50
- const typeNode = generateTypeNode(argument.type);
51
- const newNode = __spreadProps(__spreadValues({}, node), {
52
- __type: typeNode,
53
- __defaultValue: argument.defaultValue ? (0, import_graphql.parseValue)(JSON.stringify(argument.defaultValue)) : void 0
54
- });
55
- return newNode;
56
- }
57
- }
58
- },
59
- Field: {
60
- leave(node, _key, _parent, _path, ancestors) {
61
- const type = typeInfo.getType();
62
- if (type) {
63
- const typeNode = generateTypeNode(type);
64
- const newNode = __spreadProps(__spreadValues({}, node), {
65
- __type: typeNode
66
- });
67
- return newNode;
46
+ return (0, import_graphql.visit)(
47
+ document,
48
+ (0, import_graphql.visitWithTypeInfo)(typeInfo, {
49
+ Argument: {
50
+ leave(node) {
51
+ const argument = typeInfo.getArgument();
52
+ if (argument) {
53
+ const typeNode = generateTypeNode(argument.type);
54
+ const newNode = __spreadProps(__spreadValues({}, node), {
55
+ __type: typeNode,
56
+ __defaultValue: argument.defaultValue ? (0, import_graphql.parseValue)(JSON.stringify(argument.defaultValue)) : void 0
57
+ });
58
+ return newNode;
59
+ }
68
60
  }
69
- const path = [];
70
- ancestors.forEach((ancestorOrArray) => {
71
- let ancestor;
72
- if (!Array.isArray(ancestorOrArray)) {
73
- ancestor = ancestorOrArray;
74
- if (ancestor && ancestor.kind === import_graphql.Kind.FIELD) {
75
- path.push(ancestor.name.value);
76
- } else if (ancestor && ancestor.kind === import_graphql.Kind.OPERATION_DEFINITION) {
77
- let name;
78
- if (ancestor.name) {
79
- name = `${ancestor.operation} ${ancestor.name.value}`;
80
- } else {
81
- name = ancestor.operation;
61
+ },
62
+ Field: {
63
+ leave(node, _key, _parent, _path, ancestors) {
64
+ const type = typeInfo.getType();
65
+ if (type) {
66
+ const typeNode = generateTypeNode(type);
67
+ const newNode = __spreadProps(__spreadValues({}, node), {
68
+ __type: typeNode
69
+ });
70
+ return newNode;
71
+ }
72
+ const path = [];
73
+ ancestors.forEach((ancestorOrArray) => {
74
+ let ancestor;
75
+ if (!Array.isArray(ancestorOrArray)) {
76
+ ancestor = ancestorOrArray;
77
+ if (ancestor && ancestor.kind === import_graphql.Kind.FIELD) {
78
+ path.push(ancestor.name.value);
79
+ } else if (ancestor && ancestor.kind === import_graphql.Kind.OPERATION_DEFINITION) {
80
+ let name;
81
+ if (ancestor.name) {
82
+ name = `${ancestor.operation} ${ancestor.name.value}`;
83
+ } else {
84
+ name = ancestor.operation;
85
+ }
86
+ path.push(name);
82
87
  }
83
- path.push(name);
84
88
  }
85
- }
86
- });
87
- throw new Error(`Cannot find type for field: ${path.join(".")}.${node.name.value}`);
89
+ });
90
+ throw new Error(
91
+ `Cannot find type for field: ${path.join(".")}.${node.name.value}`
92
+ );
93
+ }
88
94
  }
89
- }
90
- }));
95
+ })
96
+ );
91
97
  }
92
98
  function generateTypeNode(type) {
93
99
  if ((0, import_graphql.isNonNullType)(type)) {
@@ -32,52 +32,57 @@ import {
32
32
  export * from "./TypedAST.mjs";
33
33
  function addTypesToRequestDocument(schema, document) {
34
34
  const typeInfo = new TypeInfo(schema);
35
- return visit(document, visitWithTypeInfo(typeInfo, {
36
- Argument: {
37
- leave(node) {
38
- const argument = typeInfo.getArgument();
39
- if (argument) {
40
- const typeNode = generateTypeNode(argument.type);
41
- const newNode = __spreadProps(__spreadValues({}, node), {
42
- __type: typeNode,
43
- __defaultValue: argument.defaultValue ? parseValue(JSON.stringify(argument.defaultValue)) : void 0
44
- });
45
- return newNode;
46
- }
47
- }
48
- },
49
- Field: {
50
- leave(node, _key, _parent, _path, ancestors) {
51
- const type = typeInfo.getType();
52
- if (type) {
53
- const typeNode = generateTypeNode(type);
54
- const newNode = __spreadProps(__spreadValues({}, node), {
55
- __type: typeNode
56
- });
57
- return newNode;
35
+ return visit(
36
+ document,
37
+ visitWithTypeInfo(typeInfo, {
38
+ Argument: {
39
+ leave(node) {
40
+ const argument = typeInfo.getArgument();
41
+ if (argument) {
42
+ const typeNode = generateTypeNode(argument.type);
43
+ const newNode = __spreadProps(__spreadValues({}, node), {
44
+ __type: typeNode,
45
+ __defaultValue: argument.defaultValue ? parseValue(JSON.stringify(argument.defaultValue)) : void 0
46
+ });
47
+ return newNode;
48
+ }
58
49
  }
59
- const path = [];
60
- ancestors.forEach((ancestorOrArray) => {
61
- let ancestor;
62
- if (!Array.isArray(ancestorOrArray)) {
63
- ancestor = ancestorOrArray;
64
- if (ancestor && ancestor.kind === Kind.FIELD) {
65
- path.push(ancestor.name.value);
66
- } else if (ancestor && ancestor.kind === Kind.OPERATION_DEFINITION) {
67
- let name;
68
- if (ancestor.name) {
69
- name = `${ancestor.operation} ${ancestor.name.value}`;
70
- } else {
71
- name = ancestor.operation;
50
+ },
51
+ Field: {
52
+ leave(node, _key, _parent, _path, ancestors) {
53
+ const type = typeInfo.getType();
54
+ if (type) {
55
+ const typeNode = generateTypeNode(type);
56
+ const newNode = __spreadProps(__spreadValues({}, node), {
57
+ __type: typeNode
58
+ });
59
+ return newNode;
60
+ }
61
+ const path = [];
62
+ ancestors.forEach((ancestorOrArray) => {
63
+ let ancestor;
64
+ if (!Array.isArray(ancestorOrArray)) {
65
+ ancestor = ancestorOrArray;
66
+ if (ancestor && ancestor.kind === Kind.FIELD) {
67
+ path.push(ancestor.name.value);
68
+ } else if (ancestor && ancestor.kind === Kind.OPERATION_DEFINITION) {
69
+ let name;
70
+ if (ancestor.name) {
71
+ name = `${ancestor.operation} ${ancestor.name.value}`;
72
+ } else {
73
+ name = ancestor.operation;
74
+ }
75
+ path.push(name);
72
76
  }
73
- path.push(name);
74
77
  }
75
- }
76
- });
77
- throw new Error(`Cannot find type for field: ${path.join(".")}.${node.name.value}`);
78
+ });
79
+ throw new Error(
80
+ `Cannot find type for field: ${path.join(".")}.${node.name.value}`
81
+ );
82
+ }
78
83
  }
79
- }
80
- }));
84
+ })
85
+ );
81
86
  }
82
87
  function generateTypeNode(type) {
83
88
  if (isNonNullType(type)) {
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -12,7 +13,14 @@ var __copyProps = (to, from, except, desc) => {
12
13
  }
13
14
  return to;
14
15
  };
15
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
+ mod
23
+ ));
16
24
  var __async = (__this, __arguments, generator) => {
17
25
  return new Promise((resolve, reject) => {
18
26
  var fulfilled = (value) => {
@@ -45,9 +53,12 @@ var import_executeWithoutSchema = require("../executeWithoutSchema");
45
53
  var import_addTypesToRequestDocument = require("../ast/addTypesToRequestDocument");
46
54
  var import_extractImplicitTypesRuntime = require("../extractImplicitTypesRuntime");
47
55
  var import_values = require("../values");
48
- const query = import_fs.default.readFileSync(import_path.default.join(__dirname, "./fixtures/query1.graphql"), {
49
- encoding: "utf-8"
50
- });
56
+ const query = import_fs.default.readFileSync(
57
+ import_path.default.join(__dirname, "./fixtures/query1.graphql"),
58
+ {
59
+ encoding: "utf-8"
60
+ }
61
+ );
51
62
  const parsedQuery = (0, import_graphql.parse)(query);
52
63
  const compiledQuery = (0, import_graphql_jit.compileQuery)(import_swapi_schema.default, parsedQuery);
53
64
  const typeAnnotatedQuery = (0, import_addTypesToRequestDocument.addTypesToRequestDocument)(import_swapi_schema.default, parsedQuery);
@@ -43,9 +43,12 @@ import { extractImplicitTypes } from "../extractImplicitTypesRuntime.mjs";
43
43
  import { specifiedScalars } from "../values.mjs";
44
44
  var require_benchmarks = __commonJS({
45
45
  "src/benchmarks/index.ts"(exports) {
46
- var query = fs.readFileSync(path.join(__dirname, "./fixtures/query1.graphql"), {
47
- encoding: "utf-8"
48
- });
46
+ var query = fs.readFileSync(
47
+ path.join(__dirname, "./fixtures/query1.graphql"),
48
+ {
49
+ encoding: "utf-8"
50
+ }
51
+ );
49
52
  var parsedQuery = parse(query);
50
53
  var compiledQuery = compileQuery(schema, parsedQuery);
51
54
  var typeAnnotatedQuery = addTypesToRequestDocument(schema, parsedQuery);
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -16,7 +17,14 @@ var __copyProps = (to, from, except, desc) => {
16
17
  }
17
18
  return to;
18
19
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
20
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
29
  var swapi_schema_exports = {};
22
30
  __export(swapi_schema_exports, {
@@ -29,9 +37,11 @@ var import_graphql = require("graphql");
29
37
  var import_path = require("path");
30
38
  var import_fs = require("fs");
31
39
  var import_resolvers = __toESM(require("./resolvers"));
32
- const typeDefs = (0, import_graphql.parse)((0, import_fs.readFileSync)((0, import_path.join)(__dirname, "./schema.graphql"), {
33
- encoding: "utf-8"
34
- }));
40
+ const typeDefs = (0, import_graphql.parse)(
41
+ (0, import_fs.readFileSync)((0, import_path.join)(__dirname, "./schema.graphql"), {
42
+ encoding: "utf-8"
43
+ })
44
+ );
35
45
  var swapi_schema_default = (0, import_schema.makeExecutableSchema)({
36
46
  typeDefs,
37
47
  resolvers: import_resolvers.default
@@ -4,9 +4,11 @@ import { parse } from "graphql";
4
4
  import { join } from "path";
5
5
  import { readFileSync } from "fs";
6
6
  import resolvers from "./resolvers.mjs";
7
- var typeDefs = parse(readFileSync(join(__dirname, "./schema.graphql"), {
8
- encoding: "utf-8"
9
- }));
7
+ var typeDefs = parse(
8
+ readFileSync(join(__dirname, "./schema.graphql"), {
9
+ encoding: "utf-8"
10
+ })
11
+ );
10
12
  var swapi_schema_default = makeExecutableSchema({
11
13
  typeDefs,
12
14
  resolvers
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -16,7 +17,14 @@ var __copyProps = (to, from, except, desc) => {
16
17
  }
17
18
  return to;
18
19
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
20
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
29
  var models_exports = {};
22
30
  __export(models_exports, {
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __defProps = Object.defineProperties;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -152,13 +153,27 @@ const resolvers = {
152
153
  Query: {
153
154
  search(parent, { search }, { models }, info) {
154
155
  const result = [
155
- ...searchFilmsByTitle(parent, { search }, { models }, info).map((r) => (r.__typename = "Film") && r),
156
- ...searchPeopleByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Person") && r),
157
- ...searchPlanetsByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Planet") && r),
158
- ...searchSpeciesByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Species") && r),
159
- ...searchStarshipsByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Starship") && r),
160
- ...searchTransportsByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Transport") && r),
161
- ...searchVehiclesByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Vehicle") && r)
156
+ ...searchFilmsByTitle(parent, { search }, { models }, info).map(
157
+ (r) => (r.__typename = "Film") && r
158
+ ),
159
+ ...searchPeopleByName(parent, { search }, { models }, info).map(
160
+ (r) => (r.__typename = "Person") && r
161
+ ),
162
+ ...searchPlanetsByName(parent, { search }, { models }, info).map(
163
+ (r) => (r.__typename = "Planet") && r
164
+ ),
165
+ ...searchSpeciesByName(parent, { search }, { models }, info).map(
166
+ (r) => (r.__typename = "Species") && r
167
+ ),
168
+ ...searchStarshipsByName(parent, { search }, { models }, info).map(
169
+ (r) => (r.__typename = "Starship") && r
170
+ ),
171
+ ...searchTransportsByName(parent, { search }, { models }, info).map(
172
+ (r) => (r.__typename = "Transport") && r
173
+ ),
174
+ ...searchVehiclesByName(parent, { search }, { models }, info).map(
175
+ (r) => (r.__typename = "Vehicle") && r
176
+ )
162
177
  ];
163
178
  return result;
164
179
  },
@@ -131,13 +131,27 @@ var resolvers = {
131
131
  Query: {
132
132
  search(parent, { search }, { models }, info) {
133
133
  const result = [
134
- ...searchFilmsByTitle(parent, { search }, { models }, info).map((r) => (r.__typename = "Film") && r),
135
- ...searchPeopleByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Person") && r),
136
- ...searchPlanetsByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Planet") && r),
137
- ...searchSpeciesByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Species") && r),
138
- ...searchStarshipsByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Starship") && r),
139
- ...searchTransportsByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Transport") && r),
140
- ...searchVehiclesByName(parent, { search }, { models }, info).map((r) => (r.__typename = "Vehicle") && r)
134
+ ...searchFilmsByTitle(parent, { search }, { models }, info).map(
135
+ (r) => (r.__typename = "Film") && r
136
+ ),
137
+ ...searchPeopleByName(parent, { search }, { models }, info).map(
138
+ (r) => (r.__typename = "Person") && r
139
+ ),
140
+ ...searchPlanetsByName(parent, { search }, { models }, info).map(
141
+ (r) => (r.__typename = "Planet") && r
142
+ ),
143
+ ...searchSpeciesByName(parent, { search }, { models }, info).map(
144
+ (r) => (r.__typename = "Species") && r
145
+ ),
146
+ ...searchStarshipsByName(parent, { search }, { models }, info).map(
147
+ (r) => (r.__typename = "Starship") && r
148
+ ),
149
+ ...searchTransportsByName(parent, { search }, { models }, info).map(
150
+ (r) => (r.__typename = "Transport") && r
151
+ ),
152
+ ...searchVehiclesByName(parent, { search }, { models }, info).map(
153
+ (r) => (r.__typename = "Vehicle") && r
154
+ )
141
155
  ];
142
156
  return result;
143
157
  },