@graphitation/supermassive 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintcache +1 -1
- package/CHANGELOG.md +10 -2
- package/lib/bin/supermassive.js +12 -5
- package/lib/bin/supermassive.mjs +12 -5
- package/lib/codegen/models.js +3 -3
- package/lib/codegen/models.mjs +3 -3
- package/lib/codegen/utilities.d.ts.map +1 -1
- package/lib/codegen/utilities.js +1 -2
- package/lib/codegen/utilities.mjs +1 -2
- 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/bin/__tests__/typeDefsToImplicitResolvers.test.ts":"12","/mnt/vss/_work/1/s/packages/supermassive/src/bin/supermassive.ts":"13","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/__tests__/index.test.ts":"14","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/__tests__/import.test.ts":"15","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/expect.ts":"16","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/import.ts":"17","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/index.ts":"18","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/model.ts":"19","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/utilities.ts":"20","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/index.ts":"21","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/models.ts":"22","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/resolvers.ts":"23","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/typedVisitor.ts":"24","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/types.ts":"25","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/utilities.ts":"26","/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts":"27","/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts":"28","/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts":"29","/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts":"30","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts":"31","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts":"32","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts":"33","/mnt/vss/_work/1/s/packages/supermassive/src/extractors/extractImplicitTypesToTypescript.ts":"34","/mnt/vss/_work/1/s/packages/supermassive/src/extractors/index.ts":"35","/mnt/vss/_work/1/s/packages/supermassive/src/index.ts":"36","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts":"37","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts":"38","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts":"39","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts":"40","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts":"41","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts":"42","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts":"43","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts":"44","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts":"45","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts":"46","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts":"47","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts":"48","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts":"49","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts":"50","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts":"51","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts":"52","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts":"53","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts":"54","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts":"55","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts":"56","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts":"57","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts":"58","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts":"59","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts":"60","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts":"61","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts":"62","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"63","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/transformerTestUtils.ts":"64","/mnt/vss/_work/1/s/packages/supermassive/src/types.ts":"65","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/blankGraphQLTag.ts":"66","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts":"67","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts":"68","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts":"69","/mnt/vss/_work/1/s/packages/supermassive/src/values.ts":"70"},{"size":6041,"mtime":1666007029389,"results":"71","hashOfConfig":"72"},{"size":1603,"mtime":1666007029389,"results":"73","hashOfConfig":"72"},{"size":6845,"mtime":1666007029389,"results":"74","hashOfConfig":"72"},{"size":14345,"mtime":1666007029389,"results":"75","hashOfConfig":"72"},{"size":5297,"mtime":1666007029389,"results":"76","hashOfConfig":"72"},{"size":2189,"mtime":1666007029389,"results":"77","hashOfConfig":"72"},{"size":3662,"mtime":1666007029389,"results":"78","hashOfConfig":"72"},{"size":712,"mtime":1666007029389,"results":"79","hashOfConfig":"72"},{"size":382,"mtime":1666007029389,"results":"80","hashOfConfig":"72"},{"size":128,"mtime":1666007029389,"results":"81","hashOfConfig":"72"},{"size":10233,"mtime":1666007029389,"results":"82","hashOfConfig":"72"},{"size":848,"mtime":1666007029393,"results":"83","hashOfConfig":"72"},{"size":4389,"mtime":1666007029393,"results":"84","hashOfConfig":"72"},{"size":37142,"mtime":1666007029393,"results":"85","hashOfConfig":"72"},{"size":4728,"mtime":1666007029393,"results":"86","hashOfConfig":"72"},{"size":1448,"mtime":1666007029393,"results":"87","hashOfConfig":"72"},{"size":1563,"mtime":1666007029393,"results":"88","hashOfConfig":"72"},{"size":9890,"mtime":1666007029393,"results":"89","hashOfConfig":"72"},{"size":1870,"mtime":1666007029393,"results":"90","hashOfConfig":"72"},{"size":629,"mtime":1666007029393,"results":"91","hashOfConfig":"72"},{"size":754,"mtime":1666007029393,"results":"92","hashOfConfig":"72"},{"size":8088,"mtime":1666007029393,"results":"93","hashOfConfig":"72"},{"size":7220,"mtime":1666007029393,"results":"94","hashOfConfig":"72"},{"size":2908,"mtime":1666007029393,"results":"95","hashOfConfig":"72"},{"size":380,"mtime":1666007029393,"results":"96","hashOfConfig":"72"},{"size":10338,"mtime":1666007029393,"results":"97","hashOfConfig":"72"},{"size":5387,"mtime":1666007029393,"results":"98","hashOfConfig":"72"},{"size":3431,"mtime":1666007029393,"results":"99","hashOfConfig":"72"},{"size":1649,"mtime":1666007029393,"results":"100","hashOfConfig":"72"},{"size":6589,"mtime":1666007029393,"results":"101","hashOfConfig":"72"},{"size":1230,"mtime":1666007029393,"results":"102","hashOfConfig":"72"},{"size":28220,"mtime":1666007029393,"results":"103","hashOfConfig":"72"},{"size":4918,"mtime":1666007029393,"results":"104","hashOfConfig":"72"},{"size":14787,"mtime":1666007029393,"results":"105","hashOfConfig":"72"},{"size":87,"mtime":1666007029393,"results":"106","hashOfConfig":"72"},{"size":1887,"mtime":1666007029393,"results":"107","hashOfConfig":"72"},{"size":134,"mtime":1666007029393,"results":"108","hashOfConfig":"72"},{"size":277,"mtime":1666007029393,"results":"109","hashOfConfig":"72"},{"size":711,"mtime":1666007029393,"results":"110","hashOfConfig":"72"},{"size":48,"mtime":1666007029393,"results":"111","hashOfConfig":"72"},{"size":269,"mtime":1666007029393,"results":"112","hashOfConfig":"72"},{"size":1038,"mtime":1666007029393,"results":"113","hashOfConfig":"72"},{"size":108,"mtime":1666007029393,"results":"114","hashOfConfig":"72"},{"size":2797,"mtime":1666007029393,"results":"115","hashOfConfig":"72"},{"size":2294,"mtime":1666007029393,"results":"116","hashOfConfig":"72"},{"size":357,"mtime":1666007029393,"results":"117","hashOfConfig":"72"},{"size":325,"mtime":1666007029393,"results":"118","hashOfConfig":"72"},{"size":778,"mtime":1666007029393,"results":"119","hashOfConfig":"72"},{"size":278,"mtime":1666007029393,"results":"120","hashOfConfig":"72"},{"size":227,"mtime":1666007029393,"results":"121","hashOfConfig":"72"},{"size":921,"mtime":1666007029393,"results":"122","hashOfConfig":"72"},{"size":764,"mtime":1666007029393,"results":"123","hashOfConfig":"72"},{"size":441,"mtime":1666007029393,"results":"124","hashOfConfig":"72"},{"size":821,"mtime":1666007029393,"results":"125","hashOfConfig":"72"},{"size":1314,"mtime":1666007029393,"results":"126","hashOfConfig":"72"},{"size":253,"mtime":1666007029393,"results":"127","hashOfConfig":"72"},{"size":650,"mtime":1666007029393,"results":"128","hashOfConfig":"72"},{"size":803,"mtime":1666007029393,"results":"129","hashOfConfig":"72"},{"size":3938,"mtime":1666007029393,"results":"130","hashOfConfig":"72"},{"size":503,"mtime":1666007029393,"results":"131","hashOfConfig":"72"},{"size":1280,"mtime":1666007029393,"results":"132","hashOfConfig":"72"},{"size":9122,"mtime":1666007029393,"results":"133","hashOfConfig":"72"},{"size":495,"mtime":1666007029393,"results":"134","hashOfConfig":"72"},{"size":6652,"mtime":1666007029393,"results":"135","hashOfConfig":"72"},{"size":4576,"mtime":1666007029393,"results":"136","hashOfConfig":"72"},{"size":104,"mtime":1666007029397,"results":"137","hashOfConfig":"72"},{"size":1815,"mtime":1666007029397,"results":"138","hashOfConfig":"72"},{"size":735,"mtime":1666007029397,"results":"139","hashOfConfig":"72"},{"size":308,"mtime":1666007029397,"results":"140","hashOfConfig":"72"},{"size":9318,"mtime":1666007029397,"results":"141","hashOfConfig":"72"},{"filePath":"142","messages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ezl7dg",{"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},{"filePath":"222","messages":"223","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"226","messages":"227","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"228","messages":"229","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"230","messages":"231","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"232","messages":"233","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"234","messages":"235","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"236","messages":"237","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"238","messages":"239","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"240","messages":"241","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"242","messages":"243","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"244","messages":"245","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"246","messages":"247","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"248","messages":"249","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"250","messages":"251","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"252","messages":"253","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"254","messages":"255","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"256","messages":"257","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"258","messages":"259","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"260","messages":"261","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"262","messages":"263","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"264","messages":"265","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"266","messages":"267","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"268","messages":"269","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"270","messages":"271","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"272","messages":"273","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"274","messages":"275","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"276","messages":"277","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"278","messages":"279","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"280","messages":"281","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/execute.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/bin/supermassive.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/__tests__/index.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/__tests__/import.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/expect.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/import.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/model.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/utilities.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/models.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/resolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/typedVisitor.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/utilities.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/extractors/extractImplicitTypesToTypescript.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/extractors/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/transformerTestUtils.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/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/bin/__tests__/typeDefsToImplicitResolvers.test.ts":"12","/mnt/vss/_work/1/s/packages/supermassive/src/bin/supermassive.ts":"13","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/__tests__/index.test.ts":"14","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/__tests__/import.test.ts":"15","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/expect.ts":"16","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/import.ts":"17","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/index.ts":"18","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/model.ts":"19","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/utilities.ts":"20","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/index.ts":"21","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/models.ts":"22","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/resolvers.ts":"23","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/typedVisitor.ts":"24","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/types.ts":"25","/mnt/vss/_work/1/s/packages/supermassive/src/codegen/utilities.ts":"26","/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts":"27","/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts":"28","/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts":"29","/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts":"30","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts":"31","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts":"32","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts":"33","/mnt/vss/_work/1/s/packages/supermassive/src/extractors/extractImplicitTypesToTypescript.ts":"34","/mnt/vss/_work/1/s/packages/supermassive/src/extractors/index.ts":"35","/mnt/vss/_work/1/s/packages/supermassive/src/index.ts":"36","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts":"37","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts":"38","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts":"39","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts":"40","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts":"41","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts":"42","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts":"43","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts":"44","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts":"45","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts":"46","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts":"47","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts":"48","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts":"49","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts":"50","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts":"51","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts":"52","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts":"53","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts":"54","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts":"55","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts":"56","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts":"57","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts":"58","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts":"59","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts":"60","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts":"61","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts":"62","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"63","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/transformerTestUtils.ts":"64","/mnt/vss/_work/1/s/packages/supermassive/src/types.ts":"65","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/blankGraphQLTag.ts":"66","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts":"67","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts":"68","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts":"69","/mnt/vss/_work/1/s/packages/supermassive/src/values.ts":"70"},{"size":6041,"mtime":1666622697651,"results":"71","hashOfConfig":"72"},{"size":1603,"mtime":1666622697651,"results":"73","hashOfConfig":"72"},{"size":6845,"mtime":1666622697651,"results":"74","hashOfConfig":"72"},{"size":14345,"mtime":1666622697651,"results":"75","hashOfConfig":"72"},{"size":5297,"mtime":1666622697651,"results":"76","hashOfConfig":"72"},{"size":2189,"mtime":1666622697651,"results":"77","hashOfConfig":"72"},{"size":3662,"mtime":1666622697651,"results":"78","hashOfConfig":"72"},{"size":712,"mtime":1666622697651,"results":"79","hashOfConfig":"72"},{"size":382,"mtime":1666622697651,"results":"80","hashOfConfig":"72"},{"size":128,"mtime":1666622697651,"results":"81","hashOfConfig":"72"},{"size":10233,"mtime":1666622697651,"results":"82","hashOfConfig":"72"},{"size":848,"mtime":1666622697655,"results":"83","hashOfConfig":"72"},{"size":4712,"mtime":1666622697655,"results":"84","hashOfConfig":"72"},{"size":37571,"mtime":1666622697655,"results":"85","hashOfConfig":"72"},{"size":4728,"mtime":1666622697655,"results":"86","hashOfConfig":"72"},{"size":1448,"mtime":1666622697655,"results":"87","hashOfConfig":"72"},{"size":1563,"mtime":1666622697655,"results":"88","hashOfConfig":"72"},{"size":9890,"mtime":1666622697655,"results":"89","hashOfConfig":"72"},{"size":1870,"mtime":1666622697655,"results":"90","hashOfConfig":"72"},{"size":629,"mtime":1666622697655,"results":"91","hashOfConfig":"72"},{"size":754,"mtime":1666622697655,"results":"92","hashOfConfig":"72"},{"size":8266,"mtime":1666622697655,"results":"93","hashOfConfig":"72"},{"size":7220,"mtime":1666622697655,"results":"94","hashOfConfig":"72"},{"size":2908,"mtime":1666622697655,"results":"95","hashOfConfig":"72"},{"size":380,"mtime":1666622697655,"results":"96","hashOfConfig":"72"},{"size":10154,"mtime":1666622697655,"results":"97","hashOfConfig":"72"},{"size":5387,"mtime":1666622697655,"results":"98","hashOfConfig":"72"},{"size":3431,"mtime":1666622697655,"results":"99","hashOfConfig":"72"},{"size":1649,"mtime":1666622697655,"results":"100","hashOfConfig":"72"},{"size":6589,"mtime":1666622697655,"results":"101","hashOfConfig":"72"},{"size":1230,"mtime":1666622697655,"results":"102","hashOfConfig":"72"},{"size":28220,"mtime":1666622697655,"results":"103","hashOfConfig":"72"},{"size":4918,"mtime":1666622697655,"results":"104","hashOfConfig":"72"},{"size":14787,"mtime":1666622697655,"results":"105","hashOfConfig":"72"},{"size":87,"mtime":1666622697655,"results":"106","hashOfConfig":"72"},{"size":1887,"mtime":1666622697655,"results":"107","hashOfConfig":"72"},{"size":134,"mtime":1666622697655,"results":"108","hashOfConfig":"72"},{"size":277,"mtime":1666622697655,"results":"109","hashOfConfig":"72"},{"size":711,"mtime":1666622697655,"results":"110","hashOfConfig":"72"},{"size":48,"mtime":1666622697655,"results":"111","hashOfConfig":"72"},{"size":269,"mtime":1666622697655,"results":"112","hashOfConfig":"72"},{"size":1038,"mtime":1666622697655,"results":"113","hashOfConfig":"72"},{"size":108,"mtime":1666622697655,"results":"114","hashOfConfig":"72"},{"size":2797,"mtime":1666622697655,"results":"115","hashOfConfig":"72"},{"size":2294,"mtime":1666622697655,"results":"116","hashOfConfig":"72"},{"size":357,"mtime":1666622697655,"results":"117","hashOfConfig":"72"},{"size":325,"mtime":1666622697655,"results":"118","hashOfConfig":"72"},{"size":778,"mtime":1666622697655,"results":"119","hashOfConfig":"72"},{"size":278,"mtime":1666622697655,"results":"120","hashOfConfig":"72"},{"size":227,"mtime":1666622697655,"results":"121","hashOfConfig":"72"},{"size":921,"mtime":1666622697655,"results":"122","hashOfConfig":"72"},{"size":764,"mtime":1666622697655,"results":"123","hashOfConfig":"72"},{"size":441,"mtime":1666622697655,"results":"124","hashOfConfig":"72"},{"size":821,"mtime":1666622697655,"results":"125","hashOfConfig":"72"},{"size":1314,"mtime":1666622697655,"results":"126","hashOfConfig":"72"},{"size":253,"mtime":1666622697655,"results":"127","hashOfConfig":"72"},{"size":650,"mtime":1666622697655,"results":"128","hashOfConfig":"72"},{"size":803,"mtime":1666622697655,"results":"129","hashOfConfig":"72"},{"size":3938,"mtime":1666622697655,"results":"130","hashOfConfig":"72"},{"size":503,"mtime":1666622697655,"results":"131","hashOfConfig":"72"},{"size":1280,"mtime":1666622697655,"results":"132","hashOfConfig":"72"},{"size":9122,"mtime":1666622697655,"results":"133","hashOfConfig":"72"},{"size":495,"mtime":1666622697655,"results":"134","hashOfConfig":"72"},{"size":6652,"mtime":1666622697655,"results":"135","hashOfConfig":"72"},{"size":4576,"mtime":1666622697655,"results":"136","hashOfConfig":"72"},{"size":104,"mtime":1666622697655,"results":"137","hashOfConfig":"72"},{"size":1815,"mtime":1666622697655,"results":"138","hashOfConfig":"72"},{"size":735,"mtime":1666622697655,"results":"139","hashOfConfig":"72"},{"size":308,"mtime":1666622697655,"results":"140","hashOfConfig":"72"},{"size":9318,"mtime":1666622697655,"results":"141","hashOfConfig":"72"},{"filePath":"142","messages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ezl7dg",{"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},{"filePath":"222","messages":"223","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"226","messages":"227","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"228","messages":"229","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"230","messages":"231","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"232","messages":"233","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"234","messages":"235","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"236","messages":"237","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"238","messages":"239","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"240","messages":"241","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"242","messages":"243","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"244","messages":"245","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"246","messages":"247","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"248","messages":"249","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"250","messages":"251","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"252","messages":"253","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"254","messages":"255","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"256","messages":"257","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"258","messages":"259","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"260","messages":"261","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"262","messages":"263","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"264","messages":"265","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"266","messages":"267","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"268","messages":"269","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"270","messages":"271","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"272","messages":"273","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"274","messages":"275","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"276","messages":"277","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"278","messages":"279","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"280","messages":"281","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/execute.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/bin/supermassive.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/__tests__/index.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/__tests__/import.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/expect.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/import.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/model.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/context/utilities.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/models.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/resolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/typedVisitor.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/codegen/utilities.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/extractors/extractImplicitTypesToTypescript.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/extractors/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/transformerTestUtils.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/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,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @graphitation/supermassive
|
|
2
2
|
|
|
3
|
-
This log was last generated on Mon,
|
|
3
|
+
This log was last generated on Mon, 24 Oct 2022 14:54:26 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.1.5
|
|
8
|
+
|
|
9
|
+
Mon, 24 Oct 2022 14:54:26 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Codegen - subscription type fix, type fields are readonly and contextPath is relative to inputFile (jakubvejr@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 1.1.4
|
|
8
16
|
|
|
9
|
-
Mon, 17 Oct 2022 11:49:
|
|
17
|
+
Mon, 17 Oct 2022 11:49:33 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
package/lib/bin/supermassive.js
CHANGED
|
@@ -76,6 +76,13 @@ function getFiles(inputs) {
|
|
|
76
76
|
}
|
|
77
77
|
}).flat().filter(Boolean);
|
|
78
78
|
}
|
|
79
|
+
function getContextPath(outputDir, inputPath, contextImport) {
|
|
80
|
+
if (!contextImport) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
const contextDir = import_path.default.join(import_path.default.dirname(inputPath), contextImport);
|
|
84
|
+
return import_path.default.relative(outputDir, contextDir);
|
|
85
|
+
}
|
|
79
86
|
function generateInterfaces(files, options) {
|
|
80
87
|
return __async(this, null, function* () {
|
|
81
88
|
for (const file of files) {
|
|
@@ -91,12 +98,12 @@ function generateInterfaces(files, options) {
|
|
|
91
98
|
}
|
|
92
99
|
const content = yield import_promises.default.readFile(fullPath, { encoding: "utf-8" });
|
|
93
100
|
const document = (0, import_graphql.parse)(content);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
yield import_promises.default.mkdir(
|
|
101
|
+
const outputDir = import_path.default.join(import_path.default.dirname(fullPath), options.outputDir ? options.outputDir : "__generated__");
|
|
102
|
+
let result = (0, import__.generateTS)(document, getContextPath(outputDir, fullPath, options.contextImport), options.contextName);
|
|
103
|
+
yield import_promises.default.mkdir(outputDir, { recursive: true });
|
|
97
104
|
const printer = import_typescript.default.createPrinter();
|
|
98
|
-
yield import_promises.default.writeFile(import_path.default.join(
|
|
99
|
-
yield import_promises.default.writeFile(import_path.default.join(
|
|
105
|
+
yield import_promises.default.writeFile(import_path.default.join(outputDir, "models.interface.ts"), PREPEND_TO_INTERFACES + printer.printNode(import_typescript.default.EmitHint.SourceFile, result.models, result.models), { encoding: "utf-8" });
|
|
106
|
+
yield import_promises.default.writeFile(import_path.default.join(outputDir, "resolvers.interface.ts"), PREPEND_TO_INTERFACES + printer.printNode(import_typescript.default.EmitHint.SourceFile, result.resolvers, result.resolvers), { encoding: "utf-8" });
|
|
100
107
|
}
|
|
101
108
|
});
|
|
102
109
|
}
|
package/lib/bin/supermassive.mjs
CHANGED
|
@@ -53,6 +53,13 @@ function getFiles(inputs) {
|
|
|
53
53
|
}
|
|
54
54
|
}).flat().filter(Boolean);
|
|
55
55
|
}
|
|
56
|
+
function getContextPath(outputDir, inputPath, contextImport) {
|
|
57
|
+
if (!contextImport) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
const contextDir = path.join(path.dirname(inputPath), contextImport);
|
|
61
|
+
return path.relative(outputDir, contextDir);
|
|
62
|
+
}
|
|
56
63
|
function generateInterfaces(files, options) {
|
|
57
64
|
return __async(this, null, function* () {
|
|
58
65
|
for (const file of files) {
|
|
@@ -68,12 +75,12 @@ function generateInterfaces(files, options) {
|
|
|
68
75
|
}
|
|
69
76
|
const content = yield fs.readFile(fullPath, { encoding: "utf-8" });
|
|
70
77
|
const document = parse(content);
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
yield fs.mkdir(
|
|
78
|
+
const outputDir = path.join(path.dirname(fullPath), options.outputDir ? options.outputDir : "__generated__");
|
|
79
|
+
let result = generateTS(document, getContextPath(outputDir, fullPath, options.contextImport), options.contextName);
|
|
80
|
+
yield fs.mkdir(outputDir, { recursive: true });
|
|
74
81
|
const printer = ts.createPrinter();
|
|
75
|
-
yield fs.writeFile(path.join(
|
|
76
|
-
yield fs.writeFile(path.join(
|
|
82
|
+
yield fs.writeFile(path.join(outputDir, "models.interface.ts"), PREPEND_TO_INTERFACES + printer.printNode(ts.EmitHint.SourceFile, result.models, result.models), { encoding: "utf-8" });
|
|
83
|
+
yield fs.writeFile(path.join(outputDir, "resolvers.interface.ts"), PREPEND_TO_INTERFACES + printer.printNode(ts.EmitHint.SourceFile, result.resolvers, result.resolvers), { encoding: "utf-8" });
|
|
77
84
|
}
|
|
78
85
|
});
|
|
79
86
|
}
|
package/lib/codegen/models.js
CHANGED
|
@@ -50,7 +50,7 @@ function createModelsReducer(context) {
|
|
|
50
50
|
},
|
|
51
51
|
FieldDefinition: {
|
|
52
52
|
leave(node) {
|
|
53
|
-
return import_typescript.factory.createPropertySignature(
|
|
53
|
+
return import_typescript.factory.createPropertySignature([import_typescript.factory.createModifier(import_typescript.default.SyntaxKind.ReadonlyKeyword)], import_typescript.factory.createIdentifier(node.name), void 0, node.type);
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
ObjectTypeDefinition: {
|
|
@@ -70,7 +70,7 @@ function createModelsReducer(context) {
|
|
|
70
70
|
...interfaces.map((interfaceExpression) => import_typescript.factory.createExpressionWithTypeArguments(interfaceExpression, void 0))
|
|
71
71
|
])
|
|
72
72
|
], [
|
|
73
|
-
import_typescript.factory.createPropertySignature(
|
|
73
|
+
import_typescript.factory.createPropertySignature([import_typescript.factory.createModifier(import_typescript.default.SyntaxKind.ReadonlyKeyword)], "__typename", void 0, import_typescript.factory.createLiteralTypeNode(import_typescript.factory.createStringLiteral(node.name))),
|
|
74
74
|
...!model && node.fields || []
|
|
75
75
|
]);
|
|
76
76
|
}
|
|
@@ -132,7 +132,7 @@ function createModelsReducer(context) {
|
|
|
132
132
|
},
|
|
133
133
|
ListType: {
|
|
134
134
|
leave({ type }) {
|
|
135
|
-
return (0, import_utilities.createNullableType)(import_typescript.factory.
|
|
135
|
+
return (0, import_utilities.createNullableType)(import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("ReadonlyArray"), [type]));
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
NonNullType: {
|
package/lib/codegen/models.mjs
CHANGED
|
@@ -30,7 +30,7 @@ function createModelsReducer(context) {
|
|
|
30
30
|
},
|
|
31
31
|
FieldDefinition: {
|
|
32
32
|
leave(node) {
|
|
33
|
-
return factory.createPropertySignature(
|
|
33
|
+
return factory.createPropertySignature([factory.createModifier(ts.SyntaxKind.ReadonlyKeyword)], factory.createIdentifier(node.name), void 0, node.type);
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
ObjectTypeDefinition: {
|
|
@@ -50,7 +50,7 @@ function createModelsReducer(context) {
|
|
|
50
50
|
...interfaces.map((interfaceExpression) => factory.createExpressionWithTypeArguments(interfaceExpression, void 0))
|
|
51
51
|
])
|
|
52
52
|
], [
|
|
53
|
-
factory.createPropertySignature(
|
|
53
|
+
factory.createPropertySignature([factory.createModifier(ts.SyntaxKind.ReadonlyKeyword)], "__typename", void 0, factory.createLiteralTypeNode(factory.createStringLiteral(node.name))),
|
|
54
54
|
...!model && node.fields || []
|
|
55
55
|
]);
|
|
56
56
|
}
|
|
@@ -112,7 +112,7 @@ function createModelsReducer(context) {
|
|
|
112
112
|
},
|
|
113
113
|
ListType: {
|
|
114
114
|
leave({ type }) {
|
|
115
|
-
return createNullableType(factory.
|
|
115
|
+
return createNullableType(factory.createTypeReferenceNode(factory.createIdentifier("ReadonlyArray"), [type]));
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
NonNullType: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/codegen/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,YAAY,CAAC;AAIzC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,GAAG,EAAE,CAAC,aAAa,CAKtE;AAED,aAAK,2BAA2B,CAAC,CAAC,IAAI;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC;AAChE,aAAK,6BAA6B,GAAG;IACnC,MAAM,EAAE,2BAA2B,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAC1D,IAAI,EAAE,2BAA2B,CAAC,SAAS,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC;IAC7D,OAAO,EAAE,2BAA2B,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAC3D,WAAW,EAAE,2BAA2B,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;CAChE,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,IAAI,EACJ,OAAO,EACP,WAAW,GACZ,EAAE,6BAA6B,6BAmC/B;AAED,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,EAAE,CAAC,QAAQ,EACrB,UAAU,EAAE,MAAM,EAClB,6BAA6B,EAAE,6BAA6B,
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/codegen/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,YAAY,CAAC;AAIzC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,GAAG,EAAE,CAAC,aAAa,CAKtE;AAED,aAAK,2BAA2B,CAAC,CAAC,IAAI;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC;AAChE,aAAK,6BAA6B,GAAG;IACnC,MAAM,EAAE,2BAA2B,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAC1D,IAAI,EAAE,2BAA2B,CAAC,SAAS,EAAE,CAAC,WAAW,EAAE,CAAC,CAAC;IAC7D,OAAO,EAAE,2BAA2B,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAC3D,WAAW,EAAE,2BAA2B,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;CAChE,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,IAAI,EACJ,OAAO,EACP,WAAW,GACZ,EAAE,6BAA6B,6BAmC/B;AAED,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,EAAE,CAAC,QAAQ,EACrB,UAAU,EAAE,MAAM,EAClB,6BAA6B,EAAE,6BAA6B,0CA4D7D;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,GAAG,EAAE,CAAC,QAAQ,CAMpE;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,UAM9C;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAYjE;AA6FD,oBAAY,gBAAgB,GAAG;IAC7B;;;QAGC;IACD,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAE9B;;;QAGC;IACD,QAAQ,CAAC,4BAA4B,CAAC,EAAE,OAAO,CAAC;IAEhD;;;;;;;;;;;;;;;;QAgBC;IACD,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,MAAM,EAAE,CAAC;CACtD,CAAC;AAEF,wBAAgB,SAAS,CACvB,KAAK,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,EACjC,OAAO,EAAE,gBAAgB,UA8D1B"}
|
package/lib/codegen/utilities.js
CHANGED
|
@@ -72,7 +72,6 @@ function getResolverReturnType(typeNode, parentName, resolverParametersDefinitio
|
|
|
72
72
|
return import_typescript.factory.createFunctionTypeNode(void 0, getResolverParameters(resolverParametersDefinitions), import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("PromiseOrValue"), [typeNode]));
|
|
73
73
|
}
|
|
74
74
|
return import_typescript.factory.createUnionTypeNode([
|
|
75
|
-
import_typescript.factory.createParenthesizedType(import_typescript.factory.createFunctionTypeNode(void 0, getResolverParameters(resolverParametersDefinitions), import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("AsyncIterator"), [typeNode]))),
|
|
76
75
|
import_typescript.factory.createTypeLiteralNode([
|
|
77
76
|
import_typescript.factory.createPropertySignature(void 0, import_typescript.factory.createIdentifier("subscribe"), void 0, import_typescript.factory.createFunctionTypeNode(void 0, getResolverParameters(resolverParametersDefinitions), import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("PromiseOrValue"), [
|
|
78
77
|
import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("AsyncIterator"), [
|
|
@@ -84,7 +83,7 @@ function getResolverReturnType(typeNode, parentName, resolverParametersDefinitio
|
|
|
84
83
|
name: "parent",
|
|
85
84
|
type: import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("A"))
|
|
86
85
|
}
|
|
87
|
-
})), typeNode))
|
|
86
|
+
})), import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("PromiseOrValue"), [typeNode])))
|
|
88
87
|
])
|
|
89
88
|
]);
|
|
90
89
|
}
|
|
@@ -45,7 +45,6 @@ function getResolverReturnType(typeNode, parentName, resolverParametersDefinitio
|
|
|
45
45
|
return factory.createFunctionTypeNode(void 0, getResolverParameters(resolverParametersDefinitions), factory.createTypeReferenceNode(factory.createIdentifier("PromiseOrValue"), [typeNode]));
|
|
46
46
|
}
|
|
47
47
|
return factory.createUnionTypeNode([
|
|
48
|
-
factory.createParenthesizedType(factory.createFunctionTypeNode(void 0, getResolverParameters(resolverParametersDefinitions), factory.createTypeReferenceNode(factory.createIdentifier("AsyncIterator"), [typeNode]))),
|
|
49
48
|
factory.createTypeLiteralNode([
|
|
50
49
|
factory.createPropertySignature(void 0, factory.createIdentifier("subscribe"), void 0, factory.createFunctionTypeNode(void 0, getResolverParameters(resolverParametersDefinitions), factory.createTypeReferenceNode(factory.createIdentifier("PromiseOrValue"), [
|
|
51
50
|
factory.createTypeReferenceNode(factory.createIdentifier("AsyncIterator"), [
|
|
@@ -57,7 +56,7 @@ function getResolverReturnType(typeNode, parentName, resolverParametersDefinitio
|
|
|
57
56
|
name: "parent",
|
|
58
57
|
type: factory.createTypeReferenceNode(factory.createIdentifier("A"))
|
|
59
58
|
}
|
|
60
|
-
})), typeNode))
|
|
59
|
+
})), factory.createTypeReferenceNode(factory.createIdentifier("PromiseOrValue"), [typeNode])))
|
|
61
60
|
])
|
|
62
61
|
]);
|
|
63
62
|
}
|