@graphitation/supermassive 0.4.3 → 0.5.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.json +61 -1
- package/CHANGELOG.md +34 -2
- package/lib/benchmarks/swapi-schema/resolvers.d.ts.map +1 -1
- package/lib/benchmarks/swapi-schema/resolvers.js +56 -0
- package/lib/benchmarks/swapi-schema/resolvers.mjs +41 -0
- package/lib/executeWithoutSchema.d.ts +6 -5
- package/lib/executeWithoutSchema.d.ts.map +1 -1
- package/lib/executeWithoutSchema.js +5 -1
- package/lib/executeWithoutSchema.mjs +5 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -1
- package/lib/index.mjs +5 -1
- package/lib/subscribeWithSchema.d.ts +3 -0
- package/lib/subscribeWithSchema.d.ts.map +1 -0
- package/lib/subscribeWithSchema.js +78 -0
- package/lib/subscribeWithSchema.mjs +64 -0
- package/lib/subscribeWithoutSchema.d.ts +57 -0
- package/lib/subscribeWithoutSchema.d.ts.map +1 -0
- package/lib/subscribeWithoutSchema.js +155 -0
- package/lib/subscribeWithoutSchema.mjs +144 -0
- package/lib/types.d.ts +7 -2
- package/lib/types.d.ts.map +1 -1
- package/lib/utilities/mapAsyncIterator.d.ts +7 -0
- package/lib/utilities/mapAsyncIterator.d.ts.map +1 -0
- package/lib/utilities/mapAsyncIterator.js +71 -0
- package/lib/utilities/mapAsyncIterator.mjs +66 -0
- package/package.json +5 -4
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":1641816655308,"results":"49","hashOfConfig":"50"},{"size":3025,"mtime":1641816655308,"results":"51","hashOfConfig":"50"},{"size":14345,"mtime":1641816655308,"results":"52","hashOfConfig":"50"},{"size":5291,"mtime":1641816655308,"results":"53","hashOfConfig":"50"},{"size":2186,"mtime":1641816655308,"results":"54","hashOfConfig":"50"},{"size":3145,"mtime":1641816655308,"results":"55","hashOfConfig":"50"},{"size":712,"mtime":1641816655308,"results":"56","hashOfConfig":"50"},{"size":381,"mtime":1641816655308,"results":"57","hashOfConfig":"50"},{"size":128,"mtime":1641816655308,"results":"58","hashOfConfig":"50"},{"size":9598,"mtime":1641816655308,"results":"59","hashOfConfig":"50"},{"size":846,"mtime":1641816655308,"results":"60","hashOfConfig":"50"},{"size":1650,"mtime":1641816655308,"results":"61","hashOfConfig":"50"},{"size":3913,"mtime":1641816655308,"results":"62","hashOfConfig":"50"},{"size":3431,"mtime":1641816655308,"results":"63","hashOfConfig":"50"},{"size":1387,"mtime":1641816655308,"results":"64","hashOfConfig":"50"},{"size":26993,"mtime":1641816655308,"results":"65","hashOfConfig":"50"},{"size":3998,"mtime":1641816655308,"results":"66","hashOfConfig":"50"},{"size":10386,"mtime":1641816655308,"results":"67","hashOfConfig":"50"},{"size":457,"mtime":1641816655308,"results":"68","hashOfConfig":"50"},{"size":134,"mtime":1641816655308,"results":"69","hashOfConfig":"50"},{"size":277,"mtime":1641816655308,"results":"70","hashOfConfig":"50"},{"size":711,"mtime":1641816655308,"results":"71","hashOfConfig":"50"},{"size":48,"mtime":1641816655308,"results":"72","hashOfConfig":"50"},{"size":269,"mtime":1641816655308,"results":"73","hashOfConfig":"50"},{"size":1038,"mtime":1641816655308,"results":"74","hashOfConfig":"50"},{"size":108,"mtime":1641816655308,"results":"75","hashOfConfig":"50"},{"size":2797,"mtime":1641816655308,"results":"76","hashOfConfig":"50"},{"size":2294,"mtime":1641816655308,"results":"77","hashOfConfig":"50"},{"size":357,"mtime":1641816655308,"results":"78","hashOfConfig":"50"},{"size":325,"mtime":1641816655308,"results":"79","hashOfConfig":"50"},{"size":778,"mtime":1641816655308,"results":"80","hashOfConfig":"50"},{"size":278,"mtime":1641816655308,"results":"81","hashOfConfig":"50"},{"size":227,"mtime":1641816655308,"results":"82","hashOfConfig":"50"},{"size":921,"mtime":1641816655308,"results":"83","hashOfConfig":"50"},{"size":764,"mtime":1641816655308,"results":"84","hashOfConfig":"50"},{"size":441,"mtime":1641816655308,"results":"85","hashOfConfig":"50"},{"size":821,"mtime":1641816655308,"results":"86","hashOfConfig":"50"},{"size":1314,"mtime":1641816655308,"results":"87","hashOfConfig":"50"},{"size":253,"mtime":1641816655308,"results":"88","hashOfConfig":"50"},{"size":650,"mtime":1641816655308,"results":"89","hashOfConfig":"50"},{"size":803,"mtime":1641816655308,"results":"90","hashOfConfig":"50"},{"size":3938,"mtime":1641816655308,"results":"91","hashOfConfig":"50"},{"size":503,"mtime":1641816655308,"results":"92","hashOfConfig":"50"},{"size":495,"mtime":1641816655308,"results":"93","hashOfConfig":"50"},{"size":6644,"mtime":1641816655308,"results":"94","hashOfConfig":"50"},{"size":3414,"mtime":1641816655308,"results":"95","hashOfConfig":"50"},{"size":308,"mtime":1641816655308,"results":"96","hashOfConfig":"50"},{"size":9234,"mtime":1641816655308,"results":"97","hashOfConfig":"50"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"19kgiu3",{"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/executeWithSchema.ts":"16","/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithoutSchema.ts":"17","/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesRuntime.ts":"18","/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesToTypescript.ts":"19","/home/runner/work/graphitation/graphitation/packages/supermassive/src/index.ts":"20","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Maybe.ts":"21","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/ObjMap.ts":"22","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Path.ts":"23","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/PromiseOrValue.ts":"24","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/devAssert.ts":"25","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/didYouMean.ts":"26","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/identityFunc.ts":"27","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/inspect.ts":"28","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/instanceOf.ts":"29","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/invariant.ts":"30","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isAsyncIterable.ts":"31","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isIterableObject.ts":"32","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isObjectLike.ts":"33","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isPromise.ts":"34","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyMap.ts":"35","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyValMap.ts":"36","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/mapValue.ts":"37","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/memoize3.ts":"38","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/naturalCompare.ts":"39","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/printPathArray.ts":"40","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseForObject.ts":"41","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseReduce.ts":"42","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/suggestionList.ts":"43","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/toObjMap.ts":"44","/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithSchema.ts":"45","/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithoutSchema.ts":"46","/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"47","/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/transformerTestUtils.ts":"48","/home/runner/work/graphitation/graphitation/packages/supermassive/src/types.ts":"49","/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/mapAsyncIterator.ts":"50","/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/typeNameFromAST.ts":"51","/home/runner/work/graphitation/graphitation/packages/supermassive/src/values.ts":"52"},{"size":4277,"mtime":1642508827224,"results":"53","hashOfConfig":"54"},{"size":3107,"mtime":1642508827224,"results":"55","hashOfConfig":"54"},{"size":7241,"mtime":1642508827224,"results":"56","hashOfConfig":"54"},{"size":14345,"mtime":1642508827224,"results":"57","hashOfConfig":"54"},{"size":5291,"mtime":1642508827224,"results":"58","hashOfConfig":"54"},{"size":2186,"mtime":1642508827224,"results":"59","hashOfConfig":"54"},{"size":3145,"mtime":1642508827224,"results":"60","hashOfConfig":"54"},{"size":712,"mtime":1642508827224,"results":"61","hashOfConfig":"54"},{"size":381,"mtime":1642508827224,"results":"62","hashOfConfig":"54"},{"size":128,"mtime":1642508827224,"results":"63","hashOfConfig":"54"},{"size":10205,"mtime":1642508827224,"results":"64","hashOfConfig":"54"},{"size":846,"mtime":1642508827224,"results":"65","hashOfConfig":"54"},{"size":1650,"mtime":1642508827224,"results":"66","hashOfConfig":"54"},{"size":3913,"mtime":1642508827224,"results":"67","hashOfConfig":"54"},{"size":3431,"mtime":1642508827224,"results":"68","hashOfConfig":"54"},{"size":1387,"mtime":1642508827224,"results":"69","hashOfConfig":"54"},{"size":27153,"mtime":1642508827224,"results":"70","hashOfConfig":"54"},{"size":3998,"mtime":1642508827224,"results":"71","hashOfConfig":"54"},{"size":10386,"mtime":1642508827224,"results":"72","hashOfConfig":"54"},{"size":638,"mtime":1642508827228,"results":"73","hashOfConfig":"54"},{"size":134,"mtime":1642508827228,"results":"74","hashOfConfig":"54"},{"size":277,"mtime":1642508827228,"results":"75","hashOfConfig":"54"},{"size":711,"mtime":1642508827228,"results":"76","hashOfConfig":"54"},{"size":48,"mtime":1642508827228,"results":"77","hashOfConfig":"54"},{"size":269,"mtime":1642508827228,"results":"78","hashOfConfig":"54"},{"size":1038,"mtime":1642508827228,"results":"79","hashOfConfig":"54"},{"size":108,"mtime":1642508827228,"results":"80","hashOfConfig":"54"},{"size":2797,"mtime":1642508827228,"results":"81","hashOfConfig":"54"},{"size":2294,"mtime":1642508827228,"results":"82","hashOfConfig":"54"},{"size":357,"mtime":1642508827228,"results":"83","hashOfConfig":"54"},{"size":325,"mtime":1642508827228,"results":"84","hashOfConfig":"54"},{"size":778,"mtime":1642508827228,"results":"85","hashOfConfig":"54"},{"size":278,"mtime":1642508827228,"results":"86","hashOfConfig":"54"},{"size":227,"mtime":1642508827228,"results":"87","hashOfConfig":"54"},{"size":921,"mtime":1642508827228,"results":"88","hashOfConfig":"54"},{"size":764,"mtime":1642508827228,"results":"89","hashOfConfig":"54"},{"size":441,"mtime":1642508827228,"results":"90","hashOfConfig":"54"},{"size":821,"mtime":1642508827228,"results":"91","hashOfConfig":"54"},{"size":1314,"mtime":1642508827228,"results":"92","hashOfConfig":"54"},{"size":253,"mtime":1642508827228,"results":"93","hashOfConfig":"54"},{"size":650,"mtime":1642508827228,"results":"94","hashOfConfig":"54"},{"size":803,"mtime":1642508827228,"results":"95","hashOfConfig":"54"},{"size":3938,"mtime":1642508827228,"results":"96","hashOfConfig":"54"},{"size":503,"mtime":1642508827228,"results":"97","hashOfConfig":"54"},{"size":1438,"mtime":1642508827228,"results":"98","hashOfConfig":"54"},{"size":8927,"mtime":1642508827228,"results":"99","hashOfConfig":"54"},{"size":495,"mtime":1642508827228,"results":"100","hashOfConfig":"54"},{"size":6644,"mtime":1642508827228,"results":"101","hashOfConfig":"54"},{"size":3824,"mtime":1642508827228,"results":"102","hashOfConfig":"54"},{"size":1813,"mtime":1642508827228,"results":"103","hashOfConfig":"54"},{"size":308,"mtime":1642508827228,"results":"104","hashOfConfig":"54"},{"size":9234,"mtime":1642508827228,"results":"105","hashOfConfig":"54"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"2qg1xb",{"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},{"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},"/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/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": "
|
|
5
|
+
"date": "Tue, 18 Jan 2022 12:29:09 GMT",
|
|
6
|
+
"tag": "@graphitation/supermassive_v0.5.1",
|
|
7
|
+
"version": "0.5.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "jakubvejr@microsoft.com",
|
|
12
|
+
"package": "@graphitation/supermassive",
|
|
13
|
+
"commit": "e48a7490997e1c9cd3487c1b2c178c56c1ce5a1b",
|
|
14
|
+
"comment": "Reexported type fixed"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Tue, 18 Jan 2022 09:59:51 GMT",
|
|
21
|
+
"tag": "@graphitation/supermassive_v0.5.0",
|
|
22
|
+
"version": "0.5.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"minor": [
|
|
25
|
+
{
|
|
26
|
+
"author": "jakubvejr@microsoft.com",
|
|
27
|
+
"package": "@graphitation/supermassive",
|
|
28
|
+
"commit": "6a2790e55986f1ae77c6abacdc7e7b81255c68f2",
|
|
29
|
+
"comment": "Added support for subscribe operation"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Fri, 14 Jan 2022 11:15:34 GMT",
|
|
36
|
+
"tag": "@graphitation/supermassive_v0.4.5",
|
|
37
|
+
"version": "0.4.5",
|
|
38
|
+
"comments": {
|
|
39
|
+
"patch": [
|
|
40
|
+
{
|
|
41
|
+
"author": "mnovikov@microsoft.com",
|
|
42
|
+
"package": "@graphitation/supermassive",
|
|
43
|
+
"commit": "9882765303f4e5ff5820e243ab498d9627825d8b",
|
|
44
|
+
"comment": "Make sideffects false actually work"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Fri, 14 Jan 2022 10:12:20 GMT",
|
|
51
|
+
"tag": "@graphitation/supermassive_v0.4.4",
|
|
52
|
+
"version": "0.4.4",
|
|
53
|
+
"comments": {
|
|
54
|
+
"patch": [
|
|
55
|
+
{
|
|
56
|
+
"author": "mnovikov@microsoft.com",
|
|
57
|
+
"package": "@graphitation/supermassive",
|
|
58
|
+
"commit": "31a3867a32c3001ded73331c7a546057eb480a62",
|
|
59
|
+
"comment": "Add side-effects false to all production packages for webpack opt"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"date": "Mon, 10 Jan 2022 12:12:59 GMT",
|
|
6
66
|
"tag": "@graphitation/supermassive_v0.4.3",
|
|
7
67
|
"version": "0.4.3",
|
|
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
|
|
3
|
+
This log was last generated on Tue, 18 Jan 2022 12:29:09 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.5.1
|
|
8
|
+
|
|
9
|
+
Tue, 18 Jan 2022 12:29:09 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Reexported type fixed (jakubvejr@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.5.0
|
|
16
|
+
|
|
17
|
+
Tue, 18 Jan 2022 09:59:51 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Added support for subscribe operation (jakubvejr@microsoft.com)
|
|
22
|
+
|
|
23
|
+
## 0.4.5
|
|
24
|
+
|
|
25
|
+
Fri, 14 Jan 2022 11:15:34 GMT
|
|
26
|
+
|
|
27
|
+
### Patches
|
|
28
|
+
|
|
29
|
+
- Make sideffects false actually work (mnovikov@microsoft.com)
|
|
30
|
+
|
|
31
|
+
## 0.4.4
|
|
32
|
+
|
|
33
|
+
Fri, 14 Jan 2022 10:12:20 GMT
|
|
34
|
+
|
|
35
|
+
### Patches
|
|
36
|
+
|
|
37
|
+
- Add side-effects false to all production packages for webpack opt (mnovikov@microsoft.com)
|
|
38
|
+
|
|
7
39
|
## 0.4.3
|
|
8
40
|
|
|
9
|
-
Mon, 10 Jan 2022 12:12:
|
|
41
|
+
Mon, 10 Jan 2022 12:12:59 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;
|
|
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,10 +1,10 @@
|
|
|
1
1
|
import { GraphQLError } from "graphql";
|
|
2
|
-
import { DocumentNode, FieldNode, FragmentDefinitionNode, OperationDefinitionNode, TypeNode } from "./ast/TypedAST";
|
|
2
|
+
import { DocumentNode, FieldNode, FragmentDefinitionNode, OperationDefinitionNode, OperationTypeDefinitionNode, TypeNode } from "./ast/TypedAST";
|
|
3
3
|
import type { Maybe } from "./jsutils/Maybe";
|
|
4
4
|
import type { ObjMap } from "./jsutils/ObjMap";
|
|
5
5
|
import type { Path } from "./jsutils/Path";
|
|
6
6
|
import type { PromiseOrValue } from "./jsutils/PromiseOrValue";
|
|
7
|
-
import { ExecutionWithoutSchemaArgs,
|
|
7
|
+
import { ExecutionWithoutSchemaArgs, FunctionFieldResolver, ResolveInfo, Resolvers, TypeResolver, ExecutionResult } from "./types";
|
|
8
8
|
/**
|
|
9
9
|
* Terminology
|
|
10
10
|
*
|
|
@@ -39,7 +39,7 @@ export interface ExecutionContext {
|
|
|
39
39
|
variableValues: {
|
|
40
40
|
[variable: string]: unknown;
|
|
41
41
|
};
|
|
42
|
-
fieldResolver:
|
|
42
|
+
fieldResolver: FunctionFieldResolver<any, any>;
|
|
43
43
|
typeResolver: TypeResolver<any, any>;
|
|
44
44
|
errors: Array<GraphQLError>;
|
|
45
45
|
}
|
|
@@ -73,7 +73,7 @@ export declare function assertValidExecutionArguments(document: DocumentNode, ra
|
|
|
73
73
|
*/
|
|
74
74
|
export declare function buildExecutionContext(resolvers: Resolvers, document: DocumentNode, rootValue: unknown, contextValue: unknown, rawVariableValues: Maybe<{
|
|
75
75
|
[variable: string]: unknown;
|
|
76
|
-
}>, operationName: Maybe<string>, fieldResolver: Maybe<
|
|
76
|
+
}>, operationName: Maybe<string>, fieldResolver: Maybe<FunctionFieldResolver<unknown, unknown>>, typeResolver?: Maybe<TypeResolver<unknown, unknown>>): Array<GraphQLError> | ExecutionContext;
|
|
77
77
|
/**
|
|
78
78
|
* @internal
|
|
79
79
|
*/
|
|
@@ -95,5 +95,6 @@ export declare const defaultTypeResolver: TypeResolver<unknown, unknown>;
|
|
|
95
95
|
* and returns it as the result, or if it's a function, returns the result
|
|
96
96
|
* of calling that function while passing along args and context value.
|
|
97
97
|
*/
|
|
98
|
-
export declare const defaultFieldResolver:
|
|
98
|
+
export declare const defaultFieldResolver: FunctionFieldResolver<unknown, unknown>;
|
|
99
|
+
export declare function getOperationRootTypeName(operation: OperationDefinitionNode | OperationTypeDefinitionNode): string;
|
|
99
100
|
//# sourceMappingURL=executeWithoutSchema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeWithoutSchema.d.ts","sourceRoot":"","sources":["../src/executeWithoutSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EASb,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,YAAY,EACZ,SAAS,EACT,sBAAsB,EACtB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"executeWithoutSchema.d.ts","sourceRoot":"","sources":["../src/executeWithoutSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EASb,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,YAAY,EACZ,SAAS,EACT,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,QAAQ,EACT,MAAM,gBAAgB,CAAC;AAQxB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,EACL,0BAA0B,EAE1B,qBAAqB,EAGrB,WAAW,EAEX,SAAS,EACT,YAAY,EAEZ,eAAe,EAChB,MAAM,SAAS,CAAC;AAQjB;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC,CAAC;IAC1C,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,uBAAuB,CAAC;IACnC,cAAc,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAChD,aAAa,EAAE,qBAAqB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC/C,YAAY,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACrC,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC7B;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,0BAA0B,GAC/B,cAAc,CAAC,eAAe,CAAC,CA0CjC;AAoBD;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,YAAY,EACtB,iBAAiB,EAAE,KAAK,CAAC;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC,GACxD,IAAI,CAQN;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,OAAO,EAClB,YAAY,EAAE,OAAO,EACrB,iBAAiB,EAAE,KAAK,CAAC;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC,EACzD,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,EAC5B,aAAa,EAAE,KAAK,CAAC,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,EAC7D,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,GACnD,KAAK,CAAC,YAAY,CAAC,GAAG,gBAAgB,CAyDxC;AAoPD;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,gBAAgB,EAC5B,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,EAC5B,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,QAAQ,EACxB,IAAI,EAAE,IAAI,GACT,WAAW,CAeb;AAoWD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,OAAO,EAAE,OAAO,CAM9D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,qBAAqB,CACtD,OAAO,EACP,OAAO,CAUR,CAAC;AAGF,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,uBAAuB,GAAG,2BAA2B,GAC/D,MAAM,CASR"}
|
|
@@ -27,7 +27,8 @@ __export(exports, {
|
|
|
27
27
|
buildResolveInfo: () => buildResolveInfo,
|
|
28
28
|
defaultFieldResolver: () => defaultFieldResolver,
|
|
29
29
|
defaultTypeResolver: () => defaultTypeResolver,
|
|
30
|
-
executeWithoutSchema: () => executeWithoutSchema
|
|
30
|
+
executeWithoutSchema: () => executeWithoutSchema,
|
|
31
|
+
getOperationRootTypeName: () => getOperationRootTypeName
|
|
31
32
|
});
|
|
32
33
|
var import_graphql = __toModule(require("graphql"));
|
|
33
34
|
var import_collectFields = __toModule(require("./collectFields"));
|
|
@@ -191,6 +192,9 @@ function executeField(exeContext, parentTypeName, source, fieldNodes, path) {
|
|
|
191
192
|
returnTypeName = (0, import_typeNameFromAST.typeNameFromAST)(returnTypeNode);
|
|
192
193
|
const typeResolvers = exeContext.resolvers[parentTypeName];
|
|
193
194
|
resolveFn = typeResolvers == null ? void 0 : typeResolvers[fieldName];
|
|
195
|
+
if (typeof resolveFn !== "function" && resolveFn != null) {
|
|
196
|
+
resolveFn = resolveFn.resolve;
|
|
197
|
+
}
|
|
194
198
|
}
|
|
195
199
|
if (!resolveFn) {
|
|
196
200
|
resolveFn = exeContext.fieldResolver;
|
|
@@ -173,6 +173,9 @@ function executeField(exeContext, parentTypeName, source, fieldNodes, path) {
|
|
|
173
173
|
returnTypeName = typeNameFromAST(returnTypeNode);
|
|
174
174
|
const typeResolvers = exeContext.resolvers[parentTypeName];
|
|
175
175
|
resolveFn = typeResolvers == null ? void 0 : typeResolvers[fieldName];
|
|
176
|
+
if (typeof resolveFn !== "function" && resolveFn != null) {
|
|
177
|
+
resolveFn = resolveFn.resolve;
|
|
178
|
+
}
|
|
176
179
|
}
|
|
177
180
|
if (!resolveFn) {
|
|
178
181
|
resolveFn = exeContext.fieldResolver;
|
|
@@ -359,5 +362,6 @@ export {
|
|
|
359
362
|
buildResolveInfo,
|
|
360
363
|
defaultFieldResolver,
|
|
361
364
|
defaultTypeResolver,
|
|
362
|
-
executeWithoutSchema
|
|
365
|
+
executeWithoutSchema,
|
|
366
|
+
getOperationRootTypeName
|
|
363
367
|
};
|
package/lib/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export { executeWithoutSchema } from "./executeWithoutSchema";
|
|
2
2
|
export { executeWithSchema } from "./executeWithSchema";
|
|
3
|
+
export { subscribeWithSchema } from "./subscribeWithSchema";
|
|
4
|
+
export { subscribeWithoutSchema } from "./subscribeWithoutSchema";
|
|
3
5
|
export type { Resolvers } from "./types";
|
|
4
6
|
export { addTypesToRequestDocument } from "./ast/addTypesToRequestDocument";
|
|
5
7
|
export { extractImplicitTypes } from "./extractImplicitTypesRuntime";
|
|
6
8
|
export { specifiedScalars } from "./values";
|
|
7
9
|
export { annotateDocumentGraphQLTransform } from "./transforms/annotateDocumentGraphQLTransform";
|
|
10
|
+
export type { DocumentNode } from "./ast/TypedAST";
|
|
8
11
|
//# 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;
|
|
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,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,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,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -27,10 +27,14 @@ __export(exports, {
|
|
|
27
27
|
executeWithSchema: () => import_executeWithSchema.executeWithSchema,
|
|
28
28
|
executeWithoutSchema: () => import_executeWithoutSchema.executeWithoutSchema,
|
|
29
29
|
extractImplicitTypes: () => import_extractImplicitTypesRuntime.extractImplicitTypes,
|
|
30
|
-
specifiedScalars: () => import_values.specifiedScalars
|
|
30
|
+
specifiedScalars: () => import_values.specifiedScalars,
|
|
31
|
+
subscribeWithSchema: () => import_subscribeWithSchema.subscribeWithSchema,
|
|
32
|
+
subscribeWithoutSchema: () => import_subscribeWithoutSchema.subscribeWithoutSchema
|
|
31
33
|
});
|
|
32
34
|
var import_executeWithoutSchema = __toModule(require("./executeWithoutSchema"));
|
|
33
35
|
var import_executeWithSchema = __toModule(require("./executeWithSchema"));
|
|
36
|
+
var import_subscribeWithSchema = __toModule(require("./subscribeWithSchema"));
|
|
37
|
+
var import_subscribeWithoutSchema = __toModule(require("./subscribeWithoutSchema"));
|
|
34
38
|
var import_addTypesToRequestDocument = __toModule(require("./ast/addTypesToRequestDocument"));
|
|
35
39
|
var import_extractImplicitTypesRuntime = __toModule(require("./extractImplicitTypesRuntime"));
|
|
36
40
|
var import_values = __toModule(require("./values"));
|
package/lib/index.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import {executeWithoutSchema} from "./executeWithoutSchema.mjs";
|
|
3
3
|
import {executeWithSchema} from "./executeWithSchema.mjs";
|
|
4
|
+
import {subscribeWithSchema} from "./subscribeWithSchema.mjs";
|
|
5
|
+
import {subscribeWithoutSchema} from "./subscribeWithoutSchema.mjs";
|
|
4
6
|
import {addTypesToRequestDocument} from "./ast/addTypesToRequestDocument.mjs";
|
|
5
7
|
import {extractImplicitTypes} from "./extractImplicitTypesRuntime.mjs";
|
|
6
8
|
import {specifiedScalars} from "./values.mjs";
|
|
@@ -11,5 +13,7 @@ export {
|
|
|
11
13
|
executeWithSchema,
|
|
12
14
|
executeWithoutSchema,
|
|
13
15
|
extractImplicitTypes,
|
|
14
|
-
specifiedScalars
|
|
16
|
+
specifiedScalars,
|
|
17
|
+
subscribeWithSchema,
|
|
18
|
+
subscribeWithoutSchema
|
|
15
19
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ExecutionResult, ExecutionWithSchemaArgs } from "./types";
|
|
2
|
+
export declare function subscribeWithSchema({ typeDefs, resolvers, document: rawDocument, rootValue, contextValue, variableValues, operationName, fieldResolver, typeResolver, }: ExecutionWithSchemaArgs): Promise<AsyncGenerator<ExecutionResult, void, void> | ExecutionResult>;
|
|
3
|
+
//# sourceMappingURL=subscribeWithSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribeWithSchema.d.ts","sourceRoot":"","sources":["../src/subscribeWithSchema.ts"],"names":[],"mappings":"AASA,OAAO,EAAa,eAAe,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAE9E,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,SAAS,EACT,QAAQ,EAAE,WAAW,EACrB,SAAS,EACT,YAAY,EACZ,cAAc,EACd,aAAa,EACb,aAAa,EACb,YAAY,GACb,EAAE,uBAAuB,GAAG,OAAO,CAClC,cAAc,CAAC,eAAe,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,eAAe,CAC9D,CA6BA"}
|