@odg/command 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Generators/MakeFile.d.ts +12 -0
- package/dist/Generators/MakeFile.js +26 -11
- package/dist/Generators/MakeFile.js.map +1 -1
- package/dist/Generators/StubCreator.d.ts +3 -3
- package/dist/Generators/StubCreator.js +8 -6
- package/dist/Generators/StubCreator.js.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +21 -14
- package/stubs/event.stub +10 -10
- package/stubs/exception.stub +9 -0
- package/stubs/handler.stub +9 -8
- package/stubs/page.stub +6 -6
- package/stubs/selector.stub +2 -2
|
@@ -19,6 +19,10 @@ interface MakeHandlerInterface {
|
|
|
19
19
|
interface MakeEventInterface {
|
|
20
20
|
path: string;
|
|
21
21
|
}
|
|
22
|
+
interface MakeExceptionInterface {
|
|
23
|
+
path: string;
|
|
24
|
+
unknown: boolean;
|
|
25
|
+
}
|
|
22
26
|
export default class MakeFile {
|
|
23
27
|
/**
|
|
24
28
|
* Use this function to create Page Crawler class
|
|
@@ -52,5 +56,13 @@ export default class MakeFile {
|
|
|
52
56
|
* @returns {Promise<void>}
|
|
53
57
|
*/
|
|
54
58
|
makeEvent(eventName: string, options: MakeEventInterface): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Use this function to create exception file
|
|
61
|
+
*
|
|
62
|
+
* @param {string} exceptionName Exception name
|
|
63
|
+
* @param {MakeExceptionInterface} options Options command
|
|
64
|
+
* @returns {Promise<void>}
|
|
65
|
+
*/
|
|
66
|
+
makeException(exceptionName: string, options: MakeExceptionInterface): Promise<void>;
|
|
55
67
|
}
|
|
56
68
|
export {};
|
|
@@ -14,12 +14,11 @@ class MakeFile {
|
|
|
14
14
|
* @returns {Promise<void>}
|
|
15
15
|
*/
|
|
16
16
|
async makePage(pageName, options) {
|
|
17
|
-
var _a;
|
|
18
17
|
const stubCreator = new StubCreator_1.default();
|
|
19
18
|
const pageUcFirst = new chemical_x_1.Str(pageName).ucFirst().toString();
|
|
20
19
|
const filePath = await stubCreator.create("page", `${pageUcFirst}Page`, options.path, {
|
|
21
20
|
"PageName:UCFirst": pageUcFirst,
|
|
22
|
-
"PageName": pageName.charAt(0).toLowerCase() + pageName.slice(1),
|
|
21
|
+
"PageName:LCFirst": pageName.charAt(0).toLowerCase() + pageName.slice(1),
|
|
23
22
|
});
|
|
24
23
|
if (options.selectors && options.selectorPath) {
|
|
25
24
|
await this.makeSelectors(pageName, { path: options.selectorPath });
|
|
@@ -27,7 +26,7 @@ class MakeFile {
|
|
|
27
26
|
if (options.event && options.eventPath) {
|
|
28
27
|
await this.makeEvent(pageName, { path: options.eventPath });
|
|
29
28
|
}
|
|
30
|
-
if (options.handlerPath && (
|
|
29
|
+
if (options.handlerPath && (options.handlerFrom ?? options.handlerTo)) {
|
|
31
30
|
await this.makeHandler(pageName, {
|
|
32
31
|
path: options.handlerPath,
|
|
33
32
|
handlerFrom: options.handlerFrom,
|
|
@@ -48,7 +47,7 @@ class MakeFile {
|
|
|
48
47
|
const pageUcFirst = new chemical_x_1.Str(selectorName).ucFirst().toString();
|
|
49
48
|
const filePath = await stubCreator.create("selector", `${pageUcFirst}Selector`, options.path, {
|
|
50
49
|
"SelectorName:UCFirst": pageUcFirst,
|
|
51
|
-
"SelectorName": selectorName.charAt(0).toLowerCase() + selectorName.slice(1),
|
|
50
|
+
"SelectorName:LCFirst": selectorName.charAt(0).toLowerCase() + selectorName.slice(1),
|
|
52
51
|
});
|
|
53
52
|
console.log(`Selector created successfully in : ${filePath}`);
|
|
54
53
|
}
|
|
@@ -60,13 +59,12 @@ class MakeFile {
|
|
|
60
59
|
* @returns {Promise<void>}
|
|
61
60
|
*/
|
|
62
61
|
async makeHandler(handlerName, options) {
|
|
63
|
-
var _a, _b;
|
|
64
62
|
const stubCreator = new StubCreator_1.default();
|
|
65
|
-
const handlerFrom =
|
|
66
|
-
const handlerTo =
|
|
63
|
+
const handlerFrom = options.handlerFrom ?? handlerName;
|
|
64
|
+
const handlerTo = options.handlerTo ?? handlerName;
|
|
67
65
|
const filePath = await stubCreator.create("handler", `${handlerFrom}To${handlerTo}Handler`, options.path, {
|
|
68
|
-
"OriginHandler:
|
|
69
|
-
"DestinationHandler:
|
|
66
|
+
"OriginHandler:UCFirst": handlerFrom,
|
|
67
|
+
"DestinationHandler:UCFirst": handlerTo,
|
|
70
68
|
});
|
|
71
69
|
console.log(`Handler created successfully in : ${filePath}`);
|
|
72
70
|
}
|
|
@@ -81,11 +79,28 @@ class MakeFile {
|
|
|
81
79
|
const stubCreator = new StubCreator_1.default();
|
|
82
80
|
const pageUcFirst = new chemical_x_1.Str(eventName).ucFirst().toString();
|
|
83
81
|
const filePath = await stubCreator.create("event", `${pageUcFirst}EventListener`, options.path, {
|
|
84
|
-
"EventName:
|
|
85
|
-
"EventName": eventName.charAt(0).toLowerCase() + eventName.slice(1),
|
|
82
|
+
"EventName:UCFirst": pageUcFirst,
|
|
83
|
+
"EventName:LCFirst": eventName.charAt(0).toLowerCase() + eventName.slice(1),
|
|
86
84
|
});
|
|
87
85
|
console.log(`Handler created successfully in : ${filePath}`);
|
|
88
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Use this function to create exception file
|
|
89
|
+
*
|
|
90
|
+
* @param {string} exceptionName Exception name
|
|
91
|
+
* @param {MakeExceptionInterface} options Options command
|
|
92
|
+
* @returns {Promise<void>}
|
|
93
|
+
*/
|
|
94
|
+
async makeException(exceptionName, options) {
|
|
95
|
+
const stubCreator = new StubCreator_1.default();
|
|
96
|
+
const exceptionUcFirst = new chemical_x_1.Str(exceptionName).ucFirst().toString();
|
|
97
|
+
const exceptionType = options.unknown ? "UnknownException" : "Exception";
|
|
98
|
+
const filePath = await stubCreator.create("exception", `${exceptionUcFirst}${exceptionType}`, options.path, {
|
|
99
|
+
"ExceptionType": exceptionType,
|
|
100
|
+
"ExceptionName": exceptionUcFirst,
|
|
101
|
+
});
|
|
102
|
+
console.log(`Exception created successfully in : ${filePath}`);
|
|
103
|
+
}
|
|
89
104
|
}
|
|
90
105
|
exports.default = MakeFile;
|
|
91
106
|
//# sourceMappingURL=MakeFile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MakeFile.js","sourceRoot":"","sources":["../../src/Generators/MakeFile.ts"],"names":[],"mappings":";;;;;AAAA,gDAAsC;AAEtC,gEAAwC;
|
|
1
|
+
{"version":3,"file":"MakeFile.js","sourceRoot":"","sources":["../../src/Generators/MakeFile.ts"],"names":[],"mappings":";;;;;AAAA,gDAAsC;AAEtC,gEAAwC;AAgCxC,MAAqB,QAAQ;IAEzB;;;;;;OAMG;IACI,KAAK,CAAC,QAAQ,CAAC,QAAgB,EAAE,OAA0B;QAC9D,MAAM,WAAW,GAAG,IAAI,qBAAW,EAAE,CAAC;QACtC,MAAM,WAAW,GAAG,IAAI,gBAAG,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC;QAC3D,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,WAAW,MAAM,EAAE,OAAO,CAAC,IAAI,EAAE;YAClF,kBAAkB,EAAE,WAAW;YAC/B,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;SAC3E,CAAC,CAAC;QAEH,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,YAAY,EAAE;YAC3C,MAAM,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;SACtE;QAED,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,SAAS,EAAE;YACpC,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;SAC/D;QAED,IAAI,OAAO,CAAC,WAAW,IAAI,CAAC,OAAO,CAAC,WAAW,IAAI,OAAO,CAAC,SAAS,CAAC,EAAE;YACnE,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE;gBAC7B,IAAI,EAAE,OAAO,CAAC,WAAW;gBACzB,WAAW,EAAE,OAAO,CAAC,WAAW;gBAChC,SAAS,EAAE,OAAO,CAAC,SAAS;aAC/B,CAAC,CAAC;SACN;QAED,OAAO,CAAC,GAAG,CAAC,kCAAkC,QAAQ,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,aAAa,CAAC,YAAoB,EAAE,OAA8B;QAC3E,MAAM,WAAW,GAAG,IAAI,qBAAW,EAAE,CAAC;QACtC,MAAM,WAAW,GAAG,IAAI,gBAAG,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC;QAE/D,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC,UAAU,EAAE,GAAG,WAAW,UAAU,EAAE,OAAO,CAAC,IAAI,EAAE;YAC1F,sBAAsB,EAAE,WAAW;YACnC,sBAAsB,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;SACvF,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,sCAAsC,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,WAAW,CAAC,WAAmB,EAAE,OAA6B;QACvE,MAAM,WAAW,GAAG,IAAI,qBAAW,EAAE,CAAC;QACtC,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,WAAW,CAAC;QACvD,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,WAAW,CAAC;QAEnD,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC,SAAS,EAAE,GAAG,WAAW,KAAK,SAAS,SAAS,EAAE,OAAO,CAAC,IAAI,EAAE;YACtG,uBAAuB,EAAE,WAAW;YACpC,4BAA4B,EAAE,SAAS;SAC1C,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,qCAAqC,QAAQ,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,SAAS,CAAC,SAAiB,EAAE,OAA2B;QACjE,MAAM,WAAW,GAAG,IAAI,qBAAW,EAAE,CAAC;QACtC,MAAM,WAAW,GAAG,IAAI,gBAAG,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC;QAE5D,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,WAAW,eAAe,EAAE,OAAO,CAAC,IAAI,EAAE;YAC5F,mBAAmB,EAAE,WAAW;YAChC,mBAAmB,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;SAC9E,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,qCAAqC,QAAQ,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,aAAa,CAAC,aAAqB,EAAE,OAA+B;QAC7E,MAAM,WAAW,GAAG,IAAI,qBAAW,EAAE,CAAC;QACtC,MAAM,gBAAgB,GAAG,IAAI,gBAAG,CAAC,aAAa,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC;QACrE,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,WAAW,CAAC;QAEzE,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,MAAM,CAAC,WAAW,EAAE,GAAG,gBAAgB,GAAG,aAAa,EAAE,EAAE,OAAO,CAAC,IAAI,EAAE;YACxG,eAAe,EAAE,aAAa;YAC9B,eAAe,EAAE,gBAAgB;SACpC,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,uCAAuC,QAAQ,EAAE,CAAC,CAAC;IACnE,CAAC;CAEJ;AAlHD,2BAkHC"}
|
|
@@ -6,7 +6,7 @@ export default class StubCreator {
|
|
|
6
6
|
*
|
|
7
7
|
* @param {string} name Name file stub
|
|
8
8
|
* @param {Record<string, number | string>} variables Variable to replace in stub
|
|
9
|
-
* @returns {string}
|
|
9
|
+
* @returns {Promise<string>}
|
|
10
10
|
*/
|
|
11
11
|
getStub(name: string, variables: Record<string, number | string>): Promise<string>;
|
|
12
12
|
/**
|
|
@@ -14,14 +14,14 @@ export default class StubCreator {
|
|
|
14
14
|
*
|
|
15
15
|
* @param {string} name Generate file name
|
|
16
16
|
* @param {string} path File path destination
|
|
17
|
-
* @returns {string}
|
|
17
|
+
* @returns {Promise<string>}
|
|
18
18
|
*/
|
|
19
19
|
getPath(name: string, path: string): Promise<string>;
|
|
20
20
|
/**
|
|
21
21
|
* Get the path to the stubs.
|
|
22
22
|
*
|
|
23
23
|
* @param {string} name Stub File Name
|
|
24
|
-
* @returns {string}
|
|
24
|
+
* @returns {Promise<string>}
|
|
25
25
|
*/
|
|
26
26
|
getStubPath(name: string): Promise<string>;
|
|
27
27
|
}
|
|
@@ -32,9 +32,7 @@ const node_util_1 = require("node:util");
|
|
|
32
32
|
const chemical_x_1 = require("@odg/chemical-x");
|
|
33
33
|
const InvalidArgumentException_1 = require("../Exceptions/InvalidArgumentException");
|
|
34
34
|
class StubCreator {
|
|
35
|
-
|
|
36
|
-
this.filesystem = Filesystem;
|
|
37
|
-
}
|
|
35
|
+
filesystem = Filesystem;
|
|
38
36
|
async create(stub, name, pathDestination, variables) {
|
|
39
37
|
const destination = await this.getPath(name, pathDestination);
|
|
40
38
|
if (this.filesystem.existsSync(destination)) {
|
|
@@ -43,6 +41,10 @@ class StubCreator {
|
|
|
43
41
|
const content = await this.getStub(stub, variables);
|
|
44
42
|
await (0, node_util_1.promisify)(this.filesystem.mkdir)(pathDestination, { recursive: true });
|
|
45
43
|
await (0, node_util_1.promisify)(this.filesystem.writeFile)(destination, content, {});
|
|
44
|
+
const indexFile = `${pathDestination}/index.ts`;
|
|
45
|
+
if (this.filesystem.existsSync(indexFile)) {
|
|
46
|
+
await (0, node_util_1.promisify)(this.filesystem.appendFile)(indexFile, `export * from "./${name}";\n`, {});
|
|
47
|
+
}
|
|
46
48
|
return destination;
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
@@ -50,7 +52,7 @@ class StubCreator {
|
|
|
50
52
|
*
|
|
51
53
|
* @param {string} name Name file stub
|
|
52
54
|
* @param {Record<string, number | string>} variables Variable to replace in stub
|
|
53
|
-
* @returns {string}
|
|
55
|
+
* @returns {Promise<string>}
|
|
54
56
|
*/
|
|
55
57
|
async getStub(name, variables) {
|
|
56
58
|
const pathStub = await this.getStubPath(name);
|
|
@@ -64,7 +66,7 @@ class StubCreator {
|
|
|
64
66
|
*
|
|
65
67
|
* @param {string} name Generate file name
|
|
66
68
|
* @param {string} path File path destination
|
|
67
|
-
* @returns {string}
|
|
69
|
+
* @returns {Promise<string>}
|
|
68
70
|
*/
|
|
69
71
|
async getPath(name, path) {
|
|
70
72
|
return `${path}/${name}.ts`;
|
|
@@ -73,7 +75,7 @@ class StubCreator {
|
|
|
73
75
|
* Get the path to the stubs.
|
|
74
76
|
*
|
|
75
77
|
* @param {string} name Stub File Name
|
|
76
|
-
* @returns {string}
|
|
78
|
+
* @returns {Promise<string>}
|
|
77
79
|
*/
|
|
78
80
|
async getStubPath(name) {
|
|
79
81
|
if (this.filesystem.existsSync(`${node_path_1.default.resolve("./stubs")}/${name}.stub`)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StubCreator.js","sourceRoot":"","sources":["../../src/Generators/StubCreator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AACtC,0DAAiC;AACjC,yCAAsC;AAEtC,gDAAsC;AAEtC,qFAAkF;AAElF,MAAqB,WAAW;
|
|
1
|
+
{"version":3,"file":"StubCreator.js","sourceRoot":"","sources":["../../src/Generators/StubCreator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AACtC,0DAAiC;AACjC,yCAAsC;AAEtC,gDAAsC;AAEtC,qFAAkF;AAElF,MAAqB,WAAW;IAEX,UAAU,GAAsB,UAAU,CAAC;IAErD,KAAK,CAAC,MAAM,CACf,IAAY,EACZ,IAAY,EACZ,eAAuB,EACvB,SAA0C;QAE1C,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QAE9D,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE;YACzC,MAAM,IAAI,mDAAwB,CAAC,OAAO,IAAI,kBAAkB,CAAC,CAAC;SACrE;QAED,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAEpD,MAAM,IAAA,qBAAS,EAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAC7E,MAAM,IAAA,qBAAS,EAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;QAErE,MAAM,SAAS,GAAG,GAAG,eAAe,WAAW,CAAC;QAChD,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;YACvC,MAAM,IAAA,qBAAS,EAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,SAAS,EAAE,oBAAoB,IAAI,MAAM,EAAE,EAAE,CAAC,CAAC;SAC9F;QAED,OAAO,WAAW,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,OAAO,CAAC,IAAY,EAAE,SAA0C;QACzE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAC9C,MAAM,IAAI,GAAG,MAAM,IAAA,qBAAS,EAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,GAAG,QAAQ,IAAI,IAAI,OAAO,CAAC,CAAC;QAEnF,OAAO,IAAI,gBAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;aAC1B,aAAa,CAAC,SAAS,CAAC;aACxB,QAAQ,EAAE,CAAC;IACpB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,OAAO,CAAC,IAAY,EAAE,IAAY;QAC3C,OAAO,GAAG,IAAI,IAAI,IAAI,KAAK,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,WAAW,CAAC,IAAY;QACjC,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,mBAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,IAAI,OAAO,CAAC,EAAE;YAC3E,OAAO,mBAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;SACtC;QAED,OAAO,mBAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,iCAAiC,CAAC,CAAC;IAC3E,CAAC;CAEJ;AAtED,8BAsEC"}
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ commander_1.program
|
|
|
15
15
|
.option("-s, --selectors", "Create Selectors", false)
|
|
16
16
|
.option("-sp, --selectorPath", "Selector Path", "./src/Selectors/")
|
|
17
17
|
.option("-ev, --event", "Create Event", false)
|
|
18
|
-
.option("-evp, --eventPath", "Event Path", "./src/app/Listeners")
|
|
18
|
+
.option("-evp, --eventPath", "Event Path", "./src/app/Listeners/")
|
|
19
19
|
.option("-hp, --handlerPath", "Handler Path", "./src/Handlers/")
|
|
20
20
|
.option("--handler-from <handlerFrom>", "Use If Handler From")
|
|
21
21
|
.option("--handler-to <handlerTo>", "Use if Handler To")
|
|
@@ -44,9 +44,18 @@ commander_1.program
|
|
|
44
44
|
.command("make:event")
|
|
45
45
|
.name("make:event")
|
|
46
46
|
.argument("<eventName>", "EventName")
|
|
47
|
-
.option(pathOption, "Destination Path", "./src/app/Listeners")
|
|
47
|
+
.option(pathOption, "Destination EventListener Path", "./src/app/Listeners")
|
|
48
48
|
.description("Create EventListener file example")
|
|
49
49
|
.version("0.1.1")
|
|
50
50
|
.action(make.makeEvent.bind(make));
|
|
51
|
+
commander_1.program
|
|
52
|
+
.command("make:exception")
|
|
53
|
+
.name("make:exception")
|
|
54
|
+
.argument("<exceptionName>", "ExceptionName")
|
|
55
|
+
.option("-u, --unknown", "UnknownException", false)
|
|
56
|
+
.option(pathOption, "Destination Exception Path", "./src/Exceptions")
|
|
57
|
+
.description("Create Exception file example")
|
|
58
|
+
.version("0.1.1")
|
|
59
|
+
.action(make.makeException.bind(make));
|
|
51
60
|
commander_1.program.parse();
|
|
52
61
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,yCAAoC;AAEpC,qEAA6C;AAE7C,MAAM,IAAI,GAAG,IAAI,kBAAQ,EAAE,CAAC;AAE5B,MAAM,UAAU,GAAG,mBAAmB,CAAC;AAEvC,mBAAO;KACF,OAAO,CAAC,WAAW,CAAC;KACpB,IAAI,CAAC,WAAW,CAAC;KACjB,QAAQ,CAAC,YAAY,EAAE,kBAAkB,CAAC;KAC1C,MAAM,CAAC,UAAU,EAAE,uBAAuB,EAAE,cAAc,CAAC;KAC3D,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,KAAK,CAAC;KACpD,MAAM,CAAC,qBAAqB,EAAE,eAAe,EAAE,kBAAkB,CAAC;KAClE,MAAM,CAAC,cAAc,EAAE,cAAc,EAAE,KAAK,CAAC;KAC7C,MAAM,CAAC,mBAAmB,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,yCAAoC;AAEpC,qEAA6C;AAE7C,MAAM,IAAI,GAAG,IAAI,kBAAQ,EAAE,CAAC;AAE5B,MAAM,UAAU,GAAG,mBAAmB,CAAC;AAEvC,mBAAO;KACF,OAAO,CAAC,WAAW,CAAC;KACpB,IAAI,CAAC,WAAW,CAAC;KACjB,QAAQ,CAAC,YAAY,EAAE,kBAAkB,CAAC;KAC1C,MAAM,CAAC,UAAU,EAAE,uBAAuB,EAAE,cAAc,CAAC;KAC3D,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,KAAK,CAAC;KACpD,MAAM,CAAC,qBAAqB,EAAE,eAAe,EAAE,kBAAkB,CAAC;KAClE,MAAM,CAAC,cAAc,EAAE,cAAc,EAAE,KAAK,CAAC;KAC7C,MAAM,CAAC,mBAAmB,EAAE,YAAY,EAAE,sBAAsB,CAAC;KACjE,MAAM,CAAC,oBAAoB,EAAE,cAAc,EAAE,iBAAiB,CAAC;KAC/D,MAAM,CAAC,8BAA8B,EAAE,qBAAqB,CAAC;KAC7D,MAAM,CAAC,0BAA0B,EAAE,mBAAmB,CAAC;KACvD,WAAW,CAAC,0BAA0B,CAAC;KACvC,OAAO,CAAC,OAAO,CAAC;KAChB,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtC,mBAAO;KACF,OAAO,CAAC,eAAe,CAAC;KACxB,IAAI,CAAC,eAAe,CAAC;KACrB,QAAQ,CAAC,gBAAgB,EAAE,uBAAuB,CAAC;KACnD,MAAM,CAAC,UAAU,EAAE,2BAA2B,EAAE,kBAAkB,CAAC;KACnE,WAAW,CAAC,0BAA0B,CAAC;KACvC,OAAO,CAAC,OAAO,CAAC;KAChB,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAE3C,mBAAO;KACF,OAAO,CAAC,cAAc,CAAC;KACvB,IAAI,CAAC,cAAc,CAAC;KACpB,QAAQ,CAAC,eAAe,EAAE,uBAAuB,CAAC;KAClD,MAAM,CAAC,8BAA8B,EAAE,qBAAqB,CAAC;KAC7D,MAAM,CAAC,4BAA4B,EAAE,qBAAqB,CAAC;KAC3D,MAAM,CAAC,UAAU,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;KACzD,WAAW,CAAC,mBAAmB,CAAC;KAChC,OAAO,CAAC,OAAO,CAAC;KAChB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAEzC,mBAAO;KACF,OAAO,CAAC,YAAY,CAAC;KACrB,IAAI,CAAC,YAAY,CAAC;KAClB,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAC;KACpC,MAAM,CAAC,UAAU,EAAE,gCAAgC,EAAE,qBAAqB,CAAC;KAC3E,WAAW,CAAC,mCAAmC,CAAC;KAChD,OAAO,CAAC,OAAO,CAAC;KAChB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAEvC,mBAAO;KACF,OAAO,CAAC,gBAAgB,CAAC;KACzB,IAAI,CAAC,gBAAgB,CAAC;KACtB,QAAQ,CAAC,iBAAiB,EAAE,eAAe,CAAC;KAC5C,MAAM,CAAC,eAAe,EAAE,kBAAkB,EAAE,KAAK,CAAC;KAClD,MAAM,CAAC,UAAU,EAAE,4BAA4B,EAAE,kBAAkB,CAAC;KACpE,WAAW,CAAC,+BAA+B,CAAC;KAC5C,OAAO,CAAC,OAAO,CAAC;KAChB,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAE3C,mBAAO,CAAC,KAAK,EAAE,CAAC"}
|
|
@@ -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.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.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.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/commander/typings/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/@types/Page.d.ts","../node_modules/@odg/chemical-x/dist/crawler/@types/Context.d.ts","../node_modules/@odg/chemical-x/dist/crawler/@types/Browser.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Browser.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Context.d.ts","../node_modules/@odg/exception/dist/exceptions/Exception.d.ts","../node_modules/@odg/exception/dist/exceptions/UnknownException.d.ts","../node_modules/@odg/exception/dist/index.d.ts","../node_modules/@odg/chemical-x/dist/types/FunctionType.d.ts","../node_modules/@odg/chemical-x/dist/types/PromiseSyncType.d.ts","../node_modules/@odg/chemical-x/dist/Helpers/retry.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Interfaces/HandlerInterface.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Handlers/BaseHandler.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Handlers/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Page.d.ts","../node_modules/@odg/chemical-x/dist/crawler/@types/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Exceptions/BrowserException.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Exceptions/BrowserInstanceException.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Exceptions/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Selectors/SelectorsTypo.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Pages/BasePage.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Pages/Components/BaseComponentPage.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Pages/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Interfaces/PageInterface.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Interfaces/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/index.d.ts","../node_modules/@odg/chemical-x/dist/Helpers/sleep.d.ts","../node_modules/@odg/chemical-x/dist/Helpers/index.d.ts","../node_modules/@odg/chemical-x/dist/Interfaces/Cloneable.d.ts","../node_modules/@odg/chemical-x/dist/Interfaces/Native.d.ts","../node_modules/@odg/chemical-x/dist/Interfaces/index.d.ts","../node_modules/@odg/chemical-x/dist/Support/Arr.d.ts","../node_modules/@odg/chemical-x/dist/Support/Num.d.ts","../node_modules/@odg/chemical-x/dist/Support/Str.d.ts","../node_modules/@odg/chemical-x/dist/Support/index.d.ts","../node_modules/@odg/chemical-x/dist/Exceptions/MoneyNotFoundException.d.ts","../node_modules/@odg/chemical-x/dist/Exceptions/MoneyMultipleResultException.d.ts","../node_modules/@odg/chemical-x/dist/Exceptions/InvalidArgumentException.d.ts","../node_modules/@odg/chemical-x/dist/Exceptions/index.d.ts","../node_modules/@odg/chemical-x/dist/index.d.ts","../src/Exceptions/InvalidArgumentException.ts","../src/Generators/StubCreator.ts","../src/Generators/MakeFile.ts","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.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/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.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/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.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/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@jest/expect-utils/build/index.d.ts","../node_modules/chalk/index.d.ts","../node_modules/@sinclair/typebox/typebox.d.ts","../node_modules/@jest/schemas/build/index.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/jest-matcher-utils/build/index.d.ts","../node_modules/expect/build/index.d.ts","../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","impliedFormat":1},{"version":"d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","impliedFormat":1},{"version":"aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c","impliedFormat":1},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true,"impliedFormat":1},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true,"impliedFormat":1},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true,"impliedFormat":1},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true,"impliedFormat":1},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true,"impliedFormat":1},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true,"impliedFormat":1},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true,"impliedFormat":1},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b698a31d813ba3fb6e0a81553259917214b77e275f0f6bef6506fcd3894bca85","impliedFormat":1},{"version":"96ab9b2fb13cb00eb8f74ba1b663f431f3ca8d60345f584ad743f2444474431a","impliedFormat":1},{"version":"0e80a9b6cc481df2b19033645c3732e1f2ef78b66deb82e1d0047bca7eedba05","impliedFormat":1},{"version":"fcfb5ea316620aeea3cd690174f47b650fc8b77251d13889e7edd6fc8819826a","impliedFormat":1},{"version":"28c7ec2eb8e6043c41b54aac622f58f6f12f71dbdab75c1f38a7e39dc8af806f","impliedFormat":1},{"version":"38f601c7abe52aaf27ed2ad6a500a5acf7847f96604ade5d99be1d872d8c19e9","impliedFormat":1},{"version":"26c73c122a410b363632919067345d82ea5fbff776e063319001f9e714d7de72","impliedFormat":1},{"version":"72b9c9f40c1fe32fa9bd1e1f4546905aafd3275b4053ccea8a223d3134f5d775","impliedFormat":1},{"version":"1df58ba1cc41c4166dcbe53efd88611b9ddf5a27f33f4eb88a9189ea2ea56473","impliedFormat":1},{"version":"5846476d4bef36e8874a46bc715aadc0ae5c0c3aa6a01b9a52b5ba1afe074396","impliedFormat":1},{"version":"58cbb30728349cc20c144127060bcec4d5d4288199bf81381dbea2d9edfec6c6","impliedFormat":1},{"version":"2ede45cacda5ca0a2a48e590cd28caf304bea2816d8f32d31faef05c621e51c0","impliedFormat":1},{"version":"3f513ef3b297f51e570b799c2ff0c8cee53a7ae3fabbf85552159f51e31f32f4","impliedFormat":1},{"version":"e85267f90ee4dd70f05e571e87831059426a48274f3ef375a54407363391a196","impliedFormat":1},{"version":"1ce1b69509a7fbb9fc2c848821888212aec64c8e4e9653030ebb4fbe7edd737d","impliedFormat":1},{"version":"e20b06b111c1d08b31bd396bf613a9f1923d40a1a8b1671c61358f721f6f90c3","impliedFormat":1},{"version":"1a255b6ced127cd0314cf8ca3aa27fd60fb2f6ee7735e3ca8241d29c0f3a736e","impliedFormat":1},{"version":"03b43add7d2c0f27e467ddb0566bb6f5b3842fbfe7ccc646db61e79e99950349","impliedFormat":1},{"version":"ac01ae6d1b842b37c75d476f0bc8dff6b8cdf9aef53ff60621ce3fb4a3a99b34","impliedFormat":1},{"version":"a99b689d1379bfd256034b8fa0d16ff1acc4ac7b3729071b515bd4d9191b8d55","impliedFormat":1},{"version":"3998722555c15402d6f5d91cc40b5ea578a7bd964e35f4f18bddc3a9708c99fd","impliedFormat":1},{"version":"2b7358e6c0ec468136dadd125f1242a05efd761f8b16cdb1f8442dbcd51bd39f","impliedFormat":1},{"version":"25112cd85e369ce5507ffdc134db25df501960cfd52b80596a5e54a5e3704d54","impliedFormat":1},{"version":"0bcde7b0cbd741f162d5c515dff74f3b0a65ca19a535cce18497e35ff88d7157","impliedFormat":1},{"version":"6cb519a670b28df06cc32df002812a1ee382a8c450dc8dd3cbd0eb739c1144cd","impliedFormat":1},{"version":"fdbb2049f6a802ccc27c8c4dd979a07702aef71ea877a4b7c980975033e4145c","impliedFormat":1},{"version":"b7435d21f5727786875213c238bdcf259a720ade14f90e46764f2c4f3d3d3dc6","impliedFormat":1},{"version":"4481cae90707fe3fa76364c0b65e33e0d5b5f815e03966a9849cc1ba4995f797","impliedFormat":1},{"version":"5747af773d16d7b6998c1c131ea043d95bed265396ed44b771cc55a03b4457cc","impliedFormat":1},{"version":"bfc4c095e9c43f75fd93638c5671aea57d0b15f479b207d333e01ee99445090f","impliedFormat":1},{"version":"4799b78d261e348773da034d1a53e6624fa197e34b14a983975405138286a748","impliedFormat":1},{"version":"f31ef13f3a27037fab29393c448b09312ee1d2b519e8bccad29c2529f56ac016","impliedFormat":1},{"version":"7faf8342f888c84886995303c54199525403a5f3477578701932c0ae3e854f49","impliedFormat":1},{"version":"c3594c99c4c55a48744e62949023cf8b7067d856eeb0038b214dfc3f0d83a68f","impliedFormat":1},{"version":"9ddfe3be50f98645318bd3b0618a8110e438d850cc7c3ff18456ecbd2025a6a9","impliedFormat":1},{"version":"24102fd7ceda577718d0cf20f606bd64e0bd84b52b0e4904fe20cc8f9fdac237","impliedFormat":1},{"version":"ee39e113204504b5f3287d50a54abad8fa8be5a778fb5b4c9842b75e2eb69d38","impliedFormat":1},{"version":"e91d528dfc6496204785f75c2d8043c2406c085eff306c42150fc76cf1ee4b5a","impliedFormat":1},{"version":"de94604d1fdba3421a7d9c9ba16a7af0831c9040c7c67d805157a7926802596c","impliedFormat":1},{"version":"5b73a35acf140723620713765dd29af0845c9dbcc209a8f2ea5bd99aaf5770ef","impliedFormat":1},{"version":"99e98cf6bfcf2c31a12b44e11087b3706aacad0ed715c4703f60843c09392495","impliedFormat":1},{"version":"f7bd5a1891a6ec20c7c294a01e9d1cff8576d722cbb8d87b43fc5881d70c6d93","signature":"de94604d1fdba3421a7d9c9ba16a7af0831c9040c7c67d805157a7926802596c","impliedFormat":1},{"version":"1d473cd695ec0a92bc8bb0bff49db53aea26168dfbb8c13e1378421282c628ae","signature":"81cf5eec18d24a86f2763ea23e50c727e5d7448410e3048c767ec592d94dc447","impliedFormat":1},{"version":"7433bdbc171ea86dd0e1363ea3583c0b7dc139dd1ffddadcb131f7313d91e77e","signature":"e282316322dd51ec31f7a0378c1c531d76078a679cde1878b43ed935caba4a7a","impliedFormat":1},{"version":"6e2a7ee8dbb75dfe8789fbff8b301ea65888e22dea96be5c285263634ec56eaf","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":1},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true,"impliedFormat":1},{"version":"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f","impliedFormat":1},{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","impliedFormat":1},{"version":"f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true,"impliedFormat":1},{"version":"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","impliedFormat":1},{"version":"d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","impliedFormat":1},{"version":"5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","impliedFormat":1},{"version":"04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c45b35f4850881ab132f80d3cb51e8a359a4d8fafdc5ff2401d260dc27862f4","impliedFormat":1},{"version":"7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"a15eb098ed86a4135cba05d77e792d6189fa8607a00c9b1b381c0e9550c04ba5","impliedFormat":1},{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true,"impliedFormat":1},{"version":"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","impliedFormat":1},{"version":"ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"cc4fa603eb4f28847cfa5bfb698dd186a0864853383d49f2478b3482d5caca9e","impliedFormat":1},{"version":"1d44f1b9fa34f0f0306604451de60574bb2032d8b131a43cd11d258e8372f52c","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"6cffc933aac260d5ac5d45a00b35454c98edbb6c0e80b964871b268cc199a871","impliedFormat":1},{"version":"3455ac9d1f66df069ca718454e2c9ccd0b2cde76b19d098accf0bd94c8620459","impliedFormat":1},{"version":"bed2c4f96fab3348be4a34d88dcb12578c1b2475b07c6acd369e99e227718d81","impliedFormat":1},{"version":"e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","impliedFormat":1},{"version":"9ac9b7b349a96ff204f4172183cca1672cc402e1ee7277bfcdec96c000b7d818","impliedFormat":1},{"version":"1328d39c18f5dcb4402e07d1a51f51b6cd4456d9630ca03a6b3bb2acef2fd0a3","impliedFormat":1},{"version":"eb9e147dbb7289f09af3b161483c09a9175c3b222ed587f4a3c0112841e7d6ff","affectsGlobalScope":true,"impliedFormat":1}],"options":{"alwaysStrict":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":100,"newLine":1,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","preserveConstEnums":true,"removeComments":false,"sourceMap":true,"strict":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":5},"fileIdsList":[[147],[147,157],[64,147],[92,93,94,147],[67,83,147],[64,65,66,147],[85,86,147],[87,147],[88,89,96,147],[88,89,90,147],[57,58,147],[57,59,147],[58,59,147],[57,58,59,147],[73,147],[73,74,147],[64,68,82,96,147],[69,147],[64,67,147],[68,80,147],[64,65,66,76,82,96,147],[77,82,147],[77,78,147],[60,61,70,71,72,75,76,79,81,147],[82,84,87,91,95,147],[62,147],[62,63,147],[147,159,162],[101,147],[104,147],[105,110,138,147],[106,117,118,125,135,146,147],[106,107,117,125,147],[108,147],[109,110,118,126,147],[110,135,143,147],[111,113,117,125,147],[112,147],[113,114,147],[117,147],[115,117,147],[117,118,119,135,146,147],[117,118,119,132,135,138,147],[147,151],[113,120,125,135,146,147],[117,118,120,121,125,135,143,146,147],[120,122,135,143,146,147],[101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,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],[117,123,147],[124,146,147],[113,117,125,135,147],[126,147],[127,147],[104,128,147],[129,145,147,151],[130,147],[131,147],[117,132,133,147],[132,134,147,149],[105,117,135,136,137,138,147],[105,135,137,147],[135,136,147],[138,147],[139,147],[117,141,142,147],[141,142,147],[110,125,135,143,147],[144,147],[125,145,147],[105,120,131,146,147],[110,147],[135,147,148],[147,149],[147,150],[105,110,117,119,128,135,146,147,149,151],[135,147,152],[147,155,161],[147,159],[147,156,160],[147,158],[96,98,147],[96,97,118,127,147],[56,99,147],[64]],"referencedMap":[[155,1],[158,2],[94,3],[93,3],[92,3],[95,4],[84,5],[67,6],[83,1],[85,1],[86,1],[87,7],[88,8],[89,8],[90,9],[91,10],[59,11],[58,12],[57,13],[72,14],[60,14],[61,14],[73,3],[74,15],[75,16],[69,17],[70,18],[68,19],[80,19],[81,20],[71,14],[77,21],[78,22],[79,23],[76,1],[82,24],[96,25],[65,1],[66,1],[62,1],[63,26],[64,27],[157,1],[163,28],[101,29],[102,29],[104,30],[105,31],[106,32],[107,33],[108,34],[109,35],[110,36],[111,37],[112,38],[113,39],[114,39],[116,40],[115,41],[117,40],[118,42],[119,43],[103,44],[153,1],[120,45],[121,46],[122,47],[154,48],[123,49],[124,50],[125,51],[126,52],[127,53],[128,54],[129,55],[130,56],[131,57],[132,58],[133,58],[134,59],[135,60],[137,61],[136,62],[138,63],[139,64],[140,1],[141,65],[142,66],[143,67],[144,68],[145,69],[146,70],[147,71],[148,72],[149,73],[150,74],[151,75],[152,76],[156,1],[56,1],[162,77],[160,78],[161,79],[159,80],[11,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[8,1],[48,1],[45,1],[46,1],[47,1],[49,1],[9,1],[50,1],[51,1],[52,1],[53,1],[54,1],[1,1],[10,1],[55,1],[97,3],[99,81],[98,82],[100,83]],"exportedModulesMap":[[155,1],[158,2],[94,3],[93,3],[92,3],[95,4],[84,5],[67,6],[83,1],[85,1],[86,1],[87,7],[88,8],[89,8],[90,9],[91,10],[59,11],[58,12],[57,13],[72,14],[60,14],[61,14],[73,3],[74,15],[75,16],[69,17],[70,18],[68,19],[80,19],[81,20],[71,14],[77,21],[78,22],[79,23],[76,1],[82,24],[96,25],[65,1],[66,1],[62,1],[63,26],[64,27],[157,1],[163,28],[101,29],[102,29],[104,30],[105,31],[106,32],[107,33],[108,34],[109,35],[110,36],[111,37],[112,38],[113,39],[114,39],[116,40],[115,41],[117,40],[118,42],[119,43],[103,44],[153,1],[120,45],[121,46],[122,47],[154,48],[123,49],[124,50],[125,51],[126,52],[127,53],[128,54],[129,55],[130,56],[131,57],[132,58],[133,58],[134,59],[135,60],[137,61],[136,62],[138,63],[139,64],[140,1],[141,65],[142,66],[143,67],[144,68],[145,69],[146,70],[147,71],[148,72],[149,73],[150,74],[151,75],[152,76],[156,1],[56,1],[162,77],[160,78],[161,79],[159,80],[11,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[36,1],[33,1],[34,1],[35,1],[37,1],[7,1],[38,1],[43,1],[44,1],[39,1],[40,1],[41,1],[42,1],[8,1],[48,1],[45,1],[46,1],[47,1],[49,1],[9,1],[50,1],[51,1],[52,1],[53,1],[54,1],[1,1],[10,1],[55,1],[97,84]],"semanticDiagnosticsPerFile":[155,158,94,93,92,95,84,67,83,85,86,87,88,89,90,91,59,58,57,72,60,61,73,74,75,69,70,68,80,81,71,77,78,79,76,82,96,65,66,62,63,64,157,163,101,102,104,105,106,107,108,109,110,111,112,113,114,116,115,117,118,119,103,153,120,121,122,154,123,124,125,126,127,128,129,130,131,132,133,134,135,137,136,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,156,56,162,160,161,159,11,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,54,1,10,55,97,99,98,100]},"version":"4.9.5"}
|
|
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.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.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.date.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.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/commander/typings/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/@types/Page.d.ts","../node_modules/@odg/chemical-x/dist/crawler/@types/Context.d.ts","../node_modules/@odg/chemical-x/dist/crawler/@types/Browser.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Browser.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Context.d.ts","../node_modules/@odg/exception/dist/exceptions/Exception.d.ts","../node_modules/@odg/exception/dist/exceptions/UnknownException.d.ts","../node_modules/@odg/exception/dist/index.d.ts","../node_modules/@odg/chemical-x/dist/Enums/RetryAction.d.ts","../node_modules/@odg/chemical-x/dist/Enums/index.d.ts","../node_modules/@odg/chemical-x/dist/Interfaces/CloneableInterface.d.ts","../node_modules/@odg/chemical-x/dist/Interfaces/NativeInterface.d.ts","../node_modules/@odg/chemical-x/dist/types/PromiseSyncType.d.ts","../node_modules/@odg/chemical-x/dist/Interfaces/RetryInterface.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Interfaces/PageInterface.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Interfaces/HandlerInterface.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Interfaces/index.d.ts","../node_modules/@odg/chemical-x/dist/Interfaces/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/@types/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Handlers/BaseHandler.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Handlers/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Page.d.ts","../node_modules/@odg/chemical-x/dist/types/FunctionType.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Selectors/SelectorsTypo.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Pages/BasePage.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Pages/Components/BaseComponentPage.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Pages/index.d.ts","../node_modules/@odg/chemical-x/dist/crawler/index.d.ts","../node_modules/@odg/chemical-x/dist/Helpers/sleep.d.ts","../node_modules/@odg/chemical-x/dist/Helpers/retry.d.ts","../node_modules/@odg/chemical-x/dist/Helpers/index.d.ts","../node_modules/@odg/chemical-x/dist/Support/Arr.d.ts","../node_modules/@odg/chemical-x/dist/Support/Num.d.ts","../node_modules/@odg/chemical-x/dist/Support/Str.d.ts","../node_modules/@odg/chemical-x/dist/Support/index.d.ts","../node_modules/@odg/chemical-x/dist/Exceptions/MoneyNotFoundException.d.ts","../node_modules/@odg/chemical-x/dist/Exceptions/MoneyMultipleResultException.d.ts","../node_modules/@odg/chemical-x/dist/Exceptions/InvalidArgumentException.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Exceptions/BrowserException.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Exceptions/BrowserInstanceException.d.ts","../node_modules/@odg/chemical-x/dist/crawler/Exceptions/index.d.ts","../node_modules/@odg/chemical-x/dist/Exceptions/index.d.ts","../node_modules/@odg/chemical-x/dist/index.d.ts","../src/Exceptions/InvalidArgumentException.ts","../src/Generators/StubCreator.ts","../src/Generators/MakeFile.ts","../src/index.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.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/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.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/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.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/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","impliedFormat":1},{"version":"bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c","impliedFormat":1},{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true,"impliedFormat":1},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true,"impliedFormat":1},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true,"impliedFormat":1},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true,"impliedFormat":1},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc496ef4377553e461efcf7cc5a5a57cf59f9962aea06b5e722d54a36bf66ea1","affectsGlobalScope":true,"impliedFormat":1},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true,"impliedFormat":1},{"version":"930b0e15811f84e203d3c23508674d5ded88266df4b10abee7b31b2ac77632d2","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true,"impliedFormat":1},{"version":"65be38e881453e16f128a12a8d36f8b012aa279381bf3d4dc4332a4905ceec83","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true,"impliedFormat":1},{"version":"e1913f656c156a9e4245aa111fbb436d357d9e1fe0379b9a802da7fe3f03d736","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"fe3fd03f6dd87b469b770256897cd1f85e7a259c1a448d80237e47285be0bd2f","impliedFormat":1},{"version":"96ab9b2fb13cb00eb8f74ba1b663f431f3ca8d60345f584ad743f2444474431a","impliedFormat":1},{"version":"0e80a9b6cc481df2b19033645c3732e1f2ef78b66deb82e1d0047bca7eedba05","impliedFormat":1},{"version":"fcfb5ea316620aeea3cd690174f47b650fc8b77251d13889e7edd6fc8819826a","impliedFormat":1},{"version":"28c7ec2eb8e6043c41b54aac622f58f6f12f71dbdab75c1f38a7e39dc8af806f","impliedFormat":1},{"version":"38f601c7abe52aaf27ed2ad6a500a5acf7847f96604ade5d99be1d872d8c19e9","impliedFormat":1},{"version":"12c82dbc857502e3f867f0a567388d4291cb20ddb2906cc9fbeff253662c9112","impliedFormat":1},{"version":"57dfec185a3d2984b6f7c0f57f3e0f6b74d33f122f339c00eae96c87ea7e06e1","impliedFormat":1},{"version":"1df58ba1cc41c4166dcbe53efd88611b9ddf5a27f33f4eb88a9189ea2ea56473","impliedFormat":1},{"version":"8903494d0c131866bca438657389312e26db3a426c3a80c49d4434e30b908e7d","impliedFormat":1},{"version":"afd3fce5d65332fc39a7a9deace2050a2c55fd4adc5ab7129f913134fdd5e538","impliedFormat":1},{"version":"bfc4c095e9c43f75fd93638c5671aea57d0b15f479b207d333e01ee99445090f","impliedFormat":1},{"version":"6ef6c57c59e53eeed8b4ae57cf5079dd08263433ddcd79d164267488b37d1976","impliedFormat":1},{"version":"58cbb30728349cc20c144127060bcec4d5d4288199bf81381dbea2d9edfec6c6","impliedFormat":1},{"version":"e10b93b4220ebddf7ee401d9650c371cd971e154d36b4379d7663fff6b9546bf","impliedFormat":1},{"version":"195bdab530afa8244aa70ef37b096e3167e257443d0846637fd350415343624c","impliedFormat":1},{"version":"c0cbbc456b05fc3c95208d06bb985c1e5afff64fe4cf30b85a1b36efa5d3dc0c","impliedFormat":1},{"version":"fdbb2049f6a802ccc27c8c4dd979a07702aef71ea877a4b7c980975033e4145c","impliedFormat":1},{"version":"687c0825f5b84dfcc010fe1ba03f545fc763a1bb2c79ea4b4d6e09e2641276d3","impliedFormat":1},{"version":"1a255b6ced127cd0314cf8ca3aa27fd60fb2f6ee7735e3ca8241d29c0f3a736e","impliedFormat":1},{"version":"054e92b4eab02c68fa0694b70e2823307a7484bf3fe9af00470a88843bbb0804","impliedFormat":1},{"version":"1ce1b69509a7fbb9fc2c848821888212aec64c8e4e9653030ebb4fbe7edd737d","impliedFormat":1},{"version":"e20b06b111c1d08b31bd396bf613a9f1923d40a1a8b1671c61358f721f6f90c3","impliedFormat":1},{"version":"2b4752e2c992ea6ebb6536997aee53dcaacc8f2cfe36819481a5a37b358b2b09","impliedFormat":1},{"version":"3998722555c15402d6f5d91cc40b5ea578a7bd964e35f4f18bddc3a9708c99fd","impliedFormat":1},{"version":"1dfed94de49a08160ea8d1a1392d11c30cac7eab4974fcf8bb0692f7653be6c5","impliedFormat":1},{"version":"25112cd85e369ce5507ffdc134db25df501960cfd52b80596a5e54a5e3704d54","impliedFormat":1},{"version":"0bcde7b0cbd741f162d5c515dff74f3b0a65ca19a535cce18497e35ff88d7157","impliedFormat":1},{"version":"11caaa2481b28a712045b8db0b4daad9186958c27c4fdf87928dfebae9106d1b","impliedFormat":1},{"version":"4481cae90707fe3fa76364c0b65e33e0d5b5f815e03966a9849cc1ba4995f797","impliedFormat":1},{"version":"3be3ef0314fdfe2733e0055d31ef051aff842a8c51c7be0dd8b38ef252fbdcca","impliedFormat":1},{"version":"5747af773d16d7b6998c1c131ea043d95bed265396ed44b771cc55a03b4457cc","impliedFormat":1},{"version":"44dff190ebad844b12cc4d4b050e992570007728e64c2963b03492b09044ed6c","impliedFormat":1},{"version":"c3594c99c4c55a48744e62949023cf8b7067d856eeb0038b214dfc3f0d83a68f","impliedFormat":1},{"version":"0bb4bfbd597c5d4740cb98a8f76a00424a4aa140e53b783f2f30b359f6082bac","impliedFormat":1},{"version":"24102fd7ceda577718d0cf20f606bd64e0bd84b52b0e4904fe20cc8f9fdac237","impliedFormat":1},{"version":"ee39e113204504b5f3287d50a54abad8fa8be5a778fb5b4c9842b75e2eb69d38","impliedFormat":1},{"version":"e91d528dfc6496204785f75c2d8043c2406c085eff306c42150fc76cf1ee4b5a","impliedFormat":1},{"version":"de94604d1fdba3421a7d9c9ba16a7af0831c9040c7c67d805157a7926802596c","impliedFormat":1},{"version":"03b43add7d2c0f27e467ddb0566bb6f5b3842fbfe7ccc646db61e79e99950349","impliedFormat":1},{"version":"ac01ae6d1b842b37c75d476f0bc8dff6b8cdf9aef53ff60621ce3fb4a3a99b34","impliedFormat":1},{"version":"a99b689d1379bfd256034b8fa0d16ff1acc4ac7b3729071b515bd4d9191b8d55","impliedFormat":1},{"version":"09e0952db5859bb696e37d2131eb18b722f5c1ad0ae3bc7996a542e038b4fe9d","impliedFormat":1},{"version":"6fad467631575f6c8a95c95ad804145a598e4cddc15b1c7bcc59668b8052bf88","impliedFormat":1},{"version":"f7bd5a1891a6ec20c7c294a01e9d1cff8576d722cbb8d87b43fc5881d70c6d93","signature":"de94604d1fdba3421a7d9c9ba16a7af0831c9040c7c67d805157a7926802596c","impliedFormat":1},{"version":"5f731bf1642f33d90d80503875ed004f92bb24aba5bcb0ab0f20e4c6dc34c877","signature":"6e9acdbf2fb371682db080d58aa0e6fe64900bb2cf86252ee2bac23fe3797897","impliedFormat":1},{"version":"6b15805f8e69ddd5b85c541f10d3764fc9258a1b77bb77a06876aa7ea63ea1ca","signature":"725ebec0199f725c85264ad96060487949c16740fe000126cec821a6e53fe7bf","impliedFormat":1},{"version":"54451fc5c019bd6dc59121005d9b4bb42eb10d2f4b6e1cb2b77cec8045ce8231","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":1},{"version":"9004b6757fde33f153c3a7694c15b017531a0261fafb99e0542a8a6f61be1708","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true,"impliedFormat":1},{"version":"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89","impliedFormat":1},{"version":"da5afd11bfce6e59d63f28fcf1ce25cd099188de33c08f9fad297186713fb17c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1f2d8573577ad731813e4358b913b667923a94e6456f645918fba11134040d13","impliedFormat":1},{"version":"fe39ceafa361b6d339b518936275eff89a77e7dfe92f2efa5fb97abf9a95ca49","impliedFormat":1},{"version":"815c751d4afee4651d61edf6204187372a55ca8e0126a906986b4859ec51f192","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"8a67dc9edddace374b1a96852ab5bbb87b631d439a928e6df326587d1f4fe9f0","impliedFormat":1},{"version":"fbcf2c3cde728761b05dbf8e7a9b8be1f5514dc324c6f83b87ba5c0668119b98","impliedFormat":1},{"version":"7eb0662b995994db248290a0f0a1d8ed685991a162ff9eb4dee36f099cccd0d9","impliedFormat":1},{"version":"16bbaee4dd96ec8b67026329a4f5fdef6313e42a5c305ddeb498c3d65fb557b8","impliedFormat":1},{"version":"37a36483218b24a50be2548a71557603e01ce38154c9f3f635c6c8275abd9fb1","impliedFormat":1},{"version":"c6cf9428f45f3d78b07df7d7aab1569994c177d36549e3a962f952d89f026bc4","impliedFormat":1},{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d30c9292ff36b2af594109d4413f34b952b1258c50b0361a3db1f7d94ec1e193","affectsGlobalScope":true,"impliedFormat":1},{"version":"d617229425b25df2046a9c1e321dd1b50825abc8e3b38048453345483f8601e1","impliedFormat":1},{"version":"badd4f5fe0cca51915ef597852d07598ca490f6d1d9d68d505a159f18cde792d","impliedFormat":1},{"version":"2d510ba9ab3fd294bc60f6a6dea2c8eb5942676bce2916ea72b52b975e788abb","impliedFormat":1},{"version":"e6d2e297c73016fc98095238b25428591d129481c50eb1b6e575d35f3f8c621e","impliedFormat":1},{"version":"e3baa0c5780c2c805ec33a999722a2f740b572eb3746fd0a5f93a0a5c3dbf7f6","impliedFormat":1},{"version":"7e5307e29dfd5d5b827203b85cb665d8d5bf932a6c6f393457da8e9ed1906761","impliedFormat":1},{"version":"e492737de7f023b47ff14ca54b9635ba3dcd64816ed3316c9f3a784cf5897173","affectsGlobalScope":true,"impliedFormat":1},{"version":"40798238bc2e17ee787a815dbce4f2c89c161e5ad2fde062fb50454c093fa433","impliedFormat":1},{"version":"30b15efd2b52c7e5f0f7c1e360afc43f487a2cffad5c01756f06eb323eee3efd","impliedFormat":1},{"version":"323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c","impliedFormat":1},{"version":"e7391fb34deecd321ae15af659cbfb0b9abc995c5ed4b3d703ba768e44b89670","affectsGlobalScope":true,"impliedFormat":1},{"version":"0900d10c17bae29648b266c0ae7cef0c95ebb2a1d81541b833833ed0996ac85a","affectsGlobalScope":true,"impliedFormat":1},{"version":"58520d6ae3a339cd22ffc528b50b21e4e8f5247a87913eb1c697c1af62eb0395","impliedFormat":1},{"version":"186614c0f9ca0ec3cfa988f1dc01c6f392a798710072ff4bdf20ce56e09a6dfd","impliedFormat":1},{"version":"2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","impliedFormat":1},{"version":"6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","impliedFormat":1},{"version":"48dab0d6e633b8052e7eaa0efb0bb3d58a733777b248765eafcb0b0349439834","impliedFormat":1},{"version":"6e4b2642721462bf62d19593770659f268a6ca1e9fd15543747efb3ac471cee3","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"8258e69a3b0de494ea55eeea7a4d3216ac112c12006c74dfd381c0d5e42a2607","impliedFormat":1},{"version":"cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","impliedFormat":1},{"version":"4b1ff655bd8edd879dd4f04f15338ce0109f58ccb424165d44fa07e7ea39c4bf","impliedFormat":1},{"version":"6fa3d3f427475a5d21fed826d6457e7f9ee3a0abeb3124fc41f385f112368d2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"b85e57e102a1df14980b46d745c9fe8e16a9b0a69a98fb1a2c558c9137ab30d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","impliedFormat":1},{"version":"e5ce801ce5e85d7281807d8a65a21ee9767c122c87da262891582b4afead5ec0","impliedFormat":1},{"version":"76a89af04f2ba1807309320dab5169c0d1243b80738b4a2005989e40a136733e","impliedFormat":1},{"version":"c045b664abf3fc2a4750fa96117ab2735e4ed45ddd571b2a6a91b9917e231a02","impliedFormat":1},{"version":"057d7f56aacd575a6240838d2684d34a340acde815f84190ea5e9afd611aeee6","affectsGlobalScope":true,"impliedFormat":1},{"version":"40ed27386f21a739bd0d2e2cfed563760588f2aeaa7ad149c1bf1454a7ec743a","affectsGlobalScope":true,"impliedFormat":1},{"version":"d1ef1d8516286380fd0a6f498f1650d374a8cb5f03d91633b6124e4fb8fb131d","impliedFormat":1},{"version":"6244a29671c12a54fc5b1393dde60bac655bd778d84758a4db847f684d4da3a5","impliedFormat":1},{"version":"8bc733ffd630d49d495663bfecf590281c8f5412b33657430ab471b558206705","impliedFormat":1},{"version":"171c1840775746917e7b813c9df0fc0b84876f96623a6cfef3b3de7ea816b8c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"872201e32a629152e8bc7118e8977ac37a1a62ab6756c2ac3e6b53859f0a8fa1","impliedFormat":1}],"root":[[109,112]],"options":{"alwaysStrict":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":100,"newLine":1,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","preserveConstEnums":true,"removeComments":false,"sourceMap":true,"strict":true,"strictFunctionTypes":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":9},"fileIdsList":[[159],[74,159],[73,159],[101,102,103,106,159],[94,95,159],[83,159],[73,75,78,159],[76,77,79,82,159],[97,98,108,159],[97,98,99,159],[66,67,159],[66,68,159],[67,68,159],[66,67,68,159],[104,159],[104,105,159],[73,75,83,84,159],[85,159],[73,75,159],[80,81,159],[73,78,88,89,93,108,159],[90,93,159],[90,91,159],[69,70,84,86,87,89,92,159],[75,83,93,96,100,107,159],[71,72,159],[113,159],[116,159],[117,122,150,159],[118,129,130,137,147,158,159],[118,119,129,137,159],[120,159],[121,122,130,138,159],[122,147,155,159],[123,125,129,137,159],[124,159],[125,126,159],[129,159],[127,129,159],[129,130,131,147,158,159],[129,130,131,144,147,150,159],[159,163],[125,129,132,137,147,158,159],[129,130,132,133,137,147,155,158,159],[132,134,147,155,158,159],[113,114,115,116,117,118,119,120,121,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,165],[129,135,159],[136,158,159,163],[125,129,137,147,159],[138,159],[139,159],[116,140,159],[141,157,159,163],[142,159],[143,159],[129,144,145,159],[144,146,159,161],[117,129,147,148,149,150,159],[117,147,149,159],[147,148,159],[150,159],[151,159],[116,147,159],[129,153,154,159],[153,154,159],[122,137,147,155,159],[156,159],[137,157,159],[117,132,143,158,159],[122,159],[147,159,160],[136,159,161],[159,162],[117,122,129,131,140,147,158,159,161,163],[147,159,164],[108,110,159],[108,109,130,139,159],[65,111,159],[73]],"referencedMap":[[74,1],[75,2],[103,3],[102,3],[101,3],[107,4],[96,5],[95,6],[94,1],[76,1],[77,1],[79,7],[83,8],[97,6],[98,6],[99,9],[100,10],[68,11],[67,12],[66,13],[84,14],[69,14],[70,14],[104,3],[105,15],[106,16],[85,17],[86,18],[81,19],[80,19],[82,20],[87,14],[90,21],[91,22],[92,23],[89,1],[93,24],[108,25],[88,1],[78,1],[71,1],[72,3],[73,26],[113,27],[114,27],[116,28],[117,29],[118,30],[119,31],[120,32],[121,33],[122,34],[123,35],[124,36],[125,37],[126,37],[128,38],[127,39],[129,38],[130,40],[131,41],[115,42],[165,1],[132,43],[133,44],[134,45],[166,46],[135,47],[136,48],[137,49],[138,50],[139,51],[140,52],[141,53],[142,54],[143,55],[144,56],[145,56],[146,57],[147,58],[149,59],[148,60],[150,61],[151,62],[152,63],[153,64],[154,65],[155,66],[156,67],[157,68],[158,69],[159,70],[160,71],[161,72],[162,73],[163,74],[164,75],[65,1],[63,1],[64,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[4,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[5,1],[31,1],[32,1],[33,1],[34,1],[6,1],[38,1],[35,1],[36,1],[37,1],[39,1],[7,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[8,1],[50,1],[47,1],[48,1],[49,1],[51,1],[9,1],[52,1],[53,1],[54,1],[57,1],[55,1],[56,1],[58,1],[59,1],[10,1],[1,1],[11,1],[62,1],[61,1],[60,1],[109,3],[111,76],[110,77],[112,78]],"exportedModulesMap":[[74,1],[75,2],[103,3],[102,3],[101,3],[107,4],[96,5],[95,6],[94,1],[76,1],[77,1],[79,7],[83,8],[97,6],[98,6],[99,9],[100,10],[68,11],[67,12],[66,13],[84,14],[69,14],[70,14],[104,3],[105,15],[106,16],[85,17],[86,18],[81,19],[80,19],[82,20],[87,14],[90,21],[91,22],[92,23],[89,1],[93,24],[108,25],[88,1],[78,1],[71,1],[72,3],[73,26],[113,27],[114,27],[116,28],[117,29],[118,30],[119,31],[120,32],[121,33],[122,34],[123,35],[124,36],[125,37],[126,37],[128,38],[127,39],[129,38],[130,40],[131,41],[115,42],[165,1],[132,43],[133,44],[134,45],[166,46],[135,47],[136,48],[137,49],[138,50],[139,51],[140,52],[141,53],[142,54],[143,55],[144,56],[145,56],[146,57],[147,58],[149,59],[148,60],[150,61],[151,62],[152,63],[153,64],[154,65],[155,66],[156,67],[157,68],[158,69],[159,70],[160,71],[161,72],[162,73],[163,74],[164,75],[65,1],[63,1],[64,1],[12,1],[14,1],[13,1],[2,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[3,1],[4,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[5,1],[31,1],[32,1],[33,1],[34,1],[6,1],[38,1],[35,1],[36,1],[37,1],[39,1],[7,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[8,1],[50,1],[47,1],[48,1],[49,1],[51,1],[9,1],[52,1],[53,1],[54,1],[57,1],[55,1],[56,1],[58,1],[59,1],[10,1],[1,1],[11,1],[62,1],[61,1],[60,1],[109,79]],"semanticDiagnosticsPerFile":[74,75,103,102,101,107,96,95,94,76,77,79,83,97,98,99,100,68,67,66,84,69,70,104,105,106,85,86,81,80,82,87,90,91,92,89,93,108,88,78,71,72,73,113,114,116,117,118,119,120,121,122,123,124,125,126,128,127,129,130,131,115,165,132,133,134,166,135,136,137,138,139,140,141,142,143,144,145,146,147,149,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,65,63,64,12,14,13,2,15,16,17,18,19,20,21,22,3,4,23,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,59,10,1,11,62,61,60,109,111,110,112]},"version":"5.2.2"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odg/command",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Stanley TheTemplate for typescript project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,14 +15,19 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "rimraf build && tsc --project ./tsconfig.build.json",
|
|
17
17
|
"build:watch": "rimraf build && tsc --project ./tsconfig.build.json -w",
|
|
18
|
-
"dev": "
|
|
19
|
-
"odg": "
|
|
18
|
+
"dev": "tsx ./src/index.ts",
|
|
19
|
+
"odg": "tsx ./src/index.ts",
|
|
20
20
|
"start": "node ./dist/index.ts",
|
|
21
21
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.jsonc,.json5,.yml,.yaml,.xml,.txt,.svg,.properties,.gradle,.java,.cpp,.c,.cs,.html,.css,.groovy,.gitignore,.npmignore,.toml,.env,.example,.sample,.ini,.php,.bat,.powershell,.ps1,.sh,.bash,.eslintrc",
|
|
22
22
|
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.json,.jsonc,.json5,.yml,.yaml,.xml,.txt,.svg,.properties,.gradle,.java,.cpp,.c,.cs,.html,.css,.groovy,.gitignore,.npmignore,.toml,.env,.example,.sample,.ini,.php,.bat,.powershell,.ps1,.sh,.bash,.eslintrc --fix",
|
|
23
|
-
"test": "
|
|
24
|
-
"test:ci": "
|
|
25
|
-
"test:watch": "
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"test:ci": "vitest run --passWithNoTests",
|
|
25
|
+
"test:watch": "vitest --watch"
|
|
26
|
+
},
|
|
27
|
+
"lint-staged": {
|
|
28
|
+
"*": [
|
|
29
|
+
"npm run lint:fix"
|
|
30
|
+
]
|
|
26
31
|
},
|
|
27
32
|
"publishConfig": {
|
|
28
33
|
"access": "public"
|
|
@@ -60,20 +65,22 @@
|
|
|
60
65
|
"license": "MIT",
|
|
61
66
|
"devDependencies": {
|
|
62
67
|
"@odg/eslint-config": "*",
|
|
63
|
-
"@
|
|
68
|
+
"@odg/tsconfig": "*",
|
|
64
69
|
"@types/node": "^18",
|
|
70
|
+
"@vitest/coverage-v8": "*",
|
|
65
71
|
"eslint": "*",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"typescript": "^
|
|
72
|
+
"husky": "^8.0.3",
|
|
73
|
+
"lint-staged": "^14.0.1",
|
|
74
|
+
"rimraf": "^5.0.5",
|
|
75
|
+
"tsc-alias": "^1.8.8",
|
|
76
|
+
"tsx": "^3.13.0",
|
|
77
|
+
"typescript": "^5.2.2",
|
|
78
|
+
"vite-tsconfig-paths": "*",
|
|
79
|
+
"vitest": "^0.34.6"
|
|
72
80
|
},
|
|
73
81
|
"dependencies": {
|
|
74
82
|
"@odg/chemical-x": "*",
|
|
75
83
|
"@odg/exception": "*",
|
|
76
|
-
"@odg/tsconfig": "*",
|
|
77
84
|
"commander": "^10.0.0"
|
|
78
85
|
}
|
|
79
86
|
}
|
package/stubs/event.stub
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type EventListenerInterface } from "@odg/events";
|
|
2
2
|
import { LoggerInterface } from "@odg/log";
|
|
3
3
|
import { inject, injectable } from "inversify";
|
|
4
4
|
|
|
5
|
-
import type
|
|
5
|
+
import { type EventBrowserParameters, type EventTypes } from "#types/EventsInterface";
|
|
6
6
|
import { ContainerName, type EventName } from "@enums";
|
|
7
|
-
import { PageOrHandlerFactoryType } from "@factory/
|
|
8
|
-
import
|
|
7
|
+
import { PageOrHandlerFactoryType } from "@factory/PageOrHandlerFactory";
|
|
8
|
+
import { {{ EventName:UCFirst }}Page } from "@pages/{{ EventName:UCFirst }}Page";
|
|
9
9
|
|
|
10
10
|
@injectable()
|
|
11
11
|
export class {{ EventName:UCFirst }}EventListener implements EventListenerInterface<EventTypes, EventName.{{ EventName:UCFirst }}PageEvent> {
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
public constructor(
|
|
14
|
+
@inject(ContainerName.Logger) public readonly log: LoggerInterface,
|
|
15
|
+
@inject(ContainerName.{{ EventName:UCFirst }}PageFactory) public readonly {{ EventName:LCFirst }}PageFactory: PageOrHandlerFactoryType<{{ EventName:UCFirst }}Page>,
|
|
16
|
+
) {
|
|
17
|
+
}
|
|
18
18
|
|
|
19
19
|
public async handler({ page }: EventBrowserParameters): Promise<void> {
|
|
20
20
|
await this.log.debug("SearchEventListeners is sended");
|
|
21
21
|
|
|
22
|
-
const myStep = this.{{ EventName }}
|
|
22
|
+
const myStep = this.{{ EventName:LCFirst }}PageFactory(page);
|
|
23
23
|
await myStep.execute();
|
|
24
24
|
}
|
|
25
25
|
|
package/stubs/handler.stub
CHANGED
|
@@ -7,15 +7,16 @@ import {
|
|
|
7
7
|
import { type Exception } from "@odg/exception";
|
|
8
8
|
import { injectable } from "inversify";
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { ConfigName, EventName } from "@enums";
|
|
11
|
+
import { BaseHandler } from "@handlers/BaseHandler";
|
|
11
12
|
|
|
12
13
|
@injectable()
|
|
13
|
-
export class {{ OriginHandler:
|
|
14
|
+
export class {{ OriginHandler:UCFirst }}To{{ DestinationHandler:UCFirst }}Handler extends BaseHandler implements HandlerInterface {
|
|
14
15
|
|
|
15
16
|
public async waitForHandler(): Promise<HandlerFunction> {
|
|
16
17
|
return Promise.race([
|
|
17
18
|
this.identifySuccess(),
|
|
18
|
-
this.
|
|
19
|
+
this.identifyError(),
|
|
19
20
|
]);
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -25,7 +26,7 @@ export class {{ OriginHandler:UcFirst }}To{{ DestinationHandler:UcFirst }}Handle
|
|
|
25
26
|
* @returns {Promise<number>}
|
|
26
27
|
*/
|
|
27
28
|
public async getTimeout(): Promise<number> {
|
|
28
|
-
return
|
|
29
|
+
return this.config.get(ConfigName.HANDLER_TIMEOUT);
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
/**
|
|
@@ -34,7 +35,7 @@ export class {{ OriginHandler:UcFirst }}To{{ DestinationHandler:UcFirst }}Handle
|
|
|
34
35
|
* @returns {Promise<number>}
|
|
35
36
|
*/
|
|
36
37
|
public async attempt(): Promise<number> {
|
|
37
|
-
return
|
|
38
|
+
return this.config.get(ConfigName.HANDLER_ATTEMPT);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
/**
|
|
@@ -45,7 +46,7 @@ export class {{ OriginHandler:UcFirst }}To{{ DestinationHandler:UcFirst }}Handle
|
|
|
45
46
|
* @returns {Promise<RetryAction>}
|
|
46
47
|
*/
|
|
47
48
|
public async failedWait(exception: Exception, attempt: number): Promise<RetryAction> {
|
|
48
|
-
await this.log.debug(`Step {{ OriginHandler:
|
|
49
|
+
await this.log.debug(`Step {{ OriginHandler:UCFirst }}To{{ DestinationHandler:UCFirst }}Handler: Failed Attempt ${attempt}.`);
|
|
49
50
|
await this.log.warning(exception.message);
|
|
50
51
|
|
|
51
52
|
return RetryAction.Default;
|
|
@@ -57,7 +58,7 @@ export class {{ OriginHandler:UcFirst }}To{{ DestinationHandler:UcFirst }}Handle
|
|
|
57
58
|
* @returns {Promise<void>}
|
|
58
59
|
*/
|
|
59
60
|
public async success(): Promise<void> {
|
|
60
|
-
await this.log.debug("Step {{ OriginHandler:
|
|
61
|
+
await this.log.debug("Step {{ OriginHandler:UCFirst }}To{{ DestinationHandler:UCFirst }}Handler finish with success.");
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
/**
|
|
@@ -79,7 +80,7 @@ export class {{ OriginHandler:UcFirst }}To{{ DestinationHandler:UcFirst }}Handle
|
|
|
79
80
|
*
|
|
80
81
|
* @returns {Promise<HandlerFunction>}
|
|
81
82
|
*/
|
|
82
|
-
public async
|
|
83
|
+
public async identifyError(): Promise<HandlerFunction> {
|
|
83
84
|
return this.page.waitForSelector(this.$$s.example.example2, { timeout: await this.getTimeout() })
|
|
84
85
|
.then(() => this.exampleSolution.bind(this));
|
|
85
86
|
}
|
package/stubs/page.stub
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type PageInterface } from "@odg/chemical-x";
|
|
2
2
|
import { injectable } from "inversify";
|
|
3
3
|
|
|
4
|
+
import { ConfigName } from "@app/Enums";
|
|
5
|
+
import { BasePage } from "@pages/BasePage";
|
|
4
6
|
import {
|
|
5
7
|
type {{ PageName:UCFirst }}SelectorType,
|
|
6
|
-
{{ PageName }}Selector,
|
|
7
|
-
} from "
|
|
8
|
-
|
|
9
|
-
import { BasePage } from "./BasePage";
|
|
8
|
+
{{ PageName:LCFirst }}Selector,
|
|
9
|
+
} from "@selectors";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Generated page {{ PageName:UCFirst }}
|
|
@@ -21,7 +21,7 @@ export class {{ PageName:UCFirst }}Page extends BasePage implements PageInterfac
|
|
|
21
21
|
*
|
|
22
22
|
* @type {{{ PageName:UCFirst }}SelectorType}
|
|
23
23
|
*/
|
|
24
|
-
public $s: {{ PageName:UCFirst }}SelectorType = {{ PageName }}Selector;
|
|
24
|
+
public $s: {{ PageName:UCFirst }}SelectorType = {{ PageName:LCFirst }}Selector;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Execute this step
|
|
@@ -40,7 +40,7 @@ export class {{ PageName:UCFirst }}Page extends BasePage implements PageInterfac
|
|
|
40
40
|
* @returns {Promise<number>}
|
|
41
41
|
*/
|
|
42
42
|
public async attempt(): Promise<number> {
|
|
43
|
-
return
|
|
43
|
+
return this.config.get(ConfigName.PAGE_ATTEMPT);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
}
|
package/stubs/selector.stub
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const {{ SelectorName }}Selector = {
|
|
1
|
+
export const {{ SelectorName:LCFirst }}Selector = {
|
|
2
2
|
example: "#example",
|
|
3
3
|
};
|
|
4
4
|
|
|
5
|
-
export type {{ SelectorName:UCFirst }}SelectorType = typeof {{ SelectorName }}Selector;
|
|
5
|
+
export type {{ SelectorName:UCFirst }}SelectorType = typeof {{ SelectorName:LCFirst }}Selector;
|