kea-typegen 3.1.1 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/package.json +1 -1
- package/dist/src/cli/typegen.js +4 -0
- package/dist/src/cli/typegen.js.map +1 -1
- package/dist/src/print/print.js +41 -34
- package/dist/src/print/print.js.map +1 -1
- package/dist/src/typegen.js +2 -2
- package/dist/src/typegen.js.map +1 -1
- package/dist/src/types.d.ts +3 -1
- package/dist/src/visit/visit.js +6 -2
- package/dist/src/visit/visit.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/form-plugin/package.json +1 -1
- package/form-plugin/yarn.lock +3 -3
- package/package.json +1 -1
- package/samples/typed-builder/typedForm.typegen.ts +10 -0
- package/samples/typed-builder/typedFormDemoLogicType.ts +4 -1
- package/src/cli/typegen.ts +6 -2
- package/src/print/print.ts +51 -43
- package/src/typegen.ts +3 -8
- package/src/types.ts +4 -1
- package/src/visit/visit.ts +6 -2
- package/samples/dist/tsconfig.tsbuildinfo +0 -1
package/CHANGELOG.md
CHANGED
package/dist/package.json
CHANGED
package/dist/src/cli/typegen.js
CHANGED
|
@@ -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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
194
194
|
}
|
|
195
195
|
exports.parsedLogicToTypeString = parsedLogicToTypeString;
|
|
196
196
|
function printLogicType(parsedLogic, appOptions) {
|
|
197
|
-
const printProperty = (name, typeNode) => typescript_1.factory.createPropertySignature(undefined, typescript_1.factory.createIdentifier(name), undefined, typeNode);
|
|
198
197
|
const addSelectorTypeHelp = parsedLogic.selectors.filter((s) => s.functionTypes.length > 0).length > 0;
|
|
199
|
-
const logicProperties =
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
198
|
+
const logicProperties = {
|
|
199
|
+
actionCreators: (0, printActionCreators_1.printActionCreators)(parsedLogic, appOptions),
|
|
200
|
+
actionKeys: (0, printActionKeys_1.printActionKeys)(parsedLogic, appOptions),
|
|
201
|
+
actionTypes: (0, printActionTypes_1.printActionTypes)(parsedLogic, appOptions),
|
|
202
|
+
actions: (0, printActions_1.printActions)(parsedLogic, appOptions),
|
|
203
|
+
defaults: (0, printDefaults_1.printDefaults)(parsedLogic),
|
|
204
|
+
events: (0, printEvents_1.printEvents)(parsedLogic),
|
|
205
|
+
key: (0, printKey_1.printKey)(parsedLogic),
|
|
206
|
+
listeners: (0, printListeners_1.printListeners)(parsedLogic),
|
|
207
|
+
path: typescript_1.factory.createTupleTypeNode(parsedLogic.path.map((p) => typescript_1.factory.createLiteralTypeNode(typescript_1.factory.createStringLiteral(p)))),
|
|
208
|
+
pathString: typescript_1.factory.createLiteralTypeNode(typescript_1.factory.createStringLiteral(parsedLogic.pathString)),
|
|
209
|
+
props: (0, printProps_1.printProps)(parsedLogic),
|
|
210
|
+
reducer: (0, printReducer_1.printReducer)(parsedLogic),
|
|
211
|
+
reducers: (0, printReducers_1.printReducers)(parsedLogic),
|
|
212
|
+
selector: (0, printSelector_1.printSelector)(parsedLogic),
|
|
213
|
+
selectors: (0, printSelectors_1.printSelectors)(parsedLogic),
|
|
214
|
+
sharedListeners: (0, printSharedListeners_1.printSharedListeners)(parsedLogic),
|
|
215
|
+
values: (0, printValues_1.printValues)(parsedLogic),
|
|
216
|
+
};
|
|
217
|
+
for (const [name, typeNode] of Object.entries(parsedLogic.extraLogicFields)) {
|
|
218
|
+
if (name in logicProperties) {
|
|
219
|
+
console.error(`❗ Can not add extra logic field ${name} because this field is already in the logic.`);
|
|
220
|
+
}
|
|
221
|
+
else {
|
|
222
|
+
logicProperties[name] = typeNode;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
const logicMetaProperties = {
|
|
226
|
+
_isKea: typescript_1.factory.createLiteralTypeNode(typescript_1.factory.createTrue()),
|
|
227
|
+
_isKeaWithKey: typescript_1.factory.createLiteralTypeNode(parsedLogic.keyType ? typescript_1.factory.createTrue() : typescript_1.factory.createFalse()),
|
|
228
|
+
__keaTypeGenInternalSelectorTypes: addSelectorTypeHelp ? (0, printInternalSelectorTypes_1.printInternalSelectorTypes)(parsedLogic) : null,
|
|
229
|
+
__keaTypeGenInternalReducerActions: Object.keys(parsedLogic.extraActions).length > 0 ? (0, printInternalReducerActions_1.printInternalReducerActions)(parsedLogic) : null,
|
|
230
|
+
__keaTypeGenInternalExtraInput: Object.keys(parsedLogic.extraInput).length > 0 ? (0, printInternalExtraInput_1.printInternalExtraInput)(parsedLogic) : null,
|
|
231
|
+
};
|
|
232
|
+
const sortedLogicProperties = {
|
|
233
|
+
...Object.fromEntries(Object.entries(logicProperties).sort((a, b) => (a[0] === b[0] ? 0 : a[0] < b[0] ? -1 : 1))),
|
|
234
|
+
...logicMetaProperties,
|
|
235
|
+
};
|
|
229
236
|
parsedLogic.interfaceDeclaration = typescript_1.factory.createInterfaceDeclaration(undefined, [typescript_1.factory.createModifier(typescript_1.SyntaxKind.ExportKeyword)], typescript_1.factory.createIdentifier(`${parsedLogic.logicName}Type`), undefined, [
|
|
230
237
|
typescript_1.factory.createHeritageClause(typescript_1.SyntaxKind.ExtendsKeyword, [
|
|
231
238
|
typescript_1.factory.createExpressionWithTypeArguments(typescript_1.factory.createIdentifier('Logic'), undefined),
|
|
232
239
|
]),
|
|
233
|
-
],
|
|
240
|
+
], Object.entries(sortedLogicProperties)
|
|
241
|
+
.filter(([_, value]) => !!value)
|
|
242
|
+
.map(([name, typeNode]) => typescript_1.factory.createPropertySignature(undefined, typescript_1.factory.createIdentifier(name), undefined, typeNode)));
|
|
234
243
|
}
|
|
235
244
|
exports.printLogicType = printLogicType;
|
|
236
|
-
let i = 0;
|
|
237
|
-
const smiles = ['/', ']', '[', ')', '(', '\\', 'D', '|', 'O'];
|
|
238
245
|
//# sourceMappingURL=print.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print.js","sourceRoot":"","sources":["../../../src/print/print.ts"],"names":[],"mappings":";;;AAAA,2CAYmB;AACnB,yBAAwB;AACxB,6BAA4B;AAC5B,qCAAoC;AAGpC,iDAA6C;AAC7C,mDAA+C;AAC/C,iDAA6C;AAC7C,mDAA+C;AAC/C,qDAAiD;AACjD,+CAA2C;AAC3C,6EAAyE;AACzE,uDAAmD;AACnD,yDAAqD;AACrD,+EAA2E;AAC3E,+DAA2D;AAC3D,6CAAyC;AACzC,yCAAqC;AACrC,mDAA+C;AAC/C,+CAA2C;AAC3C,iEAA6D;AAC7D,qDAAiD;AACjD,oDAAgD;AAChD,gEAA4D;AAC5D,uEAAmE;AACnE,kEAA8D;AAE9D,SAAgB,kBAAkB,CAAC,UAAkB,EAAE,QAAgB;IACnE,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,C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CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC7F;QACD,GAAG,mBAAmB;KACzB,CAAA;IAED,WAAW,CAAC,oBAAoB,GAAG,oBAAO,CAAC,0BAA0B,CACjE,SAAS,EACT,CAAC,oBAAO,CAAC,cAAc,CAAC,uBAAU,CAAC,aAAa,CAAC,CAAC,EAClD,oBAAO,CAAC,gBAAgB,CAAC,GAAG,WAAW,CAAC,SAAS,MAAM,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;AAlED,wCAkEC"}
|
package/dist/src/typegen.js
CHANGED
|
@@ -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
|
-
|
|
45
|
+
if (appOptions.verbose || appOptions.showTsErrors) {
|
|
46
|
+
log('💔 ' + ts.formatDiagnosticsWithColorAndContext([diagnostic], formatHost));
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
function reportWatchStatusChanged(diagnostic) {
|
package/dist/src/typegen.js.map
CHANGED
|
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,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"}
|
package/dist/src/types.d.ts
CHANGED
|
@@ -41,15 +41,16 @@ export interface ParsedLogic {
|
|
|
41
41
|
selectors: SelectorTransform[];
|
|
42
42
|
listeners: ListenerTransform[];
|
|
43
43
|
sharedListeners: ListenerTransform[];
|
|
44
|
-
extraActions: Record<string, ts.TypeNode>;
|
|
45
44
|
propsType?: ts.TypeNode;
|
|
46
45
|
keyType?: ts.TypeNode;
|
|
47
46
|
typeReferencesToImportFromFiles: Record<string, Set<string>>;
|
|
48
47
|
interfaceDeclaration?: ts.InterfaceDeclaration;
|
|
48
|
+
extraActions: Record<string, ts.TypeNode>;
|
|
49
49
|
extraInput: Record<string, {
|
|
50
50
|
typeNode: ts.TypeNode;
|
|
51
51
|
withLogicFunction: boolean;
|
|
52
52
|
}>;
|
|
53
|
+
extraLogicFields: Record<string, ts.TypeNode>;
|
|
53
54
|
importFromKeaInLogicType: Set<string>;
|
|
54
55
|
inputBuilderArray: boolean;
|
|
55
56
|
}
|
|
@@ -69,6 +70,7 @@ export interface AppOptions {
|
|
|
69
70
|
writePaths?: boolean;
|
|
70
71
|
addTsNocheck?: boolean;
|
|
71
72
|
convertToBuilders?: boolean;
|
|
73
|
+
showTsErrors?: boolean;
|
|
72
74
|
log: (message: string) => void;
|
|
73
75
|
}
|
|
74
76
|
export interface VisitKeaPropertyArguments {
|
package/dist/src/visit/visit.js
CHANGED
|
@@ -169,7 +169,6 @@ function visitKeaCalls(checker, parsedLogics, sourceFile, appOptions, pluginModu
|
|
|
169
169
|
listeners: [],
|
|
170
170
|
sharedListeners: [],
|
|
171
171
|
events: {},
|
|
172
|
-
extraActions: {},
|
|
173
172
|
keyType: undefined,
|
|
174
173
|
propsType: undefined,
|
|
175
174
|
path: pathString.split('.'),
|
|
@@ -177,7 +176,9 @@ function visitKeaCalls(checker, parsedLogics, sourceFile, appOptions, pluginModu
|
|
|
177
176
|
hasKeyInLogic: false,
|
|
178
177
|
hasPathInLogic: false,
|
|
179
178
|
typeReferencesToImportFromFiles: {},
|
|
179
|
+
extraActions: {},
|
|
180
180
|
extraInput: {},
|
|
181
|
+
extraLogicFields: {},
|
|
181
182
|
importFromKeaInLogicType: new Set([]),
|
|
182
183
|
inputBuilderArray: ts.isArrayLiteralExpression(input),
|
|
183
184
|
};
|
|
@@ -226,7 +227,10 @@ function visitKeaCalls(checker, parsedLogics, sourceFile, appOptions, pluginModu
|
|
|
226
227
|
break declarations;
|
|
227
228
|
}
|
|
228
229
|
const folder = path.dirname(filename);
|
|
229
|
-
|
|
230
|
+
let fileNoExt = path.basename(filename, path.extname(filename));
|
|
231
|
+
if (fileNoExt.endsWith('.d')) {
|
|
232
|
+
fileNoExt = fileNoExt.slice(0, -2);
|
|
233
|
+
}
|
|
230
234
|
const pathsToTry = [
|
|
231
235
|
'typegen.js',
|
|
232
236
|
'typegen.ts',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visit.js","sourceRoot":"","sources":["../../../src/visit/visit.ts"],"names":[],"mappings":";;;AAAA,iCAAgC;AAChC,6BAA4B;AAE5B,oCAOiB;AACjB,iDAA6C;AAC7C,mDAA+C;AAC/C,qDAAiD;AACjD,iDAA6C;AAC7C,iDAA6C;AAC7C,2DAAuD;AACvD,6CAAyC;AACzC,yCAAqC;AACrC,2CAAuC;AACvC,qDAAiD;AACjD,+CAA2C;AAC3C,mDAA+C;AAC/C,iEAA6D;AAC7D,2DAAmD;AAEnD,MAAM,cAAc,GAAG;IACnB,OAAO,EAAE,2BAAY;IACrB,OAAO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;YAED,KAAK,MAAM,YAAY,IAAI,YAAY,EAAE;gBACrC,IAAI;oBACA,MAAA,YAAY,CAAC,WAAW,6DAAG,yBAAyB,CAAC,CAAA;iBACxD;gBAAC,OAAO,CAAC,EAAE;oBACR,OAAO,CAAC,KAAK,CACT,+CAA+C,YAAY,CAAC,IAAI,MAAM,YAAY,CAAC,IAAI,GAAG,CAC7F,CAAA;oBACD,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;iBACnB;aACJ;YAED,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC3B,KAAK,MAAM,YAAY,IAAI,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE;oBACrD,IAAI;wBACA,MAAA,YAAY,CAAC,gBAAgB,6DAAG,yBAAyB,CAAC,CAAA;qBAC7D;oBAAC,OAAO,CAAC,EAAE;wBACR,OAAO,CAAC,KAAK,CACT,oDAAoD,YAAY,CAAC,IAAI,MAAM,YAAY,CAAC,IAAI,GAAG,CAClG,CAAA;wBACD,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;qBACnB;iBACJ;aACJ;SACJ;QACD,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;IAClC,CAAC,CAAA;AACL,CAAC;AAjQD,sCAiQC"}
|
|
@@ -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","bbb5cf285c870cdef7fc29d15bc02ac1504e691fde66cf0e41ed8dfa130153fc","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","feef9a873fcd89d938c957e0965a62f706ac1c44a28d9ae64bf18aaead69676a","8e4809dc6d974681adad17f1e82ecdfe553bcc9619dbcda578c351b60e47f8e7","3aed08da80d27ecb08edcb07cea22024c5fca79b78bc8a552face82c2fefb5bc","5d380b2911511138a82eeb68ee59060c70637e266118eb8f7a24c01e0b93a108","9d50686bb1d14b6cd6cb2e90ea1af4d31ab341ec876084fbcd84f76a9254b98b","185ebb3f86b886a61b8ca023a62f33b8c6f26c3ed9aa7f28de7137ca124f976c","f786f8e1ee52893269c0aa8dcf8b2a4e9a1ee40b23e09e45586dd9e7fd3d302a","9a535dc740f6346f1b4f02f13b60155c9280b12dc8c222376fa279bb85f020d8","d30310836b9a6740fbba57d9a44958ca6d9cd757093352c64c3cc83d0245105e","56abc8d229e09c13e28a6a1d6325f457842f3e73db1acf963e4fad2d765cc1f8","7ff5bf56634c720e1020fd14688c0e1f2dcf71ad93f9bad21c91b60cce75f06c","6e85db15a0c3807aa6d75472987e793269879de7286ffa56441be972a40d1ef7","645dee3a62cb0c82cd6d65a54296d35e9c7531c68014dadae81bcde23ee035d4","b5fe48d3a0c5ad0d3450513886a6d729d8d05038f42d2d75df536c0053421b9f","0dbc2d584abacf34ef5585a0de7f078435715c02ef35f068276c4c29c2a18fd8","9e862406597cca99e8cccdc374a633f487e2c9307c7c104cd82b28c858ab2a06","f84e6d2747475d7d08bf80c588e32bddff89957fc9ec3fe1f480ae43cf9e7ed5","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/printreducers.ts","../src/print/printreducer.ts","../src/print/printselector.ts","../src/print/printselectors.ts","../src/print/printvalues.ts","../src/print/printinternalselectortypes.ts","../src/print/printactionkeys.ts","../src/print/printactiontypes.ts","../src/print/printinternalreduceractions.ts","../src/print/printactioncreators.ts","../src/print/printprops.ts","../src/print/printkey.ts","../src/print/printdefaults.ts","../src/print/printevents.ts","../src/print/printsharedlisteners.ts","../src/print/printlisteners.ts","../node_modules/ast-types/types.d.ts","../node_modules/ast-types/gen/namedtypes.d.ts","../node_modules/ast-types/gen/kinds.d.ts","../node_modules/ast-types/gen/builders.d.ts","../node_modules/ast-types/lib/types.d.ts","../node_modules/ast-types/lib/path.d.ts","../node_modules/ast-types/lib/scope.d.ts","../node_modules/ast-types/lib/node-path.d.ts","../node_modules/ast-types/lib/path-visitor.d.ts","../node_modules/ast-types/gen/visitor.d.ts","../node_modules/ast-types/main.d.ts","../node_modules/recast/lib/options.d.ts","../node_modules/recast/lib/parser.d.ts","../node_modules/recast/lib/printer.d.ts","../node_modules/recast/main.d.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../src/write/utils.ts","../src/write/writepaths.ts","../src/write/writetypeimports.ts","../src/print/printinternalextrainput.ts","../src/write/converttobuilders.ts","../src/print/print.ts","../src/utils.ts","../src/visit/visitactions.ts","../src/visit/visitreducers.ts","../src/visit/visitselectors.ts","../src/visit/visitloaders.ts","../src/visit/visitconnect.ts","../src/visit/visitwindowvalues.ts","../src/visit/visitprops.ts","../src/visit/visitkey.ts","../src/visit/visitpath.ts","../src/visit/visitlisteners.ts","../src/visit/visitevents.ts","../src/visit/visitdefaults.ts","../src/visit/visitsharedlisteners.ts","../src/visit/visit.ts","../package.json","../src/typegen.ts","../src/index.ts","../src/__tests__/utils.ts","../src/__tests__/e2e/actions.ts","../src/__tests__/e2e/connect.ts","../src/__tests__/e2e/loaders.ts","../src/__tests__/e2e/reducers.ts","../src/__tests__/e2e/selectors.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts","../src/cli/typegen.ts","../src/visit/__tests__/visit.ts","../node_modules/@types/jest/node_modules/jest-diff/build/cleanupsemantic.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/difflines.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/printdiffs.d.ts","../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/ts3.4/base.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/ts3.6/base.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/base.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f","ba00bb2ada9a5b7e0ab18c7282c0161f5af809112e4439b35c8b3853f7d436a7","e2dc8b431b672ccec6da32acb17475cc7d5a3ad121667ef5723231b39808ab11","3b3089d5b5a904803cab9e34978d5eaf1a87833ca0849f0c908f5a6e80b19729","74940ccce687ffb55f99053deb278496e43ffd51020f6e81a8be80545f6bd7ec","7a79f57af2b26a8f058d23809ba32d2e6982da9e608fc3210e1b262d70d36c03","220ff3a2b9c22b04a1b5ce2a183822123d993ff9ea3fd0e25cec1d93d2782106","51dce17da955cd96ff6cd305a0465e036bb8787986f73dc2d533d8e4f2990ff9","9161cfb265d1f6d2a4e54b53799eb92aad6482d7d06c14787f9433dba9293b45","fdaed54c27c178a95076ef75557da664cf4f9e30aac087f6d32cc903410f0511","cbc41122e6d975ce71a7f3329b7d337a33d68bd79e0773bcabc58850daaf3990","743bd3264dae16734d728b52942e22c7474082156cf08bea042c83fe8e683090","bbba0f78e0b7c4c4b62cf0810fff2b774225ba71c1f6f08ff1fd6928c1fad611","4081e497d4e1be2671976aea943a34daafe4ca285b92550defea3f6c5e6e8965","6012f213231f72f4c06092717fc40f9fa8f514c5e583b27550c3fe1441fb330e","8b0d0aa18240c76425f8ae474926c9fd65a3ac3264111991653aec7eb47c4b30","66da834d094272008b62b0c49fa1d69ce290800ead4fa92d251137444a6f78c7","5c7dafd1da3c737c4f1b95572e5e0de3fa88b6529642f7bb705da39358c52635","26927331a447d6d14dfa26f55bf8ddefe1f5b62ad067ea0b31d1a681596c059d","76e655dfdf12ba56ef51a07dda9c49fce0cfff9ca749f91fee171b45dc390987","cb54e8c23569192f603de50e37d1effe050832884cfc4ca7b207eaa6eea034c4","9c40547f97a80e178bab74cc17ce02c956b80887e80994222e46fcafbda2fc98","cc2dc362fc50995684e9f7e9b38ad9bdf19e74919294a694cbc05392352cad7d","abef3012ae70d98baa449664e9dda50c96fc68b0fd11a592d6590d85bb89cd10","456e83839c811cedebb65c8b05027120336b3bd6920259817d728ffc52d41e2f","ea79d9641e700b2b4a04a857ed1ef692c4caf988017fbabd64c4111f7c287673","0a90b9435b81f45b88c5fb8d30e85b77d3508eb0760dc40b9fb825fd29f92375","8cd7362102d928e21b291a013f80fc68a038d4506d26ea9948c676e3fa1110d9","90f6830fb380f4d2b69df018343ae80ce92991e85a0d7be8d214c643b39d1175","1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","6a8d6deca8ec4250630fea4e5f23bd9bf0face98739ccd22e08a17173117155b","a1d51fd5a8f9c1c038799a43c038397ca3ed99ee73cc0b0aada897e7cc8aca91","6c9708ae545db5f8deb8ef774d412fd1b46adade794664d7c6cfd0a1f6dfd64f","9d14fcf0b69094271127c7b6acb36987be5d1bffa4eb948359549f040fb50349","e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","1147c3efa5a256bcd6a3d2cfaf764185b7120bf985f8412d9bae596a0348f77b","e1d0b45d2995163faae5784de982d49be585d0f77073ec4567850e2feb20e880","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","cc0e8c69a59c7e4e15bd28e1eebe9a660c47c202e298cb20a93285368051193f","98c2e3c00ed72daf568c0526ea4f4257f2c43dc5eaacd3d703c3b33f6df1ae86","3e0a34f7207431d967dc32d593d1cda0c23975e9484bc8895b39d96ffca4a0d8","7df3163944694feeac63067632a8dc2e2dea1350119ec8b43df277af69198369","7e08328a99f81bc7b2391e7727190716801cb68ddd3ad2a99eb0a74645aa2b98","b9f3ab34bd728c7de5baa7ea16147543b9b2d52d7ad3955c7ed9683e33270b43","82c418ef359c5b276df041ab3c69df0b1c8d312859a11e6aab6a4bdbd80178f4","cd73c43e0ab2e7f8df208efdf731ebdad58c8c01700c85ed3ba8f8bf87fc7678","6880e0628d351b6ef26c112dfe68f5c3bb63f734a18840453cc8143738df4b09","7073236f70ac245b2360d8dcee410d19ccfd39b8ea338af89ecc8d261bdf0905","8e4809dc6d974681adad17f1e82ecdfe553bcc9619dbcda578c351b60e47f8e7","3aed08da80d27ecb08edcb07cea22024c5fca79b78bc8a552face82c2fefb5bc","5d380b2911511138a82eeb68ee59060c70637e266118eb8f7a24c01e0b93a108","9d50686bb1d14b6cd6cb2e90ea1af4d31ab341ec876084fbcd84f76a9254b98b","185ebb3f86b886a61b8ca023a62f33b8c6f26c3ed9aa7f28de7137ca124f976c","f786f8e1ee52893269c0aa8dcf8b2a4e9a1ee40b23e09e45586dd9e7fd3d302a","9a535dc740f6346f1b4f02f13b60155c9280b12dc8c222376fa279bb85f020d8","d30310836b9a6740fbba57d9a44958ca6d9cd757093352c64c3cc83d0245105e","56abc8d229e09c13e28a6a1d6325f457842f3e73db1acf963e4fad2d765cc1f8","7ff5bf56634c720e1020fd14688c0e1f2dcf71ad93f9bad21c91b60cce75f06c","6e85db15a0c3807aa6d75472987e793269879de7286ffa56441be972a40d1ef7","645dee3a62cb0c82cd6d65a54296d35e9c7531c68014dadae81bcde23ee035d4","b5fe48d3a0c5ad0d3450513886a6d729d8d05038f42d2d75df536c0053421b9f","0dbc2d584abacf34ef5585a0de7f078435715c02ef35f068276c4c29c2a18fd8","0fe907d7c508f3eeaa9d28ae10e7c483178f096d73334de9b0dc3887edec89d5","aaa70f08e0e3b876a8ef8c0354bbd61824dd5824e6517b346bc19b104db4f401","a69f0d6fc1d8e3f64ccea60ebe97a133ac32a0f7b435f843de50a949481bf514","38fb1bdc8e08eda52f9291e67c30d5e526a3786c37e192f786423090d99a2dad","bae374c17de2a936df4fd9e68d55cf14b0eff7301e4306388618f929f5a4825e","f41634b0d1cdf790612d1bd223bba91eaca6bdc5a225fd3a0e9a5d69d2260dd1","1f4afcf0ff54ea4494f68be70bd0ba58eda7a16830cccc72ac87dfa3262ac94f","16618a1f57f886ea2ba581bde464cd074ca11d518b4cc6a3a5902dcf5ec24d3d","ff975b363ac892f0508fbd187b765e49ab8c70ca093ee5b19b927b84137d34b7","4b093729b0d64f046a98d1b0d79ce9cb361ea8a32a87b86fe475eefabadad101","fdfbe321c556c39a2ecf791d537b999591d0849e971dd938d88f460fea0186f6","1db6491f25ced62f23f06d1f3700a790df0971726acb33669bbf4a8de2f769a9","ffc638d878740b5c7780c4957432713f097a4579031485136f91103c5c23ebaa","83251e0cbcb139e6f861efda493a9eab0f0ba617d3aa275bf9558ec2f37ad678","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"71f30fba971582dc744373cbc8b06c1eb64dc24a6ccbc9b457f94fb68c67cb4e","affectsGlobalScope":true},{"version":"e9a43c3ee6fb8376bb9a4d318a660412c6abcfe5161c106e801e5431b41b7476","affectsGlobalScope":true},"7698983d080f951eaf53ff81e5c7bd61abc02e4a1a21266f1bd79ea85c0dc641","5726b5ce952dc5beaeb08d5f64236632501568a54a390363d2339ba1dc5393b1","89a3409a743c2a408d02bd68255a61d8416225b76c2c66d8e2e74dad3e00bc5d","714637d594e1a38a075091fe464ca91c6abc0b154784b4287f6883200e28ccef",{"version":"23edba5f47d3409810c563fe8034ae2c59e718e1ef8570f4152ccdde1915a096","affectsGlobalScope":true},"0e9c55f894ca2d9cf63b5b0d43a8cec1772dd560233fd16275bc7a485eb82f83","64813a6beff756b9e3f3c06d1b648d55e7c90af2b55c64d13a69d6c7f573643d","5f0a09de75bd965c21dc6d73671ba88830272f9ed62897bb0aa9754b369b1eed","2b34e7fcba9e1f24e7f54ba5c8be5a8895b0b8b444ccf6548e04acdee0899317",{"version":"06d2be99c3dd2ff52114d02ee443ba486ab482423df1941d3c97d6a92e924d70","affectsGlobalScope":true},{"version":"bfd4f140c07091b5e8a963c89e6fa3f44b6cfcbc11471b465cf63e2d020ad0eb","affectsGlobalScope":true},"a106a0bea088b70879ac88ff606dc253c0cc474ea05ad3a282b8bfb1091ae576","c98ce957db9eebd75f53edda3f6893e05ab2d2283b5667b18e31bcdb6427ed10","1f08bd8305d4a789a68f71ab622156dfff993aa51a2aa58b9ccf166cc6f9fcf7","4c260129d649d69f0608cd123e7016e61364b553a5ca2de9b66b0398594959cf","1978992206803f5761e99e893d93b25abc818c5fe619674fdf2ae02b29f641ba","05fbe81f09fc455a2c343d2458d2b3c600c90b92b22926be765ee79326be9466","8e7d6dae9e19bbe47600dcfd4418db85b30ae7351474ea0aad5e628f9845d340","f20ea392f7f27feb7a90e5a24319a4e365b07bf83c39a547711fe7ff9df68657","32542c4660ecda892a333a533feedba31738ee538ef6a78eb73af647137bc3fc","0ecacea5047d1a7d350e7049dbd22f26435be5e8736a81a56afec5b3264db1ca","ffcb4ebde21f83370ed402583888b28651d2eb7f05bfec9482eb46d82adedd7f",{"version":"06c004006016a51c4d1855527a523562c329dc44c473931c65f10373281f730e","affectsGlobalScope":true},"a7b43c69f9602d198825e403ee34e5d64f83c48b391b2897e8c0e6f72bca35f8","f4a3fc4efc6944e7b7bd4ccfa45e0df68b6359808e6cf9d061f04fd964a7b2d3","73cad675aead7a2c05cf934e7e700c61d84b2037ac1d576c3f751199b25331da","8c3137ba3583ec18484429ec1c8eff89efdc42730542f157b38b102fdccc0c71","d84300d886b45a198c346158e4ff7ae361cc7bc1c3deab44afb3db7de56b5d25","94ca7beec4e274d32362b54e0133152f7b4be9487db7b005070c03880b6363aa","2d713cbcbd5bcc38d91546eaeea7bb1c8686dc4a2995a28556d957b1b9de11d9","bbf21f210782db4193359010a4710786add43e3b50aa42fc0d371f45b4e4d8d3","0b7733d83619ac4e3963e2a9f7c75dc1e9af6850cb2354c9554977813092c10a","3ce933f0c3955f67f67eb7d6b5c83c2c54a18472c1d6f2bb651e51dd40c84837","631e96db896d645f7132c488ad34a16d71fd2be9f44696f8c98289ee1c8cbfa9","2c77230d381cba81eb6f87cda2fbfff6c0427c6546c2e2590110effff37c58f7","da86ee9a2f09a4583db1d5e37815894967e1f694ad9f3c25e84e0e4d40411e14","66679e8ffbf1fddef1796c60757e54e6e6551dd9823f75ef2f80176473bdaaff","ddc086b1adac44e2fccf55422da1e90fa970e659d77f99712422a421564b4877","515ef1d99036ff0dafa5bf738e02222edea94e0d97a0aa0ff277ac5e96b57977","d44028ae0127eb3e9fcfa5f55a8b81d64775ce15aca1020fe25c511bbb055834",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"780058f4a804c8bdcdd2f60e7af64b2bc57d149c1586ee3db732a84d659a50bf","ad1ae5ae98eceb9af99061e83e867b9897d267aebc8f3b938c9424deabadf4bb","19d580a3b42ad5caeaee266ae958260e23f2df0549ee201c886c8bd7a4f01d4e","e61a21e9418f279bc480394a94d1581b2dee73747adcbdef999b6737e34d721b","9c4c395e927045b324877acdc4bfb95f128f36bc9f073266a2f0342495075a4f"],"options":{"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"module":1,"outDir":"./","removeComments":true,"sourceMap":true,"target":6},"fileIdsList":[[74],[74,75,76,77,78],[74,77],[118,120],[114,115],[114,115,116,117],[119],[166],[123],[165,166],[124],[125,133,134,141,150],[125,126,133,141],[157],[128,129,134,142],[129,150],[130,131,133,141],[131],[132,133],[133],[133,134,135,150,156],[134,135],[136,141,150,156],[133,134,136,137,141,150,153,156],[136,138,153,156],[167],[133,139],[140,156],[131,133,141,150],[142],[143],[123,144],[155],[146],[147],[133,148],[148,149,157,159],[133,150],[151],[152],[141,153],[154],[122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161],[162,163,164],[141,155],[147,156],[150,158],[159],[164],[133,135,150,156,159,160],[150,161],[110],[38],[60,61],[60],[59,61,63],[60,66,67],[59,63,64,65],[59,63,66,68],[59,63],[59],[59,60,62],[59,60,62,63,64,66,67,68],[70],[69,70,71,72],[86],[38,86],[38,40,102,111,134,143],[40,102],[38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,81,82,83,84,134,143],[38,40,86],[38,40],[38,40,85,100,101,143],[38,39],[38,39,40,85,100,143],[86,100],[38,39,40,86,87,88,89,90,91,92,93,94,95,96,97,98,99,143],[38,39,40,86],[38,40,73,80,85,134,143],[40,73,79]],"referencedMap":[[77,1],[79,2],[75,1],[78,3],[76,1],[121,4],[116,5],[118,6],[117,5],[120,7],[166,8],[123,9],[167,10],[124,11],[125,12],[126,13],[127,14],[128,15],[129,16],[130,17],[131,18],[132,19],[133,20],[134,21],[135,22],[136,23],[137,24],[138,25],[168,26],[139,27],[140,28],[141,29],[142,30],[143,31],[144,32],[145,33],[146,34],[147,35],[148,36],[149,37],[150,38],[151,39],[152,40],[153,41],[154,42],[162,43],[165,44],[155,45],[156,46],[157,14],[158,47],[159,48],[164,49],[160,50],[161,51],[111,52],[39,53],[62,54],[61,55],[60,56],[68,57],[66,58],[67,59],[64,60],[65,61],[63,62],[69,63],[70,61],[71,64],[73,65],[105,66],[106,66],[107,66],[108,66],[109,66],[104,67],[112,68],[103,69],[85,70],[52,71],[49,71],[42,71],[50,71],[55,71],[56,72],[83,72],[51,72],[48,72],[54,72],[58,72],[53,72],[44,71],[43,71],[45,71],[46,71],[57,72],[47,71],[102,73],[40,74],[86,75],[113,76],[100,77],[87,78],[91,78],[98,71],[97,72],[94,78],[96,71],[90,71],[95,72],[93,71],[88,71],[89,78],[99,78],[92,71],[84,79],[80,80],[81,79],[82,79]],"exportedModulesMap":[[77,1],[79,2],[75,1],[78,3],[76,1],[121,4],[116,5],[118,6],[117,5],[120,7],[166,8],[123,9],[167,10],[124,11],[125,12],[126,13],[127,14],[128,15],[129,16],[130,17],[131,18],[132,19],[133,20],[134,21],[135,22],[136,23],[137,24],[138,25],[168,26],[139,27],[140,28],[141,29],[142,30],[143,31],[144,32],[145,33],[146,34],[147,35],[148,36],[149,37],[150,38],[151,39],[152,40],[153,41],[154,42],[162,43],[165,44],[155,45],[156,46],[157,14],[158,47],[159,48],[164,49],[160,50],[161,51],[111,52],[39,53],[62,54],[61,55],[60,56],[68,57],[66,58],[67,59],[64,60],[65,61],[63,62],[69,63],[70,61],[71,64],[73,65],[105,66],[106,66],[107,66],[108,66],[109,66],[104,67],[112,68],[103,69],[85,70],[52,71],[49,71],[42,71],[50,71],[55,71],[56,72],[83,72],[51,72],[48,72],[54,72],[58,72],[53,72],[44,71],[43,71],[45,71],[46,71],[57,72],[47,71],[102,73],[40,74],[86,75],[113,76],[100,77],[87,78],[91,78],[98,71],[97,72],[94,78],[96,71],[90,71],[95,72],[93,71],[88,71],[89,78],[99,78],[92,71],[84,79],[80,80],[81,79],[82,79]],"semanticDiagnosticsPerFile":[77,74,79,75,78,76,121,114,116,118,117,115,120,119,166,123,167,124,125,126,127,128,129,130,131,132,133,134,135,122,163,136,137,138,168,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,162,165,155,156,157,158,159,164,160,161,41,110,111,39,62,61,60,68,66,67,64,65,63,69,59,70,71,72,73,7,8,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,37,32,33,34,35,1,36,10,9,38,101,105,106,107,108,109,104,112,103,85,52,49,42,50,55,56,83,51,48,54,58,53,44,43,45,46,57,47,102,40,86,113,100,87,91,98,97,94,96,90,95,93,88,89,99,92,84,80,81,82]},"version":"4.6.3"}
|
package/form-plugin/package.json
CHANGED
package/form-plugin/yarn.lock
CHANGED
|
@@ -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.
|
|
56
|
-
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.
|
|
57
|
-
integrity sha512-
|
|
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
|
@@ -92,4 +92,14 @@ export function typedForm({ parsedLogic, node, getTypeNodeForNode, prepareForPri
|
|
|
92
92
|
),
|
|
93
93
|
]),
|
|
94
94
|
}
|
|
95
|
+
|
|
96
|
+
parsedLogic.extraLogicFields['custom'] = factory.createTypeLiteralNode([
|
|
97
|
+
// default?: Record<string, any>
|
|
98
|
+
factory.createPropertySignature(
|
|
99
|
+
undefined,
|
|
100
|
+
factory.createIdentifier('hello'),
|
|
101
|
+
factory.createToken(ts.SyntaxKind.QuestionToken),
|
|
102
|
+
factory.createLiteralTypeNode(factory.createStringLiteral('world')),
|
|
103
|
+
),
|
|
104
|
+
])
|
|
95
105
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by kea-typegen on
|
|
1
|
+
// Generated by kea-typegen on Sun, 19 Jun 2022 18:43:07 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
|
+
custom: {
|
|
24
|
+
hello?: 'world'
|
|
25
|
+
}
|
|
23
26
|
defaults: {
|
|
24
27
|
form: Record<string, any>
|
|
25
28
|
}
|
package/src/cli/typegen.ts
CHANGED
|
@@ -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
|
-
}
|
|
78
|
+
}
|
|
75
79
|
|
|
76
80
|
return appOptions
|
|
77
81
|
}
|
package/src/print/print.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ScriptKind,
|
|
10
10
|
ScriptTarget,
|
|
11
11
|
SyntaxKind,
|
|
12
|
-
|
|
12
|
+
TypeNode,
|
|
13
13
|
} from 'typescript'
|
|
14
14
|
import * as fs from 'fs'
|
|
15
15
|
import * as path from 'path'
|
|
@@ -262,46 +262,54 @@ export function parsedLogicToTypeString(parsedLogic: ParsedLogic, appOptions?: A
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
export function printLogicType(parsedLogic: ParsedLogic, appOptions?: AppOptions): void {
|
|
265
|
-
const printProperty = (name, typeNode) =>
|
|
266
|
-
factory.createPropertySignature(undefined, factory.createIdentifier(name), undefined, typeNode)
|
|
267
|
-
|
|
268
265
|
const addSelectorTypeHelp = parsedLogic.selectors.filter((s) => s.functionTypes.length > 0).length > 0
|
|
269
266
|
|
|
270
|
-
const logicProperties =
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
267
|
+
const logicProperties: Record<string, TypeNode | null> = {
|
|
268
|
+
actionCreators: printActionCreators(parsedLogic, appOptions),
|
|
269
|
+
actionKeys: printActionKeys(parsedLogic, appOptions),
|
|
270
|
+
actionTypes: printActionTypes(parsedLogic, appOptions),
|
|
271
|
+
actions: printActions(parsedLogic, appOptions),
|
|
272
|
+
defaults: printDefaults(parsedLogic),
|
|
273
|
+
events: printEvents(parsedLogic),
|
|
274
|
+
key: printKey(parsedLogic),
|
|
275
|
+
listeners: printListeners(parsedLogic),
|
|
276
|
+
path: factory.createTupleTypeNode(
|
|
277
|
+
parsedLogic.path.map((p) => factory.createLiteralTypeNode(factory.createStringLiteral(p))),
|
|
278
|
+
),
|
|
279
|
+
pathString: factory.createLiteralTypeNode(factory.createStringLiteral(parsedLogic.pathString)),
|
|
280
|
+
props: printProps(parsedLogic),
|
|
281
|
+
reducer: printReducer(parsedLogic),
|
|
282
|
+
reducers: printReducers(parsedLogic),
|
|
283
|
+
selector: printSelector(parsedLogic),
|
|
284
|
+
selectors: printSelectors(parsedLogic),
|
|
285
|
+
sharedListeners: printSharedListeners(parsedLogic),
|
|
286
|
+
values: printValues(parsedLogic),
|
|
287
|
+
}
|
|
288
|
+
for (const [name, typeNode] of Object.entries(parsedLogic.extraLogicFields)) {
|
|
289
|
+
if (name in logicProperties) {
|
|
290
|
+
console.error(`❗ Can not add extra logic field ${name} because this field is already in the logic.`)
|
|
291
|
+
} else {
|
|
292
|
+
logicProperties[name] = typeNode
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
const logicMetaProperties: Record<string, TypeNode | null> = {
|
|
296
|
+
_isKea: factory.createLiteralTypeNode(factory.createTrue()),
|
|
297
|
+
_isKeaWithKey: factory.createLiteralTypeNode(
|
|
298
|
+
parsedLogic.keyType ? factory.createTrue() : factory.createFalse(),
|
|
284
299
|
),
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
Object.keys(parsedLogic.extraActions).length > 0
|
|
299
|
-
? printProperty('__keaTypeGenInternalReducerActions', printInternalReducerActions(parsedLogic))
|
|
300
|
-
: null,
|
|
301
|
-
Object.keys(parsedLogic.extraInput).length > 0
|
|
302
|
-
? printProperty('__keaTypeGenInternalExtraInput', printInternalExtraInput(parsedLogic))
|
|
303
|
-
: null,
|
|
304
|
-
].filter((a) => !!a)
|
|
300
|
+
__keaTypeGenInternalSelectorTypes: addSelectorTypeHelp ? printInternalSelectorTypes(parsedLogic) : null,
|
|
301
|
+
__keaTypeGenInternalReducerActions:
|
|
302
|
+
Object.keys(parsedLogic.extraActions).length > 0 ? printInternalReducerActions(parsedLogic) : null,
|
|
303
|
+
__keaTypeGenInternalExtraInput:
|
|
304
|
+
Object.keys(parsedLogic.extraInput).length > 0 ? printInternalExtraInput(parsedLogic) : null,
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
const sortedLogicProperties = {
|
|
308
|
+
...Object.fromEntries(
|
|
309
|
+
Object.entries(logicProperties).sort((a, b) => (a[0] === b[0] ? 0 : a[0] < b[0] ? -1 : 1)),
|
|
310
|
+
),
|
|
311
|
+
...logicMetaProperties,
|
|
312
|
+
}
|
|
305
313
|
|
|
306
314
|
parsedLogic.interfaceDeclaration = factory.createInterfaceDeclaration(
|
|
307
315
|
undefined,
|
|
@@ -313,10 +321,10 @@ export function printLogicType(parsedLogic: ParsedLogic, appOptions?: AppOptions
|
|
|
313
321
|
factory.createExpressionWithTypeArguments(factory.createIdentifier('Logic'), undefined),
|
|
314
322
|
]),
|
|
315
323
|
],
|
|
316
|
-
|
|
324
|
+
Object.entries(sortedLogicProperties)
|
|
325
|
+
.filter(([_, value]) => !!value)
|
|
326
|
+
.map(([name, typeNode]) =>
|
|
327
|
+
factory.createPropertySignature(undefined, factory.createIdentifier(name), undefined, typeNode),
|
|
328
|
+
),
|
|
317
329
|
)
|
|
318
330
|
}
|
|
319
|
-
|
|
320
|
-
// haha
|
|
321
|
-
let i = 0
|
|
322
|
-
const smiles = ['/', ']', '[', ')', '(', '\\', 'D', '|', 'O']
|
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
|
-
|
|
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
|
@@ -43,12 +43,13 @@ export interface ParsedLogic {
|
|
|
43
43
|
selectors: SelectorTransform[]
|
|
44
44
|
listeners: ListenerTransform[]
|
|
45
45
|
sharedListeners: ListenerTransform[]
|
|
46
|
-
extraActions: Record<string, ts.TypeNode>
|
|
47
46
|
propsType?: ts.TypeNode
|
|
48
47
|
keyType?: ts.TypeNode
|
|
49
48
|
typeReferencesToImportFromFiles: Record<string, Set<string>>
|
|
50
49
|
interfaceDeclaration?: ts.InterfaceDeclaration
|
|
50
|
+
extraActions: Record<string, ts.TypeNode>
|
|
51
51
|
extraInput: Record<string, { typeNode: ts.TypeNode; withLogicFunction: boolean }>
|
|
52
|
+
extraLogicFields: Record<string, ts.TypeNode>
|
|
52
53
|
importFromKeaInLogicType: Set<string>
|
|
53
54
|
inputBuilderArray: boolean
|
|
54
55
|
}
|
|
@@ -75,6 +76,8 @@ export interface AppOptions {
|
|
|
75
76
|
addTsNocheck?: boolean
|
|
76
77
|
/** Convert kea 2.0 logic input to kea 3.0 builders */
|
|
77
78
|
convertToBuilders?: boolean
|
|
79
|
+
/** Show TypeScript errors */
|
|
80
|
+
showTsErrors?: boolean
|
|
78
81
|
|
|
79
82
|
log: (message: string) => void
|
|
80
83
|
}
|
package/src/visit/visit.ts
CHANGED
|
@@ -213,7 +213,6 @@ export function visitKeaCalls(
|
|
|
213
213
|
listeners: [],
|
|
214
214
|
sharedListeners: [],
|
|
215
215
|
events: {},
|
|
216
|
-
extraActions: {},
|
|
217
216
|
keyType: undefined,
|
|
218
217
|
propsType: undefined,
|
|
219
218
|
path: pathString.split('.'),
|
|
@@ -221,7 +220,9 @@ export function visitKeaCalls(
|
|
|
221
220
|
hasKeyInLogic: false,
|
|
222
221
|
hasPathInLogic: false,
|
|
223
222
|
typeReferencesToImportFromFiles: {},
|
|
223
|
+
extraActions: {},
|
|
224
224
|
extraInput: {},
|
|
225
|
+
extraLogicFields: {},
|
|
225
226
|
importFromKeaInLogicType: new Set([]),
|
|
226
227
|
inputBuilderArray: ts.isArrayLiteralExpression(input),
|
|
227
228
|
}
|
|
@@ -285,7 +286,10 @@ export function visitKeaCalls(
|
|
|
285
286
|
}
|
|
286
287
|
|
|
287
288
|
const folder = path.dirname(filename)
|
|
288
|
-
|
|
289
|
+
let fileNoExt = path.basename(filename, path.extname(filename))
|
|
290
|
+
if (fileNoExt.endsWith('.d')) {
|
|
291
|
+
fileNoExt = fileNoExt.slice(0, -2)
|
|
292
|
+
}
|
|
289
293
|
const pathsToTry = [
|
|
290
294
|
'typegen.js',
|
|
291
295
|
'typegen.ts',
|
|
@@ -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"}
|