kea-typegen 3.1.3 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/package.json +1 -1
  3. package/dist/src/cli/typegen.js +4 -0
  4. package/dist/src/cli/typegen.js.map +1 -1
  5. package/dist/src/print/print.js +2 -0
  6. package/dist/src/print/print.js.map +1 -1
  7. package/dist/src/print/printAsyncActions.d.ts +2 -0
  8. package/dist/src/print/printAsyncActions.js +15 -0
  9. package/dist/src/print/printAsyncActions.js.map +1 -0
  10. package/dist/src/typegen.js +2 -2
  11. package/dist/src/typegen.js.map +1 -1
  12. package/dist/src/types.d.ts +1 -0
  13. package/dist/tsconfig.tsbuildinfo +1 -1
  14. package/form-plugin/yarn.lock +3 -3
  15. package/package.json +1 -1
  16. package/samples/autoImportLogicType.ts +21 -1
  17. package/samples/builderLogicType.ts +6 -1
  18. package/samples/complexLogicType.ts +16 -1
  19. package/samples/githubConnectLogicType.ts +4 -1
  20. package/samples/githubImportLogicType.ts +2 -1
  21. package/samples/githubLogicType.ts +6 -1
  22. package/samples/githubType.ts +2 -1
  23. package/samples/loadersLogicType.ts +22 -1
  24. package/samples/logicType.ts +9 -1
  25. package/samples/pluginLogicType.ts +8 -1
  26. package/samples/propsLogicType.ts +5 -1
  27. package/samples/routerConnectLogicType.ts +12 -1
  28. package/samples/typed-builder/typedFormDemoLogicType.ts +4 -1
  29. package/samples/windowValuesLogicType.ts +2 -1
  30. package/src/__tests__/e2e/__snapshots__/actions.ts.snap +18 -0
  31. package/src/__tests__/e2e/__snapshots__/connect.ts.snap +15 -0
  32. package/src/__tests__/e2e/__snapshots__/loaders.ts.snap +20 -0
  33. package/src/__tests__/e2e/__snapshots__/reducers.ts.snap +15 -0
  34. package/src/__tests__/e2e/__snapshots__/selectors.ts.snap +12 -0
  35. package/src/cli/typegen.ts +6 -2
  36. package/src/print/print.ts +2 -0
  37. package/src/print/printAsyncActions.ts +24 -0
  38. package/src/typegen.ts +3 -8
  39. package/src/types.ts +2 -0
  40. package/samples/dist/tsconfig.tsbuildinfo +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.1.4 - 2022-11-16
2
+
3
+ - Add `--show-ts-errors`
1
4
 
2
5
  ## 3.1.2 - 2022-06-19
3
6
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kea-typegen",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "description": "Generate type definitions for kea logic",
5
5
  "scripts": {
6
6
  "start": "ts-node ./src/cli/typegen.ts",
@@ -40,6 +40,10 @@ yargs
40
40
  .option('ignore-import-paths', {
41
41
  describe: 'List of paths we will never import from inside logicType.ts files',
42
42
  type: 'array',
43
+ })
44
+ .option('show-ts-errors', {
45
+ describe: 'Show TypeScript errors',
46
+ type: 'boolean',
43
47
  })
44
48
  .option('verbose', { describe: 'Slightly more verbose output log', type: 'boolean' })
45
49
  .demandCommand()
@@ -1 +1 @@
1
- {"version":3,"file":"typegen.js","sourceRoot":"","sources":["../../../src/cli/typegen.ts"],"names":[],"mappings":";;;AAEA,iCAAgC;AAChC,+BAA8B;AAC9B,6BAA4B;AAC5B,yBAAwB;AAExB,wCAAuC;AAEvC,KAAK;KACA,OAAO,CACJ,OAAO,EACP,6BAA6B,EAC7B,CAAC,KAAK,EAAE,EAAE,GAAE,CAAC,EACb,CAAC,IAAI,EAAE,EAAE;IACL,IAAA,oBAAU,EAAC,EAAE,GAAG,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAA;AAC7F,CAAC,CACJ;KACA,OAAO,CACJ,OAAO,EACP,4BAA4B,EAC5B,CAAC,KAAK,EAAE,EAAE,GAAE,CAAC,EACb,CAAC,IAAI,EAAE,EAAE;IACL,IAAA,oBAAU,E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C,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAA;KAC7C;IAED,IAAI,CAAC,UAAU,CAAC,YAAY,EAAE;QAC1B,UAAU,CAAC,YAAY;YACnB,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,eAAe,CAAC;gBAC1E,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,eAAe,CAAC,CAAA;KAClE;IAED,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE;QAC7B,UAAU,CAAC,eAAe;YACtB,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,QAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,cAAc,CAAC;gBACzE,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,cAAc,CAAC,CAAA;KACjE;IAED,OAAO,UAAU,CAAA;AACrB,CAAC"}
@@ -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":"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,CAAC,EACxD,SAAS,EACT;QACI,oBAAO,CAAC,oBAAoB,CAAC,uBAAU,CAAC,cAAc,EAAE;YACpD,oBAAO,CAAC,iCAAiC,CAAC,oBAAO,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC;SAC1F,CAAC;KACL,EACD,MAAM,CAAC,OAAO,CAAC,qBAAqB,CAAC;SAChC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;SAC/B,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,EAAE,CACtB,oBAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE,oBAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,CAClG,CACR,CAAA;AACL,CAAC;AAnED,wCAmEC"}
@@ -0,0 +1,2 @@
1
+ import { AppOptions, ParsedLogic } from '../types';
2
+ export declare function printAsyncActions(parsedLogic: ParsedLogic, appOptions?: AppOptions): import("typescript").TypeLiteralNode;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__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"}
@@ -42,8 +42,8 @@ function runTypeGen(appOptions) {
42
42
  getNewLine: () => ts.sys.newLine,
43
43
  };
44
44
  function reportDiagnostic(diagnostic) {
45
- if (appOptions.verbose) {
46
- console.error('Error', diagnostic.code, ':', ts.flattenDiagnosticMessageText(diagnostic.messageText, formatHost.getNewLine()));
45
+ if (appOptions.verbose || appOptions.showTsErrors) {
46
+ log('💔 ' + ts.formatDiagnosticsWithColorAndContext([diagnostic], formatHost));
47
47
  }
48
48
  }
49
49
  function reportWatchStatusChanged(diagnostic) {
@@ -1 +1 @@
1
- {"version":3,"file":"typegen.js","sourceRoot":"","sources":["../../src/typegen.ts"],"names":[],"mappings":";;;AAAA,iCAAgC;AAChC,6BAA4B;AAC5B,yCAA4C;AAC5C,yCAA4C;AAG5C,kDAAy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EjF,IAAI,YAAY,KAAK,CAAC,IAAI,aAAa,KAAK,CAAC,EAAE;oBAC3C,GAAG,CAAC,qCAAqC,CAAC,CAAA;oBAC1C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,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"}
@@ -70,6 +70,7 @@ export interface AppOptions {
70
70
  writePaths?: boolean;
71
71
  addTsNocheck?: boolean;
72
72
  convertToBuilders?: boolean;
73
+ showTsErrors?: boolean;
73
74
  log: (message: string) => void;
74
75
  }
75
76
  export interface VisitKeaPropertyArguments {
@@ -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","b622c11667b66f7e64c2e2683a247bda1114e67d9ad67a2d8312e292be89c635","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","b81529f8231e2b127bf17b0bb3f5d8056402c2b461b5e905dad1681b52202c5e","88d15604d39aacd3315e2c6467f2787eab52f6073404e8fa920eb21c061797a1","38fb1bdc8e08eda52f9291e67c30d5e526a3786c37e192f786423090d99a2dad","bae374c17de2a936df4fd9e68d55cf14b0eff7301e4306388618f929f5a4825e","f41634b0d1cdf790612d1bd223bba91eaca6bdc5a225fd3a0e9a5d69d2260dd1","1f4afcf0ff54ea4494f68be70bd0ba58eda7a16830cccc72ac87dfa3262ac94f","16618a1f57f886ea2ba581bde464cd074ca11d518b4cc6a3a5902dcf5ec24d3d","ff975b363ac892f0508fbd187b765e49ab8c70ca093ee5b19b927b84137d34b7","4b093729b0d64f046a98d1b0d79ce9cb361ea8a32a87b86fe475eefabadad101","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","1db6491f25ced62f23f06d1f3700a790df0971726acb33669bbf4a8de2f769a9","31eb9d6f16db6498f36ec5c72b54266504fb4bd562c11d3435b11ce8da515c07","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","fbf85555828e1b40fcb36af88e8de4e777ae042f0cd120a4d04cd8f9f5534901","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":[[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"}
@@ -52,9 +52,9 @@
52
52
  integrity sha512-BnJcU0ZwHxa5runiEkHzMZ6/ydxz+YYqBHOGQtf3eoxSZu2iWMPPaUfCum0O1/Ey5dqrrptUh+HmyMTzHPfdPA==
53
53
 
54
54
  ansi-regex@^5.0.0:
55
- version "5.0.0"
56
- resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
57
- integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
55
+ version "5.0.1"
56
+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
57
+ integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
58
58
 
59
59
  ansi-styles@^4.0.0:
60
60
  version "4.3.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kea-typegen",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "description": "Generate type definitions for kea logic",
5
5
  "scripts": {
6
6
  "start": "ts-node ./src/cli/typegen.ts",
@@ -1,4 +1,4 @@
1
- // Generated by kea-typegen on Tue, 24 May 2022 07:12:30 GMT. DO NOT EDIT THIS FILE MANUALLY.
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 Mon, 23 May 2022 22:47:43 GMT. DO NOT EDIT THIS FILE MANUALLY.
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, 24 May 2022 08:21:46 GMT. DO NOT EDIT THIS FILE MANUALLY.
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 Mon, 23 May 2022 22:29:51 GMT. DO NOT EDIT THIS FILE MANUALLY.
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 Mon, 23 May 2022 22:47:43 GMT. DO NOT EDIT THIS FILE MANUALLY.
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 Mon, 23 May 2022 22:47:43 GMT. DO NOT EDIT THIS FILE MANUALLY.
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[]
@@ -1,4 +1,4 @@
1
- // Generated by kea-typegen on Mon, 23 May 2022 22:29:51 GMT. DO NOT EDIT THIS FILE MANUALLY.
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, 24 May 2022 07:09:47 GMT. DO NOT EDIT THIS FILE MANUALLY.
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
@@ -1,4 +1,4 @@
1
- // Generated by kea-typegen on Tue, 24 May 2022 07:06:40 GMT. DO NOT EDIT THIS FILE MANUALLY.
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 Mon, 23 May 2022 22:29:51 GMT. DO NOT EDIT THIS FILE MANUALLY.
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, 24 May 2022 07:12:07 GMT. DO NOT EDIT THIS FILE MANUALLY.
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, 24 May 2022 07:06:40 GMT. DO NOT EDIT THIS FILE MANUALLY.
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 Sun, 19 Jun 2022 18:43:07 GMT. DO NOT EDIT THIS FILE MANUALLY.
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, 24 May 2022 07:09:47 GMT. DO NOT EDIT THIS FILE MANUALLY.
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;
@@ -57,6 +57,10 @@ yargs
57
57
  describe: 'List of paths we will never import from inside logicType.ts files',
58
58
  type: 'array',
59
59
  })
60
+ .option('show-ts-errors', {
61
+ describe: 'Show TypeScript errors',
62
+ type: 'boolean',
63
+ })
60
64
  .option('verbose', { describe: 'Slightly more verbose output log', type: 'boolean' })
61
65
  .demandCommand()
62
66
  .help()
@@ -64,14 +68,14 @@ yargs
64
68
 
65
69
  function parsedToAppOptions(parsedOptions) {
66
70
  const { root, types, config, file, ...rest } = parsedOptions
67
- const appOptions = {
71
+ const appOptions: AppOptions = {
68
72
  rootPath: root,
69
73
  typesPath: types,
70
74
  tsConfigPath: config,
71
75
  sourceFilePath: file,
72
76
  ...rest,
73
77
  log: parsedOptions.quiet ? () => null : console.log.bind(console),
74
- } as AppOptions
78
+ }
75
79
 
76
80
  return appOptions
77
81
  }
@@ -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,7 +3,7 @@ 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 { Program } from 'typescript'
6
+ import { formatDiagnosticsWithColorAndContext, Program } from 'typescript'
7
7
  import { version } from '../package.json'
8
8
 
9
9
  export function runTypeGen(appOptions: AppOptions) {
@@ -59,13 +59,8 @@ export function runTypeGen(appOptions: AppOptions) {
59
59
  }
60
60
 
61
61
  function reportDiagnostic(diagnostic: ts.Diagnostic) {
62
- if (appOptions.verbose) {
63
- console.error(
64
- 'Error',
65
- diagnostic.code,
66
- ':',
67
- ts.flattenDiagnosticMessageText(diagnostic.messageText, formatHost.getNewLine()),
68
- )
62
+ if (appOptions.verbose || appOptions.showTsErrors) {
63
+ log('💔 ' + ts.formatDiagnosticsWithColorAndContext([diagnostic], formatHost))
69
64
  }
70
65
  }
71
66
 
package/src/types.ts CHANGED
@@ -76,6 +76,8 @@ export interface AppOptions {
76
76
  addTsNocheck?: boolean
77
77
  /** Convert kea 2.0 logic input to kea 3.0 builders */
78
78
  convertToBuilders?: boolean
79
+ /** Show TypeScript errors */
80
+ showTsErrors?: boolean
79
81
 
80
82
  log: (message: string) => void
81
83
  }
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../../../posthog/posthog/node_modules/typescript/lib/lib.es6.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es5.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2016.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2017.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2018.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.dom.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.scripthost.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../posthog/posthog/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/redux/index.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/@types/react/index.d.ts","../../node_modules/kea/lib/index.d.ts","../autoimporttypes.ts","../types.ts","../githublogic.ts","../loaderslogic.ts","../autoimportlogic.ts","../complexlogic.ts","../github.tsx","../githubconnectlogic.ts","../githubimportlogic.ts","../logic.ts","../propslogic.ts","../windowvalueslogic.ts","../../node_modules/jest-diff/build/cleanupsemantic.d.ts","../../node_modules/jest-diff/build/types.d.ts","../../node_modules/jest-diff/build/difflines.d.ts","../../node_modules/jest-diff/build/printdiffs.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/pretty-format/build/types.d.ts","../../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":["721cec59c3fef87aaf480047d821fb758b3ec9482c4129a54631e6e25e432a31",{"version":"ac3a8c4040e183ce38da69d23b96939112457d1936198e6542672b7963cf0fce","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"1dad4fe1561d99dfd6709127608b99a76e5c2643626c800434f99c48038567ee","affectsGlobalScope":true},{"version":"a8fe23ae87c3e9d2877032cafeb290f2ebe0c51e216d175a0408b10915ebe9f0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"cce43d02223f8049864f8568bed322c39424013275cd3bcc3f51492d8b546cb3","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"8dff1b4c2df638fcd976cbb0e636f23ab5968e836cd45084cc31d47d1ab19c49","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"8f4c9f651c8294a2eb1cbd12581fe25bfb901ab1d474bb93cd38c7e2f4be7a30","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":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"60761e6ea886034af0f294f025a7199360ce4e2c8ba4ec6408bc049cf9b89799","affectsGlobalScope":true},{"version":"506b80b9951c9381dc5f11897b31fca5e2a65731d96ddefa19687fbc26b23c6e","affectsGlobalScope":true},{"version":"d530250769a14518ebd6edda5b5f94abaaf3b9f612363c0da32082fa6acd0da8","affectsGlobalScope":true},{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"4ee363f83d7be2202f34fcd84c44da71bf3a9329fee8a05f976f75083a52ea94","a7e32dcb90bf0c1b7a1e4ac89b0f7747cbcba25e7beddc1ebf17be1e161842ad","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"5d708266116e778d6a4140fca2ac36f71d99b4c68bc3be63a45ba8bf5ade5348","affectsGlobalScope":true},"cbd220e9a6a368544339d1f04b012496255e8c2b8c53ea02e944ed6e31784cb1","92b35501f61bcef2a8174893b5f284c2200b9167d41544c184eaa4f228e94975","d1c1ea955f446a5a567a5038b96e7ac45fd4500cdf4151ab85d7d5b4c655ecb4","7e290610a1203c319d62c74ec86f31aa14d5d09ab8873549a1d54dbdb7f44ea8","99839823ddd42d253e31995b9aa5ab0fe61e17879d6b1251e9a6db8016b29f18","0247741d64b9ad435d8fd290d10256b75d665b58acb54253b6a75d303078ea09","8b8bd8a596b64c35e0905fb50490bcca343a283ea443221962e33d9e14d99c82","2d8d7a19f00103fc8b9044b1e73e823f206907aa1d3c61ca2c539e5417505a23","ab6919028d2bcac17bc3dfd0cae1ec4d6c41be76e890df42239cff91301da3d7","6c2ae1ac5bf68314dc850cf2294d55f897d137760bd898b5d2f9d4a6da020fea","2a3b25ad068fe62fa7338c4206b37f6e987d78e0f28d599fbeabc6a2c15b4eb8","da6b2b783d41122efe29a24492e01f92b035024a3030a8be091ad15c03df9459","8ddcf6f57b17e0f692433dea893be5519e840d6a526b5e431b49b2d24f971c21","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,"jsx":2,"module":1,"outDir":"./","removeComments":true,"sourceMap":true,"target":2},"fileIdsList":[[56,58],[104],[61],[103,104],[62],[63,71,72,79,88],[63,64,71,79],[95],[66,67,72,80],[67,88],[68,69,71,79],[69],[70,71],[71],[71,72,73,88,94],[72,73],[74,79,88,94],[71,72,74,75,79,88,91,94],[74,76,91,94],[105],[71,77],[78,94],[69,71,79,88],[80],[81],[61,82],[93],[84],[85],[71,86],[86,87,95,97],[71,88],[89],[90],[79,91],[92],[60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],[100,101,102],[79,93],[85,94],[88,96],[97],[102],[71,73,88,94,97,98],[88,99],[52,53],[52,53,54,55],[33,38],[57],[39,40,42,43],[39],[38,39,42],[39,42],[39,41,42],[39,41],[34,35,36,37]],"referencedMap":[[59,1],[104,2],[61,3],[105,4],[62,5],[63,6],[64,7],[65,8],[66,9],[67,10],[68,11],[69,12],[70,13],[71,14],[72,15],[73,16],[74,17],[75,18],[76,19],[106,20],[77,21],[78,22],[79,23],[80,24],[81,25],[82,26],[83,27],[84,28],[85,29],[86,30],[87,31],[88,32],[89,33],[90,34],[91,35],[92,36],[100,37],[103,38],[93,39],[94,40],[95,8],[96,41],[97,42],[102,43],[98,44],[99,45],[54,46],[56,47],[55,46],[39,48],[58,49],[44,50],[45,51],[46,52],[47,53],[48,54],[42,55],[43,55],[49,53],[50,51],[51,51],[38,56]],"exportedModulesMap":[[59,1],[104,2],[61,3],[105,4],[62,5],[63,6],[64,7],[65,8],[66,9],[67,10],[68,11],[69,12],[70,13],[71,14],[72,15],[73,16],[74,17],[75,18],[76,19],[106,20],[77,21],[78,22],[79,23],[80,24],[81,25],[82,26],[83,27],[84,28],[85,29],[86,30],[87,31],[88,32],[89,33],[90,34],[91,35],[92,36],[100,37],[103,38],[93,39],[94,40],[95,8],[96,41],[97,42],[102,43],[98,44],[99,45],[54,46],[56,47],[55,46],[39,48],[58,49],[44,50],[45,51],[46,52],[47,53],[48,54],[42,55],[43,55],[49,53],[50,51],[51,51],[38,56]],"semanticDiagnosticsPerFile":[59,104,61,105,62,63,64,65,66,67,68,69,70,71,72,73,60,101,74,75,76,106,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,100,103,93,94,95,96,97,102,98,99,52,54,56,55,53,[39,[{"file":"../../node_modules/kea/lib/index.d.ts","start":102,"length":5,"messageText":"Module '\"/Users/marius/Projects/Kea/node_modules/@types/react/index\"' can only be default-imported using the 'esModuleInterop' flag","category":1,"code":1259,"relatedInformation":[{"file":"../../../node_modules/@types/react/index.d.ts","start":2991,"length":15,"messageText":"This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.","category":1,"code":2594}]}]],58,57,[44,[{"file":"../autoimportlogic.ts","start":74,"length":23,"messageText":"Cannot find module './autoImportLogicType' or its corresponding type declarations.","category":1,"code":2307}]],40,[45,[{"file":"../complexlogic.ts","start":59,"length":20,"messageText":"Cannot find module './complexLogicType' or its corresponding type declarations.","category":1,"code":2307}]],46,[47,[{"file":"../githubconnectlogic.ts","start":110,"length":26,"messageText":"Cannot find module './githubConnectLogicType' or its corresponding type declarations.","category":1,"code":2307}]],[48,[{"file":"../githubimportlogic.ts","start":109,"length":25,"messageText":"Cannot find module './githubImportLogicType' or its corresponding type declarations.","category":1,"code":2307}]],[42,[{"file":"../githublogic.ts","start":58,"length":19,"messageText":"Cannot find module './githubLogicType' or its corresponding type declarations.","category":1,"code":2307}]],[43,[{"file":"../loaderslogic.ts","start":59,"length":20,"messageText":"Cannot find module './loadersLogicType' or its corresponding type declarations.","category":1,"code":2307}]],[49,[{"file":"../logic.ts","start":63,"length":13,"messageText":"Cannot find module './logicType' or its corresponding type declarations.","category":1,"code":2307}]],[50,[{"file":"../propslogic.ts","start":57,"length":18,"messageText":"Cannot find module './propsLogicType' or its corresponding type declarations.","category":1,"code":2307}]],41,[51,[{"file":"../windowvalueslogic.ts","start":61,"length":25,"messageText":"Cannot find module './windowValuesLogicType' or its corresponding type declarations.","category":1,"code":2307}]],36,34,38,37,35,33,7,8,12,11,3,13,14,15,16,17,18,19,20,4,5,24,21,22,23,25,26,27,6,28,29,30,31,2,1,32,10,9],"affectedFilesPendingEmit":[[59,1],[104,1],[61,1],[105,1],[62,1],[63,1],[64,1],[65,1],[66,1],[67,1],[68,1],[69,1],[70,1],[71,1],[72,1],[73,1],[60,1],[101,1],[74,1],[75,1],[76,1],[106,1],[77,1],[78,1],[79,1],[80,1],[81,1],[82,1],[83,1],[84,1],[85,1],[86,1],[87,1],[88,1],[89,1],[90,1],[91,1],[92,1],[100,1],[103,1],[93,1],[94,1],[95,1],[96,1],[97,1],[102,1],[98,1],[99,1],[52,1],[54,1],[56,1],[55,1],[53,1],[39,1],[58,1],[57,1],[44,1],[40,1],[45,1],[46,1],[47,1],[48,1],[42,1],[43,1],[49,1],[50,1],[41,1],[51,1],[36,1],[34,1],[38,1],[37,1],[35,1],[33,1],[3,1],[4,1],[5,1],[6,1],[1,1]]},"version":"4.3.2"}