@graphitation/supermassive 1.1.7 → 2.0.1
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/index.d.ts +1 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -2
- package/lib/index.mjs +0 -2
- package/package.json +11 -19
- package/bin/supermassive.js +0 -5
- package/lib/bin/supermassive.d.ts +0 -3
- package/lib/bin/supermassive.d.ts.map +0 -1
- package/lib/bin/supermassive.js +0 -133
- package/lib/bin/supermassive.mjs +0 -113
- package/lib/codegen/context/expect.d.ts +0 -1
- package/lib/codegen/context/expect.d.ts.map +0 -1
- package/lib/codegen/context/expect.js +0 -0
- package/lib/codegen/context/expect.mjs +0 -0
- package/lib/codegen/context/import.d.ts +0 -5
- package/lib/codegen/context/import.d.ts.map +0 -1
- package/lib/codegen/context/import.js +0 -55
- package/lib/codegen/context/import.mjs +0 -37
- package/lib/codegen/context/index.d.ts +0 -52
- package/lib/codegen/context/index.d.ts.map +0 -1
- package/lib/codegen/context/index.js +0 -253
- package/lib/codegen/context/index.mjs +0 -242
- package/lib/codegen/context/model.d.ts +0 -5
- package/lib/codegen/context/model.d.ts.map +0 -1
- package/lib/codegen/context/model.js +0 -53
- package/lib/codegen/context/model.mjs +0 -37
- package/lib/codegen/context/utilities.d.ts +0 -2
- package/lib/codegen/context/utilities.d.ts.map +0 -1
- package/lib/codegen/context/utilities.js +0 -26
- package/lib/codegen/context/utilities.mjs +0 -8
- package/lib/codegen/index.d.ts +0 -7
- package/lib/codegen/index.d.ts.map +0 -1
- package/lib/codegen/index.js +0 -41
- package/lib/codegen/index.mjs +0 -23
- package/lib/codegen/models.d.ts +0 -5
- package/lib/codegen/models.d.ts.map +0 -1
- package/lib/codegen/models.js +0 -159
- package/lib/codegen/models.mjs +0 -142
- package/lib/codegen/resolvers.d.ts +0 -5
- package/lib/codegen/resolvers.d.ts.map +0 -1
- package/lib/codegen/resolvers.js +0 -157
- package/lib/codegen/resolvers.mjs +0 -144
- package/lib/codegen/typedVisitor.d.ts +0 -57
- package/lib/codegen/typedVisitor.d.ts.map +0 -1
- package/lib/codegen/typedVisitor.js +0 -26
- package/lib/codegen/typedVisitor.mjs +0 -8
- package/lib/codegen/types.d.ts +0 -18
- package/lib/codegen/types.d.ts.map +0 -1
- package/lib/codegen/types.js +0 -15
- package/lib/codegen/types.mjs +0 -0
- package/lib/codegen/utilities.d.ts +0 -50
- package/lib/codegen/utilities.d.ts.map +0 -1
- package/lib/codegen/utilities.js +0 -193
- package/lib/codegen/utilities.mjs +0 -175
- package/lib/extractors/extractImplicitTypesToTypescript.d.ts +0 -4
- package/lib/extractors/extractImplicitTypesToTypescript.d.ts.map +0 -1
- package/lib/extractors/extractImplicitTypesToTypescript.js +0 -217
- package/lib/extractors/extractImplicitTypesToTypescript.mjs +0 -198
- package/lib/extractors/index.d.ts +0 -2
- package/lib/extractors/index.d.ts.map +0 -1
- package/lib/extractors/index.js +0 -23
- package/lib/extractors/index.mjs +0 -5
- package/lib/transforms/transformerTestUtils.d.ts +0 -79
- package/lib/transforms/transformerTestUtils.d.ts.map +0 -1
- package/lib/transforms/transformerTestUtils.js +0 -174
- package/lib/transforms/transformerTestUtils.mjs +0 -156
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":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",[]]
|
|
1
|
+
[{"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/execute.test.ts":"1","/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts":"2","/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts":"3","/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts":"4","/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts":"5","/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts":"6","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts":"7","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts":"8","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts":"9","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts":"10","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts":"11","/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts":"12","/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts":"13","/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts":"14","/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts":"15","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts":"16","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts":"17","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts":"18","/mnt/vss/_work/1/s/packages/supermassive/src/index.ts":"19","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts":"20","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts":"21","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts":"22","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts":"23","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts":"24","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts":"25","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts":"26","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts":"27","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts":"28","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts":"29","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts":"30","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts":"31","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts":"32","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts":"33","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts":"34","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts":"35","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts":"36","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts":"37","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts":"38","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts":"39","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts":"40","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts":"41","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts":"42","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts":"43","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts":"44","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts":"45","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"46","/mnt/vss/_work/1/s/packages/supermassive/src/types.ts":"47","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/blankGraphQLTag.ts":"48","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts":"49","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts":"50","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts":"51","/mnt/vss/_work/1/s/packages/supermassive/src/values.ts":"52"},{"size":6041,"mtime":1669389829366,"results":"53","hashOfConfig":"54"},{"size":967,"mtime":1669389829366,"results":"55","hashOfConfig":"54"},{"size":6845,"mtime":1669389829366,"results":"56","hashOfConfig":"54"},{"size":14345,"mtime":1669389829366,"results":"57","hashOfConfig":"54"},{"size":5895,"mtime":1669389829366,"results":"58","hashOfConfig":"54"},{"size":3340,"mtime":1669389829366,"results":"59","hashOfConfig":"54"},{"size":3662,"mtime":1669389829366,"results":"60","hashOfConfig":"54"},{"size":712,"mtime":1669389829366,"results":"61","hashOfConfig":"54"},{"size":382,"mtime":1669389829366,"results":"62","hashOfConfig":"54"},{"size":128,"mtime":1669389829366,"results":"63","hashOfConfig":"54"},{"size":10233,"mtime":1669389829366,"results":"64","hashOfConfig":"54"},{"size":5387,"mtime":1669389829370,"results":"65","hashOfConfig":"54"},{"size":3431,"mtime":1669389829370,"results":"66","hashOfConfig":"54"},{"size":1649,"mtime":1669389829370,"results":"67","hashOfConfig":"54"},{"size":6589,"mtime":1669389829370,"results":"68","hashOfConfig":"54"},{"size":1230,"mtime":1669389829370,"results":"69","hashOfConfig":"54"},{"size":28220,"mtime":1669389829370,"results":"70","hashOfConfig":"54"},{"size":4918,"mtime":1669389829370,"results":"71","hashOfConfig":"54"},{"size":1857,"mtime":1669389829370,"results":"72","hashOfConfig":"54"},{"size":134,"mtime":1669389829370,"results":"73","hashOfConfig":"54"},{"size":277,"mtime":1669389829370,"results":"74","hashOfConfig":"54"},{"size":711,"mtime":1669389829370,"results":"75","hashOfConfig":"54"},{"size":48,"mtime":1669389829370,"results":"76","hashOfConfig":"54"},{"size":269,"mtime":1669389829370,"results":"77","hashOfConfig":"54"},{"size":1038,"mtime":1669389829370,"results":"78","hashOfConfig":"54"},{"size":108,"mtime":1669389829370,"results":"79","hashOfConfig":"54"},{"size":2797,"mtime":1669389829370,"results":"80","hashOfConfig":"54"},{"size":2294,"mtime":1669389829370,"results":"81","hashOfConfig":"54"},{"size":357,"mtime":1669389829370,"results":"82","hashOfConfig":"54"},{"size":325,"mtime":1669389829370,"results":"83","hashOfConfig":"54"},{"size":778,"mtime":1669389829370,"results":"84","hashOfConfig":"54"},{"size":278,"mtime":1669389829370,"results":"85","hashOfConfig":"54"},{"size":227,"mtime":1669389829370,"results":"86","hashOfConfig":"54"},{"size":921,"mtime":1669389829370,"results":"87","hashOfConfig":"54"},{"size":764,"mtime":1669389829370,"results":"88","hashOfConfig":"54"},{"size":441,"mtime":1669389829370,"results":"89","hashOfConfig":"54"},{"size":821,"mtime":1669389829370,"results":"90","hashOfConfig":"54"},{"size":1314,"mtime":1669389829370,"results":"91","hashOfConfig":"54"},{"size":253,"mtime":1669389829370,"results":"92","hashOfConfig":"54"},{"size":650,"mtime":1669389829370,"results":"93","hashOfConfig":"54"},{"size":803,"mtime":1669389829370,"results":"94","hashOfConfig":"54"},{"size":3938,"mtime":1669389829370,"results":"95","hashOfConfig":"54"},{"size":503,"mtime":1669389829370,"results":"96","hashOfConfig":"54"},{"size":1280,"mtime":1669389829370,"results":"97","hashOfConfig":"54"},{"size":9122,"mtime":1669389829370,"results":"98","hashOfConfig":"54"},{"size":495,"mtime":1669389829370,"results":"99","hashOfConfig":"54"},{"size":4576,"mtime":1669389829370,"results":"100","hashOfConfig":"54"},{"size":104,"mtime":1669389829370,"results":"101","hashOfConfig":"54"},{"size":1815,"mtime":1669389829370,"results":"102","hashOfConfig":"54"},{"size":735,"mtime":1669389829370,"results":"103","hashOfConfig":"54"},{"size":308,"mtime":1669389829370,"results":"104","hashOfConfig":"54"},{"size":9318,"mtime":1669389829370,"results":"105","hashOfConfig":"54"},{"filePath":"106","messages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"w4v25k",{"filePath":"108","messages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"110","messages":"111","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"112","messages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"196","messages":"197","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/execute.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/blankGraphQLTag.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/values.ts",[]]
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# Change Log - @graphitation/supermassive
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 21 Nov 2022 14:12:11 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 2.0.0
|
|
8
|
+
|
|
9
|
+
Mon, 21 Nov 2022 14:12:11 GMT
|
|
10
|
+
|
|
11
|
+
### Major changes
|
|
12
|
+
|
|
13
|
+
- Supermassive split into multiple packages (jakubvejr@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 1.1.7
|
|
8
16
|
|
|
9
|
-
Thu, 27 Oct 2022 12:54:
|
|
17
|
+
Thu, 27 Oct 2022 12:54:10 GMT
|
|
10
18
|
|
|
11
19
|
### Patches
|
|
12
20
|
|
package/lib/index.d.ts
CHANGED
|
@@ -2,12 +2,11 @@ export { executeWithoutSchema } from "./executeWithoutSchema";
|
|
|
2
2
|
export { executeWithSchema } from "./executeWithSchema";
|
|
3
3
|
export { subscribeWithSchema } from "./subscribeWithSchema";
|
|
4
4
|
export { subscribeWithoutSchema } from "./subscribeWithoutSchema";
|
|
5
|
-
export type { ObjectTypeResolver, InterfaceTypeResolver, UnionTypeResolver, ScalarTypeResolver, EnumTypeResolver, InputObjectTypeResolver, FunctionFieldResolver, Resolvers, ResolveInfo, } from "./types";
|
|
5
|
+
export type { ObjectTypeResolver, InterfaceTypeResolver, UnionTypeResolver, ScalarTypeResolver, EnumTypeResolver, InputObjectTypeResolver, FunctionFieldResolver, Resolvers, UserResolvers, ResolveInfo, } from "./types";
|
|
6
6
|
export { addTypesToRequestDocument } from "./ast/addTypesToRequestDocument";
|
|
7
7
|
export { extractImplicitTypes } from "./extractImplicitTypesRuntime";
|
|
8
8
|
export { specifiedScalars } from "./values";
|
|
9
9
|
export { annotateDocumentGraphQLTransform } from "./transforms/annotateDocumentGraphQLTransform";
|
|
10
10
|
export type { PromiseOrValue } from "./jsutils/PromiseOrValue";
|
|
11
|
-
export { generateTS } from "./codegen/index";
|
|
12
11
|
export type { NameNode, DocumentNode, OperationDefinitionNode, VariableDefinitionNode, VariableNode, SelectionSetNode, FieldNode, ArgumentNode, FragmentSpreadNode, InlineFragmentNode, FragmentDefinitionNode, IntValueNode, FloatValueNode, StringValueNode, BooleanValueNode, NullValueNode, EnumValueNode, ListValueNode, ObjectValueNode, ObjectFieldNode, DirectiveNode, NamedTypeNode, ListTypeNode, NonNullTypeNode, SchemaDefinitionNode, OperationTypeDefinitionNode, ScalarTypeDefinitionNode, ObjectTypeDefinitionNode, FieldDefinitionNode, InputValueDefinitionNode, InterfaceTypeDefinitionNode, UnionTypeDefinitionNode, EnumTypeDefinitionNode, EnumValueDefinitionNode, InputObjectTypeDefinitionNode, DirectiveDefinitionNode, SchemaExtensionNode, ScalarTypeExtensionNode, ObjectTypeExtensionNode, InterfaceTypeExtensionNode, UnionTypeExtensionNode, EnumTypeExtensionNode, InputObjectTypeExtensionNode, } from "./ast/TypedAST";
|
|
13
12
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,qBAAqB,EACrB,SAAS,EACT,WAAW,GACZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAE5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AAEjG,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,qBAAqB,EACrB,SAAS,EACT,aAAa,EACb,WAAW,GACZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAE5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AAEjG,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,eAAe,EACf,eAAe,EACf,aAAa,EACb,aAAa,EACb,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,6BAA6B,EAC7B,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,gBAAgB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -22,7 +22,6 @@ __export(src_exports, {
|
|
|
22
22
|
executeWithSchema: () => import_executeWithSchema.executeWithSchema,
|
|
23
23
|
executeWithoutSchema: () => import_executeWithoutSchema.executeWithoutSchema,
|
|
24
24
|
extractImplicitTypes: () => import_extractImplicitTypesRuntime.extractImplicitTypes,
|
|
25
|
-
generateTS: () => import_codegen.generateTS,
|
|
26
25
|
specifiedScalars: () => import_values.specifiedScalars,
|
|
27
26
|
subscribeWithSchema: () => import_subscribeWithSchema.subscribeWithSchema,
|
|
28
27
|
subscribeWithoutSchema: () => import_subscribeWithoutSchema.subscribeWithoutSchema
|
|
@@ -36,4 +35,3 @@ var import_addTypesToRequestDocument = require("./ast/addTypesToRequestDocument"
|
|
|
36
35
|
var import_extractImplicitTypesRuntime = require("./extractImplicitTypesRuntime");
|
|
37
36
|
var import_values = require("./values");
|
|
38
37
|
var import_annotateDocumentGraphQLTransform = require("./transforms/annotateDocumentGraphQLTransform");
|
|
39
|
-
var import_codegen = require("./codegen/index");
|
package/lib/index.mjs
CHANGED
|
@@ -7,14 +7,12 @@ import { addTypesToRequestDocument } from "./ast/addTypesToRequestDocument.mjs";
|
|
|
7
7
|
import { extractImplicitTypes } from "./extractImplicitTypesRuntime.mjs";
|
|
8
8
|
import { specifiedScalars } from "./values.mjs";
|
|
9
9
|
import { annotateDocumentGraphQLTransform } from "./transforms/annotateDocumentGraphQLTransform.mjs";
|
|
10
|
-
import { generateTS } from "./codegen/index.mjs";
|
|
11
10
|
export {
|
|
12
11
|
addTypesToRequestDocument,
|
|
13
12
|
annotateDocumentGraphQLTransform,
|
|
14
13
|
executeWithSchema,
|
|
15
14
|
executeWithoutSchema,
|
|
16
15
|
extractImplicitTypes,
|
|
17
|
-
generateTS,
|
|
18
16
|
specifiedScalars,
|
|
19
17
|
subscribeWithSchema,
|
|
20
18
|
subscribeWithoutSchema
|
package/package.json
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphitation/supermassive",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "
|
|
5
|
-
"bin": {
|
|
6
|
-
"supermassive": "./bin/supermassive.js"
|
|
7
|
-
},
|
|
4
|
+
"version": "2.0.1",
|
|
8
5
|
"main": "./lib/index",
|
|
9
6
|
"repository": {
|
|
10
7
|
"type": "git",
|
|
@@ -17,11 +14,13 @@
|
|
|
17
14
|
"test": "yarn extract-schema && monorepo-scripts test",
|
|
18
15
|
"types": "yarn extract-schema && monorepo-scripts types",
|
|
19
16
|
"just": "monorepo-scripts",
|
|
20
|
-
"extract-schema": "yarn build && node ./bin/supermassive
|
|
17
|
+
"extract-schema": "yarn build && ts-node --project tsconfig.json ./node_modules/.bin/supermassive extract-schema ./src/benchmarks/swapi-schema/schema.graphql",
|
|
21
18
|
"benchmark": "ts-node -T ./src/benchmarks/index.ts"
|
|
22
19
|
},
|
|
23
20
|
"devDependencies": {
|
|
24
21
|
"@graphitation/graphql-js-tag": "*",
|
|
22
|
+
"@graphitation/supermassive-extractors": "*",
|
|
23
|
+
"@graphitation/cli": "*",
|
|
25
24
|
"@graphql-tools/schema": "^7.1.5",
|
|
26
25
|
"@ts-morph/bootstrap": "^0.11.0",
|
|
27
26
|
"@types/benchmark": "^2.1.0",
|
|
@@ -36,23 +35,16 @@
|
|
|
36
35
|
},
|
|
37
36
|
"sideEffects": false,
|
|
38
37
|
"access": "public",
|
|
38
|
+
"publishConfig": {},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"graphql": "^15.6.1"
|
|
41
|
+
},
|
|
42
|
+
"types": "./lib/index.d.ts",
|
|
43
|
+
"module": "./lib/index.mjs",
|
|
39
44
|
"exports": {
|
|
40
45
|
".": {
|
|
41
46
|
"import": "./lib/index.mjs",
|
|
42
47
|
"require": "./lib/index.js"
|
|
43
|
-
},
|
|
44
|
-
"./lib/extractors": {
|
|
45
|
-
"import": "./lib/extractors/index.mjs",
|
|
46
|
-
"require": "./lib/extractors/index.js",
|
|
47
|
-
"types": "./lib/extractors/index.d.ts"
|
|
48
48
|
}
|
|
49
|
-
}
|
|
50
|
-
"publishConfig": {},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"commander": "^8.3.0",
|
|
53
|
-
"graphql": "^15.6.1",
|
|
54
|
-
"typescript": "^4.4.3 <4.5.0"
|
|
55
|
-
},
|
|
56
|
-
"types": "./lib/index.d.ts",
|
|
57
|
-
"module": "./lib/index.mjs"
|
|
49
|
+
}
|
|
58
50
|
}
|
package/bin/supermassive.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"supermassive.d.ts","sourceRoot":"","sources":["../../src/bin/supermassive.ts"],"names":[],"mappings":"AAIA,OAAO,EAAW,OAAO,EAAE,MAAM,WAAW,CAAC;AAc7C,wBAAgB,YAAY,IAAI,OAAO,CAoCtC"}
|
package/lib/bin/supermassive.js
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
20
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
21
|
-
var __async = (__this, __arguments, generator) => {
|
|
22
|
-
return new Promise((resolve, reject) => {
|
|
23
|
-
var fulfilled = (value) => {
|
|
24
|
-
try {
|
|
25
|
-
step(generator.next(value));
|
|
26
|
-
} catch (e) {
|
|
27
|
-
reject(e);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
var rejected = (value) => {
|
|
31
|
-
try {
|
|
32
|
-
step(generator.throw(value));
|
|
33
|
-
} catch (e) {
|
|
34
|
-
reject(e);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
38
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
var supermassive_exports = {};
|
|
42
|
-
__export(supermassive_exports, {
|
|
43
|
-
supermassive: () => supermassive
|
|
44
|
-
});
|
|
45
|
-
module.exports = __toCommonJS(supermassive_exports);
|
|
46
|
-
var import_path = __toESM(require("path"));
|
|
47
|
-
var import_promises = __toESM(require("fs/promises"));
|
|
48
|
-
var import_fs = __toESM(require("fs"));
|
|
49
|
-
var import_typescript = __toESM(require("typescript"));
|
|
50
|
-
var import_commander = require("commander");
|
|
51
|
-
var import_extractImplicitTypesToTypescript = require("../extractors/extractImplicitTypesToTypescript");
|
|
52
|
-
var import_graphql = require("graphql");
|
|
53
|
-
var import__ = require("../index");
|
|
54
|
-
var glob = __toESM(require("fast-glob"));
|
|
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
|
-
`;
|
|
59
|
-
function supermassive() {
|
|
60
|
-
const extractSchemaCommand = new import_commander.Command();
|
|
61
|
-
extractSchemaCommand.name("extract-schema").argument("<files...>").description("extract implicit resolvers to a ts file from graphql typedefs").action((files) => __async(this, null, function* () {
|
|
62
|
-
yield typeDefsToImplicitResolversImpl(files);
|
|
63
|
-
}));
|
|
64
|
-
const generateInterfacesCommand = new import_commander.Command();
|
|
65
|
-
generateInterfacesCommand.name("generate-interfaces").argument("<inputs...>").option("-o, --output-dir [outputDir]", "output directory relative to file, default generated").option("-ci, --context-import [contextImport]", "from where to import context").option("-cn, --context-name [contextName]", "Context name").description("generate interfaces and models").action((inputs, options) => __async(this, null, function* () {
|
|
66
|
-
yield generateInterfaces(getFiles(inputs), options);
|
|
67
|
-
}));
|
|
68
|
-
return import_commander.program.name("supermassive").addCommand(extractSchemaCommand).addCommand(generateInterfacesCommand);
|
|
69
|
-
}
|
|
70
|
-
function getFiles(inputs) {
|
|
71
|
-
return inputs.map((input) => {
|
|
72
|
-
if (import_fs.default.existsSync(input)) {
|
|
73
|
-
return input;
|
|
74
|
-
} else {
|
|
75
|
-
return glob.sync([input]);
|
|
76
|
-
}
|
|
77
|
-
}).flat().filter(Boolean);
|
|
78
|
-
}
|
|
79
|
-
function getContextPath(outputDir, contextImport) {
|
|
80
|
-
if (!contextImport) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
const contextDir = import_path.default.join(process.cwd(), contextImport);
|
|
84
|
-
return import_path.default.relative(outputDir, contextDir);
|
|
85
|
-
}
|
|
86
|
-
function generateInterfaces(files, options) {
|
|
87
|
-
return __async(this, null, function* () {
|
|
88
|
-
for (const file of files) {
|
|
89
|
-
let fullPath;
|
|
90
|
-
if (import_path.default.isAbsolute(file)) {
|
|
91
|
-
fullPath = file;
|
|
92
|
-
} else {
|
|
93
|
-
fullPath = import_path.default.join(process.cwd(), file);
|
|
94
|
-
}
|
|
95
|
-
const stat = yield import_promises.default.stat(fullPath);
|
|
96
|
-
if (!stat.isFile) {
|
|
97
|
-
throw new Error(`Invalid file ${file}`);
|
|
98
|
-
}
|
|
99
|
-
const content = yield import_promises.default.readFile(fullPath, { encoding: "utf-8" });
|
|
100
|
-
const document = (0, import_graphql.parse)(content);
|
|
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, options.contextImport), options.contextName);
|
|
103
|
-
yield import_promises.default.mkdir(outputDir, { recursive: true });
|
|
104
|
-
const printer = import_typescript.default.createPrinter();
|
|
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" });
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
function typeDefsToImplicitResolversImpl(files) {
|
|
111
|
-
return __async(this, null, function* () {
|
|
112
|
-
for (const file of files) {
|
|
113
|
-
let fullPath;
|
|
114
|
-
if (import_path.default.isAbsolute(file)) {
|
|
115
|
-
fullPath = file;
|
|
116
|
-
} else {
|
|
117
|
-
fullPath = import_path.default.join(process.cwd(), file);
|
|
118
|
-
}
|
|
119
|
-
const stat = yield import_promises.default.stat(fullPath);
|
|
120
|
-
if (!stat.isFile) {
|
|
121
|
-
throw new Error(`Invalid file ${file}`);
|
|
122
|
-
}
|
|
123
|
-
const content = yield import_promises.default.readFile(fullPath, { encoding: "utf-8" });
|
|
124
|
-
const document = (0, import_graphql.parse)(content);
|
|
125
|
-
const tsContents = (0, import_extractImplicitTypesToTypescript.extractImplicitTypesToTypescript)(document);
|
|
126
|
-
const tsDir = import_path.default.join(import_path.default.dirname(fullPath), "__generated__");
|
|
127
|
-
yield import_promises.default.mkdir(tsDir, { recursive: true });
|
|
128
|
-
const tsFileName = import_path.default.join(tsDir, import_path.default.basename(fullPath, import_path.default.extname(fullPath)) + ".ts");
|
|
129
|
-
const printer = import_typescript.default.createPrinter();
|
|
130
|
-
yield import_promises.default.writeFile(tsFileName, printer.printNode(import_typescript.default.EmitHint.SourceFile, tsContents, tsContents), { encoding: "utf-8" });
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
}
|
package/lib/bin/supermassive.mjs
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
var __async = (__this, __arguments, generator) => {
|
|
2
|
-
return new Promise((resolve, reject) => {
|
|
3
|
-
var fulfilled = (value) => {
|
|
4
|
-
try {
|
|
5
|
-
step(generator.next(value));
|
|
6
|
-
} catch (e) {
|
|
7
|
-
reject(e);
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
var rejected = (value) => {
|
|
11
|
-
try {
|
|
12
|
-
step(generator.throw(value));
|
|
13
|
-
} catch (e) {
|
|
14
|
-
reject(e);
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
18
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
|
-
});
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
// src/bin/supermassive.ts
|
|
23
|
-
import path from "path";
|
|
24
|
-
import fs from "fs/promises";
|
|
25
|
-
import fsSync from "fs";
|
|
26
|
-
import ts from "typescript";
|
|
27
|
-
import { program, Command } from "commander";
|
|
28
|
-
import { extractImplicitTypesToTypescript } from "../extractors/extractImplicitTypesToTypescript.mjs";
|
|
29
|
-
import { parse } from "graphql";
|
|
30
|
-
import { generateTS } from "../index.mjs";
|
|
31
|
-
import * as glob from "fast-glob";
|
|
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
|
-
`;
|
|
36
|
-
function supermassive() {
|
|
37
|
-
const extractSchemaCommand = new Command();
|
|
38
|
-
extractSchemaCommand.name("extract-schema").argument("<files...>").description("extract implicit resolvers to a ts file from graphql typedefs").action((files) => __async(this, null, function* () {
|
|
39
|
-
yield typeDefsToImplicitResolversImpl(files);
|
|
40
|
-
}));
|
|
41
|
-
const generateInterfacesCommand = new Command();
|
|
42
|
-
generateInterfacesCommand.name("generate-interfaces").argument("<inputs...>").option("-o, --output-dir [outputDir]", "output directory relative to file, default generated").option("-ci, --context-import [contextImport]", "from where to import context").option("-cn, --context-name [contextName]", "Context name").description("generate interfaces and models").action((inputs, options) => __async(this, null, function* () {
|
|
43
|
-
yield generateInterfaces(getFiles(inputs), options);
|
|
44
|
-
}));
|
|
45
|
-
return program.name("supermassive").addCommand(extractSchemaCommand).addCommand(generateInterfacesCommand);
|
|
46
|
-
}
|
|
47
|
-
function getFiles(inputs) {
|
|
48
|
-
return inputs.map((input) => {
|
|
49
|
-
if (fsSync.existsSync(input)) {
|
|
50
|
-
return input;
|
|
51
|
-
} else {
|
|
52
|
-
return glob.sync([input]);
|
|
53
|
-
}
|
|
54
|
-
}).flat().filter(Boolean);
|
|
55
|
-
}
|
|
56
|
-
function getContextPath(outputDir, contextImport) {
|
|
57
|
-
if (!contextImport) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
const contextDir = path.join(process.cwd(), contextImport);
|
|
61
|
-
return path.relative(outputDir, contextDir);
|
|
62
|
-
}
|
|
63
|
-
function generateInterfaces(files, options) {
|
|
64
|
-
return __async(this, null, function* () {
|
|
65
|
-
for (const file of files) {
|
|
66
|
-
let fullPath;
|
|
67
|
-
if (path.isAbsolute(file)) {
|
|
68
|
-
fullPath = file;
|
|
69
|
-
} else {
|
|
70
|
-
fullPath = path.join(process.cwd(), file);
|
|
71
|
-
}
|
|
72
|
-
const stat = yield fs.stat(fullPath);
|
|
73
|
-
if (!stat.isFile) {
|
|
74
|
-
throw new Error(`Invalid file ${file}`);
|
|
75
|
-
}
|
|
76
|
-
const content = yield fs.readFile(fullPath, { encoding: "utf-8" });
|
|
77
|
-
const document = parse(content);
|
|
78
|
-
const outputDir = path.join(path.dirname(fullPath), options.outputDir ? options.outputDir : "__generated__");
|
|
79
|
-
let result = generateTS(document, getContextPath(outputDir, options.contextImport), options.contextName);
|
|
80
|
-
yield fs.mkdir(outputDir, { recursive: true });
|
|
81
|
-
const printer = ts.createPrinter();
|
|
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" });
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
function typeDefsToImplicitResolversImpl(files) {
|
|
88
|
-
return __async(this, null, function* () {
|
|
89
|
-
for (const file of files) {
|
|
90
|
-
let fullPath;
|
|
91
|
-
if (path.isAbsolute(file)) {
|
|
92
|
-
fullPath = file;
|
|
93
|
-
} else {
|
|
94
|
-
fullPath = path.join(process.cwd(), file);
|
|
95
|
-
}
|
|
96
|
-
const stat = yield fs.stat(fullPath);
|
|
97
|
-
if (!stat.isFile) {
|
|
98
|
-
throw new Error(`Invalid file ${file}`);
|
|
99
|
-
}
|
|
100
|
-
const content = yield fs.readFile(fullPath, { encoding: "utf-8" });
|
|
101
|
-
const document = parse(content);
|
|
102
|
-
const tsContents = extractImplicitTypesToTypescript(document);
|
|
103
|
-
const tsDir = path.join(path.dirname(fullPath), "__generated__");
|
|
104
|
-
yield fs.mkdir(tsDir, { recursive: true });
|
|
105
|
-
const tsFileName = path.join(tsDir, path.basename(fullPath, path.extname(fullPath)) + ".ts");
|
|
106
|
-
const printer = ts.createPrinter();
|
|
107
|
-
yield fs.writeFile(tsFileName, printer.printNode(ts.EmitHint.SourceFile, tsContents, tsContents), { encoding: "utf-8" });
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
export {
|
|
112
|
-
supermassive
|
|
113
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=expect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"expect.d.ts","sourceRoot":"","sources":["../../../src/codegen/context/expect.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DirectiveNode } from "graphql";
|
|
2
|
-
import { DefinitionImport } from "../types";
|
|
3
|
-
export declare const IMPORT_DIRECTIVE_NAME = "import";
|
|
4
|
-
export declare function processImportDirective(node: DirectiveNode): DefinitionImport;
|
|
5
|
-
//# sourceMappingURL=import.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"import.d.ts","sourceRoot":"","sources":["../../../src/codegen/context/import.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,aAAa,EAAE,MAAM,SAAS,CAAC;AAEpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAE9C,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,aAAa,GAAG,gBAAgB,CAoC5E"}
|