@graphitation/supermassive 2.2.1 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintcache +1 -1
- package/lib/ast/TypedAST.js +1 -0
- package/lib/ast/addTypesToRequestDocument.js +48 -42
- package/lib/ast/addTypesToRequestDocument.mjs +47 -42
- package/lib/benchmarks/index.js +15 -4
- package/lib/benchmarks/index.mjs +6 -3
- package/lib/benchmarks/nice-benchmark.js +1 -0
- package/lib/benchmarks/swapi-schema/index.js +14 -4
- package/lib/benchmarks/swapi-schema/index.mjs +5 -3
- package/lib/benchmarks/swapi-schema/models.js +9 -1
- package/lib/benchmarks/swapi-schema/resolvers.js +22 -7
- package/lib/benchmarks/swapi-schema/resolvers.mjs +21 -7
- package/lib/collectFields.js +41 -11
- package/lib/collectFields.mjs +40 -11
- package/lib/compiledQuery.js +1 -0
- package/lib/definition.js +13 -8
- package/lib/definition.mjs +12 -8
- package/lib/directives.js +48 -33
- package/lib/directives.mjs +47 -33
- package/lib/executeWithSchema.js +1 -0
- package/lib/executeWithoutSchema.js +231 -49
- package/lib/executeWithoutSchema.mjs +224 -46
- package/lib/extractImplicitTypesRuntime.js +4 -1
- package/lib/extractImplicitTypesRuntime.mjs +3 -1
- package/lib/index.js +1 -0
- package/lib/jsutils/Maybe.js +1 -0
- package/lib/jsutils/ObjMap.js +1 -0
- package/lib/jsutils/Path.js +1 -0
- package/lib/jsutils/PromiseOrValue.js +1 -0
- package/lib/jsutils/devAssert.js +1 -0
- package/lib/jsutils/didYouMean.js +1 -0
- package/lib/jsutils/identityFunc.js +1 -0
- package/lib/jsutils/inspect.js +4 -1
- package/lib/jsutils/inspect.mjs +3 -1
- package/lib/jsutils/instanceOf.js +18 -6
- package/lib/jsutils/instanceOf.mjs +17 -6
- package/lib/jsutils/invariant.js +4 -1
- package/lib/jsutils/invariant.mjs +3 -1
- package/lib/jsutils/isAsyncIterable.js +1 -0
- package/lib/jsutils/isIterableObject.js +1 -0
- package/lib/jsutils/isObjectLike.js +1 -0
- package/lib/jsutils/isPromise.js +1 -0
- package/lib/jsutils/keyMap.js +1 -0
- package/lib/jsutils/keyValMap.js +1 -0
- package/lib/jsutils/mapValue.js +1 -0
- package/lib/jsutils/memoize3.js +1 -0
- package/lib/jsutils/naturalCompare.js +1 -0
- package/lib/jsutils/printPathArray.js +4 -1
- package/lib/jsutils/printPathArray.mjs +3 -1
- package/lib/jsutils/promiseForObject.js +1 -0
- package/lib/jsutils/promiseReduce.js +1 -0
- package/lib/jsutils/suggestionList.js +9 -1
- package/lib/jsutils/suggestionList.mjs +8 -1
- package/lib/jsutils/toObjMap.js +1 -0
- package/lib/subscribeWithSchema.js +1 -0
- package/lib/subscribeWithoutSchema.js +45 -6
- package/lib/subscribeWithoutSchema.mjs +44 -6
- package/lib/transforms/annotateDocumentGraphQLTransform.js +1 -0
- package/lib/types.js +1 -0
- package/lib/utilities/blankGraphQLTag.js +1 -0
- package/lib/utilities/mapAsyncIterator.js +1 -0
- package/lib/utilities/mergeResolvers.js +1 -0
- package/lib/utilities/typeNameFromAST.js +1 -0
- package/lib/values.js +82 -21
- package/lib/values.mjs +81 -21
- 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":1678984651897,"results":"53","hashOfConfig":"54"},{"size":967,"mtime":1678984651897,"results":"55","hashOfConfig":"54"},{"size":6845,"mtime":1678984651897,"results":"56","hashOfConfig":"54"},{"size":14345,"mtime":1678984651897,"results":"57","hashOfConfig":"54"},{"size":5895,"mtime":1678984651897,"results":"58","hashOfConfig":"54"},{"size":3340,"mtime":1678984651897,"results":"59","hashOfConfig":"54"},{"size":3662,"mtime":1678984651897,"results":"60","hashOfConfig":"54"},{"size":712,"mtime":1678984651897,"results":"61","hashOfConfig":"54"},{"size":382,"mtime":1678984651897,"results":"62","hashOfConfig":"54"},{"size":128,"mtime":1678984651897,"results":"63","hashOfConfig":"54"},{"size":10233,"mtime":1678984651897,"results":"64","hashOfConfig":"54"},{"size":5387,"mtime":1678984651897,"results":"65","hashOfConfig":"54"},{"size":3431,"mtime":1678984651897,"results":"66","hashOfConfig":"54"},{"size":1649,"mtime":1678984651897,"results":"67","hashOfConfig":"54"},{"size":6589,"mtime":1678984651897,"results":"68","hashOfConfig":"54"},{"size":1230,"mtime":1678984651897,"results":"69","hashOfConfig":"54"},{"size":28220,"mtime":1678984651897,"results":"70","hashOfConfig":"54"},{"size":4918,"mtime":1678984651897,"results":"71","hashOfConfig":"54"},{"size":1857,"mtime":1678984651897,"results":"72","hashOfConfig":"54"},{"size":134,"mtime":1678984651897,"results":"73","hashOfConfig":"54"},{"size":277,"mtime":1678984651897,"results":"74","hashOfConfig":"54"},{"size":711,"mtime":1678984651897,"results":"75","hashOfConfig":"54"},{"size":48,"mtime":1678984651897,"results":"76","hashOfConfig":"54"},{"size":269,"mtime":1678984651897,"results":"77","hashOfConfig":"54"},{"size":1038,"mtime":1678984651897,"results":"78","hashOfConfig":"54"},{"size":108,"mtime":1678984651897,"results":"79","hashOfConfig":"54"},{"size":2797,"mtime":1678984651901,"results":"80","hashOfConfig":"54"},{"size":2294,"mtime":1678984651901,"results":"81","hashOfConfig":"54"},{"size":357,"mtime":1678984651901,"results":"82","hashOfConfig":"54"},{"size":325,"mtime":1678984651901,"results":"83","hashOfConfig":"54"},{"size":778,"mtime":1678984651901,"results":"84","hashOfConfig":"54"},{"size":278,"mtime":1678984651901,"results":"85","hashOfConfig":"54"},{"size":227,"mtime":1678984651901,"results":"86","hashOfConfig":"54"},{"size":921,"mtime":1678984651901,"results":"87","hashOfConfig":"54"},{"size":764,"mtime":1678984651901,"results":"88","hashOfConfig":"54"},{"size":441,"mtime":1678984651901,"results":"89","hashOfConfig":"54"},{"size":821,"mtime":1678984651901,"results":"90","hashOfConfig":"54"},{"size":1314,"mtime":1678984651901,"results":"91","hashOfConfig":"54"},{"size":253,"mtime":1678984651901,"results":"92","hashOfConfig":"54"},{"size":650,"mtime":1678984651901,"results":"93","hashOfConfig":"54"},{"size":803,"mtime":1678984651901,"results":"94","hashOfConfig":"54"},{"size":3938,"mtime":1678984651901,"results":"95","hashOfConfig":"54"},{"size":503,"mtime":1678984651901,"results":"96","hashOfConfig":"54"},{"size":1280,"mtime":1678984651901,"results":"97","hashOfConfig":"54"},{"size":9122,"mtime":1678984651901,"results":"98","hashOfConfig":"54"},{"size":495,"mtime":1678984651901,"results":"99","hashOfConfig":"54"},{"size":4576,"mtime":1678984651901,"results":"100","hashOfConfig":"54"},{"size":104,"mtime":1678984651901,"results":"101","hashOfConfig":"54"},{"size":1815,"mtime":1678984651901,"results":"102","hashOfConfig":"54"},{"size":735,"mtime":1678984651901,"results":"103","hashOfConfig":"54"},{"size":308,"mtime":1678984651901,"results":"104","hashOfConfig":"54"},{"size":9318,"mtime":1678984651901,"results":"105","hashOfConfig":"54"},{"filePath":"106","messages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"uuffxs",{"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__/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":1679998799845,"results":"53","hashOfConfig":"54"},{"size":967,"mtime":1679998799845,"results":"55","hashOfConfig":"54"},{"size":6845,"mtime":1679998799845,"results":"56","hashOfConfig":"54"},{"size":14345,"mtime":1679998799845,"results":"57","hashOfConfig":"54"},{"size":5895,"mtime":1679998799845,"results":"58","hashOfConfig":"54"},{"size":3340,"mtime":1679998799845,"results":"59","hashOfConfig":"54"},{"size":3662,"mtime":1679998799849,"results":"60","hashOfConfig":"54"},{"size":712,"mtime":1679998799849,"results":"61","hashOfConfig":"54"},{"size":382,"mtime":1679998799849,"results":"62","hashOfConfig":"54"},{"size":128,"mtime":1679998799849,"results":"63","hashOfConfig":"54"},{"size":10233,"mtime":1679998799849,"results":"64","hashOfConfig":"54"},{"size":5387,"mtime":1679998799849,"results":"65","hashOfConfig":"54"},{"size":3431,"mtime":1679998799849,"results":"66","hashOfConfig":"54"},{"size":1649,"mtime":1679998799849,"results":"67","hashOfConfig":"54"},{"size":6589,"mtime":1679998799849,"results":"68","hashOfConfig":"54"},{"size":1230,"mtime":1679998799849,"results":"69","hashOfConfig":"54"},{"size":28220,"mtime":1679998799849,"results":"70","hashOfConfig":"54"},{"size":4918,"mtime":1679998799849,"results":"71","hashOfConfig":"54"},{"size":1857,"mtime":1679998799849,"results":"72","hashOfConfig":"54"},{"size":134,"mtime":1679998799849,"results":"73","hashOfConfig":"54"},{"size":277,"mtime":1679998799849,"results":"74","hashOfConfig":"54"},{"size":711,"mtime":1679998799849,"results":"75","hashOfConfig":"54"},{"size":48,"mtime":1679998799849,"results":"76","hashOfConfig":"54"},{"size":269,"mtime":1679998799849,"results":"77","hashOfConfig":"54"},{"size":1038,"mtime":1679998799849,"results":"78","hashOfConfig":"54"},{"size":108,"mtime":1679998799849,"results":"79","hashOfConfig":"54"},{"size":2797,"mtime":1679998799849,"results":"80","hashOfConfig":"54"},{"size":2294,"mtime":1679998799849,"results":"81","hashOfConfig":"54"},{"size":357,"mtime":1679998799849,"results":"82","hashOfConfig":"54"},{"size":325,"mtime":1679998799849,"results":"83","hashOfConfig":"54"},{"size":778,"mtime":1679998799849,"results":"84","hashOfConfig":"54"},{"size":278,"mtime":1679998799849,"results":"85","hashOfConfig":"54"},{"size":227,"mtime":1679998799849,"results":"86","hashOfConfig":"54"},{"size":921,"mtime":1679998799849,"results":"87","hashOfConfig":"54"},{"size":764,"mtime":1679998799849,"results":"88","hashOfConfig":"54"},{"size":441,"mtime":1679998799849,"results":"89","hashOfConfig":"54"},{"size":821,"mtime":1679998799849,"results":"90","hashOfConfig":"54"},{"size":1314,"mtime":1679998799849,"results":"91","hashOfConfig":"54"},{"size":253,"mtime":1679998799849,"results":"92","hashOfConfig":"54"},{"size":650,"mtime":1679998799849,"results":"93","hashOfConfig":"54"},{"size":803,"mtime":1679998799849,"results":"94","hashOfConfig":"54"},{"size":3938,"mtime":1679998799849,"results":"95","hashOfConfig":"54"},{"size":503,"mtime":1679998799849,"results":"96","hashOfConfig":"54"},{"size":1280,"mtime":1679998799849,"results":"97","hashOfConfig":"54"},{"size":9122,"mtime":1679998799849,"results":"98","hashOfConfig":"54"},{"size":495,"mtime":1679998799849,"results":"99","hashOfConfig":"54"},{"size":4576,"mtime":1679998799849,"results":"100","hashOfConfig":"54"},{"size":104,"mtime":1679998799849,"results":"101","hashOfConfig":"54"},{"size":1815,"mtime":1679998799849,"results":"102","hashOfConfig":"54"},{"size":735,"mtime":1679998799849,"results":"103","hashOfConfig":"54"},{"size":308,"mtime":1679998799849,"results":"104","hashOfConfig":"54"},{"size":9318,"mtime":1679998799849,"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",[]]
|
package/lib/ast/TypedAST.js
CHANGED
|
@@ -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)(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
-
|
|
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(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
|
|
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)) {
|
package/lib/benchmarks/index.js
CHANGED
|
@@ -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(
|
|
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(
|
|
49
|
-
|
|
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);
|
package/lib/benchmarks/index.mjs
CHANGED
|
@@ -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(
|
|
47
|
-
|
|
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 __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(
|
|
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)(
|
|
33
|
-
|
|
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(
|
|
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(
|
|
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(
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
...
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
...
|
|
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(
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
...
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
...
|
|
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
|
},
|