@graphitation/supermassive 1.1.5 → 1.1.7

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 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":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",[]]
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":1666874921436,"results":"71","hashOfConfig":"72"},{"size":1603,"mtime":1666874921436,"results":"73","hashOfConfig":"72"},{"size":6845,"mtime":1666874921436,"results":"74","hashOfConfig":"72"},{"size":14345,"mtime":1666874921436,"results":"75","hashOfConfig":"72"},{"size":6021,"mtime":1666874921436,"results":"76","hashOfConfig":"72"},{"size":3340,"mtime":1666874921436,"results":"77","hashOfConfig":"72"},{"size":3662,"mtime":1666874921436,"results":"78","hashOfConfig":"72"},{"size":712,"mtime":1666874921436,"results":"79","hashOfConfig":"72"},{"size":382,"mtime":1666874921436,"results":"80","hashOfConfig":"72"},{"size":128,"mtime":1666874921436,"results":"81","hashOfConfig":"72"},{"size":10233,"mtime":1666874921436,"results":"82","hashOfConfig":"72"},{"size":848,"mtime":1666874921440,"results":"83","hashOfConfig":"72"},{"size":4658,"mtime":1666874921440,"results":"84","hashOfConfig":"72"},{"size":37772,"mtime":1666874921440,"results":"85","hashOfConfig":"72"},{"size":4728,"mtime":1666874921440,"results":"86","hashOfConfig":"72"},{"size":1448,"mtime":1666874921440,"results":"87","hashOfConfig":"72"},{"size":1563,"mtime":1666874921440,"results":"88","hashOfConfig":"72"},{"size":9890,"mtime":1666874921440,"results":"89","hashOfConfig":"72"},{"size":1870,"mtime":1666874921440,"results":"90","hashOfConfig":"72"},{"size":629,"mtime":1666874921440,"results":"91","hashOfConfig":"72"},{"size":754,"mtime":1666874921440,"results":"92","hashOfConfig":"72"},{"size":8266,"mtime":1666874921440,"results":"93","hashOfConfig":"72"},{"size":7306,"mtime":1666874921440,"results":"94","hashOfConfig":"72"},{"size":2908,"mtime":1666874921440,"results":"95","hashOfConfig":"72"},{"size":380,"mtime":1666874921440,"results":"96","hashOfConfig":"72"},{"size":10154,"mtime":1666874921440,"results":"97","hashOfConfig":"72"},{"size":5387,"mtime":1666874921440,"results":"98","hashOfConfig":"72"},{"size":3431,"mtime":1666874921440,"results":"99","hashOfConfig":"72"},{"size":1649,"mtime":1666874921440,"results":"100","hashOfConfig":"72"},{"size":6589,"mtime":1666874921440,"results":"101","hashOfConfig":"72"},{"size":1230,"mtime":1666874921440,"results":"102","hashOfConfig":"72"},{"size":28220,"mtime":1666874921440,"results":"103","hashOfConfig":"72"},{"size":4918,"mtime":1666874921440,"results":"104","hashOfConfig":"72"},{"size":14787,"mtime":1666874921440,"results":"105","hashOfConfig":"72"},{"size":87,"mtime":1666874921440,"results":"106","hashOfConfig":"72"},{"size":1887,"mtime":1666874921440,"results":"107","hashOfConfig":"72"},{"size":134,"mtime":1666874921440,"results":"108","hashOfConfig":"72"},{"size":277,"mtime":1666874921440,"results":"109","hashOfConfig":"72"},{"size":711,"mtime":1666874921440,"results":"110","hashOfConfig":"72"},{"size":48,"mtime":1666874921440,"results":"111","hashOfConfig":"72"},{"size":269,"mtime":1666874921440,"results":"112","hashOfConfig":"72"},{"size":1038,"mtime":1666874921440,"results":"113","hashOfConfig":"72"},{"size":108,"mtime":1666874921440,"results":"114","hashOfConfig":"72"},{"size":2797,"mtime":1666874921440,"results":"115","hashOfConfig":"72"},{"size":2294,"mtime":1666874921440,"results":"116","hashOfConfig":"72"},{"size":357,"mtime":1666874921440,"results":"117","hashOfConfig":"72"},{"size":325,"mtime":1666874921440,"results":"118","hashOfConfig":"72"},{"size":778,"mtime":1666874921440,"results":"119","hashOfConfig":"72"},{"size":278,"mtime":1666874921440,"results":"120","hashOfConfig":"72"},{"size":227,"mtime":1666874921440,"results":"121","hashOfConfig":"72"},{"size":921,"mtime":1666874921440,"results":"122","hashOfConfig":"72"},{"size":764,"mtime":1666874921440,"results":"123","hashOfConfig":"72"},{"size":441,"mtime":1666874921440,"results":"124","hashOfConfig":"72"},{"size":821,"mtime":1666874921440,"results":"125","hashOfConfig":"72"},{"size":1314,"mtime":1666874921440,"results":"126","hashOfConfig":"72"},{"size":253,"mtime":1666874921440,"results":"127","hashOfConfig":"72"},{"size":650,"mtime":1666874921440,"results":"128","hashOfConfig":"72"},{"size":803,"mtime":1666874921440,"results":"129","hashOfConfig":"72"},{"size":3938,"mtime":1666874921444,"results":"130","hashOfConfig":"72"},{"size":503,"mtime":1666874921444,"results":"131","hashOfConfig":"72"},{"size":1280,"mtime":1666874921444,"results":"132","hashOfConfig":"72"},{"size":9122,"mtime":1666874921444,"results":"133","hashOfConfig":"72"},{"size":495,"mtime":1666874921444,"results":"134","hashOfConfig":"72"},{"size":6652,"mtime":1666874921444,"results":"135","hashOfConfig":"72"},{"size":4576,"mtime":1666874921444,"results":"136","hashOfConfig":"72"},{"size":104,"mtime":1666874921444,"results":"137","hashOfConfig":"72"},{"size":1815,"mtime":1666874921444,"results":"138","hashOfConfig":"72"},{"size":735,"mtime":1666874921444,"results":"139","hashOfConfig":"72"},{"size":308,"mtime":1666874921444,"results":"140","hashOfConfig":"72"},{"size":9318,"mtime":1666874921444,"results":"141","hashOfConfig":"72"},{"filePath":"142","messages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"w4v25k",{"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,28 @@
1
1
  # Change Log - @graphitation/supermassive
2
2
 
3
- This log was last generated on Mon, 24 Oct 2022 14:54:26 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 27 Oct 2022 12:54:01 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.1.7
8
+
9
+ Thu, 27 Oct 2022 12:54:01 GMT
10
+
11
+ ### Patches
12
+
13
+ - contextPath relative to CWD and resolvers return readonly array (jakubvejr@microsoft.com)
14
+
15
+ ## 1.1.6
16
+
17
+ Tue, 25 Oct 2022 10:26:19 GMT
18
+
19
+ ### Patches
20
+
21
+ - Better error message (mnovikov@microsoft.com)
22
+
7
23
  ## 1.1.5
8
24
 
9
- Mon, 24 Oct 2022 14:54:26 GMT
25
+ Mon, 24 Oct 2022 14:54:38 GMT
10
26
 
11
27
  ### Patches
12
28
 
@@ -1 +1 @@
1
- {"version":3,"file":"addTypesToRequestDocument.d.ts","sourceRoot":"","sources":["../../src/ast/addTypesToRequestDocument.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EASd,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,cAAc,YAAY,CAAC;AAE3B,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,WAAW,CAAC,YAAY,GACjC,QAAQ,CAAC,YAAY,CAsCvB"}
1
+ {"version":3,"file":"addTypesToRequestDocument.d.ts","sourceRoot":"","sources":["../../src/ast/addTypesToRequestDocument.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EAUd,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,cAAc,YAAY,CAAC;AAE3B,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,WAAW,CAAC,YAAY,GACjC,QAAQ,CAAC,YAAY,CAsEvB"}
@@ -43,27 +43,49 @@ __reExport(addTypesToRequestDocument_exports, require("./TypedAST"), module.expo
43
43
  function addTypesToRequestDocument(schema, document) {
44
44
  const typeInfo = new import_graphql.TypeInfo(schema);
45
45
  return (0, import_graphql.visit)(document, (0, import_graphql.visitWithTypeInfo)(typeInfo, {
46
- Argument(node) {
47
- const argument = typeInfo.getArgument();
48
- if (argument) {
49
- const typeNode = generateTypeNode(argument.type);
50
- const newNode = __spreadProps(__spreadValues({}, node), {
51
- __type: typeNode,
52
- __defaultValue: argument.defaultValue ? (0, import_graphql.parseValue)(JSON.stringify(argument.defaultValue)) : void 0
53
- });
54
- return newNode;
46
+ Argument: {
47
+ leave(node) {
48
+ const argument = typeInfo.getArgument();
49
+ if (argument) {
50
+ const typeNode = generateTypeNode(argument.type);
51
+ const newNode = __spreadProps(__spreadValues({}, node), {
52
+ __type: typeNode,
53
+ __defaultValue: argument.defaultValue ? (0, import_graphql.parseValue)(JSON.stringify(argument.defaultValue)) : void 0
54
+ });
55
+ return newNode;
56
+ }
55
57
  }
56
58
  },
57
- Field(node) {
58
- const type = typeInfo.getType();
59
- if (type) {
60
- const typeNode = generateTypeNode(type);
61
- const newNode = __spreadProps(__spreadValues({}, node), {
62
- __type: typeNode
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;
68
+ }
69
+ const path = [];
70
+ ancestors.forEach((ancestorOrArray) => {
71
+ let ancestor;
72
+ if (!Array.isArray(ancestorOrArray)) {
73
+ ancestor = ancestorOrArray;
74
+ if (ancestor && ancestor.kind === import_graphql.Kind.FIELD) {
75
+ path.push(ancestor.name.value);
76
+ } else if (ancestor && ancestor.kind === import_graphql.Kind.OPERATION_DEFINITION) {
77
+ let name;
78
+ if (ancestor.name) {
79
+ name = `${ancestor.operation} ${ancestor.name.value}`;
80
+ } else {
81
+ name = ancestor.operation;
82
+ }
83
+ path.push(name);
84
+ }
85
+ }
63
86
  });
64
- return newNode;
87
+ throw new Error(`Cannot find type for field: ${path.join(".")}.${node.name.value}`);
65
88
  }
66
- throw new Error(`Unhandled: ${type}`);
67
89
  }
68
90
  }));
69
91
  }
@@ -26,33 +26,56 @@ import {
26
26
  parseValue,
27
27
  TypeInfo,
28
28
  visit,
29
- visitWithTypeInfo
29
+ visitWithTypeInfo,
30
+ Kind
30
31
  } from "graphql";
31
32
  export * from "./TypedAST.mjs";
32
33
  function addTypesToRequestDocument(schema, document) {
33
34
  const typeInfo = new TypeInfo(schema);
34
35
  return visit(document, visitWithTypeInfo(typeInfo, {
35
- Argument(node) {
36
- const argument = typeInfo.getArgument();
37
- if (argument) {
38
- const typeNode = generateTypeNode(argument.type);
39
- const newNode = __spreadProps(__spreadValues({}, node), {
40
- __type: typeNode,
41
- __defaultValue: argument.defaultValue ? parseValue(JSON.stringify(argument.defaultValue)) : void 0
42
- });
43
- return newNode;
36
+ Argument: {
37
+ leave(node) {
38
+ const argument = typeInfo.getArgument();
39
+ if (argument) {
40
+ const typeNode = generateTypeNode(argument.type);
41
+ const newNode = __spreadProps(__spreadValues({}, node), {
42
+ __type: typeNode,
43
+ __defaultValue: argument.defaultValue ? parseValue(JSON.stringify(argument.defaultValue)) : void 0
44
+ });
45
+ return newNode;
46
+ }
44
47
  }
45
48
  },
46
- Field(node) {
47
- const type = typeInfo.getType();
48
- if (type) {
49
- const typeNode = generateTypeNode(type);
50
- const newNode = __spreadProps(__spreadValues({}, node), {
51
- __type: typeNode
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;
58
+ }
59
+ const path = [];
60
+ ancestors.forEach((ancestorOrArray) => {
61
+ let ancestor;
62
+ if (!Array.isArray(ancestorOrArray)) {
63
+ ancestor = ancestorOrArray;
64
+ if (ancestor && ancestor.kind === Kind.FIELD) {
65
+ path.push(ancestor.name.value);
66
+ } else if (ancestor && ancestor.kind === Kind.OPERATION_DEFINITION) {
67
+ let name;
68
+ if (ancestor.name) {
69
+ name = `${ancestor.operation} ${ancestor.name.value}`;
70
+ } else {
71
+ name = ancestor.operation;
72
+ }
73
+ path.push(name);
74
+ }
75
+ }
52
76
  });
53
- return newNode;
77
+ throw new Error(`Cannot find type for field: ${path.join(".")}.${node.name.value}`);
54
78
  }
55
- throw new Error(`Unhandled: ${type}`);
56
79
  }
57
80
  }));
58
81
  }
@@ -52,9 +52,9 @@ var import_extractImplicitTypesToTypescript = require("../extractors/extractImpl
52
52
  var import_graphql = require("graphql");
53
53
  var import__ = require("../index");
54
54
  var glob = __toESM(require("fast-glob"));
55
- const PREPEND_TO_INTERFACES = `/* eslint-disable */ \r
56
- // @ts-nocheck \r
57
- // This file was automatically generated (by @graphitaiton/supermassive) and should not be edited.\r
55
+ const PREPEND_TO_INTERFACES = `/* eslint-disable */
56
+ // @ts-nocheck
57
+ // This file was automatically generated (by @graphitaiton/supermassive) and should not be edited.
58
58
  `;
59
59
  function supermassive() {
60
60
  const extractSchemaCommand = new import_commander.Command();
@@ -76,11 +76,11 @@ function getFiles(inputs) {
76
76
  }
77
77
  }).flat().filter(Boolean);
78
78
  }
79
- function getContextPath(outputDir, inputPath, contextImport) {
79
+ function getContextPath(outputDir, contextImport) {
80
80
  if (!contextImport) {
81
81
  return;
82
82
  }
83
- const contextDir = import_path.default.join(import_path.default.dirname(inputPath), contextImport);
83
+ const contextDir = import_path.default.join(process.cwd(), contextImport);
84
84
  return import_path.default.relative(outputDir, contextDir);
85
85
  }
86
86
  function generateInterfaces(files, options) {
@@ -99,7 +99,7 @@ function generateInterfaces(files, options) {
99
99
  const content = yield import_promises.default.readFile(fullPath, { encoding: "utf-8" });
100
100
  const document = (0, import_graphql.parse)(content);
101
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);
102
+ let result = (0, import__.generateTS)(document, getContextPath(outputDir, options.contextImport), options.contextName);
103
103
  yield import_promises.default.mkdir(outputDir, { recursive: true });
104
104
  const printer = import_typescript.default.createPrinter();
105
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" });
@@ -29,9 +29,9 @@ import { extractImplicitTypesToTypescript } from "../extractors/extractImplicitT
29
29
  import { parse } from "graphql";
30
30
  import { generateTS } from "../index.mjs";
31
31
  import * as glob from "fast-glob";
32
- var PREPEND_TO_INTERFACES = `/* eslint-disable */ \r
33
- // @ts-nocheck \r
34
- // This file was automatically generated (by @graphitaiton/supermassive) and should not be edited.\r
32
+ var PREPEND_TO_INTERFACES = `/* eslint-disable */
33
+ // @ts-nocheck
34
+ // This file was automatically generated (by @graphitaiton/supermassive) and should not be edited.
35
35
  `;
36
36
  function supermassive() {
37
37
  const extractSchemaCommand = new Command();
@@ -53,11 +53,11 @@ function getFiles(inputs) {
53
53
  }
54
54
  }).flat().filter(Boolean);
55
55
  }
56
- function getContextPath(outputDir, inputPath, contextImport) {
56
+ function getContextPath(outputDir, contextImport) {
57
57
  if (!contextImport) {
58
58
  return;
59
59
  }
60
- const contextDir = path.join(path.dirname(inputPath), contextImport);
60
+ const contextDir = path.join(process.cwd(), contextImport);
61
61
  return path.relative(outputDir, contextDir);
62
62
  }
63
63
  function generateInterfaces(files, options) {
@@ -76,7 +76,7 @@ function generateInterfaces(files, options) {
76
76
  const content = yield fs.readFile(fullPath, { encoding: "utf-8" });
77
77
  const document = parse(content);
78
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);
79
+ let result = generateTS(document, getContextPath(outputDir, options.contextImport), options.contextName);
80
80
  yield fs.mkdir(outputDir, { recursive: true });
81
81
  const printer = ts.createPrinter();
82
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" });
@@ -100,7 +100,7 @@ function createResolversReducer(context) {
100
100
  },
101
101
  ListType: {
102
102
  leave({ type }) {
103
- return (0, import_utilities.createNullableType)(import_typescript.factory.createArrayTypeNode(type));
103
+ return (0, import_utilities.createNullableType)(import_typescript.factory.createTypeReferenceNode(import_typescript.factory.createIdentifier("ReadonlyArray"), [type]));
104
104
  }
105
105
  },
106
106
  NonNullType: {
@@ -84,7 +84,7 @@ function createResolversReducer(context) {
84
84
  },
85
85
  ListType: {
86
86
  leave({ type }) {
87
- return createNullableType(factory.createArrayTypeNode(type));
87
+ return createNullableType(factory.createTypeReferenceNode(factory.createIdentifier("ReadonlyArray"), [type]));
88
88
  }
89
89
  },
90
90
  NonNullType: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@graphitation/supermassive",
3
3
  "license": "MIT",
4
- "version": "1.1.5",
4
+ "version": "1.1.7",
5
5
  "bin": {
6
6
  "supermassive": "./bin/supermassive.js"
7
7
  },