kea-typegen 3.0.0-alpha.7 → 3.0.0-alpha.8
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/dist/package.json +2 -1
- package/dist/src/__tests__/e2e/actions.js +1 -2
- package/dist/src/__tests__/e2e/actions.js.map +1 -1
- package/dist/src/visit/visitActions.js +1 -3
- package/dist/src/visit/visitActions.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/samples/autoImportLogic.ts +0 -1
- package/samples/autoImportLogicType.ts +1 -10
- package/samples/routerConnectLogicType.ts +5 -21
- package/src/__tests__/e2e/__snapshots__/actions.ts.snap +6 -15
- package/src/__tests__/e2e/__snapshots__/reducers.ts.snap +1 -1
- package/src/__tests__/e2e/actions.ts +1 -2
- package/src/visit/visitActions.ts +7 -4
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kea-typegen",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.8",
|
|
4
4
|
"description": "Generate type definitions for kea logic",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "ts-node ./src/cli/typegen.ts",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"husky": ">=4",
|
|
43
43
|
"jest": "^27.0.5",
|
|
44
44
|
"kea": "^3.0.0-alpha.6",
|
|
45
|
+
"kea-router": "^3.0.0-alpha.0",
|
|
45
46
|
"lint-staged": ">=12.1.2",
|
|
46
47
|
"react": "^16.13.1",
|
|
47
48
|
"react-redux": "^7.2.6",
|
|
@@ -51,8 +51,7 @@ test('actions - with random values instead of functions', () => {
|
|
|
51
51
|
updateName: (name?: string) => ({ name }),
|
|
52
52
|
withDefaultValue: (name = "john") => ({ name }),
|
|
53
53
|
withDefaultValueAndType: (name: string = "john") => ({ name }),
|
|
54
|
-
|
|
55
|
-
withRandomPayload: { bla: 123 },
|
|
54
|
+
withTrue: true,
|
|
56
55
|
}
|
|
57
56
|
})
|
|
58
57
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../src/__tests__/e2e/actions.ts"],"names":[],"mappings":";;AAAA,uCAAoD;AAEpD,IAAI,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACnC,MAAM,WAAW,GAAG;;;;;;;;;KASnB,CAAA;IACD,MAAM,CAAC,IAAA,8BAAsB,EAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;AACjE,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,wBAAwB,EAAE,GAAG,EAAE;IAChC,MAAM,WAAW,GAAG;;;;;;;;;KASnB,CAAA;IACD,MAAM,CAAC,IAAA,8BAAsB,EAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;AACjE,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,4CAA4C,EAAE,GAAG,EAAE;IACpD,MAAM,WAAW,GAAG;;;;;;;;;;;KAWnB,CAAA;IACD,MAAM,CAAC,IAAA,8BAAsB,EAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;AACjE,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,mDAAmD,EAAE,GAAG,EAAE;IAC3D,MAAM,WAAW,GAAG
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../src/__tests__/e2e/actions.ts"],"names":[],"mappings":";;AAAA,uCAAoD;AAEpD,IAAI,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACnC,MAAM,WAAW,GAAG;;;;;;;;;KASnB,CAAA;IACD,MAAM,CAAC,IAAA,8BAAsB,EAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;AACjE,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,wBAAwB,EAAE,GAAG,EAAE;IAChC,MAAM,WAAW,GAAG;;;;;;;;;KASnB,CAAA;IACD,MAAM,CAAC,IAAA,8BAAsB,EAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;AACjE,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,4CAA4C,EAAE,GAAG,EAAE;IACpD,MAAM,WAAW,GAAG;;;;;;;;;;;KAWnB,CAAA;IACD,MAAM,CAAC,IAAA,8BAAsB,EAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;AACjE,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,mDAAmD,EAAE,GAAG,EAAE;IAC3D,MAAM,WAAW,GAAG;;;;;;;;;;;KAWnB,CAAA;IACD,MAAM,CAAC,IAAA,8BAAsB,EAAC,WAAW,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;AACjE,CAAC,CAAC,CAAA"}
|
|
@@ -37,10 +37,8 @@ function visitActions(parsedLogic, type, expression) {
|
|
|
37
37
|
returnTypeNode = (0, ts_clone_node_1.cloneNode)(returnTypeNode);
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
const typeNode = checker.typeToTypeNode(type, undefined, undefined);
|
|
41
|
-
(0, utils_1.gatherImports)(typeNode, checker, parsedLogic);
|
|
42
40
|
returnTypeNode = typescript_1.factory.createTypeLiteralNode([
|
|
43
|
-
typescript_1.factory.createPropertySignature(undefined, typescript_1.factory.createIdentifier('value'), undefined,
|
|
41
|
+
typescript_1.factory.createPropertySignature(undefined, typescript_1.factory.createIdentifier('value'), undefined, typescript_1.factory.createLiteralTypeNode(typescript_1.factory.createTrue())),
|
|
44
42
|
]);
|
|
45
43
|
}
|
|
46
44
|
parsedLogic.actions.push({ name, parameters, returnTypeNode });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitActions.js","sourceRoot":"","sources":["../../../src/visit/visitActions.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"visitActions.js","sourceRoot":"","sources":["../../../src/visit/visitActions.ts"],"names":[],"mappings":";;;AACA,2CAAqH;AACrH,2CAA6C;AAC7C,2DAAmD;AACnD,oCAAwC;AAExC,SAAgB,YAAY,CAAC,WAAwB,EAAE,IAAU,EAAE,UAAsB;IACrF,MAAM,EAAE,OAAO,EAAE,GAAG,WAAW,CAAA;IAC/B,MAAM,UAAU,GAAG,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAA;IAEpD,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE;QAC/B,MAAM,IAAI,GAAG,OAAO,CAAC,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,CAAC,gBAAiB,CAAC,CAAA;QACpF,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAA;QAE/B,IAAI,cAAc,CAAA;QAClB,IAAI,UAAU,CAAA;QAEd,IAAI,CAAC,IAAA,iCAAoB,EAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE;YAClD,SAAQ;SACX;QACD,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC,gBAAgB,CAAA;QAEjD,IAAI,IAAA,2BAAc,EAAC,WAAW,CAAC,EAAE;YAE7B,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;gBAC9C,IAAI,KAAK,CAAC,IAAI,EAAE;oBACZ,IAAA,qBAAa,EAAC,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,WAAW,CAAC,CAAA;iBAClD;gBACD,OAAO,oBAAO,CAAC,0BAA0B,CACrC,SAAS,EACT,SAAS,EACT,SAAS,EACT,oBAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,EAC9C,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,aAAa;oBACpC,CAAC,CAAC,oBAAO,CAAC,WAAW,CAAC,uBAAU,CAAC,aAAa,CAAC;oBAC/C,CAAC,CAAC,SAAS,EACf,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAA,yBAAS,EAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,oBAAO,CAAC,qBAAqB,CAAC,uBAAU,CAAC,UAAU,CAAC,EACzF,SAAS,CACZ,CAAA;YACL,CAAC,CAAC,CAAA;YAGF,cAAc,GAAG,WAAW,CAAC,IAAI,CAAA;YAEjC,IAAI,CAAC,cAAc,EAAE;gBAEjB,MAAM,SAAS,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,CAAA;gBAC7C,MAAM,aAAa,GAAG,SAAS,CAAC,aAAa,EAAE,CAAA;gBAC/C,MAAM,iBAAiB,GAAG,OAAO,CAAC,cAAc,CAC5C,aAAa,EACb,SAAS,EACT,6BAAgB,CAAC,YAAY,CAChC,CAAA;gBACD,cAAc,GAAG,iBAAiB,CAAA;aACrC;YAED,IAAA,qBAAa,EAAC,cAAc,EAAE,OAAO,EAAE,WAAW,CAAC,CAAA;YACnD,cAAc,GAAG,IAAA,yBAAS,EAAC,cAAc,CAAC,CAAA;SAC7C;aAAM;YAEH,cAAc,GAAG,oBAAO,CAAC,qBAAqB,CAAC;gBAC3C,oBAAO,CAAC,uBAAuB,CAC3B,SAAS,EACT,oBAAO,CAAC,gBAAgB,CAAC,OAAO,CAAC,EACjC,SAAS,EACT,oBAAO,CAAC,qBAAqB,CAAC,oBAAO,CAAC,UAAU,EAAE,CAAC,CACtD;aACJ,CAAC,CAAA;SACL;QACD,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC,CAAA;KACjE;AACL,CAAC;AAjED,oCAiEC"}
|
|
@@ -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","6e7146d5b44669f168a001ac90a9fe23877a07f0838e9d4183c76bda0b3195a2","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","4799f0dfb05e9296b965b4d70ed231037868dd3f51a571028368c7c024b62d6c","227e981a1823d7a2da07dda7eeebf42c40ecc0be02d0037a45c5d6d8745ab29a","6880e0628d351b6ef26c112dfe68f5c3bb63f734a18840453cc8143738df4b09","f8532bcb383eede3d8af37c4bdd0b11e8b2e712f08a38bc4ca24f4eb7e0c6df7","42ed35884f18aecce4be075969d87a1af9678150962e718456c480be163a7920","5640d684ded97c3c38a735e7782fdb41269ddc454124639453d67795abc828e5","5d380b2911511138a82eeb68ee59060c70637e266118eb8f7a24c01e0b93a108","9d50686bb1d14b6cd6cb2e90ea1af4d31ab341ec876084fbcd84f76a9254b98b","185ebb3f86b886a61b8ca023a62f33b8c6f26c3ed9aa7f28de7137ca124f976c","e11f898e3d7d90648534b4948f626e8175ff1a87ecfeff7d6189cf5908459071","9a535dc740f6346f1b4f02f13b60155c9280b12dc8c222376fa279bb85f020d8","d30310836b9a6740fbba57d9a44958ca6d9cd757093352c64c3cc83d0245105e","56abc8d229e09c13e28a6a1d6325f457842f3e73db1acf963e4fad2d765cc1f8","7ff5bf56634c720e1020fd14688c0e1f2dcf71ad93f9bad21c91b60cce75f06c","6e85db15a0c3807aa6d75472987e793269879de7286ffa56441be972a40d1ef7","645dee3a62cb0c82cd6d65a54296d35e9c7531c68014dadae81bcde23ee035d4","b5fe48d3a0c5ad0d3450513886a6d729d8d05038f42d2d75df536c0053421b9f","0dbc2d584abacf34ef5585a0de7f078435715c02ef35f068276c4c29c2a18fd8","237f8a1d06930f513eb7b74416391433786ed6b8e00106aa8b987f07d0c72574","595907d4dd8fec5036b68b70963900bff8088191a8c0f8ccaf876a50da6efde9","88d15604d39aacd3315e2c6467f2787eab52f6073404e8fa920eb21c061797a1","38fb1bdc8e08eda52f9291e67c30d5e526a3786c37e192f786423090d99a2dad","bae374c17de2a936df4fd9e68d55cf14b0eff7301e4306388618f929f5a4825e","a425af7d90db91e6b2851ef4649a24fa6f5881411e9388d4410b1a6e3fde2e7f","1f4afcf0ff54ea4494f68be70bd0ba58eda7a16830cccc72ac87dfa3262ac94f","16618a1f57f886ea2ba581bde464cd074ca11d518b4cc6a3a5902dcf5ec24d3d","ff975b363ac892f0508fbd187b765e49ab8c70ca093ee5b19b927b84137d34b7","4b093729b0d64f046a98d1b0d79ce9cb361ea8a32a87b86fe475eefabadad101","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","1db6491f25ced62f23f06d1f3700a790df0971726acb33669bbf4a8de2f769a9","9798edc93dd1a9556d5497c794d153c85a5694024bed9ebeaceceb7a4b321b05","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/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","6e7146d5b44669f168a001ac90a9fe23877a07f0838e9d4183c76bda0b3195a2","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","4799f0dfb05e9296b965b4d70ed231037868dd3f51a571028368c7c024b62d6c","227e981a1823d7a2da07dda7eeebf42c40ecc0be02d0037a45c5d6d8745ab29a","6880e0628d351b6ef26c112dfe68f5c3bb63f734a18840453cc8143738df4b09","f8532bcb383eede3d8af37c4bdd0b11e8b2e712f08a38bc4ca24f4eb7e0c6df7","42ed35884f18aecce4be075969d87a1af9678150962e718456c480be163a7920","3aed08da80d27ecb08edcb07cea22024c5fca79b78bc8a552face82c2fefb5bc","5d380b2911511138a82eeb68ee59060c70637e266118eb8f7a24c01e0b93a108","9d50686bb1d14b6cd6cb2e90ea1af4d31ab341ec876084fbcd84f76a9254b98b","185ebb3f86b886a61b8ca023a62f33b8c6f26c3ed9aa7f28de7137ca124f976c","e11f898e3d7d90648534b4948f626e8175ff1a87ecfeff7d6189cf5908459071","9a535dc740f6346f1b4f02f13b60155c9280b12dc8c222376fa279bb85f020d8","d30310836b9a6740fbba57d9a44958ca6d9cd757093352c64c3cc83d0245105e","56abc8d229e09c13e28a6a1d6325f457842f3e73db1acf963e4fad2d765cc1f8","7ff5bf56634c720e1020fd14688c0e1f2dcf71ad93f9bad21c91b60cce75f06c","6e85db15a0c3807aa6d75472987e793269879de7286ffa56441be972a40d1ef7","645dee3a62cb0c82cd6d65a54296d35e9c7531c68014dadae81bcde23ee035d4","b5fe48d3a0c5ad0d3450513886a6d729d8d05038f42d2d75df536c0053421b9f","0dbc2d584abacf34ef5585a0de7f078435715c02ef35f068276c4c29c2a18fd8","237f8a1d06930f513eb7b74416391433786ed6b8e00106aa8b987f07d0c72574","8a5f820ce206f1d9cd077cbd3d592cd7801905e4143b80afc1e4aecec7b9a467","88d15604d39aacd3315e2c6467f2787eab52f6073404e8fa920eb21c061797a1","38fb1bdc8e08eda52f9291e67c30d5e526a3786c37e192f786423090d99a2dad","bae374c17de2a936df4fd9e68d55cf14b0eff7301e4306388618f929f5a4825e","f41634b0d1cdf790612d1bd223bba91eaca6bdc5a225fd3a0e9a5d69d2260dd1","1f4afcf0ff54ea4494f68be70bd0ba58eda7a16830cccc72ac87dfa3262ac94f","16618a1f57f886ea2ba581bde464cd074ca11d518b4cc6a3a5902dcf5ec24d3d","ff975b363ac892f0508fbd187b765e49ab8c70ca093ee5b19b927b84137d34b7","4b093729b0d64f046a98d1b0d79ce9cb361ea8a32a87b86fe475eefabadad101","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","1db6491f25ced62f23f06d1f3700a790df0971726acb33669bbf4a8de2f769a9","9798edc93dd1a9556d5497c794d153c85a5694024bed9ebeaceceb7a4b321b05","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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kea-typegen",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.8",
|
|
4
4
|
"description": "Generate type definitions for kea logic",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "ts-node ./src/cli/typegen.ts",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"husky": ">=4",
|
|
43
43
|
"jest": "^27.0.5",
|
|
44
44
|
"kea": "^3.0.0-alpha.6",
|
|
45
|
+
"kea-router": "^3.0.0-alpha.0",
|
|
45
46
|
"lint-staged": ">=12.1.2",
|
|
46
47
|
"react": "^16.13.1",
|
|
47
48
|
"react-redux": "^7.2.6",
|
|
@@ -41,7 +41,6 @@ export const autoImportLogic = kea<autoImportLogicType<L1, L2, RandomAPI>>({
|
|
|
41
41
|
}),
|
|
42
42
|
complexAction: (element: HTMLElement, timeout: NodeJS.Timeout) => ({ element, timeout }),
|
|
43
43
|
combinedA6Action: (filter: A5) => ({ a6: filter.a6, bla: filter.bla }),
|
|
44
|
-
valueAction: [] as A7,
|
|
45
44
|
miscActionWithType: (
|
|
46
45
|
randomThing: ExportedApi.RandomThing,
|
|
47
46
|
): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Sat, 07 May 2022 14:22:09 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import { Logic } from 'kea'
|
|
4
4
|
|
|
@@ -50,12 +50,6 @@ export interface autoImportLogicType<L1, L2, RandomAPI> extends Logic {
|
|
|
50
50
|
bla: string
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
valueAction: () => {
|
|
54
|
-
type: 'value action (autoImportLogic)'
|
|
55
|
-
payload: {
|
|
56
|
-
value: A7
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
53
|
miscActionWithType: (randomThing: ExportedApi.RandomThing) => {
|
|
60
54
|
type: 'misc action with type (autoImportLogic)'
|
|
61
55
|
payload: {
|
|
@@ -91,7 +85,6 @@ export interface autoImportLogicType<L1, L2, RandomAPI> extends Logic {
|
|
|
91
85
|
'action a1 (autoImportLogic)': 'actionA1'
|
|
92
86
|
'complex action (autoImportLogic)': 'complexAction'
|
|
93
87
|
'combined a6 action (autoImportLogic)': 'combinedA6Action'
|
|
94
|
-
'value action (autoImportLogic)': 'valueAction'
|
|
95
88
|
'misc action with type (autoImportLogic)': 'miscActionWithType'
|
|
96
89
|
'misc action with type constants (autoImportLogic)': 'miscActionWithTypeConstants'
|
|
97
90
|
'misc action without type (autoImportLogic)': 'miscActionWithoutType'
|
|
@@ -102,7 +95,6 @@ export interface autoImportLogicType<L1, L2, RandomAPI> extends Logic {
|
|
|
102
95
|
actionA1: 'action a1 (autoImportLogic)'
|
|
103
96
|
complexAction: 'complex action (autoImportLogic)'
|
|
104
97
|
combinedA6Action: 'combined a6 action (autoImportLogic)'
|
|
105
|
-
valueAction: 'value action (autoImportLogic)'
|
|
106
98
|
miscActionWithType: 'misc action with type (autoImportLogic)'
|
|
107
99
|
miscActionWithTypeConstants: 'misc action with type constants (autoImportLogic)'
|
|
108
100
|
miscActionWithoutType: 'misc action without type (autoImportLogic)'
|
|
@@ -123,7 +115,6 @@ export interface autoImportLogicType<L1, L2, RandomAPI> extends Logic {
|
|
|
123
115
|
) => void
|
|
124
116
|
complexAction: (element: HTMLElement, timeout: NodeJS.Timeout) => void
|
|
125
117
|
combinedA6Action: (filter: A5) => void
|
|
126
|
-
valueAction: () => void
|
|
127
118
|
miscActionWithType: (randomThing: ExportedApi.RandomThing) => void
|
|
128
119
|
miscActionWithTypeConstants: () => void
|
|
129
120
|
miscActionWithoutType: (randomThing: ExportedApi.RandomThing) => void
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Sat, 07 May 2022 14:23:20 GMT. DO NOT EDIT THIS FILE MANUALLY.
|
|
2
2
|
|
|
3
3
|
import { Logic } from 'kea'
|
|
4
4
|
|
|
5
|
+
import { LocationChangedPayload } from '../node_modules/kea-router/lib/types.d'
|
|
6
|
+
|
|
5
7
|
export interface routerConnectLogicType extends Logic {
|
|
6
8
|
actionCreators: {
|
|
7
9
|
locationChanged: ({
|
|
@@ -12,16 +14,7 @@ export interface routerConnectLogicType extends Logic {
|
|
|
12
14
|
hash,
|
|
13
15
|
hashParams,
|
|
14
16
|
initial,
|
|
15
|
-
}: {
|
|
16
|
-
method: 'PUSH' | 'REPLACE' | 'POP'
|
|
17
|
-
pathname: string
|
|
18
|
-
search: string
|
|
19
|
-
searchParams: Record<string, any>
|
|
20
|
-
hash: string
|
|
21
|
-
hashParams: Record<string, any>
|
|
22
|
-
url: string
|
|
23
|
-
initial?: boolean
|
|
24
|
-
}) => {
|
|
17
|
+
}: LocationChangedPayload) => {
|
|
25
18
|
type: 'location changed (containers.pages.main)'
|
|
26
19
|
payload: {
|
|
27
20
|
method: 'PUSH' | 'REPLACE' | 'POP'
|
|
@@ -49,16 +42,7 @@ export interface routerConnectLogicType extends Logic {
|
|
|
49
42
|
hash,
|
|
50
43
|
hashParams,
|
|
51
44
|
initial,
|
|
52
|
-
}:
|
|
53
|
-
method: 'PUSH' | 'REPLACE' | 'POP'
|
|
54
|
-
pathname: string
|
|
55
|
-
search: string
|
|
56
|
-
searchParams: Record<string, any>
|
|
57
|
-
hash: string
|
|
58
|
-
hashParams: Record<string, any>
|
|
59
|
-
url: string
|
|
60
|
-
initial?: boolean
|
|
61
|
-
}) => void
|
|
45
|
+
}: LocationChangedPayload) => void
|
|
62
46
|
}
|
|
63
47
|
defaults: {}
|
|
64
48
|
events: {}
|
|
@@ -165,16 +165,10 @@ exports[`actions - with random values instead of functions 1`] = `
|
|
|
165
165
|
name: string;
|
|
166
166
|
};
|
|
167
167
|
});
|
|
168
|
-
|
|
169
|
-
type: \\"with
|
|
168
|
+
withTrue: () => ({
|
|
169
|
+
type: \\"with true (logic)\\";
|
|
170
170
|
payload: {
|
|
171
|
-
value:
|
|
172
|
-
};
|
|
173
|
-
});
|
|
174
|
-
withRandomPayload: () => ({
|
|
175
|
-
type: \\"with random payload (logic)\\";
|
|
176
|
-
payload: {
|
|
177
|
-
value: { bla: number; };
|
|
171
|
+
value: true;
|
|
178
172
|
};
|
|
179
173
|
});
|
|
180
174
|
};
|
|
@@ -182,22 +176,19 @@ exports[`actions - with random values instead of functions 1`] = `
|
|
|
182
176
|
\\"update name (logic)\\": \\"updateName\\";
|
|
183
177
|
\\"with default value (logic)\\": \\"withDefaultValue\\";
|
|
184
178
|
\\"with default value and type (logic)\\": \\"withDefaultValueAndType\\";
|
|
185
|
-
\\"with
|
|
186
|
-
\\"with random payload (logic)\\": \\"withRandomPayload\\";
|
|
179
|
+
\\"with true (logic)\\": \\"withTrue\\";
|
|
187
180
|
};
|
|
188
181
|
actionTypes: {
|
|
189
182
|
updateName: \\"update name (logic)\\";
|
|
190
183
|
withDefaultValue: \\"with default value (logic)\\";
|
|
191
184
|
withDefaultValueAndType: \\"with default value and type (logic)\\";
|
|
192
|
-
|
|
193
|
-
withRandomPayload: \\"with random payload (logic)\\";
|
|
185
|
+
withTrue: \\"with true (logic)\\";
|
|
194
186
|
};
|
|
195
187
|
actions: {
|
|
196
188
|
updateName: (name?: string) => void;
|
|
197
189
|
withDefaultValue: (name?: any) => void;
|
|
198
190
|
withDefaultValueAndType: (name?: string) => void;
|
|
199
|
-
|
|
200
|
-
withRandomPayload: () => void;
|
|
191
|
+
withTrue: () => void;
|
|
201
192
|
};
|
|
202
193
|
defaults: {};
|
|
203
194
|
events: {};
|
|
@@ -53,8 +53,7 @@ test('actions - with random values instead of functions', () => {
|
|
|
53
53
|
updateName: (name?: string) => ({ name }),
|
|
54
54
|
withDefaultValue: (name = "john") => ({ name }),
|
|
55
55
|
withDefaultValueAndType: (name: string = "john") => ({ name }),
|
|
56
|
-
|
|
57
|
-
withRandomPayload: { bla: 123 },
|
|
56
|
+
withTrue: true,
|
|
58
57
|
}
|
|
59
58
|
})
|
|
60
59
|
`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ParsedLogic } from '../types'
|
|
2
|
-
import { factory, isFunctionLike, isPropertyAssignment, Expression, SyntaxKind, Type } from 'typescript'
|
|
2
|
+
import { factory, isFunctionLike, isPropertyAssignment, Expression, SyntaxKind, Type, TrueLiteral } from 'typescript'
|
|
3
3
|
import { NodeBuilderFlags } from 'typescript'
|
|
4
4
|
import { cloneNode } from '@wessberg/ts-clone-node'
|
|
5
5
|
import { gatherImports } from '../utils'
|
|
@@ -58,10 +58,13 @@ export function visitActions(parsedLogic: ParsedLogic, type: Type, expression: E
|
|
|
58
58
|
returnTypeNode = cloneNode(returnTypeNode)
|
|
59
59
|
} else {
|
|
60
60
|
// action is a value (action: true)
|
|
61
|
-
const typeNode = checker.typeToTypeNode(type, undefined, undefined)
|
|
62
|
-
gatherImports(typeNode, checker, parsedLogic)
|
|
63
61
|
returnTypeNode = factory.createTypeLiteralNode([
|
|
64
|
-
factory.createPropertySignature(
|
|
62
|
+
factory.createPropertySignature(
|
|
63
|
+
undefined,
|
|
64
|
+
factory.createIdentifier('value'),
|
|
65
|
+
undefined,
|
|
66
|
+
factory.createLiteralTypeNode(factory.createTrue()),
|
|
67
|
+
),
|
|
65
68
|
])
|
|
66
69
|
}
|
|
67
70
|
parsedLogic.actions.push({ name, parameters, returnTypeNode })
|