@graphitation/supermassive 0.4.5 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/.eslintcache +1 -1
  2. package/CHANGELOG.json +61 -1
  3. package/CHANGELOG.md +34 -2
  4. package/lib/benchmarks/swapi-schema/resolvers.d.ts.map +1 -1
  5. package/lib/benchmarks/swapi-schema/resolvers.js +56 -0
  6. package/lib/benchmarks/swapi-schema/resolvers.mjs +41 -0
  7. package/lib/collectFields.d.ts.map +1 -1
  8. package/lib/collectFields.js +18 -4
  9. package/lib/collectFields.mjs +18 -4
  10. package/lib/definition.d.ts +4 -0
  11. package/lib/definition.d.ts.map +1 -0
  12. package/lib/definition.js +50 -0
  13. package/lib/definition.mjs +28 -0
  14. package/lib/directives.d.ts +79 -0
  15. package/lib/directives.d.ts.map +1 -0
  16. package/lib/directives.js +155 -0
  17. package/lib/directives.mjs +138 -0
  18. package/lib/executeWithoutSchema.d.ts +6 -5
  19. package/lib/executeWithoutSchema.d.ts.map +1 -1
  20. package/lib/executeWithoutSchema.js +5 -1
  21. package/lib/executeWithoutSchema.mjs +5 -1
  22. package/lib/index.d.ts +3 -0
  23. package/lib/index.d.ts.map +1 -1
  24. package/lib/index.js +5 -1
  25. package/lib/index.mjs +5 -1
  26. package/lib/subscribeWithSchema.d.ts +3 -0
  27. package/lib/subscribeWithSchema.d.ts.map +1 -0
  28. package/lib/subscribeWithSchema.js +78 -0
  29. package/lib/subscribeWithSchema.mjs +64 -0
  30. package/lib/subscribeWithoutSchema.d.ts +57 -0
  31. package/lib/subscribeWithoutSchema.d.ts.map +1 -0
  32. package/lib/subscribeWithoutSchema.js +155 -0
  33. package/lib/subscribeWithoutSchema.mjs +144 -0
  34. package/lib/types.d.ts +7 -2
  35. package/lib/types.d.ts.map +1 -1
  36. package/lib/utilities/mapAsyncIterator.d.ts +7 -0
  37. package/lib/utilities/mapAsyncIterator.d.ts.map +1 -0
  38. package/lib/utilities/mapAsyncIterator.js +71 -0
  39. package/lib/utilities/mapAsyncIterator.mjs +66 -0
  40. package/lib/values.d.ts +4 -3
  41. package/lib/values.d.ts.map +1 -1
  42. package/lib/values.js +6 -2
  43. package/lib/values.mjs +6 -2
  44. package/package.json +2 -1
package/.eslintcache CHANGED
@@ -1 +1 @@
1
- [{"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/execute.test.ts":"1","/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts":"2","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/TypedAST.ts":"3","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts":"4","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/addTypesToRequestDocument.ts":"5","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/index.ts":"6","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/nice-benchmark.ts":"7","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/index.ts":"8","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/models.ts":"9","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts":"10","/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts":"11","/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/supermassive.ts":"12","/home/runner/work/graphitation/graphitation/packages/supermassive/src/collectFields.ts":"13","/home/runner/work/graphitation/graphitation/packages/supermassive/src/compiledQuery.ts":"14","/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithSchema.ts":"15","/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithoutSchema.ts":"16","/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesRuntime.ts":"17","/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesToTypescript.ts":"18","/home/runner/work/graphitation/graphitation/packages/supermassive/src/index.ts":"19","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Maybe.ts":"20","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/ObjMap.ts":"21","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Path.ts":"22","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/PromiseOrValue.ts":"23","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/devAssert.ts":"24","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/didYouMean.ts":"25","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/identityFunc.ts":"26","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/inspect.ts":"27","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/instanceOf.ts":"28","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/invariant.ts":"29","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isAsyncIterable.ts":"30","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isIterableObject.ts":"31","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isObjectLike.ts":"32","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isPromise.ts":"33","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyMap.ts":"34","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyValMap.ts":"35","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/mapValue.ts":"36","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/memoize3.ts":"37","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/naturalCompare.ts":"38","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/printPathArray.ts":"39","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseForObject.ts":"40","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseReduce.ts":"41","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/suggestionList.ts":"42","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/toObjMap.ts":"43","/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"44","/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/transformerTestUtils.ts":"45","/home/runner/work/graphitation/graphitation/packages/supermassive/src/types.ts":"46","/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/typeNameFromAST.ts":"47","/home/runner/work/graphitation/graphitation/packages/supermassive/src/values.ts":"48"},{"size":4277,"mtime":1642158764936,"results":"49","hashOfConfig":"50"},{"size":3025,"mtime":1642158764936,"results":"51","hashOfConfig":"50"},{"size":14345,"mtime":1642158764936,"results":"52","hashOfConfig":"50"},{"size":5291,"mtime":1642158764936,"results":"53","hashOfConfig":"50"},{"size":2186,"mtime":1642158764936,"results":"54","hashOfConfig":"50"},{"size":3145,"mtime":1642158764936,"results":"55","hashOfConfig":"50"},{"size":712,"mtime":1642158764936,"results":"56","hashOfConfig":"50"},{"size":381,"mtime":1642158764936,"results":"57","hashOfConfig":"50"},{"size":128,"mtime":1642158764936,"results":"58","hashOfConfig":"50"},{"size":9598,"mtime":1642158764936,"results":"59","hashOfConfig":"50"},{"size":846,"mtime":1642158764940,"results":"60","hashOfConfig":"50"},{"size":1650,"mtime":1642158764940,"results":"61","hashOfConfig":"50"},{"size":3913,"mtime":1642158764940,"results":"62","hashOfConfig":"50"},{"size":3431,"mtime":1642158764940,"results":"63","hashOfConfig":"50"},{"size":1387,"mtime":1642158764940,"results":"64","hashOfConfig":"50"},{"size":26993,"mtime":1642158764940,"results":"65","hashOfConfig":"50"},{"size":3998,"mtime":1642158764940,"results":"66","hashOfConfig":"50"},{"size":10386,"mtime":1642158764940,"results":"67","hashOfConfig":"50"},{"size":457,"mtime":1642158764940,"results":"68","hashOfConfig":"50"},{"size":134,"mtime":1642158764940,"results":"69","hashOfConfig":"50"},{"size":277,"mtime":1642158764940,"results":"70","hashOfConfig":"50"},{"size":711,"mtime":1642158764940,"results":"71","hashOfConfig":"50"},{"size":48,"mtime":1642158764940,"results":"72","hashOfConfig":"50"},{"size":269,"mtime":1642158764940,"results":"73","hashOfConfig":"50"},{"size":1038,"mtime":1642158764940,"results":"74","hashOfConfig":"50"},{"size":108,"mtime":1642158764940,"results":"75","hashOfConfig":"50"},{"size":2797,"mtime":1642158764940,"results":"76","hashOfConfig":"50"},{"size":2294,"mtime":1642158764940,"results":"77","hashOfConfig":"50"},{"size":357,"mtime":1642158764940,"results":"78","hashOfConfig":"50"},{"size":325,"mtime":1642158764940,"results":"79","hashOfConfig":"50"},{"size":778,"mtime":1642158764940,"results":"80","hashOfConfig":"50"},{"size":278,"mtime":1642158764940,"results":"81","hashOfConfig":"50"},{"size":227,"mtime":1642158764940,"results":"82","hashOfConfig":"50"},{"size":921,"mtime":1642158764940,"results":"83","hashOfConfig":"50"},{"size":764,"mtime":1642158764940,"results":"84","hashOfConfig":"50"},{"size":441,"mtime":1642158764940,"results":"85","hashOfConfig":"50"},{"size":821,"mtime":1642158764940,"results":"86","hashOfConfig":"50"},{"size":1314,"mtime":1642158764940,"results":"87","hashOfConfig":"50"},{"size":253,"mtime":1642158764940,"results":"88","hashOfConfig":"50"},{"size":650,"mtime":1642158764940,"results":"89","hashOfConfig":"50"},{"size":803,"mtime":1642158764940,"results":"90","hashOfConfig":"50"},{"size":3938,"mtime":1642158764940,"results":"91","hashOfConfig":"50"},{"size":503,"mtime":1642158764940,"results":"92","hashOfConfig":"50"},{"size":495,"mtime":1642158764940,"results":"93","hashOfConfig":"50"},{"size":6644,"mtime":1642158764940,"results":"94","hashOfConfig":"50"},{"size":3414,"mtime":1642158764940,"results":"95","hashOfConfig":"50"},{"size":308,"mtime":1642158764940,"results":"96","hashOfConfig":"50"},{"size":9234,"mtime":1642158764940,"results":"97","hashOfConfig":"50"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"2qg1xb",{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/execute.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/TypedAST.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/addTypesToRequestDocument.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/nice-benchmark.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/models.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/supermassive.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/collectFields.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/compiledQuery.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithoutSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesRuntime.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesToTypescript.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Maybe.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/ObjMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Path.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/PromiseOrValue.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/devAssert.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/didYouMean.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/identityFunc.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/inspect.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/instanceOf.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/invariant.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isAsyncIterable.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isIterableObject.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isObjectLike.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isPromise.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyValMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/mapValue.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/memoize3.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/naturalCompare.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/printPathArray.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseForObject.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseReduce.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/suggestionList.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/toObjMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/transformerTestUtils.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/types.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/typeNameFromAST.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/values.ts",[]]
1
+ [{"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/execute.test.ts":"1","/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts":"2","/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/subscribe.test.ts":"3","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/TypedAST.ts":"4","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts":"5","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/addTypesToRequestDocument.ts":"6","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/index.ts":"7","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/nice-benchmark.ts":"8","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/index.ts":"9","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/models.ts":"10","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts":"11","/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts":"12","/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/supermassive.ts":"13","/home/runner/work/graphitation/graphitation/packages/supermassive/src/collectFields.ts":"14","/home/runner/work/graphitation/graphitation/packages/supermassive/src/compiledQuery.ts":"15","/home/runner/work/graphitation/graphitation/packages/supermassive/src/definition.ts":"16","/home/runner/work/graphitation/graphitation/packages/supermassive/src/directives.ts":"17","/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithSchema.ts":"18","/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithoutSchema.ts":"19","/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesRuntime.ts":"20","/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesToTypescript.ts":"21","/home/runner/work/graphitation/graphitation/packages/supermassive/src/index.ts":"22","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Maybe.ts":"23","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/ObjMap.ts":"24","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Path.ts":"25","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/PromiseOrValue.ts":"26","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/devAssert.ts":"27","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/didYouMean.ts":"28","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/identityFunc.ts":"29","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/inspect.ts":"30","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/instanceOf.ts":"31","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/invariant.ts":"32","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isAsyncIterable.ts":"33","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isIterableObject.ts":"34","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isObjectLike.ts":"35","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isPromise.ts":"36","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyMap.ts":"37","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyValMap.ts":"38","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/mapValue.ts":"39","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/memoize3.ts":"40","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/naturalCompare.ts":"41","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/printPathArray.ts":"42","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseForObject.ts":"43","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseReduce.ts":"44","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/suggestionList.ts":"45","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/toObjMap.ts":"46","/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithSchema.ts":"47","/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithoutSchema.ts":"48","/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"49","/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/transformerTestUtils.ts":"50","/home/runner/work/graphitation/graphitation/packages/supermassive/src/types.ts":"51","/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/mapAsyncIterator.ts":"52","/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/typeNameFromAST.ts":"53","/home/runner/work/graphitation/graphitation/packages/supermassive/src/values.ts":"54"},{"size":5252,"mtime":1643022982528,"results":"55","hashOfConfig":"56"},{"size":3107,"mtime":1643022982528,"results":"57","hashOfConfig":"56"},{"size":7241,"mtime":1643022982528,"results":"58","hashOfConfig":"56"},{"size":14345,"mtime":1643022982528,"results":"59","hashOfConfig":"56"},{"size":5291,"mtime":1643022982528,"results":"60","hashOfConfig":"56"},{"size":2186,"mtime":1643022982528,"results":"61","hashOfConfig":"56"},{"size":3145,"mtime":1643022982528,"results":"62","hashOfConfig":"56"},{"size":712,"mtime":1643022982528,"results":"63","hashOfConfig":"56"},{"size":381,"mtime":1643022982528,"results":"64","hashOfConfig":"56"},{"size":128,"mtime":1643022982528,"results":"65","hashOfConfig":"56"},{"size":10205,"mtime":1643022982528,"results":"66","hashOfConfig":"56"},{"size":846,"mtime":1643022982532,"results":"67","hashOfConfig":"56"},{"size":1650,"mtime":1643022982532,"results":"68","hashOfConfig":"56"},{"size":4172,"mtime":1643022982532,"results":"69","hashOfConfig":"56"},{"size":3431,"mtime":1643022982532,"results":"70","hashOfConfig":"56"},{"size":1212,"mtime":1643022982532,"results":"71","hashOfConfig":"56"},{"size":6583,"mtime":1643022982532,"results":"72","hashOfConfig":"56"},{"size":1387,"mtime":1643022982532,"results":"73","hashOfConfig":"56"},{"size":27153,"mtime":1643022982532,"results":"74","hashOfConfig":"56"},{"size":3998,"mtime":1643022982532,"results":"75","hashOfConfig":"56"},{"size":10386,"mtime":1643022982532,"results":"76","hashOfConfig":"56"},{"size":1595,"mtime":1643022982532,"results":"77","hashOfConfig":"56"},{"size":134,"mtime":1643022982532,"results":"78","hashOfConfig":"56"},{"size":277,"mtime":1643022982532,"results":"79","hashOfConfig":"56"},{"size":711,"mtime":1643022982532,"results":"80","hashOfConfig":"56"},{"size":48,"mtime":1643022982532,"results":"81","hashOfConfig":"56"},{"size":269,"mtime":1643022982532,"results":"82","hashOfConfig":"56"},{"size":1038,"mtime":1643022982532,"results":"83","hashOfConfig":"56"},{"size":108,"mtime":1643022982532,"results":"84","hashOfConfig":"56"},{"size":2797,"mtime":1643022982532,"results":"85","hashOfConfig":"56"},{"size":2294,"mtime":1643022982532,"results":"86","hashOfConfig":"56"},{"size":357,"mtime":1643022982532,"results":"87","hashOfConfig":"56"},{"size":325,"mtime":1643022982532,"results":"88","hashOfConfig":"56"},{"size":778,"mtime":1643022982532,"results":"89","hashOfConfig":"56"},{"size":278,"mtime":1643022982532,"results":"90","hashOfConfig":"56"},{"size":227,"mtime":1643022982532,"results":"91","hashOfConfig":"56"},{"size":921,"mtime":1643022982532,"results":"92","hashOfConfig":"56"},{"size":764,"mtime":1643022982532,"results":"93","hashOfConfig":"56"},{"size":441,"mtime":1643022982532,"results":"94","hashOfConfig":"56"},{"size":821,"mtime":1643022982532,"results":"95","hashOfConfig":"56"},{"size":1314,"mtime":1643022982532,"results":"96","hashOfConfig":"56"},{"size":253,"mtime":1643022982532,"results":"97","hashOfConfig":"56"},{"size":650,"mtime":1643022982532,"results":"98","hashOfConfig":"56"},{"size":803,"mtime":1643022982532,"results":"99","hashOfConfig":"56"},{"size":3938,"mtime":1643022982532,"results":"100","hashOfConfig":"56"},{"size":503,"mtime":1643022982532,"results":"101","hashOfConfig":"56"},{"size":1438,"mtime":1643022982532,"results":"102","hashOfConfig":"56"},{"size":8927,"mtime":1643022982532,"results":"103","hashOfConfig":"56"},{"size":495,"mtime":1643022982532,"results":"104","hashOfConfig":"56"},{"size":6644,"mtime":1643022982532,"results":"105","hashOfConfig":"56"},{"size":3824,"mtime":1643022982532,"results":"106","hashOfConfig":"56"},{"size":1813,"mtime":1643022982532,"results":"107","hashOfConfig":"56"},{"size":308,"mtime":1643022982532,"results":"108","hashOfConfig":"56"},{"size":9274,"mtime":1643022982532,"results":"109","hashOfConfig":"56"},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"2qg1xb",{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"196","messages":"197","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/execute.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/subscribe.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/TypedAST.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/addTypesToRequestDocument.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/nice-benchmark.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/models.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/supermassive.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/collectFields.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/compiledQuery.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/definition.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/directives.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithoutSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesRuntime.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesToTypescript.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Maybe.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/ObjMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Path.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/PromiseOrValue.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/devAssert.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/didYouMean.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/identityFunc.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/inspect.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/instanceOf.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/invariant.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isAsyncIterable.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isIterableObject.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isObjectLike.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isPromise.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyValMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/mapValue.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/memoize3.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/naturalCompare.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/printPathArray.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseForObject.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseReduce.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/suggestionList.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/toObjMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithoutSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/transformerTestUtils.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/types.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/mapAsyncIterator.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/typeNameFromAST.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/values.ts",[]]
package/CHANGELOG.json CHANGED
@@ -2,7 +2,67 @@
2
2
  "name": "@graphitation/supermassive",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 14 Jan 2022 11:15:11 GMT",
5
+ "date": "Mon, 24 Jan 2022 11:18:49 GMT",
6
+ "tag": "@graphitation/supermassive_v0.6.0",
7
+ "version": "0.6.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "jakubvejr@microsoft.com",
12
+ "package": "@graphitation/supermassive",
13
+ "commit": "6f7d0728d4f196601758acde6fb2b02477201df5",
14
+ "comment": "Directives implemented"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Wed, 19 Jan 2022 13:39:52 GMT",
21
+ "tag": "@graphitation/supermassive_v0.5.2",
22
+ "version": "0.5.2",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "jakubvejr@microsoft.com",
27
+ "package": "@graphitation/supermassive",
28
+ "commit": "bbcd6d2d5fe95073e9bea820f92298f397edda26",
29
+ "comment": "Export AST types"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Tue, 18 Jan 2022 12:29:14 GMT",
36
+ "tag": "@graphitation/supermassive_v0.5.1",
37
+ "version": "0.5.1",
38
+ "comments": {
39
+ "patch": [
40
+ {
41
+ "author": "jakubvejr@microsoft.com",
42
+ "package": "@graphitation/supermassive",
43
+ "commit": "e48a7490997e1c9cd3487c1b2c178c56c1ce5a1b",
44
+ "comment": "Reexported type fixed"
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "date": "Tue, 18 Jan 2022 09:59:51 GMT",
51
+ "tag": "@graphitation/supermassive_v0.5.0",
52
+ "version": "0.5.0",
53
+ "comments": {
54
+ "minor": [
55
+ {
56
+ "author": "jakubvejr@microsoft.com",
57
+ "package": "@graphitation/supermassive",
58
+ "commit": "6a2790e55986f1ae77c6abacdc7e7b81255c68f2",
59
+ "comment": "Added support for subscribe operation"
60
+ }
61
+ ]
62
+ }
63
+ },
64
+ {
65
+ "date": "Fri, 14 Jan 2022 11:15:34 GMT",
6
66
  "tag": "@graphitation/supermassive_v0.4.5",
7
67
  "version": "0.4.5",
8
68
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,44 @@
1
1
  # Change Log - @graphitation/supermassive
2
2
 
3
- This log was last generated on Fri, 14 Jan 2022 11:15:11 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 24 Jan 2022 11:18:49 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.6.0
8
+
9
+ Mon, 24 Jan 2022 11:18:49 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Directives implemented (jakubvejr@microsoft.com)
14
+
15
+ ## 0.5.2
16
+
17
+ Wed, 19 Jan 2022 13:39:52 GMT
18
+
19
+ ### Patches
20
+
21
+ - Export AST types (jakubvejr@microsoft.com)
22
+
23
+ ## 0.5.1
24
+
25
+ Tue, 18 Jan 2022 12:29:14 GMT
26
+
27
+ ### Patches
28
+
29
+ - Reexported type fixed (jakubvejr@microsoft.com)
30
+
31
+ ## 0.5.0
32
+
33
+ Tue, 18 Jan 2022 09:59:51 GMT
34
+
35
+ ### Minor changes
36
+
37
+ - Added support for subscribe operation (jakubvejr@microsoft.com)
38
+
7
39
  ## 0.4.5
8
40
 
9
- Fri, 14 Jan 2022 11:15:11 GMT
41
+ Fri, 14 Jan 2022 11:15:34 GMT
10
42
 
11
43
  ### Patches
12
44
 
@@ -1 +1 @@
1
- {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../src/benchmarks/swapi-schema/resolvers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAyMpE,QAAA,MAAM,SAAS,EAAE,2BAA2B,CAAC,WAAW,CAmKvD,CAAC;AAKF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../src/benchmarks/swapi-schema/resolvers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AA4NpE,QAAA,MAAM,SAAS,EAAE,2BAA2B,CAAC,WAAW,CAwKvD,CAAC;AAKF,eAAe,SAAS,CAAC"}
@@ -1,5 +1,9 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
3
+ var __getProtoOf = Object.getPrototypeOf;
2
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
7
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4
8
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
5
9
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value;
@@ -19,10 +23,42 @@ var __export = (target, all) => {
19
23
  for (var name in all)
20
24
  __defProp(target, name, {get: all[name], enumerable: true});
21
25
  };
26
+ var __reExport = (target, module2, desc) => {
27
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
28
+ for (let key of __getOwnPropNames(module2))
29
+ if (!__hasOwnProp.call(target, key) && key !== "default")
30
+ __defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
31
+ }
32
+ return target;
33
+ };
34
+ var __toModule = (module2) => {
35
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
36
+ };
37
+ var __async = (__this, __arguments, generator) => {
38
+ return new Promise((resolve, reject) => {
39
+ var fulfilled = (value) => {
40
+ try {
41
+ step(generator.next(value));
42
+ } catch (e) {
43
+ reject(e);
44
+ }
45
+ };
46
+ var rejected = (value) => {
47
+ try {
48
+ step(generator.throw(value));
49
+ } catch (e) {
50
+ reject(e);
51
+ }
52
+ };
53
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
54
+ step((generator = generator.apply(__this, __arguments)).next());
55
+ });
56
+ };
22
57
  __markAsModule(exports);
23
58
  __export(exports, {
24
59
  default: () => resolvers_default
25
60
  });
61
+ var import_iterall = __toModule(require("iterall"));
26
62
  const films = (parent, args, {models}) => {
27
63
  return models.getData("/films").filter(({id}) => parent.films.includes(id));
28
64
  };
@@ -85,6 +121,21 @@ const searchStarshipsByName = (parent, {search}, {models}) => {
85
121
  const searchVehiclesByName = (parent, {search}, {models}) => {
86
122
  return models.getData("/vehicles").filter((vehicle2) => new RegExp(search, "i").test(vehicle2.name));
87
123
  };
124
+ const emitPersons = function(_0, _1, _2) {
125
+ return __async(this, arguments, function* (parent, {limit, throwError}, {models}) {
126
+ if (throwError) {
127
+ throw new Error("error");
128
+ return;
129
+ }
130
+ const persons = yield models.getData("/people");
131
+ const personsLimit = Math.min(limit, persons.length);
132
+ const output = {length: personsLimit};
133
+ for (let i = 0; i < personsLimit; i++) {
134
+ output[i] = {emitPersons: persons[i]};
135
+ }
136
+ return (0, import_iterall.createAsyncIterator)(output);
137
+ });
138
+ };
88
139
  const searchTransportsByName = (parent, {search}, {models}) => {
89
140
  return models.getData("/transport").filter((transport2) => new RegExp(search, "i").test(transport2.name));
90
141
  };
@@ -94,6 +145,11 @@ const resolvers = {
94
145
  return parent.__typename;
95
146
  }
96
147
  },
148
+ Subscription: {
149
+ emitPersons: {
150
+ subscribe: emitPersons
151
+ }
152
+ },
97
153
  Query: {
98
154
  search(parent, {search}, {models}, info) {
99
155
  const result = [
@@ -14,8 +14,29 @@ var __objSpread = (a, b) => {
14
14
  }
15
15
  return a;
16
16
  };
17
+ var __async = (__this, __arguments, generator) => {
18
+ return new Promise((resolve, reject) => {
19
+ var fulfilled = (value) => {
20
+ try {
21
+ step(generator.next(value));
22
+ } catch (e) {
23
+ reject(e);
24
+ }
25
+ };
26
+ var rejected = (value) => {
27
+ try {
28
+ step(generator.throw(value));
29
+ } catch (e) {
30
+ reject(e);
31
+ }
32
+ };
33
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
34
+ step((generator = generator.apply(__this, __arguments)).next());
35
+ });
36
+ };
17
37
 
18
38
  // src/benchmarks/swapi-schema/resolvers.ts
39
+ import {createAsyncIterator} from "iterall";
19
40
  var films = (parent, args, {models}) => {
20
41
  return models.getData("/films").filter(({id}) => parent.films.includes(id));
21
42
  };
@@ -75,6 +96,21 @@ var searchStarshipsByName = (parent, {search}, {models}) => {
75
96
  var searchVehiclesByName = (parent, {search}, {models}) => {
76
97
  return models.getData("/vehicles").filter((vehicle2) => new RegExp(search, "i").test(vehicle2.name));
77
98
  };
99
+ var emitPersons = function(_0, _1, _2) {
100
+ return __async(this, arguments, function* (parent, {limit, throwError}, {models}) {
101
+ if (throwError) {
102
+ throw new Error("error");
103
+ return;
104
+ }
105
+ const persons = yield models.getData("/people");
106
+ const personsLimit = Math.min(limit, persons.length);
107
+ const output = {length: personsLimit};
108
+ for (let i = 0; i < personsLimit; i++) {
109
+ output[i] = {emitPersons: persons[i]};
110
+ }
111
+ return createAsyncIterator(output);
112
+ });
113
+ };
78
114
  var searchTransportsByName = (parent, {search}, {models}) => {
79
115
  return models.getData("/transport").filter((transport2) => new RegExp(search, "i").test(transport2.name));
80
116
  };
@@ -84,6 +120,11 @@ var resolvers = {
84
120
  return parent.__typename;
85
121
  }
86
122
  },
123
+ Subscription: {
124
+ emitPersons: {
125
+ subscribe: emitPersons
126
+ }
127
+ },
87
128
  Query: {
88
129
  search(parent, {search}, {models}, info) {
89
130
  const result = [
@@ -1 +1 @@
1
- {"version":3,"file":"collectFields.d.ts","sourceRoot":"","sources":["../src/collectFields.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,sBAAsB,EAGtB,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC,EACzC,cAAc,EAAE;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EAC/C,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,gBAAgB,EAC9B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,EACrC,oBAAoB,EAAE,GAAG,CAAC,MAAM,CAAC,GAChC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAgE/B"}
1
+ {"version":3,"file":"collectFields.d.ts","sourceRoot":"","sources":["../src/collectFields.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,sBAAsB,EAGtB,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC,EACzC,cAAc,EAAE;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,EAC/C,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,gBAAgB,EAC9B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,EACrC,oBAAoB,EAAE,GAAG,CAAC,MAAM,CAAC,GAChC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAgE/B"}
@@ -25,11 +25,13 @@ __export(exports, {
25
25
  collectFields: () => collectFields
26
26
  });
27
27
  var import_graphql = __toModule(require("graphql"));
28
+ var import_values = __toModule(require("./values"));
29
+ var import_directives = __toModule(require("./directives"));
28
30
  function collectFields(resolvers, fragments, variableValues, runtimeTypeName, selectionSet, fields, visitedFragmentNames) {
29
31
  for (const selection of selectionSet.selections) {
30
32
  switch (selection.kind) {
31
33
  case import_graphql.Kind.FIELD: {
32
- if (!shouldIncludeNode(variableValues, selection)) {
34
+ if (!shouldIncludeNode(resolvers, variableValues, selection)) {
33
35
  continue;
34
36
  }
35
37
  const name = getFieldEntryKey(selection);
@@ -42,7 +44,7 @@ function collectFields(resolvers, fragments, variableValues, runtimeTypeName, se
42
44
  break;
43
45
  }
44
46
  case import_graphql.Kind.INLINE_FRAGMENT: {
45
- if (!shouldIncludeNode(variableValues, selection) || !doesFragmentConditionMatch(selection, runtimeTypeName)) {
47
+ if (!shouldIncludeNode(resolvers, variableValues, selection) || !doesFragmentConditionMatch(selection, runtimeTypeName)) {
46
48
  continue;
47
49
  }
48
50
  collectFields(resolvers, fragments, variableValues, runtimeTypeName, selection.selectionSet, fields, visitedFragmentNames);
@@ -50,7 +52,7 @@ function collectFields(resolvers, fragments, variableValues, runtimeTypeName, se
50
52
  }
51
53
  case import_graphql.Kind.FRAGMENT_SPREAD: {
52
54
  const fragName = selection.name.value;
53
- if (visitedFragmentNames.has(fragName) || !shouldIncludeNode(variableValues, selection)) {
55
+ if (visitedFragmentNames.has(fragName) || !shouldIncludeNode(resolvers, variableValues, selection)) {
54
56
  continue;
55
57
  }
56
58
  visitedFragmentNames.add(fragName);
@@ -65,7 +67,19 @@ function collectFields(resolvers, fragments, variableValues, runtimeTypeName, se
65
67
  }
66
68
  return fields;
67
69
  }
68
- function shouldIncludeNode(variableValues, node) {
70
+ function shouldIncludeNode(resolvers, variableValues, node) {
71
+ var _a;
72
+ if (!((_a = node.directives) == null ? void 0 : _a.length)) {
73
+ return true;
74
+ }
75
+ const skip = (0, import_values.getDirectiveValues)(import_directives.GraphQLSkipDirective, node, resolvers, variableValues);
76
+ if ((skip == null ? void 0 : skip.if) === true) {
77
+ return false;
78
+ }
79
+ const include = (0, import_values.getDirectiveValues)(import_directives.GraphQLIncludeDirective, node, resolvers, variableValues);
80
+ if ((include == null ? void 0 : include.if) === false) {
81
+ return false;
82
+ }
69
83
  return true;
70
84
  }
71
85
  function doesFragmentConditionMatch(fragment, typeName) {
@@ -1,10 +1,12 @@
1
1
  // src/collectFields.ts
2
2
  import {Kind} from "graphql";
3
+ import {getDirectiveValues} from "./values.mjs";
4
+ import {GraphQLSkipDirective, GraphQLIncludeDirective} from "./directives.mjs";
3
5
  function collectFields(resolvers, fragments, variableValues, runtimeTypeName, selectionSet, fields, visitedFragmentNames) {
4
6
  for (const selection of selectionSet.selections) {
5
7
  switch (selection.kind) {
6
8
  case Kind.FIELD: {
7
- if (!shouldIncludeNode(variableValues, selection)) {
9
+ if (!shouldIncludeNode(resolvers, variableValues, selection)) {
8
10
  continue;
9
11
  }
10
12
  const name = getFieldEntryKey(selection);
@@ -17,7 +19,7 @@ function collectFields(resolvers, fragments, variableValues, runtimeTypeName, se
17
19
  break;
18
20
  }
19
21
  case Kind.INLINE_FRAGMENT: {
20
- if (!shouldIncludeNode(variableValues, selection) || !doesFragmentConditionMatch(selection, runtimeTypeName)) {
22
+ if (!shouldIncludeNode(resolvers, variableValues, selection) || !doesFragmentConditionMatch(selection, runtimeTypeName)) {
21
23
  continue;
22
24
  }
23
25
  collectFields(resolvers, fragments, variableValues, runtimeTypeName, selection.selectionSet, fields, visitedFragmentNames);
@@ -25,7 +27,7 @@ function collectFields(resolvers, fragments, variableValues, runtimeTypeName, se
25
27
  }
26
28
  case Kind.FRAGMENT_SPREAD: {
27
29
  const fragName = selection.name.value;
28
- if (visitedFragmentNames.has(fragName) || !shouldIncludeNode(variableValues, selection)) {
30
+ if (visitedFragmentNames.has(fragName) || !shouldIncludeNode(resolvers, variableValues, selection)) {
29
31
  continue;
30
32
  }
31
33
  visitedFragmentNames.add(fragName);
@@ -40,7 +42,19 @@ function collectFields(resolvers, fragments, variableValues, runtimeTypeName, se
40
42
  }
41
43
  return fields;
42
44
  }
43
- function shouldIncludeNode(variableValues, node) {
45
+ function shouldIncludeNode(resolvers, variableValues, node) {
46
+ var _a;
47
+ if (!((_a = node.directives) == null ? void 0 : _a.length)) {
48
+ return true;
49
+ }
50
+ const skip = getDirectiveValues(GraphQLSkipDirective, node, resolvers, variableValues);
51
+ if ((skip == null ? void 0 : skip.if) === true) {
52
+ return false;
53
+ }
54
+ const include = getDirectiveValues(GraphQLIncludeDirective, node, resolvers, variableValues);
55
+ if ((include == null ? void 0 : include.if) === false) {
56
+ return false;
57
+ }
44
58
  return true;
45
59
  }
46
60
  function doesFragmentConditionMatch(fragment, typeName) {
@@ -0,0 +1,4 @@
1
+ import { GraphQLFieldConfigArgumentMap, GraphQLArgument } from "graphql";
2
+ export declare function defineArguments(config: GraphQLFieldConfigArgumentMap): ReadonlyArray<GraphQLArgument>;
3
+ export declare function argsToArgsConfig(args: ReadonlyArray<GraphQLArgument>): GraphQLFieldConfigArgumentMap;
4
+ //# sourceMappingURL=definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../src/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,6BAA6B,EAC7B,eAAe,EAChB,MAAM,SAAS,CAAC;AAOjB,wBAAgB,eAAe,CAC7B,MAAM,EAAE,6BAA6B,GACpC,aAAa,CAAC,eAAe,CAAC,CAUhC;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,aAAa,CAAC,eAAe,CAAC,GACnC,6BAA6B,CAa/B"}
@@ -0,0 +1,50 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getProtoOf = Object.getPrototypeOf;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, {get: all[name], enumerable: true});
11
+ };
12
+ var __reExport = (target, module2, desc) => {
13
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
+ for (let key of __getOwnPropNames(module2))
15
+ if (!__hasOwnProp.call(target, key) && key !== "default")
16
+ __defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
17
+ }
18
+ return target;
19
+ };
20
+ var __toModule = (module2) => {
21
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
22
+ };
23
+ __markAsModule(exports);
24
+ __export(exports, {
25
+ argsToArgsConfig: () => argsToArgsConfig,
26
+ defineArguments: () => defineArguments
27
+ });
28
+ var import_toObjMap = __toModule(require("./jsutils/toObjMap"));
29
+ var import_keyValMap = __toModule(require("./jsutils/keyValMap"));
30
+ function defineArguments(config) {
31
+ return Object.entries(config).map(([argName, argConfig]) => ({
32
+ name: argName,
33
+ description: argConfig.description,
34
+ type: argConfig.type,
35
+ defaultValue: argConfig.defaultValue,
36
+ deprecationReason: argConfig.deprecationReason,
37
+ extensions: argConfig.extensions && (0, import_toObjMap.toObjMap)(argConfig.extensions),
38
+ astNode: argConfig.astNode
39
+ }));
40
+ }
41
+ function argsToArgsConfig(args) {
42
+ return (0, import_keyValMap.keyValMap)(args, (arg) => arg.name, (arg) => ({
43
+ description: arg.description,
44
+ type: arg.type,
45
+ defaultValue: arg.defaultValue,
46
+ deprecationReason: arg.deprecationReason,
47
+ extensions: arg.extensions,
48
+ astNode: arg.astNode
49
+ }));
50
+ }
@@ -0,0 +1,28 @@
1
+ // src/definition.ts
2
+ import {toObjMap} from "./jsutils/toObjMap.mjs";
3
+ import {keyValMap} from "./jsutils/keyValMap.mjs";
4
+ function defineArguments(config) {
5
+ return Object.entries(config).map(([argName, argConfig]) => ({
6
+ name: argName,
7
+ description: argConfig.description,
8
+ type: argConfig.type,
9
+ defaultValue: argConfig.defaultValue,
10
+ deprecationReason: argConfig.deprecationReason,
11
+ extensions: argConfig.extensions && toObjMap(argConfig.extensions),
12
+ astNode: argConfig.astNode
13
+ }));
14
+ }
15
+ function argsToArgsConfig(args) {
16
+ return keyValMap(args, (arg) => arg.name, (arg) => ({
17
+ description: arg.description,
18
+ type: arg.type,
19
+ defaultValue: arg.defaultValue,
20
+ deprecationReason: arg.deprecationReason,
21
+ extensions: arg.extensions,
22
+ astNode: arg.astNode
23
+ }));
24
+ }
25
+ export {
26
+ argsToArgsConfig,
27
+ defineArguments
28
+ };