kea-typegen 3.1.4 → 3.1.6
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/CHANGELOG.md +8 -0
- package/dist/package.json +1 -1
- package/dist/src/print/print.js +2 -0
- package/dist/src/print/print.js.map +1 -1
- package/dist/src/print/printAsyncActions.d.ts +2 -0
- package/dist/src/print/printAsyncActions.js +15 -0
- package/dist/src/print/printAsyncActions.js.map +1 -0
- package/dist/src/typegen.js +1 -0
- package/dist/src/typegen.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/samples/autoImportLogicType.ts +21 -1
- package/samples/builderLogicType.ts +6 -1
- package/samples/complexLogicType.ts +16 -1
- package/samples/githubConnectLogicType.ts +4 -1
- package/samples/githubImportLogicType.ts +2 -1
- package/samples/githubLogicType.ts +6 -1
- package/samples/githubType.ts +2 -1
- package/samples/loadersLogicType.ts +22 -1
- package/samples/logicType.ts +9 -1
- package/samples/pluginLogicType.ts +8 -1
- package/samples/propsLogicType.ts +5 -1
- package/samples/routerConnectLogicType.ts +12 -1
- package/samples/typed-builder/typedFormDemoLogicType.ts +4 -1
- package/samples/windowValuesLogicType.ts +2 -1
- package/src/__tests__/e2e/__snapshots__/actions.ts.snap +18 -0
- package/src/__tests__/e2e/__snapshots__/connect.ts.snap +15 -0
- package/src/__tests__/e2e/__snapshots__/loaders.ts.snap +20 -0
- package/src/__tests__/e2e/__snapshots__/reducers.ts.snap +15 -0
- package/src/__tests__/e2e/__snapshots__/selectors.ts.snap +12 -0
- package/src/print/print.ts +2 -0
- package/src/print/printAsyncActions.ts +24 -0
- package/src/typegen.ts +8 -1
package/CHANGELOG.md
CHANGED
package/dist/package.json
CHANGED
package/dist/src/print/print.js
CHANGED
|
@@ -6,6 +6,7 @@ const fs = require("fs");
|
|
|
6
6
|
const path = require("path");
|
|
7
7
|
const prettier = require("prettier");
|
|
8
8
|
const printActions_1 = require("./printActions");
|
|
9
|
+
const printAsyncActions_1 = require("./printAsyncActions");
|
|
9
10
|
const printReducers_1 = require("./printReducers");
|
|
10
11
|
const printReducer_1 = require("./printReducer");
|
|
11
12
|
const printSelector_1 = require("./printSelector");
|
|
@@ -200,6 +201,7 @@ function printLogicType(parsedLogic, appOptions) {
|
|
|
200
201
|
actionKeys: (0, printActionKeys_1.printActionKeys)(parsedLogic, appOptions),
|
|
201
202
|
actionTypes: (0, printActionTypes_1.printActionTypes)(parsedLogic, appOptions),
|
|
202
203
|
actions: (0, printActions_1.printActions)(parsedLogic, appOptions),
|
|
204
|
+
asyncActions: (0, printAsyncActions_1.printAsyncActions)(parsedLogic, appOptions),
|
|
203
205
|
defaults: (0, printDefaults_1.printDefaults)(parsedLogic),
|
|
204
206
|
events: (0, printEvents_1.printEvents)(parsedLogic),
|
|
205
207
|
key: (0, printKey_1.printKey)(parsedLogic),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print.js","sourceRoot":"","sources":["../../../src/print/print.ts"],"names":[],"mappings":";;;AAAA,2CAYmB;AACnB,yBAAwB;AACxB,6BAA4B;AAC5B,qCAAoC;AAGpC,iDAA6C;AAC7C,mDAA+C;AAC/C,iDAA6C;AAC7C,mDAA+C;AAC/C,qDAAiD;AACjD,+CAA2C;AAC3C,6EAAyE;AACzE,uDAAmD;AACnD,yDAAqD;AACrD,+EAA2E;AAC3E,+DAA2D;AAC3D,6CAAyC;AACzC,yCAAqC;AACrC,mDAA+C;AAC/C,+CAA2C;AAC3C,iEAA6D;AAC7D,qDAAiD;AACjD,oDAAgD;AAChD,gEAA4D;AAC5D,uEAAmE;AACnE,kEAA8D;AAE9D,SAAgB,kBAAkB,CAAC,UAAkB,EAAE,QAAgB;IACnE,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IACrD,IAAI,OAAO,EAAE;QACT,IAAI;YACA,OAAO,QAAQ,CAAC,MAAM,CAAC,UAAU,EAAE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"__esModule", { value: true });
|
|
3
|
+
exports.printAsyncActions = void 0;
|
|
4
|
+
const typescript_1 = require("typescript");
|
|
5
|
+
const utils_1 = require("../utils");
|
|
6
|
+
function printAsyncActions(parsedLogic, appOptions) {
|
|
7
|
+
const getActionType = (0, utils_1.getActionTypeCreator)(parsedLogic);
|
|
8
|
+
return typescript_1.factory.createTypeLiteralNode(parsedLogic.actions.map(({ name, parameters }) => {
|
|
9
|
+
return typescript_1.factory.createPropertySignature(undefined, typescript_1.factory.createIdentifier(name), undefined, typescript_1.factory.createFunctionTypeNode(undefined, parameters, typescript_1.factory.createTypeReferenceNode(typescript_1.factory.createIdentifier('Promise'), [
|
|
10
|
+
typescript_1.factory.createToken(typescript_1.SyntaxKind.AnyKeyword),
|
|
11
|
+
])));
|
|
12
|
+
}));
|
|
13
|
+
}
|
|
14
|
+
exports.printAsyncActions = printAsyncActions;
|
|
15
|
+
//# sourceMappingURL=printAsyncActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"printAsyncActions.js","sourceRoot":"","sources":["../../../src/print/printAsyncActions.ts"],"names":[],"mappings":";;;AAAA,2CAAgD;AAEhD,oCAA+C;AAE/C,SAAgB,iBAAiB,CAAC,WAAwB,EAAE,UAAuB;IAC/E,MAAM,aAAa,GAAG,IAAA,4BAAoB,EAAC,WAAW,CAAC,CAAA;IAEvD,OAAO,oBAAO,CAAC,qBAAqB,CAChC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE;QAC7C,OAAO,oBAAO,CAAC,uBAAuB,CAClC,SAAS,EACT,oBAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAC9B,SAAS,EACT,oBAAO,CAAC,sBAAsB,CAC1B,SAAS,EACT,UAAU,EACV,oBAAO,CAAC,uBAAuB,CAAC,oBAAO,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE;YACjE,oBAAO,CAAC,WAAW,CAAC,uBAAU,CAAC,UAAU,CAAC;SAC7C,CAAC,CACL,CACJ,CAAA;IACL,CAAC,CAAC,CACL,CAAA;AACL,CAAC;AAnBD,8CAmBC"}
|
package/dist/src/typegen.js
CHANGED
|
@@ -6,6 +6,7 @@ const path = require("path");
|
|
|
6
6
|
const visit_1 = require("./visit/visit");
|
|
7
7
|
const print_1 = require("./print/print");
|
|
8
8
|
const package_json_1 = require("../package.json");
|
|
9
|
+
ts.defaultMaximumTruncationLength = Infinity;
|
|
9
10
|
function runTypeGen(appOptions) {
|
|
10
11
|
let program;
|
|
11
12
|
let resetProgram;
|
package/dist/src/typegen.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typegen.js","sourceRoot":"","sources":["../../src/typegen.ts"],"names":[],"mappings":";;;AAAA,iCAAgC;AAChC,6BAA4B;AAC5B,yCAA4C;AAC5C,yCAA4C;AAG5C,kDAAyC;
|
|
1
|
+
{"version":3,"file":"typegen.js","sourceRoot":"","sources":["../../src/typegen.ts"],"names":[],"mappings":";;;AAAA,iCAAgC;AAChC,6BAA4B;AAC5B,yCAA4C;AAC5C,yCAA4C;AAG5C,kDAAyC;AAOxC,EAAU,CAAC,8BAA8B,GAAG,QAAQ,CAAA;AAErD,SAAgB,UAAU,CAAC,UAAsB;IAC7C,IAAI,OAAgB,CAAA;IACpB,IAAI,YAAwB,CAAA;IAE5B,MAAM,EAAE,GAAG,EAAE,GAAG,UAAU,CAAA;IAC1B,GAAG,CAAC,mBAAmB,sBAAO,EAAE,CAAC,CAAA;IAEjC,IAAI,UAAU,CAAC,cAAc,EAAE;QAC3B,GAAG,CAAC,oBAAoB,UAAU,CAAC,cAAc,EAAE,CAAC,CAAA;QACpD,YAAY,GAAG,GAAG,EAAE;YAChB,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE;gBACpD,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG;gBAC3B,M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CAAA;iBAClB;gBAED,IAAI,KAAK,GAAG,EAAE,EAAE;oBACZ,GAAG,CAAC,iEAAiE,CAAC,CAAA;oBACtE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;iBAClB;gBAED,YAAY,EAAE,CAAA;aACjB;SACJ;aAAM;YAEH,oBAAoB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;SAC5C;KACJ;AACL,CAAC;AAtID,gCAsIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.es2019.full.d.ts","../node_modules/typescript/lib/typescript.d.ts","../node_modules/@wessberg/ts-clone-node/dist/esm/index.d.ts","../src/types.ts","../node_modules/@types/prettier/index.d.ts","../src/print/printactions.ts","../src/print/printreducers.ts","../src/print/printreducer.ts","../src/print/printselector.ts","../src/print/printselectors.ts","../src/print/printvalues.ts","../src/print/printinternalselectortypes.ts","../src/print/printactionkeys.ts","../src/print/printactiontypes.ts","../src/print/printinternalreduceractions.ts","../src/print/printactioncreators.ts","../src/print/printprops.ts","../src/print/printkey.ts","../src/print/printdefaults.ts","../src/print/printevents.ts","../src/print/printsharedlisteners.ts","../src/print/printlisteners.ts","../node_modules/ast-types/types.d.ts","../node_modules/ast-types/gen/namedtypes.d.ts","../node_modules/ast-types/gen/kinds.d.ts","../node_modules/ast-types/gen/builders.d.ts","../node_modules/ast-types/lib/types.d.ts","../node_modules/ast-types/lib/path.d.ts","../node_modules/ast-types/lib/scope.d.ts","../node_modules/ast-types/lib/node-path.d.ts","../node_modules/ast-types/lib/path-visitor.d.ts","../node_modules/ast-types/gen/visitor.d.ts","../node_modules/ast-types/main.d.ts","../node_modules/recast/lib/options.d.ts","../node_modules/recast/lib/parser.d.ts","../node_modules/recast/lib/printer.d.ts","../node_modules/recast/main.d.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../src/write/utils.ts","../src/write/writepaths.ts","../src/write/writetypeimports.ts","../src/print/printinternalextrainput.ts","../src/write/converttobuilders.ts","../src/print/print.ts","../src/utils.ts","../src/visit/visitactions.ts","../src/visit/visitreducers.ts","../src/visit/visitselectors.ts","../src/visit/visitloaders.ts","../src/visit/visitconnect.ts","../src/visit/visitwindowvalues.ts","../src/visit/visitprops.ts","../src/visit/visitkey.ts","../src/visit/visitpath.ts","../src/visit/visitlisteners.ts","../src/visit/visitevents.ts","../src/visit/visitdefaults.ts","../src/visit/visitsharedlisteners.ts","../src/visit/visit.ts","../package.json","../src/typegen.ts","../src/index.ts","../src/__tests__/utils.ts","../src/__tests__/e2e/actions.ts","../src/__tests__/e2e/connect.ts","../src/__tests__/e2e/loaders.ts","../src/__tests__/e2e/reducers.ts","../src/__tests__/e2e/selectors.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts","../src/cli/typegen.ts","../src/visit/__tests__/visit.ts","../node_modules/@types/jest/node_modules/jest-diff/build/cleanupsemantic.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/difflines.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/printdiffs.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/ts3.4/base.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/ts3.6/base.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/base.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f","ba00bb2ada9a5b7e0ab18c7282c0161f5af809112e4439b35c8b3853f7d436a7","e2dc8b431b672ccec6da32acb17475cc7d5a3ad121667ef5723231b39808ab11","3b3089d5b5a904803cab9e34978d5eaf1a87833ca0849f0c908f5a6e80b19729","74940ccce687ffb55f99053deb278496e43ffd51020f6e81a8be80545f6bd7ec","7a79f57af2b26a8f058d23809ba32d2e6982da9e608fc3210e1b262d70d36c03","220ff3a2b9c22b04a1b5ce2a183822123d993ff9ea3fd0e25cec1d93d2782106","51dce17da955cd96ff6cd305a0465e036bb8787986f73dc2d533d8e4f2990ff9","9161cfb265d1f6d2a4e54b53799eb92aad6482d7d06c14787f9433dba9293b45","fdaed54c27c178a95076ef75557da664cf4f9e30aac087f6d32cc903410f0511","cbc41122e6d975ce71a7f3329b7d337a33d68bd79e0773bcabc58850daaf3990","743bd3264dae16734d728b52942e22c7474082156cf08bea042c83fe8e683090","bbba0f78e0b7c4c4b62cf0810fff2b774225ba71c1f6f08ff1fd6928c1fad611","4081e497d4e1be2671976aea943a34daafe4ca285b92550defea3f6c5e6e8965","6012f213231f72f4c06092717fc40f9fa8f514c5e583b27550c3fe1441fb330e","8b0d0aa18240c76425f8ae474926c9fd65a3ac3264111991653aec7eb47c4b30","66da834d094272008b62b0c49fa1d69ce290800ead4fa92d251137444a6f78c7","5c7dafd1da3c737c4f1b95572e5e0de3fa88b6529642f7bb705da39358c52635","26927331a447d6d14dfa26f55bf8ddefe1f5b62ad067ea0b31d1a681596c059d","76e655dfdf12ba56ef51a07dda9c49fce0cfff9ca749f91fee171b45dc390987","cb54e8c23569192f603de50e37d1effe050832884cfc4ca7b207eaa6eea034c4","9c40547f97a80e178bab74cc17ce02c956b80887e80994222e46fcafbda2fc98","cc2dc362fc50995684e9f7e9b38ad9bdf19e74919294a694cbc05392352cad7d","abef3012ae70d98baa449664e9dda50c96fc68b0fd11a592d6590d85bb89cd10","456e83839c811cedebb65c8b05027120336b3bd6920259817d728ffc52d41e2f","ea79d9641e700b2b4a04a857ed1ef692c4caf988017fbabd64c4111f7c287673","0a90b9435b81f45b88c5fb8d30e85b77d3508eb0760dc40b9fb825fd29f92375","8cd7362102d928e21b291a013f80fc68a038d4506d26ea9948c676e3fa1110d9","90f6830fb380f4d2b69df018343ae80ce92991e85a0d7be8d214c643b39d1175","1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","6a8d6deca8ec4250630fea4e5f23bd9bf0face98739ccd22e08a17173117155b","a1d51fd5a8f9c1c038799a43c038397ca3ed99ee73cc0b0aada897e7cc8aca91","6c9708ae545db5f8deb8ef774d412fd1b46adade794664d7c6cfd0a1f6dfd64f","9d14fcf0b69094271127c7b6acb36987be5d1bffa4eb948359549f040fb50349","e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","1147c3efa5a256bcd6a3d2cfaf764185b7120bf985f8412d9bae596a0348f77b","e1d0b45d2995163faae5784de982d49be585d0f77073ec4567850e2feb20e880","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","cc0e8c69a59c7e4e15bd28e1eebe9a660c47c202e298cb20a93285368051193f","98c2e3c00ed72daf568c0526ea4f4257f2c43dc5eaacd3d703c3b33f6df1ae86","3e0a34f7207431d967dc32d593d1cda0c23975e9484bc8895b39d96ffca4a0d8","7df3163944694feeac63067632a8dc2e2dea1350119ec8b43df277af69198369","7e08328a99f81bc7b2391e7727190716801cb68ddd3ad2a99eb0a74645aa2b98","b9f3ab34bd728c7de5baa7ea16147543b9b2d52d7ad3955c7ed9683e33270b43","82c418ef359c5b276df041ab3c69df0b1c8d312859a11e6aab6a4bdbd80178f4","cd73c43e0ab2e7f8df208efdf731ebdad58c8c01700c85ed3ba8f8bf87fc7678","6880e0628d351b6ef26c112dfe68f5c3bb63f734a18840453cc8143738df4b09","7073236f70ac245b2360d8dcee410d19ccfd39b8ea338af89ecc8d261bdf0905","8e4809dc6d974681adad17f1e82ecdfe553bcc9619dbcda578c351b60e47f8e7","3aed08da80d27ecb08edcb07cea22024c5fca79b78bc8a552face82c2fefb5bc","5d380b2911511138a82eeb68ee59060c70637e266118eb8f7a24c01e0b93a108","9d50686bb1d14b6cd6cb2e90ea1af4d31ab341ec876084fbcd84f76a9254b98b","185ebb3f86b886a61b8ca023a62f33b8c6f26c3ed9aa7f28de7137ca124f976c","f786f8e1ee52893269c0aa8dcf8b2a4e9a1ee40b23e09e45586dd9e7fd3d302a","9a535dc740f6346f1b4f02f13b60155c9280b12dc8c222376fa279bb85f020d8","d30310836b9a6740fbba57d9a44958ca6d9cd757093352c64c3cc83d0245105e","56abc8d229e09c13e28a6a1d6325f457842f3e73db1acf963e4fad2d765cc1f8","7ff5bf56634c720e1020fd14688c0e1f2dcf71ad93f9bad21c91b60cce75f06c","6e85db15a0c3807aa6d75472987e793269879de7286ffa56441be972a40d1ef7","645dee3a62cb0c82cd6d65a54296d35e9c7531c68014dadae81bcde23ee035d4","b5fe48d3a0c5ad0d3450513886a6d729d8d05038f42d2d75df536c0053421b9f","0dbc2d584abacf34ef5585a0de7f078435715c02ef35f068276c4c29c2a18fd8","0fe907d7c508f3eeaa9d28ae10e7c483178f096d73334de9b0dc3887edec89d5","aaa70f08e0e3b876a8ef8c0354bbd61824dd5824e6517b346bc19b104db4f401","a69f0d6fc1d8e3f64ccea60ebe97a133ac32a0f7b435f843de50a949481bf514","38fb1bdc8e08eda52f9291e67c30d5e526a3786c37e192f786423090d99a2dad","bae374c17de2a936df4fd9e68d55cf14b0eff7301e4306388618f929f5a4825e","f41634b0d1cdf790612d1bd223bba91eaca6bdc5a225fd3a0e9a5d69d2260dd1","1f4afcf0ff54ea4494f68be70bd0ba58eda7a16830cccc72ac87dfa3262ac94f","16618a1f57f886ea2ba581bde464cd074ca11d518b4cc6a3a5902dcf5ec24d3d","ff975b363ac892f0508fbd187b765e49ab8c70ca093ee5b19b927b84137d34b7","4b093729b0d64f046a98d1b0d79ce9cb361ea8a32a87b86fe475eefabadad101","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","1db6491f25ced62f23f06d1f3700a790df0971726acb33669bbf4a8de2f769a9","ffc638d878740b5c7780c4957432713f097a4579031485136f91103c5c23ebaa","83251e0cbcb139e6f861efda493a9eab0f0ba617d3aa275bf9558ec2f37ad678","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"71f30fba971582dc744373cbc8b06c1eb64dc24a6ccbc9b457f94fb68c67cb4e","affectsGlobalScope":true},{"version":"e9a43c3ee6fb8376bb9a4d318a660412c6abcfe5161c106e801e5431b41b7476","affectsGlobalScope":true},"7698983d080f951eaf53ff81e5c7bd61abc02e4a1a21266f1bd79ea85c0dc641","5726b5ce952dc5beaeb08d5f64236632501568a54a390363d2339ba1dc5393b1","89a3409a743c2a408d02bd68255a61d8416225b76c2c66d8e2e74dad3e00bc5d","714637d594e1a38a075091fe464ca91c6abc0b154784b4287f6883200e28ccef",{"version":"23edba5f47d3409810c563fe8034ae2c59e718e1ef8570f4152ccdde1915a096","affectsGlobalScope":true},"0e9c55f894ca2d9cf63b5b0d43a8cec1772dd560233fd16275bc7a485eb82f83","64813a6beff756b9e3f3c06d1b648d55e7c90af2b55c64d13a69d6c7f573643d","5f0a09de75bd965c21dc6d73671ba88830272f9ed62897bb0aa9754b369b1eed","2b34e7fcba9e1f24e7f54ba5c8be5a8895b0b8b444ccf6548e04acdee0899317",{"version":"06d2be99c3dd2ff52114d02ee443ba486ab482423df1941d3c97d6a92e924d70","affectsGlobalScope":true},{"version":"bfd4f140c07091b5e8a963c89e6fa3f44b6cfcbc11471b465cf63e2d020ad0eb","affectsGlobalScope":true},"a106a0bea088b70879ac88ff606dc253c0cc474ea05ad3a282b8bfb1091ae576","c98ce957db9eebd75f53edda3f6893e05ab2d2283b5667b18e31bcdb6427ed10","1f08bd8305d4a789a68f71ab622156dfff993aa51a2aa58b9ccf166cc6f9fcf7","4c260129d649d69f0608cd123e7016e61364b553a5ca2de9b66b0398594959cf","1978992206803f5761e99e893d93b25abc818c5fe619674fdf2ae02b29f641ba","05fbe81f09fc455a2c343d2458d2b3c600c90b92b22926be765ee79326be9466","8e7d6dae9e19bbe47600dcfd4418db85b30ae7351474ea0aad5e628f9845d340","f20ea392f7f27feb7a90e5a24319a4e365b07bf83c39a547711fe7ff9df68657","32542c4660ecda892a333a533feedba31738ee538ef6a78eb73af647137bc3fc","0ecacea5047d1a7d350e7049dbd22f26435be5e8736a81a56afec5b3264db1ca","ffcb4ebde21f83370ed402583888b28651d2eb7f05bfec9482eb46d82adedd7f",{"version":"06c004006016a51c4d1855527a523562c329dc44c473931c65f10373281f730e","affectsGlobalScope":true},"a7b43c69f9602d198825e403ee34e5d64f83c48b391b2897e8c0e6f72bca35f8","f4a3fc4efc6944e7b7bd4ccfa45e0df68b6359808e6cf9d061f04fd964a7b2d3","73cad675aead7a2c05cf934e7e700c61d84b2037ac1d576c3f751199b25331da","8c3137ba3583ec18484429ec1c8eff89efdc42730542f157b38b102fdccc0c71","d84300d886b45a198c346158e4ff7ae361cc7bc1c3deab44afb3db7de56b5d25","94ca7beec4e274d32362b54e0133152f7b4be9487db7b005070c03880b6363aa","2d713cbcbd5bcc38d91546eaeea7bb1c8686dc4a2995a28556d957b1b9de11d9","bbf21f210782db4193359010a4710786add43e3b50aa42fc0d371f45b4e4d8d3","0b7733d83619ac4e3963e2a9f7c75dc1e9af6850cb2354c9554977813092c10a","3ce933f0c3955f67f67eb7d6b5c83c2c54a18472c1d6f2bb651e51dd40c84837","631e96db896d645f7132c488ad34a16d71fd2be9f44696f8c98289ee1c8cbfa9","2c77230d381cba81eb6f87cda2fbfff6c0427c6546c2e2590110effff37c58f7","da86ee9a2f09a4583db1d5e37815894967e1f694ad9f3c25e84e0e4d40411e14","66679e8ffbf1fddef1796c60757e54e6e6551dd9823f75ef2f80176473bdaaff","ddc086b1adac44e2fccf55422da1e90fa970e659d77f99712422a421564b4877","515ef1d99036ff0dafa5bf738e02222edea94e0d97a0aa0ff277ac5e96b57977","d44028ae0127eb3e9fcfa5f55a8b81d64775ce15aca1020fe25c511bbb055834",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"780058f4a804c8bdcdd2f60e7af64b2bc57d149c1586ee3db732a84d659a50bf","ad1ae5ae98eceb9af99061e83e867b9897d267aebc8f3b938c9424deabadf4bb","19d580a3b42ad5caeaee266ae958260e23f2df0549ee201c886c8bd7a4f01d4e","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","9c4c395e927045b324877acdc4bfb95f128f36bc9f073266a2f0342495075a4f"],"options":{"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"module":1,"outDir":"./","removeComments":true,"sourceMap":true,"target":6},"fileIdsList":[[74],[74,75,76,77,78],[74,77],[118,120],[114,115],[114,115,116,117],[119],[166],[123],[165,166],[124],[125,133,134,141,150],[125,126,133,141],[157],[128,129,134,142],[129,150],[130,131,133,141],[131],[132,133],[133],[133,134,135,150,156],[134,135],[136,141,150,156],[133,134,136,137,141,150,153,156],[136,138,153,156],[167],[133,139],[140,156],[131,133,141,150],[142],[143],[123,144],[155],[146],[147],[133,148],[148,149,157,159],[133,150],[151],[152],[141,153],[154],[122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161],[162,163,164],[141,155],[147,156],[150,158],[159],[164],[133,135,150,156,159,160],[150,161],[110],[38],[60,61],[60],[59,61,63],[60,66,67],[59,63,64,65],[59,63,66,68],[59,63],[59],[59,60,62],[59,60,62,63,64,66,67,68],[70],[69,70,71,72],[86],[38,86],[38,40,102,111,134,143],[40,102],[38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,81,82,83,84,134,143],[38,40,86],[38,40],[38,40,85,100,101,143],[38,39],[38,39,40,85,100,143],[86,100],[38,39,40,86,87,88,89,90,91,92,93,94,95,96,97,98,99,143],[38,39,40,86],[38,40,73,80,85,134,143],[40,73,79]],"referencedMap":[[77,1],[79,2],[75,1],[78,3],[76,1],[121,4],[116,5],[118,6],[117,5],[120,7],[166,8],[123,9],[167,10],[124,11],[125,12],[126,13],[127,14],[128,15],[129,16],[130,17],[131,18],[132,19],[133,20],[134,21],[135,22],[136,23],[137,24],[138,25],[168,26],[139,27],[140,28],[141,29],[142,30],[143,31],[144,32],[145,33],[146,34],[147,35],[148,36],[149,37],[150,38],[151,39],[152,40],[153,41],[154,42],[162,43],[165,44],[155,45],[156,46],[157,14],[158,47],[159,48],[164,49],[160,50],[161,51],[111,52],[39,53],[62,54],[61,55],[60,56],[68,57],[66,58],[67,59],[64,60],[65,61],[63,62],[69,63],[70,61],[71,64],[73,65],[105,66],[106,66],[107,66],[108,66],[109,66],[104,67],[112,68],[103,69],[85,70],[52,71],[49,71],[42,71],[50,71],[55,71],[56,72],[83,72],[51,72],[48,72],[54,72],[58,72],[53,72],[44,71],[43,71],[45,71],[46,71],[57,72],[47,71],[102,73],[40,74],[86,75],[113,76],[100,77],[87,78],[91,78],[98,71],[97,72],[94,78],[96,71],[90,71],[95,72],[93,71],[88,71],[89,78],[99,78],[92,71],[84,79],[80,80],[81,79],[82,79]],"exportedModulesMap":[[77,1],[79,2],[75,1],[78,3],[76,1],[121,4],[116,5],[118,6],[117,5],[120,7],[166,8],[123,9],[167,10],[124,11],[125,12],[126,13],[127,14],[128,15],[129,16],[130,17],[131,18],[132,19],[133,20],[134,21],[135,22],[136,23],[137,24],[138,25],[168,26],[139,27],[140,28],[141,29],[142,30],[143,31],[144,32],[145,33],[146,34],[147,35],[148,36],[149,37],[150,38],[151,39],[152,40],[153,41],[154,42],[162,43],[165,44],[155,45],[156,46],[157,14],[158,47],[159,48],[164,49],[160,50],[161,51],[111,52],[39,53],[62,54],[61,55],[60,56],[68,57],[66,58],[67,59],[64,60],[65,61],[63,62],[69,63],[70,61],[71,64],[73,65],[105,66],[106,66],[107,66],[108,66],[109,66],[104,67],[112,68],[103,69],[85,70],[52,71],[49,71],[42,71],[50,71],[55,71],[56,72],[83,72],[51,72],[48,72],[54,72],[58,72],[53,72],[44,71],[43,71],[45,71],[46,71],[57,72],[47,71],[102,73],[40,74],[86,75],[113,76],[100,77],[87,78],[91,78],[98,71],[97,72],[94,78],[96,71],[90,71],[95,72],[93,71],[88,71],[89,78],[99,78],[92,71],[84,79],[80,80],[81,79],[82,79]],"semanticDiagnosticsPerFile":[77,74,79,75,78,76,121,114,116,118,117,115,120,119,166,123,167,124,125,126,127,128,129,130,131,132,133,134,135,122,163,136,137,138,168,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,162,165,155,156,157,158,159,164,160,161,41,110,111,39,62,61,60,68,66,67,64,65,63,69,59,70,71,72,73,7,8,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,37,32,33,34,35,1,36,10,9,38,101,105,106,107,108,109,104,112,103,85,52,49,42,50,55,56,83,51,48,54,58,53,44,43,45,46,57,47,102,40,86,113,100,87,91,98,97,94,96,90,95,93,88,89,99,92,84,80,81,82]},"version":"4.6.3"}
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.es2019.full.d.ts","../node_modules/typescript/lib/typescript.d.ts","../node_modules/@wessberg/ts-clone-node/dist/esm/index.d.ts","../src/types.ts","../node_modules/@types/prettier/index.d.ts","../src/print/printactions.ts","../src/print/printasyncactions.ts","../src/print/printreducers.ts","../src/print/printreducer.ts","../src/print/printselector.ts","../src/print/printselectors.ts","../src/print/printvalues.ts","../src/print/printinternalselectortypes.ts","../src/print/printactionkeys.ts","../src/print/printactiontypes.ts","../src/print/printinternalreduceractions.ts","../src/print/printactioncreators.ts","../src/print/printprops.ts","../src/print/printkey.ts","../src/print/printdefaults.ts","../src/print/printevents.ts","../src/print/printsharedlisteners.ts","../src/print/printlisteners.ts","../node_modules/ast-types/types.d.ts","../node_modules/ast-types/gen/namedtypes.d.ts","../node_modules/ast-types/gen/kinds.d.ts","../node_modules/ast-types/gen/builders.d.ts","../node_modules/ast-types/lib/types.d.ts","../node_modules/ast-types/lib/path.d.ts","../node_modules/ast-types/lib/scope.d.ts","../node_modules/ast-types/lib/node-path.d.ts","../node_modules/ast-types/lib/path-visitor.d.ts","../node_modules/ast-types/gen/visitor.d.ts","../node_modules/ast-types/main.d.ts","../node_modules/recast/lib/options.d.ts","../node_modules/recast/lib/parser.d.ts","../node_modules/recast/lib/printer.d.ts","../node_modules/recast/main.d.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../src/write/utils.ts","../src/write/writepaths.ts","../src/write/writetypeimports.ts","../src/print/printinternalextrainput.ts","../src/write/converttobuilders.ts","../src/print/print.ts","../src/utils.ts","../src/visit/visitactions.ts","../src/visit/visitreducers.ts","../src/visit/visitselectors.ts","../src/visit/visitloaders.ts","../src/visit/visitconnect.ts","../src/visit/visitwindowvalues.ts","../src/visit/visitprops.ts","../src/visit/visitkey.ts","../src/visit/visitpath.ts","../src/visit/visitlisteners.ts","../src/visit/visitevents.ts","../src/visit/visitdefaults.ts","../src/visit/visitsharedlisteners.ts","../src/visit/visit.ts","../package.json","../src/typegen.ts","../src/index.ts","../src/__tests__/utils.ts","../src/__tests__/e2e/actions.ts","../src/__tests__/e2e/connect.ts","../src/__tests__/e2e/loaders.ts","../src/__tests__/e2e/reducers.ts","../src/__tests__/e2e/selectors.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts","../src/cli/typegen.ts","../src/visit/__tests__/visit.ts","../node_modules/@types/jest/node_modules/jest-diff/build/cleanupsemantic.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/difflines.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/printdiffs.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/ts3.4/base.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/ts3.6/base.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/base.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f","ba00bb2ada9a5b7e0ab18c7282c0161f5af809112e4439b35c8b3853f7d436a7","e2dc8b431b672ccec6da32acb17475cc7d5a3ad121667ef5723231b39808ab11","3b3089d5b5a904803cab9e34978d5eaf1a87833ca0849f0c908f5a6e80b19729","74940ccce687ffb55f99053deb278496e43ffd51020f6e81a8be80545f6bd7ec","7a79f57af2b26a8f058d23809ba32d2e6982da9e608fc3210e1b262d70d36c03","ddf203d2d68cb39d4dbf31d60f3717776d5d6e4dbb9783fe16c9ed9750fe6c86","220ff3a2b9c22b04a1b5ce2a183822123d993ff9ea3fd0e25cec1d93d2782106","51dce17da955cd96ff6cd305a0465e036bb8787986f73dc2d533d8e4f2990ff9","9161cfb265d1f6d2a4e54b53799eb92aad6482d7d06c14787f9433dba9293b45","fdaed54c27c178a95076ef75557da664cf4f9e30aac087f6d32cc903410f0511","cbc41122e6d975ce71a7f3329b7d337a33d68bd79e0773bcabc58850daaf3990","743bd3264dae16734d728b52942e22c7474082156cf08bea042c83fe8e683090","bbba0f78e0b7c4c4b62cf0810fff2b774225ba71c1f6f08ff1fd6928c1fad611","4081e497d4e1be2671976aea943a34daafe4ca285b92550defea3f6c5e6e8965","6012f213231f72f4c06092717fc40f9fa8f514c5e583b27550c3fe1441fb330e","8b0d0aa18240c76425f8ae474926c9fd65a3ac3264111991653aec7eb47c4b30","66da834d094272008b62b0c49fa1d69ce290800ead4fa92d251137444a6f78c7","5c7dafd1da3c737c4f1b95572e5e0de3fa88b6529642f7bb705da39358c52635","26927331a447d6d14dfa26f55bf8ddefe1f5b62ad067ea0b31d1a681596c059d","76e655dfdf12ba56ef51a07dda9c49fce0cfff9ca749f91fee171b45dc390987","cb54e8c23569192f603de50e37d1effe050832884cfc4ca7b207eaa6eea034c4","9c40547f97a80e178bab74cc17ce02c956b80887e80994222e46fcafbda2fc98","cc2dc362fc50995684e9f7e9b38ad9bdf19e74919294a694cbc05392352cad7d","abef3012ae70d98baa449664e9dda50c96fc68b0fd11a592d6590d85bb89cd10","456e83839c811cedebb65c8b05027120336b3bd6920259817d728ffc52d41e2f","ea79d9641e700b2b4a04a857ed1ef692c4caf988017fbabd64c4111f7c287673","0a90b9435b81f45b88c5fb8d30e85b77d3508eb0760dc40b9fb825fd29f92375","8cd7362102d928e21b291a013f80fc68a038d4506d26ea9948c676e3fa1110d9","90f6830fb380f4d2b69df018343ae80ce92991e85a0d7be8d214c643b39d1175","1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","6a8d6deca8ec4250630fea4e5f23bd9bf0face98739ccd22e08a17173117155b","a1d51fd5a8f9c1c038799a43c038397ca3ed99ee73cc0b0aada897e7cc8aca91","6c9708ae545db5f8deb8ef774d412fd1b46adade794664d7c6cfd0a1f6dfd64f","9d14fcf0b69094271127c7b6acb36987be5d1bffa4eb948359549f040fb50349","e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","1147c3efa5a256bcd6a3d2cfaf764185b7120bf985f8412d9bae596a0348f77b","e1d0b45d2995163faae5784de982d49be585d0f77073ec4567850e2feb20e880","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","cc0e8c69a59c7e4e15bd28e1eebe9a660c47c202e298cb20a93285368051193f","98c2e3c00ed72daf568c0526ea4f4257f2c43dc5eaacd3d703c3b33f6df1ae86","3e0a34f7207431d967dc32d593d1cda0c23975e9484bc8895b39d96ffca4a0d8","7df3163944694feeac63067632a8dc2e2dea1350119ec8b43df277af69198369","7e08328a99f81bc7b2391e7727190716801cb68ddd3ad2a99eb0a74645aa2b98","b9f3ab34bd728c7de5baa7ea16147543b9b2d52d7ad3955c7ed9683e33270b43","82c418ef359c5b276df041ab3c69df0b1c8d312859a11e6aab6a4bdbd80178f4","cd73c43e0ab2e7f8df208efdf731ebdad58c8c01700c85ed3ba8f8bf87fc7678","6880e0628d351b6ef26c112dfe68f5c3bb63f734a18840453cc8143738df4b09","8e7636c01d89b1b61f178ddc553e3da3ad3893fac23a5af87823abc40d8305f7","8e4809dc6d974681adad17f1e82ecdfe553bcc9619dbcda578c351b60e47f8e7","3aed08da80d27ecb08edcb07cea22024c5fca79b78bc8a552face82c2fefb5bc","5d380b2911511138a82eeb68ee59060c70637e266118eb8f7a24c01e0b93a108","9d50686bb1d14b6cd6cb2e90ea1af4d31ab341ec876084fbcd84f76a9254b98b","185ebb3f86b886a61b8ca023a62f33b8c6f26c3ed9aa7f28de7137ca124f976c","f786f8e1ee52893269c0aa8dcf8b2a4e9a1ee40b23e09e45586dd9e7fd3d302a","9a535dc740f6346f1b4f02f13b60155c9280b12dc8c222376fa279bb85f020d8","d30310836b9a6740fbba57d9a44958ca6d9cd757093352c64c3cc83d0245105e","56abc8d229e09c13e28a6a1d6325f457842f3e73db1acf963e4fad2d765cc1f8","7ff5bf56634c720e1020fd14688c0e1f2dcf71ad93f9bad21c91b60cce75f06c","6e85db15a0c3807aa6d75472987e793269879de7286ffa56441be972a40d1ef7","645dee3a62cb0c82cd6d65a54296d35e9c7531c68014dadae81bcde23ee035d4","b5fe48d3a0c5ad0d3450513886a6d729d8d05038f42d2d75df536c0053421b9f","0dbc2d584abacf34ef5585a0de7f078435715c02ef35f068276c4c29c2a18fd8","0fe907d7c508f3eeaa9d28ae10e7c483178f096d73334de9b0dc3887edec89d5","08454f87a2cf5b5c1b15e2dd22db8d6e65e008f5ce800a59562c54edd04deb9c","b4e25d1a041aa1807c3ab178da3701d941b8e2af8ab17ca299f6c4d98bdc0b71","38fb1bdc8e08eda52f9291e67c30d5e526a3786c37e192f786423090d99a2dad","bae374c17de2a936df4fd9e68d55cf14b0eff7301e4306388618f929f5a4825e","f41634b0d1cdf790612d1bd223bba91eaca6bdc5a225fd3a0e9a5d69d2260dd1","1f4afcf0ff54ea4494f68be70bd0ba58eda7a16830cccc72ac87dfa3262ac94f","16618a1f57f886ea2ba581bde464cd074ca11d518b4cc6a3a5902dcf5ec24d3d","ff975b363ac892f0508fbd187b765e49ab8c70ca093ee5b19b927b84137d34b7","4b093729b0d64f046a98d1b0d79ce9cb361ea8a32a87b86fe475eefabadad101","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","1db6491f25ced62f23f06d1f3700a790df0971726acb33669bbf4a8de2f769a9","ffc638d878740b5c7780c4957432713f097a4579031485136f91103c5c23ebaa","83251e0cbcb139e6f861efda493a9eab0f0ba617d3aa275bf9558ec2f37ad678","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"71f30fba971582dc744373cbc8b06c1eb64dc24a6ccbc9b457f94fb68c67cb4e","affectsGlobalScope":true},{"version":"e9a43c3ee6fb8376bb9a4d318a660412c6abcfe5161c106e801e5431b41b7476","affectsGlobalScope":true},"7698983d080f951eaf53ff81e5c7bd61abc02e4a1a21266f1bd79ea85c0dc641","5726b5ce952dc5beaeb08d5f64236632501568a54a390363d2339ba1dc5393b1","89a3409a743c2a408d02bd68255a61d8416225b76c2c66d8e2e74dad3e00bc5d","714637d594e1a38a075091fe464ca91c6abc0b154784b4287f6883200e28ccef",{"version":"23edba5f47d3409810c563fe8034ae2c59e718e1ef8570f4152ccdde1915a096","affectsGlobalScope":true},"0e9c55f894ca2d9cf63b5b0d43a8cec1772dd560233fd16275bc7a485eb82f83","64813a6beff756b9e3f3c06d1b648d55e7c90af2b55c64d13a69d6c7f573643d","5f0a09de75bd965c21dc6d73671ba88830272f9ed62897bb0aa9754b369b1eed","2b34e7fcba9e1f24e7f54ba5c8be5a8895b0b8b444ccf6548e04acdee0899317",{"version":"06d2be99c3dd2ff52114d02ee443ba486ab482423df1941d3c97d6a92e924d70","affectsGlobalScope":true},{"version":"bfd4f140c07091b5e8a963c89e6fa3f44b6cfcbc11471b465cf63e2d020ad0eb","affectsGlobalScope":true},"a106a0bea088b70879ac88ff606dc253c0cc474ea05ad3a282b8bfb1091ae576","c98ce957db9eebd75f53edda3f6893e05ab2d2283b5667b18e31bcdb6427ed10","1f08bd8305d4a789a68f71ab622156dfff993aa51a2aa58b9ccf166cc6f9fcf7","4c260129d649d69f0608cd123e7016e61364b553a5ca2de9b66b0398594959cf","1978992206803f5761e99e893d93b25abc818c5fe619674fdf2ae02b29f641ba","05fbe81f09fc455a2c343d2458d2b3c600c90b92b22926be765ee79326be9466","8e7d6dae9e19bbe47600dcfd4418db85b30ae7351474ea0aad5e628f9845d340","f20ea392f7f27feb7a90e5a24319a4e365b07bf83c39a547711fe7ff9df68657","32542c4660ecda892a333a533feedba31738ee538ef6a78eb73af647137bc3fc","0ecacea5047d1a7d350e7049dbd22f26435be5e8736a81a56afec5b3264db1ca","ffcb4ebde21f83370ed402583888b28651d2eb7f05bfec9482eb46d82adedd7f",{"version":"06c004006016a51c4d1855527a523562c329dc44c473931c65f10373281f730e","affectsGlobalScope":true},"a7b43c69f9602d198825e403ee34e5d64f83c48b391b2897e8c0e6f72bca35f8","f4a3fc4efc6944e7b7bd4ccfa45e0df68b6359808e6cf9d061f04fd964a7b2d3","73cad675aead7a2c05cf934e7e700c61d84b2037ac1d576c3f751199b25331da","8c3137ba3583ec18484429ec1c8eff89efdc42730542f157b38b102fdccc0c71","d84300d886b45a198c346158e4ff7ae361cc7bc1c3deab44afb3db7de56b5d25","94ca7beec4e274d32362b54e0133152f7b4be9487db7b005070c03880b6363aa","2d713cbcbd5bcc38d91546eaeea7bb1c8686dc4a2995a28556d957b1b9de11d9","bbf21f210782db4193359010a4710786add43e3b50aa42fc0d371f45b4e4d8d3","0b7733d83619ac4e3963e2a9f7c75dc1e9af6850cb2354c9554977813092c10a","3ce933f0c3955f67f67eb7d6b5c83c2c54a18472c1d6f2bb651e51dd40c84837","631e96db896d645f7132c488ad34a16d71fd2be9f44696f8c98289ee1c8cbfa9","2c77230d381cba81eb6f87cda2fbfff6c0427c6546c2e2590110effff37c58f7","da86ee9a2f09a4583db1d5e37815894967e1f694ad9f3c25e84e0e4d40411e14","66679e8ffbf1fddef1796c60757e54e6e6551dd9823f75ef2f80176473bdaaff","ddc086b1adac44e2fccf55422da1e90fa970e659d77f99712422a421564b4877","515ef1d99036ff0dafa5bf738e02222edea94e0d97a0aa0ff277ac5e96b57977","d44028ae0127eb3e9fcfa5f55a8b81d64775ce15aca1020fe25c511bbb055834",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"780058f4a804c8bdcdd2f60e7af64b2bc57d149c1586ee3db732a84d659a50bf","ad1ae5ae98eceb9af99061e83e867b9897d267aebc8f3b938c9424deabadf4bb","19d580a3b42ad5caeaee266ae958260e23f2df0549ee201c886c8bd7a4f01d4e","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","9c4c395e927045b324877acdc4bfb95f128f36bc9f073266a2f0342495075a4f"],"options":{"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"module":1,"outDir":"./","removeComments":true,"sourceMap":true,"target":6},"fileIdsList":[[75],[75,76,77,78,79],[75,78],[119,121],[115,116],[115,116,117,118],[120],[167],[124],[166,167],[125],[126,134,135,142,151],[126,127,134,142],[158],[129,130,135,143],[130,151],[131,132,134,142],[132],[133,134],[134],[134,135,136,151,157],[135,136],[137,142,151,157],[134,135,137,138,142,151,154,157],[137,139,154,157],[168],[134,140],[141,157],[132,134,142,151],[143],[144],[124,145],[156],[147],[148],[134,149],[149,150,158,160],[134,151],[152],[153],[142,154],[155],[123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162],[163,164,165],[142,156],[148,157],[151,159],[160],[165],[134,136,151,157,160,161],[151,162],[111],[38],[61,62],[61],[60,62,64],[61,67,68],[60,64,65,66],[60,64,67,69],[60,64],[60],[60,61,63],[60,61,63,64,65,67,68,69],[71],[70,71,72,73],[87],[38,87],[38,40,103,112,135,144],[40,103],[38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,82,83,84,85,135,144],[38,40,87],[38,40],[38,40,86,101,102,144],[38,39],[38,39,40,86,101,144],[87,101],[38,39,40,87,88,89,90,91,92,93,94,95,96,97,98,99,100,144],[38,39,40,87],[38,40,74,81,86,135,144],[40,74,80]],"referencedMap":[[78,1],[80,2],[76,1],[79,3],[77,1],[122,4],[117,5],[119,6],[118,5],[121,7],[167,8],[124,9],[168,10],[125,11],[126,12],[127,13],[128,14],[129,15],[130,16],[131,17],[132,18],[133,19],[134,20],[135,21],[136,22],[137,23],[138,24],[139,25],[169,26],[140,27],[141,28],[142,29],[143,30],[144,31],[145,32],[146,33],[147,34],[148,35],[149,36],[150,37],[151,38],[152,39],[153,40],[154,41],[155,42],[163,43],[166,44],[156,45],[157,46],[158,14],[159,47],[160,48],[165,49],[161,50],[162,51],[112,52],[39,53],[63,54],[62,55],[61,56],[69,57],[67,58],[68,59],[65,60],[66,61],[64,62],[70,63],[71,61],[72,64],[74,65],[106,66],[107,66],[108,66],[109,66],[110,66],[105,67],[113,68],[104,69],[86,70],[53,71],[50,71],[42,71],[51,71],[43,71],[56,71],[57,72],[84,72],[52,72],[49,72],[55,72],[59,72],[54,72],[45,71],[44,71],[46,71],[47,71],[58,72],[48,71],[103,73],[40,74],[87,75],[114,76],[101,77],[88,78],[92,78],[99,71],[98,72],[95,78],[97,71],[91,71],[96,72],[94,71],[89,71],[90,78],[100,78],[93,71],[85,79],[81,80],[82,79],[83,79]],"exportedModulesMap":[[78,1],[80,2],[76,1],[79,3],[77,1],[122,4],[117,5],[119,6],[118,5],[121,7],[167,8],[124,9],[168,10],[125,11],[126,12],[127,13],[128,14],[129,15],[130,16],[131,17],[132,18],[133,19],[134,20],[135,21],[136,22],[137,23],[138,24],[139,25],[169,26],[140,27],[141,28],[142,29],[143,30],[144,31],[145,32],[146,33],[147,34],[148,35],[149,36],[150,37],[151,38],[152,39],[153,40],[154,41],[155,42],[163,43],[166,44],[156,45],[157,46],[158,14],[159,47],[160,48],[165,49],[161,50],[162,51],[112,52],[39,53],[63,54],[62,55],[61,56],[69,57],[67,58],[68,59],[65,60],[66,61],[64,62],[70,63],[71,61],[72,64],[74,65],[106,66],[107,66],[108,66],[109,66],[110,66],[105,67],[113,68],[104,69],[86,70],[53,71],[50,71],[42,71],[51,71],[43,71],[56,71],[57,72],[84,72],[52,72],[49,72],[55,72],[59,72],[54,72],[45,71],[44,71],[46,71],[47,71],[58,72],[48,71],[103,73],[40,74],[87,75],[114,76],[101,77],[88,78],[92,78],[99,71],[98,72],[95,78],[97,71],[91,71],[96,72],[94,71],[89,71],[90,78],[100,78],[93,71],[85,79],[81,80],[82,79],[83,79]],"semanticDiagnosticsPerFile":[78,75,80,76,79,77,122,115,117,119,118,116,121,120,167,124,168,125,126,127,128,129,130,131,132,133,134,135,136,123,164,137,138,139,169,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,163,166,156,157,158,159,160,165,161,162,41,111,112,39,63,62,61,69,67,68,65,66,64,70,60,71,72,73,74,7,8,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,37,32,33,34,35,1,36,10,9,38,102,106,107,108,109,110,105,113,104,86,53,50,42,51,43,56,57,84,52,49,55,59,54,45,44,46,47,58,48,103,40,87,114,101,88,92,99,98,95,97,91,96,94,89,90,100,93,85,81,82,83]},"version":"4.6.3"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on Tue,
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -121,6 +121,26 @@ export interface autoImportLogicType extends Logic {
|
|
|
121
121
|
miscInterfacedAction: (randomApi: RandomAPI) => void
|
|
122
122
|
setRepositories: (repositories: Repository[]) => void
|
|
123
123
|
}
|
|
124
|
+
asyncActions: {
|
|
125
|
+
actionA1: (
|
|
126
|
+
local1: L1,
|
|
127
|
+
local2: L2,
|
|
128
|
+
param1: A1,
|
|
129
|
+
param2: A2,
|
|
130
|
+
param3: A3,
|
|
131
|
+
param4: A4,
|
|
132
|
+
param5: Partial<A5>,
|
|
133
|
+
keaPlugin: KeaPlugin,
|
|
134
|
+
stringType: string,
|
|
135
|
+
) => Promise<any>
|
|
136
|
+
complexAction: (element: HTMLElement, timeout: NodeJS.Timeout) => Promise<any>
|
|
137
|
+
combinedA6Action: (filter: A5) => Promise<any>
|
|
138
|
+
miscActionWithType: (randomThing: ExportedApi.RandomThing) => Promise<any>
|
|
139
|
+
miscActionWithTypeConstants: () => Promise<any>
|
|
140
|
+
miscActionWithoutType: (randomThing: ExportedApi.RandomThing) => Promise<any>
|
|
141
|
+
miscInterfacedAction: (randomApi: RandomAPI) => Promise<any>
|
|
142
|
+
setRepositories: (repositories: Repository[]) => Promise<any>
|
|
143
|
+
}
|
|
124
144
|
defaults: {
|
|
125
145
|
bla: D1
|
|
126
146
|
asd: D6
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -40,6 +40,11 @@ export interface builderLogicType extends Logic {
|
|
|
40
40
|
setRepositories: (repositories: Repository[]) => void
|
|
41
41
|
setFetchError: (error: string) => void
|
|
42
42
|
}
|
|
43
|
+
asyncActions: {
|
|
44
|
+
setUsername: (username: string) => Promise<any>
|
|
45
|
+
setRepositories: (repositories: Repository[]) => Promise<any>
|
|
46
|
+
setFetchError: (error: string) => Promise<any>
|
|
47
|
+
}
|
|
43
48
|
defaults: {
|
|
44
49
|
username: string
|
|
45
50
|
repositories: Repository[]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on Tue,
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -156,6 +156,21 @@ export interface complexLogicType extends Logic {
|
|
|
156
156
|
setShowActionsTooltip: (showActionsTooltip: boolean) => void
|
|
157
157
|
updateDashboardInsight: (id: number, payload: DashboardItemType) => void
|
|
158
158
|
}
|
|
159
|
+
asyncActions: {
|
|
160
|
+
setForm: (form: FormInstance) => Promise<any>
|
|
161
|
+
selectAction: (id: string | null) => Promise<any>
|
|
162
|
+
newAction: (element?: HTMLElement) => Promise<any>
|
|
163
|
+
inspectForElementWithIndex: (index: number | null) => Promise<any>
|
|
164
|
+
inspectElementSelected: (element: HTMLElement, index: number | null) => Promise<any>
|
|
165
|
+
setEditingFields: (editingFields: AntdFieldData[]) => Promise<any>
|
|
166
|
+
incrementCounter: () => Promise<any>
|
|
167
|
+
saveAction: (formValues: ActionForm) => Promise<any>
|
|
168
|
+
deleteAction: () => Promise<any>
|
|
169
|
+
showButtonActions: () => Promise<any>
|
|
170
|
+
hideButtonActions: () => Promise<any>
|
|
171
|
+
setShowActionsTooltip: (showActionsTooltip: boolean) => Promise<any>
|
|
172
|
+
updateDashboardInsight: (id: number, payload: DashboardItemType) => Promise<any>
|
|
173
|
+
}
|
|
159
174
|
defaults: {
|
|
160
175
|
buttonActionsVisible: boolean
|
|
161
176
|
selectedActionId: number | 'new' | null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -22,6 +22,9 @@ export interface githubConnectLogicType extends Logic {
|
|
|
22
22
|
actions: {
|
|
23
23
|
setRepositories: (repositories: Repository[]) => void
|
|
24
24
|
}
|
|
25
|
+
asyncActions: {
|
|
26
|
+
setRepositories: (repositories: Repository[]) => Promise<any>
|
|
27
|
+
}
|
|
25
28
|
defaults: {}
|
|
26
29
|
events: {}
|
|
27
30
|
key: undefined
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:24 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -9,6 +9,7 @@ export interface githubImportLogicType extends Logic {
|
|
|
9
9
|
actionKeys: {}
|
|
10
10
|
actionTypes: {}
|
|
11
11
|
actions: {}
|
|
12
|
+
asyncActions: {}
|
|
12
13
|
defaults: {
|
|
13
14
|
repositoryReducerCopy: Repository[]
|
|
14
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -40,6 +40,11 @@ export interface githubLogicType extends Logic {
|
|
|
40
40
|
setRepositories: (repositories: Repository[]) => void
|
|
41
41
|
setFetchError: (error: string) => void
|
|
42
42
|
}
|
|
43
|
+
asyncActions: {
|
|
44
|
+
setUsername: (username: string) => Promise<any>
|
|
45
|
+
setRepositories: (repositories: Repository[]) => Promise<any>
|
|
46
|
+
setFetchError: (error: string) => Promise<any>
|
|
47
|
+
}
|
|
43
48
|
defaults: {
|
|
44
49
|
username: string
|
|
45
50
|
repositories: Repository[]
|
package/samples/githubType.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:24 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -7,6 +7,7 @@ export interface blaLogicType extends Logic {
|
|
|
7
7
|
actionKeys: {}
|
|
8
8
|
actionTypes: {}
|
|
9
9
|
actions: {}
|
|
10
|
+
asyncActions: {}
|
|
10
11
|
defaults: {}
|
|
11
12
|
events: {}
|
|
12
13
|
key: undefined
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on Tue,
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -134,6 +134,27 @@ export interface loadersLogicType extends Logic {
|
|
|
134
134
|
loadItSuccess: (misc: { id: number; name: void; pinned: boolean }, payload?: any) => void
|
|
135
135
|
loadItFailure: (error: string, errorObject?: any) => void
|
|
136
136
|
}
|
|
137
|
+
asyncActions: {
|
|
138
|
+
addDashboard: (name: string) => Promise<any>
|
|
139
|
+
addDashboardSuccess: (
|
|
140
|
+
dashboard: Dashboard,
|
|
141
|
+
payload?: {
|
|
142
|
+
name: string
|
|
143
|
+
},
|
|
144
|
+
) => Promise<any>
|
|
145
|
+
addDashboardFailure: (error: string, errorObject?: any) => Promise<any>
|
|
146
|
+
addDashboardNoType: ({ name }: { name: string }) => Promise<any>
|
|
147
|
+
addDashboardNoTypeSuccess: (
|
|
148
|
+
dashboard: Dashboard,
|
|
149
|
+
payload?: {
|
|
150
|
+
name: string
|
|
151
|
+
},
|
|
152
|
+
) => Promise<any>
|
|
153
|
+
addDashboardNoTypeFailure: (error: string, errorObject?: any) => Promise<any>
|
|
154
|
+
loadIt: () => Promise<any>
|
|
155
|
+
loadItSuccess: (misc: { id: number; name: void; pinned: boolean }, payload?: any) => Promise<any>
|
|
156
|
+
loadItFailure: (error: string, errorObject?: any) => Promise<any>
|
|
157
|
+
}
|
|
137
158
|
defaults: {
|
|
138
159
|
dashboard: Dashboard | null
|
|
139
160
|
dashboardLoading: boolean
|
package/samples/logicType.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on Tue,
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic, BreakPointFunction } from 'kea'
|
|
4
4
|
|
|
@@ -73,6 +73,14 @@ export interface logicType extends Logic {
|
|
|
73
73
|
loadSessionsSuccess: (sessions: Session[], payload?: string) => void
|
|
74
74
|
loadSessionsFailure: (error: string, errorObject?: any) => void
|
|
75
75
|
}
|
|
76
|
+
asyncActions: {
|
|
77
|
+
updateName: (name: string) => Promise<any>
|
|
78
|
+
updateConst: (name: 'John' | 'Bill') => Promise<any>
|
|
79
|
+
updateNumber: (number: number) => Promise<any>
|
|
80
|
+
loadSessions: (selectedDate: string) => Promise<any>
|
|
81
|
+
loadSessionsSuccess: (sessions: Session[], payload?: string) => Promise<any>
|
|
82
|
+
loadSessionsFailure: (error: string, errorObject?: any) => Promise<any>
|
|
83
|
+
}
|
|
76
84
|
defaults: {
|
|
77
85
|
yetAnotherNameWithNullDefault: string | null
|
|
78
86
|
name: string
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic, NotReallyHereButImportedBecausePlugin } from 'kea'
|
|
4
4
|
|
|
@@ -29,6 +29,10 @@ export interface pluginLogicType extends Logic {
|
|
|
29
29
|
inlineAction: () => void
|
|
30
30
|
submitForm: () => void
|
|
31
31
|
}
|
|
32
|
+
asyncActions: {
|
|
33
|
+
inlineAction: () => Promise<any>
|
|
34
|
+
submitForm: () => Promise<any>
|
|
35
|
+
}
|
|
32
36
|
defaults: {
|
|
33
37
|
inlineReducer: {
|
|
34
38
|
asd: boolean
|
|
@@ -147,6 +151,9 @@ export interface anotherPluginLogicType extends Logic {
|
|
|
147
151
|
actions: {
|
|
148
152
|
submitForm: () => void
|
|
149
153
|
}
|
|
154
|
+
asyncActions: {
|
|
155
|
+
submitForm: () => Promise<any>
|
|
156
|
+
}
|
|
150
157
|
defaults: {
|
|
151
158
|
form: {
|
|
152
159
|
name: string
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on Tue,
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -29,6 +29,10 @@ export interface propsLogicType extends Logic {
|
|
|
29
29
|
setPage: (page: string) => void
|
|
30
30
|
setId: (id: number) => void
|
|
31
31
|
}
|
|
32
|
+
asyncActions: {
|
|
33
|
+
setPage: (page: string) => Promise<any>
|
|
34
|
+
setId: (id: number) => Promise<any>
|
|
35
|
+
}
|
|
32
36
|
defaults: {
|
|
33
37
|
currentPage: string
|
|
34
38
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on Tue,
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -44,6 +44,17 @@ export interface routerConnectLogicType extends Logic {
|
|
|
44
44
|
initial,
|
|
45
45
|
}: LocationChangedPayload) => void
|
|
46
46
|
}
|
|
47
|
+
asyncActions: {
|
|
48
|
+
locationChanged: ({
|
|
49
|
+
method,
|
|
50
|
+
pathname,
|
|
51
|
+
search,
|
|
52
|
+
searchParams,
|
|
53
|
+
hash,
|
|
54
|
+
hashParams,
|
|
55
|
+
initial,
|
|
56
|
+
}: LocationChangedPayload) => Promise<any>
|
|
57
|
+
}
|
|
47
58
|
defaults: {}
|
|
48
59
|
events: {}
|
|
49
60
|
key: undefined
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:50 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -20,6 +20,9 @@ export interface typedFormDemoLogicType extends Logic {
|
|
|
20
20
|
actions: {
|
|
21
21
|
submitForm: () => void
|
|
22
22
|
}
|
|
23
|
+
asyncActions: {
|
|
24
|
+
submitForm: () => Promise<any>
|
|
25
|
+
}
|
|
23
26
|
custom: {
|
|
24
27
|
hello?: 'world'
|
|
25
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on Tue,
|
|
1
|
+
// Generated by kea-typegen on Tue, 13 Dec 2022 20:31:24 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import type { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -7,6 +7,7 @@ export interface windowValuesLogicType extends Logic {
|
|
|
7
7
|
actionKeys: {}
|
|
8
8
|
actionTypes: {}
|
|
9
9
|
actions: {}
|
|
10
|
+
asyncActions: {}
|
|
10
11
|
defaults: {
|
|
11
12
|
windowHeight: number
|
|
12
13
|
windowWidth: number
|
|
@@ -28,6 +28,10 @@ exports[`actions - as a function returning a object 1`] = `
|
|
|
28
28
|
updateName: (name: string) => void;
|
|
29
29
|
updateOtherName: (otherName: string) => void;
|
|
30
30
|
};
|
|
31
|
+
asyncActions: {
|
|
32
|
+
updateName: (name: string) => Promise<any>;
|
|
33
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
34
|
+
};
|
|
31
35
|
defaults: {};
|
|
32
36
|
events: {};
|
|
33
37
|
key: undefined;
|
|
@@ -76,6 +80,10 @@ exports[`actions - as an object 1`] = `
|
|
|
76
80
|
updateName: (name: string) => void;
|
|
77
81
|
updateOtherName: (otherName: string) => void;
|
|
78
82
|
};
|
|
83
|
+
asyncActions: {
|
|
84
|
+
updateName: (name: string) => Promise<any>;
|
|
85
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
86
|
+
};
|
|
79
87
|
defaults: {};
|
|
80
88
|
events: {};
|
|
81
89
|
key: undefined;
|
|
@@ -124,6 +132,10 @@ exports[`actions - with a function 1`] = `
|
|
|
124
132
|
updateName: (name: string) => void;
|
|
125
133
|
updateOtherName: (otherName: string) => void;
|
|
126
134
|
};
|
|
135
|
+
asyncActions: {
|
|
136
|
+
updateName: (name: string) => Promise<any>;
|
|
137
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
138
|
+
};
|
|
127
139
|
defaults: {};
|
|
128
140
|
events: {};
|
|
129
141
|
key: undefined;
|
|
@@ -190,6 +202,12 @@ exports[`actions - with random values instead of functions 1`] = `
|
|
|
190
202
|
withDefaultValueAndType: (name?: string) => void;
|
|
191
203
|
withTrue: () => void;
|
|
192
204
|
};
|
|
205
|
+
asyncActions: {
|
|
206
|
+
updateName: (name?: string) => Promise<any>;
|
|
207
|
+
withDefaultValue: (name?: any) => Promise<any>;
|
|
208
|
+
withDefaultValueAndType: (name?: string) => Promise<any>;
|
|
209
|
+
withTrue: () => Promise<any>;
|
|
210
|
+
};
|
|
193
211
|
defaults: {};
|
|
194
212
|
events: {};
|
|
195
213
|
key: undefined;
|
|
@@ -28,6 +28,10 @@ exports[`connect actions and rename 1`] = `
|
|
|
28
28
|
firstAction: (name: string) => void;
|
|
29
29
|
secondAction: (otherName: string) => void;
|
|
30
30
|
};
|
|
31
|
+
asyncActions: {
|
|
32
|
+
firstAction: (name: string) => Promise<any>;
|
|
33
|
+
secondAction: (otherName: string) => Promise<any>;
|
|
34
|
+
};
|
|
31
35
|
defaults: {};
|
|
32
36
|
events: {};
|
|
33
37
|
key: undefined;
|
|
@@ -76,6 +80,10 @@ exports[`connect actions from another logic 1`] = `
|
|
|
76
80
|
updateName: (name: string) => void;
|
|
77
81
|
updateOtherName: (otherName: string) => void;
|
|
78
82
|
};
|
|
83
|
+
asyncActions: {
|
|
84
|
+
updateName: (name: string) => Promise<any>;
|
|
85
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
86
|
+
};
|
|
79
87
|
defaults: {};
|
|
80
88
|
events: {};
|
|
81
89
|
key: undefined;
|
|
@@ -124,6 +132,10 @@ exports[`connect actions from multiple other logics 1`] = `
|
|
|
124
132
|
updateName: (name: string) => void;
|
|
125
133
|
updateOtherName: (otherName: string) => void;
|
|
126
134
|
};
|
|
135
|
+
asyncActions: {
|
|
136
|
+
updateName: (name: string) => Promise<any>;
|
|
137
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
138
|
+
};
|
|
127
139
|
defaults: {};
|
|
128
140
|
events: {};
|
|
129
141
|
key: undefined;
|
|
@@ -150,6 +162,7 @@ exports[`connect props from another logic 1`] = `
|
|
|
150
162
|
actionKeys: {};
|
|
151
163
|
actionTypes: {};
|
|
152
164
|
actions: {};
|
|
165
|
+
asyncActions: {};
|
|
153
166
|
defaults: {};
|
|
154
167
|
events: {};
|
|
155
168
|
key: undefined;
|
|
@@ -182,6 +195,7 @@ exports[`connect values and rename 1`] = `
|
|
|
182
195
|
actionKeys: {};
|
|
183
196
|
actionTypes: {};
|
|
184
197
|
actions: {};
|
|
198
|
+
asyncActions: {};
|
|
185
199
|
defaults: {};
|
|
186
200
|
events: {};
|
|
187
201
|
key: undefined;
|
|
@@ -214,6 +228,7 @@ exports[`connect values from another logic 1`] = `
|
|
|
214
228
|
actionKeys: {};
|
|
215
229
|
actionTypes: {};
|
|
216
230
|
actions: {};
|
|
231
|
+
asyncActions: {};
|
|
217
232
|
defaults: {};
|
|
218
233
|
events: {};
|
|
219
234
|
key: undefined;
|
|
@@ -46,6 +46,12 @@ exports[`loaders - with a function 1`] = `
|
|
|
46
46
|
loadSessionsSuccess: (sessions: Session[], payload?: string) => void;
|
|
47
47
|
loadSessionsFailure: (error: string, errorObject?: any) => void;
|
|
48
48
|
};
|
|
49
|
+
asyncActions: {
|
|
50
|
+
updateName: (name: string) => Promise<any>;
|
|
51
|
+
loadSessions: (query: string) => Promise<any>;
|
|
52
|
+
loadSessionsSuccess: (sessions: Session[], payload?: string) => Promise<any>;
|
|
53
|
+
loadSessionsFailure: (error: string, errorObject?: any) => Promise<any>;
|
|
54
|
+
};
|
|
49
55
|
defaults: {
|
|
50
56
|
sessions: Session[];
|
|
51
57
|
sessionsLoading: boolean;
|
|
@@ -130,6 +136,12 @@ exports[`loaders - with an array and default 1`] = `
|
|
|
130
136
|
loadSessionsSuccess: (sessions: Session[], payload?: string) => void;
|
|
131
137
|
loadSessionsFailure: (error: string, errorObject?: any) => void;
|
|
132
138
|
};
|
|
139
|
+
asyncActions: {
|
|
140
|
+
updateName: (name: string) => Promise<any>;
|
|
141
|
+
loadSessions: (query: string) => Promise<any>;
|
|
142
|
+
loadSessionsSuccess: (sessions: Session[], payload?: string) => Promise<any>;
|
|
143
|
+
loadSessionsFailure: (error: string, errorObject?: any) => Promise<any>;
|
|
144
|
+
};
|
|
133
145
|
defaults: {
|
|
134
146
|
sessions: Session[];
|
|
135
147
|
sessionsLoading: boolean;
|
|
@@ -232,6 +244,14 @@ exports[`loaders - with no param 1`] = `
|
|
|
232
244
|
loadResultsSuccess: (sessions: string[], payload?: any) => void;
|
|
233
245
|
loadResultsFailure: (error: string, errorObject?: any) => void;
|
|
234
246
|
};
|
|
247
|
+
asyncActions: {
|
|
248
|
+
loadSessions: () => Promise<any>;
|
|
249
|
+
loadSessionsSuccess: (sessions: string[], payload?: any) => Promise<any>;
|
|
250
|
+
loadSessionsFailure: (error: string, errorObject?: any) => Promise<any>;
|
|
251
|
+
loadResults: () => Promise<any>;
|
|
252
|
+
loadResultsSuccess: (sessions: string[], payload?: any) => Promise<any>;
|
|
253
|
+
loadResultsFailure: (error: string, errorObject?: any) => Promise<any>;
|
|
254
|
+
};
|
|
235
255
|
defaults: {
|
|
236
256
|
sessions: string[];
|
|
237
257
|
sessionsLoading: boolean;
|
|
@@ -28,6 +28,10 @@ exports[`reducers - as a function returning a object 1`] = `
|
|
|
28
28
|
updateName: (name: string) => void;
|
|
29
29
|
updateOtherName: (otherName: string) => void;
|
|
30
30
|
};
|
|
31
|
+
asyncActions: {
|
|
32
|
+
updateName: (name: string) => Promise<any>;
|
|
33
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
34
|
+
};
|
|
31
35
|
defaults: {
|
|
32
36
|
name: string;
|
|
33
37
|
otherNameNoDefault: any;
|
|
@@ -100,6 +104,10 @@ exports[`reducers - as an object 1`] = `
|
|
|
100
104
|
updateName: (name: string) => void;
|
|
101
105
|
updateOtherName: (otherName: string) => void;
|
|
102
106
|
};
|
|
107
|
+
asyncActions: {
|
|
108
|
+
updateName: (name: string) => Promise<any>;
|
|
109
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
110
|
+
};
|
|
103
111
|
defaults: {
|
|
104
112
|
name: string;
|
|
105
113
|
otherNameNoDefault: any;
|
|
@@ -172,6 +180,10 @@ exports[`reducers - with a function 1`] = `
|
|
|
172
180
|
updateName: (name: string) => void;
|
|
173
181
|
updateOtherName: (otherName: string) => void;
|
|
174
182
|
};
|
|
183
|
+
asyncActions: {
|
|
184
|
+
updateName: (name: string) => Promise<any>;
|
|
185
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
186
|
+
};
|
|
175
187
|
defaults: {
|
|
176
188
|
name: string;
|
|
177
189
|
otherNameNoDefault: any;
|
|
@@ -235,6 +247,9 @@ exports[`reducers - with bool default 1`] = `
|
|
|
235
247
|
actions: {
|
|
236
248
|
updateName: () => void;
|
|
237
249
|
};
|
|
250
|
+
asyncActions: {
|
|
251
|
+
updateName: () => Promise<any>;
|
|
252
|
+
};
|
|
238
253
|
defaults: {
|
|
239
254
|
name: boolean;
|
|
240
255
|
};
|
|
@@ -28,6 +28,10 @@ exports[`selectors - as a function returning a object 1`] = `
|
|
|
28
28
|
updateName: (name: string) => void;
|
|
29
29
|
updateOtherName: (otherName: string) => void;
|
|
30
30
|
};
|
|
31
|
+
asyncActions: {
|
|
32
|
+
updateName: (name: string) => Promise<any>;
|
|
33
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
34
|
+
};
|
|
31
35
|
defaults: {
|
|
32
36
|
name: string;
|
|
33
37
|
otherName: any;
|
|
@@ -98,6 +102,10 @@ exports[`selectors - as an object 1`] = `
|
|
|
98
102
|
updateName: (name: string) => void;
|
|
99
103
|
updateOtherName: (otherName: string) => void;
|
|
100
104
|
};
|
|
105
|
+
asyncActions: {
|
|
106
|
+
updateName: (name: string) => Promise<any>;
|
|
107
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
108
|
+
};
|
|
101
109
|
defaults: {
|
|
102
110
|
name: string;
|
|
103
111
|
otherName: any;
|
|
@@ -168,6 +176,10 @@ exports[`selectors - with a function 1`] = `
|
|
|
168
176
|
updateName: (name: string) => void;
|
|
169
177
|
updateOtherName: (otherName: string) => void;
|
|
170
178
|
};
|
|
179
|
+
asyncActions: {
|
|
180
|
+
updateName: (name: string) => Promise<any>;
|
|
181
|
+
updateOtherName: (otherName: string) => Promise<any>;
|
|
182
|
+
};
|
|
171
183
|
defaults: {
|
|
172
184
|
name: string;
|
|
173
185
|
otherName: any;
|
package/src/print/print.ts
CHANGED
|
@@ -17,6 +17,7 @@ import * as prettier from 'prettier'
|
|
|
17
17
|
|
|
18
18
|
import { AppOptions, ParsedLogic } from '../types'
|
|
19
19
|
import { printActions } from './printActions'
|
|
20
|
+
import { printAsyncActions } from './printAsyncActions'
|
|
20
21
|
import { printReducers } from './printReducers'
|
|
21
22
|
import { printReducer } from './printReducer'
|
|
22
23
|
import { printSelector } from './printSelector'
|
|
@@ -269,6 +270,7 @@ export function printLogicType(parsedLogic: ParsedLogic, appOptions?: AppOptions
|
|
|
269
270
|
actionKeys: printActionKeys(parsedLogic, appOptions),
|
|
270
271
|
actionTypes: printActionTypes(parsedLogic, appOptions),
|
|
271
272
|
actions: printActions(parsedLogic, appOptions),
|
|
273
|
+
asyncActions: printAsyncActions(parsedLogic, appOptions),
|
|
272
274
|
defaults: printDefaults(parsedLogic),
|
|
273
275
|
events: printEvents(parsedLogic),
|
|
274
276
|
key: printKey(parsedLogic),
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { factory, SyntaxKind } from 'typescript'
|
|
2
|
+
import { AppOptions, ParsedLogic } from '../types'
|
|
3
|
+
import { getActionTypeCreator } from '../utils'
|
|
4
|
+
|
|
5
|
+
export function printAsyncActions(parsedLogic: ParsedLogic, appOptions?: AppOptions) {
|
|
6
|
+
const getActionType = getActionTypeCreator(parsedLogic)
|
|
7
|
+
|
|
8
|
+
return factory.createTypeLiteralNode(
|
|
9
|
+
parsedLogic.actions.map(({ name, parameters }) => {
|
|
10
|
+
return factory.createPropertySignature(
|
|
11
|
+
undefined,
|
|
12
|
+
factory.createIdentifier(name),
|
|
13
|
+
undefined,
|
|
14
|
+
factory.createFunctionTypeNode(
|
|
15
|
+
undefined,
|
|
16
|
+
parameters,
|
|
17
|
+
factory.createTypeReferenceNode(factory.createIdentifier('Promise'), [
|
|
18
|
+
factory.createToken(SyntaxKind.AnyKeyword),
|
|
19
|
+
]),
|
|
20
|
+
),
|
|
21
|
+
)
|
|
22
|
+
}),
|
|
23
|
+
)
|
|
24
|
+
}
|
package/src/typegen.ts
CHANGED
|
@@ -3,9 +3,16 @@ import * as path from 'path'
|
|
|
3
3
|
import { visitProgram } from './visit/visit'
|
|
4
4
|
import { printToFiles } from './print/print'
|
|
5
5
|
import { AppOptions } from './types'
|
|
6
|
-
import {
|
|
6
|
+
import { Program } from 'typescript'
|
|
7
7
|
import { version } from '../package.json'
|
|
8
8
|
|
|
9
|
+
// The undocumented defaultMaximumTruncationLength setting determines at what point printed types are truncated.
|
|
10
|
+
// In kea-typegen output, we NEVER want the types truncated, as that results in a syntax error –
|
|
11
|
+
// "... n more ..." is not valid .d.ts syntax. This is a risk with union types in particular, so we disable truncation.
|
|
12
|
+
// See https://github.com/microsoft/TypeScript/blob/cbb8df/src/compiler/utilities.ts#L563
|
|
13
|
+
// and https://github.com/microsoft/TypeScript/blob/cbb8df/src/compiler/checker.ts#L6331-L6334.
|
|
14
|
+
(ts as any).defaultMaximumTruncationLength = Infinity
|
|
15
|
+
|
|
9
16
|
export function runTypeGen(appOptions: AppOptions) {
|
|
10
17
|
let program: Program
|
|
11
18
|
let resetProgram: () => void
|