moyan-api 1.0.45 → 1.0.49
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/.eslintrc.js +28 -28
- package/.prettierrc +4 -4
- package/CHANGELOG.md +99 -89
- package/README.md +10 -1
- package/dist/lib/base.d.ts +4 -1
- package/dist/lib/base.js +12 -0
- package/dist/lib/base.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +40 -40
- package/src/lib/base.ts +30 -2
- package/tsconfig.json +21 -20
package/.eslintrc.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
parser: "@typescript-eslint/parser",
|
|
3
|
-
parserOptions: {
|
|
4
|
-
project: "tsconfig.json",
|
|
5
|
-
sourceType: "module"
|
|
6
|
-
},
|
|
7
|
-
plugins: ["@typescript-eslint/eslint-plugin"],
|
|
8
|
-
extends: [
|
|
9
|
-
"plugin:@typescript-eslint/recommended",
|
|
10
|
-
"plugin:prettier/recommended"
|
|
11
|
-
],
|
|
12
|
-
root: true,
|
|
13
|
-
env: {
|
|
14
|
-
node: true,
|
|
15
|
-
jest: true
|
|
16
|
-
},
|
|
17
|
-
ignorePatterns: [".eslintrc.js"],
|
|
18
|
-
rules: {
|
|
19
|
-
semi: "off",
|
|
20
|
-
quotes: "off",
|
|
21
|
-
indent: "off",
|
|
22
|
-
"dot-notation": "off",
|
|
23
|
-
"@typescript-eslint/interface-name-prefix": "off",
|
|
24
|
-
"@typescript-eslint/explicit-function-return-type": "off",
|
|
25
|
-
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
26
|
-
"@typescript-eslint/no-explicit-any": "off"
|
|
27
|
-
}
|
|
28
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
parser: "@typescript-eslint/parser",
|
|
3
|
+
parserOptions: {
|
|
4
|
+
project: "tsconfig.json",
|
|
5
|
+
sourceType: "module"
|
|
6
|
+
},
|
|
7
|
+
plugins: ["@typescript-eslint/eslint-plugin"],
|
|
8
|
+
extends: [
|
|
9
|
+
"plugin:@typescript-eslint/recommended",
|
|
10
|
+
"plugin:prettier/recommended"
|
|
11
|
+
],
|
|
12
|
+
root: true,
|
|
13
|
+
env: {
|
|
14
|
+
node: true,
|
|
15
|
+
jest: true
|
|
16
|
+
},
|
|
17
|
+
ignorePatterns: [".eslintrc.js"],
|
|
18
|
+
rules: {
|
|
19
|
+
semi: "off",
|
|
20
|
+
quotes: "off",
|
|
21
|
+
indent: "off",
|
|
22
|
+
"dot-notation": "off",
|
|
23
|
+
"@typescript-eslint/interface-name-prefix": "off",
|
|
24
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
25
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
26
|
+
"@typescript-eslint/no-explicit-any": "off"
|
|
27
|
+
}
|
|
28
|
+
};
|
package/.prettierrc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"semi":false,
|
|
3
|
-
"singleQuote": false,
|
|
4
|
-
"trailingComma": "none"
|
|
1
|
+
{
|
|
2
|
+
"semi":false,
|
|
3
|
+
"singleQuote": false,
|
|
4
|
+
"trailingComma": "none"
|
|
5
5
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,92 +2,102 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [1.0.
|
|
6
|
-
|
|
7
|
-
### [1.0.
|
|
8
|
-
|
|
9
|
-
### [1.0.
|
|
10
|
-
|
|
11
|
-
### [1.0.
|
|
12
|
-
|
|
13
|
-
###
|
|
14
|
-
|
|
15
|
-
### [1.0.
|
|
16
|
-
|
|
17
|
-
### [1.0.
|
|
18
|
-
|
|
19
|
-
### [1.0.
|
|
20
|
-
|
|
21
|
-
### [1.0.
|
|
22
|
-
|
|
23
|
-
### [1.0.
|
|
24
|
-
|
|
25
|
-
### [1.0.
|
|
26
|
-
|
|
27
|
-
### [1.0.
|
|
28
|
-
|
|
29
|
-
### [1.0.
|
|
30
|
-
|
|
31
|
-
### [1.0.
|
|
32
|
-
|
|
33
|
-
### [1.0.
|
|
34
|
-
|
|
35
|
-
### [1.0.
|
|
36
|
-
|
|
37
|
-
### [1.0.
|
|
38
|
-
|
|
39
|
-
### [1.0.
|
|
40
|
-
|
|
41
|
-
### [1.0.
|
|
42
|
-
|
|
43
|
-
### [1.0.
|
|
44
|
-
|
|
45
|
-
### [1.0.
|
|
46
|
-
|
|
47
|
-
### [1.0.
|
|
48
|
-
|
|
49
|
-
### [1.0.
|
|
50
|
-
|
|
51
|
-
### [1.0.
|
|
52
|
-
|
|
53
|
-
### [1.0.
|
|
54
|
-
|
|
55
|
-
### [1.0.
|
|
56
|
-
|
|
57
|
-
### [1.0.
|
|
58
|
-
|
|
59
|
-
### [1.0.
|
|
60
|
-
|
|
61
|
-
### [1.0.
|
|
62
|
-
|
|
63
|
-
### [1.0.
|
|
64
|
-
|
|
65
|
-
### [1.0.
|
|
66
|
-
|
|
67
|
-
### [1.0.
|
|
68
|
-
|
|
69
|
-
### [1.0.
|
|
70
|
-
|
|
71
|
-
### [1.0.
|
|
72
|
-
|
|
73
|
-
### [1.0.
|
|
74
|
-
|
|
75
|
-
### [1.0.
|
|
76
|
-
|
|
77
|
-
### [1.0.
|
|
78
|
-
|
|
79
|
-
### [1.0.
|
|
80
|
-
|
|
81
|
-
### [1.0.
|
|
82
|
-
|
|
83
|
-
### [1.0.
|
|
84
|
-
|
|
85
|
-
### [1.0.
|
|
86
|
-
|
|
87
|
-
### [1.0.
|
|
88
|
-
|
|
89
|
-
### [1.0.
|
|
90
|
-
|
|
91
|
-
### [1.0.
|
|
92
|
-
|
|
93
|
-
### 1.0.
|
|
5
|
+
### [1.0.49](https://gitee.com/ymoo/moyan-api/compare/v1.0.48...v1.0.49) (2025-08-12)
|
|
6
|
+
|
|
7
|
+
### [1.0.48](https://gitee.com/ymoo/moyan-api/compare/v1.0.46...v1.0.48) (2025-08-12)
|
|
8
|
+
|
|
9
|
+
### [1.0.47](https://gitee.com/ymoo/moyan-api/compare/v1.0.46...v1.0.47) (2025-08-12)
|
|
10
|
+
|
|
11
|
+
### [1.0.46](https://gitee.com/ymoo/moyan-api/compare/v1.0.47...v1.0.46) (2025-08-12)
|
|
12
|
+
|
|
13
|
+
### 1.0.47 (2025-08-12)
|
|
14
|
+
|
|
15
|
+
### [1.0.45](https://gitee.com/ymoo/moyan-api/compare/v1.0.44...v1.0.45) (2023-08-24)
|
|
16
|
+
|
|
17
|
+
### [1.0.44](https://gitee.com/ymoo/moyan-api/compare/v1.0.43...v1.0.44) (2023-08-24)
|
|
18
|
+
|
|
19
|
+
### [1.0.43](https://gitee.com/ymoo/moyan-api/compare/v1.0.42...v1.0.43) (2023-08-24)
|
|
20
|
+
|
|
21
|
+
### [1.0.42](https://gitee.com/ymoo/moyan-api/compare/v1.0.41...v1.0.42) (2023-08-24)
|
|
22
|
+
|
|
23
|
+
### [1.0.41](https://gitee.com/ymoo/moyan-api/compare/v1.0.40...v1.0.41) (2023-08-24)
|
|
24
|
+
|
|
25
|
+
### [1.0.40](https://gitee.com/ymoo/moyan-api/compare/v1.0.39...v1.0.40) (2023-08-24)
|
|
26
|
+
|
|
27
|
+
### [1.0.39](https://gitee.com/ymoo/moyan-api/compare/v1.0.38...v1.0.39) (2023-08-24)
|
|
28
|
+
|
|
29
|
+
### [1.0.38](https://gitee.com/ymoo/moyan-api/compare/v1.0.37...v1.0.38) (2023-08-24)
|
|
30
|
+
|
|
31
|
+
### [1.0.37](https://gitee.com/ymoo/moyan-api/compare/v1.0.36...v1.0.37) (2023-08-17)
|
|
32
|
+
|
|
33
|
+
### [1.0.36](https://gitee.com/ymoo/moyan-api/compare/v1.0.35...v1.0.36) (2023-08-17)
|
|
34
|
+
|
|
35
|
+
### [1.0.35](https://gitee.com/ymoo/moyan-api/compare/v1.0.34...v1.0.35) (2023-06-08)
|
|
36
|
+
|
|
37
|
+
### [1.0.34](https://gitee.com/ymoo/moyan-api/compare/v1.0.33...v1.0.34) (2023-06-08)
|
|
38
|
+
|
|
39
|
+
### [1.0.33](https://gitee.com/ymoo/moyan-api/compare/v1.0.32...v1.0.33) (2022-08-31)
|
|
40
|
+
|
|
41
|
+
### [1.0.32](https://gitee.com/ymoo/moyan-api/compare/v1.0.31...v1.0.32) (2022-04-26)
|
|
42
|
+
|
|
43
|
+
### [1.0.31](https://gitee.com/ymoo/moyan-api/compare/v1.0.30...v1.0.31) (2022-04-11)
|
|
44
|
+
|
|
45
|
+
### [1.0.30](https://gitee.com/ymoo/moyan-api/compare/v1.0.29...v1.0.30) (2022-04-06)
|
|
46
|
+
|
|
47
|
+
### [1.0.29](https://gitee.com/ymoo/moyan-api/compare/v1.0.28...v1.0.29) (2022-04-06)
|
|
48
|
+
|
|
49
|
+
### [1.0.28](https://gitee.com/ymoo/moyan-api/compare/v1.0.27...v1.0.28) (2022-04-06)
|
|
50
|
+
|
|
51
|
+
### [1.0.27](https://gitee.com/ymoo/moyan-api/compare/v1.0.26...v1.0.27) (2022-04-06)
|
|
52
|
+
|
|
53
|
+
### [1.0.26](https://gitee.com/ymoo/moyan-api/compare/v1.0.25...v1.0.26) (2022-04-06)
|
|
54
|
+
|
|
55
|
+
### [1.0.25](https://gitee.com/ymoo/moyan-api/compare/v1.0.24...v1.0.25) (2022-04-06)
|
|
56
|
+
|
|
57
|
+
### [1.0.24](https://gitee.com/ymoo/moyan-api/compare/v1.0.23...v1.0.24) (2022-04-06)
|
|
58
|
+
|
|
59
|
+
### [1.0.23](https://gitee.com/ymoo/moyan-api/compare/v1.0.22...v1.0.23) (2022-04-06)
|
|
60
|
+
|
|
61
|
+
### [1.0.22](https://gitee.com/ymoo/moyan-api/compare/v1.0.21...v1.0.22) (2022-04-06)
|
|
62
|
+
|
|
63
|
+
### [1.0.21](https://gitee.com/ymoo/moyan-api/compare/v1.0.20...v1.0.21) (2022-04-06)
|
|
64
|
+
|
|
65
|
+
### [1.0.20](https://gitee.com/ymoo/moyan-api/compare/v1.0.19...v1.0.20) (2022-04-06)
|
|
66
|
+
|
|
67
|
+
### [1.0.19](https://gitee.com/ymoo/moyan-api/compare/v1.0.18...v1.0.19) (2022-03-31)
|
|
68
|
+
|
|
69
|
+
### [1.0.18](https://gitee.com/ymoo/moyan-api/compare/v1.0.17...v1.0.18) (2022-03-31)
|
|
70
|
+
|
|
71
|
+
### [1.0.17](https://gitee.com/ymoo/moyan-api/compare/v1.0.16...v1.0.17) (2022-03-31)
|
|
72
|
+
|
|
73
|
+
### [1.0.16](https://gitee.com/ymoo/moyan-api/compare/v1.0.15...v1.0.16) (2022-03-31)
|
|
74
|
+
|
|
75
|
+
### [1.0.15](https://gitee.com/ymoo/moyan-api/compare/v1.0.14...v1.0.15) (2022-03-30)
|
|
76
|
+
|
|
77
|
+
### [1.0.14](https://gitee.com/ymoo/moyan-api/compare/v1.0.13...v1.0.14) (2022-03-21)
|
|
78
|
+
|
|
79
|
+
### [1.0.13](https://gitee.com/ymoo/moyan-api/compare/v1.0.12...v1.0.13) (2022-03-17)
|
|
80
|
+
|
|
81
|
+
### [1.0.12](https://gitee.com/ymoo/moyan-api/compare/v1.0.11...v1.0.12) (2022-03-17)
|
|
82
|
+
|
|
83
|
+
### [1.0.11](https://gitee.com/ymoo/moyan-api/compare/v1.0.10...v1.0.11) (2022-03-17)
|
|
84
|
+
|
|
85
|
+
### [1.0.10](https://gitee.com/ymoo/moyan-api/compare/v1.0.9...v1.0.10) (2022-03-17)
|
|
86
|
+
|
|
87
|
+
### [1.0.9](https://gitee.com/ymoo/moyan-api/compare/v1.0.8...v1.0.9) (2022-03-02)
|
|
88
|
+
|
|
89
|
+
### [1.0.8](https://gitee.com/ymoo/moyan-api/compare/v1.0.7...v1.0.8) (2022-03-02)
|
|
90
|
+
|
|
91
|
+
### [1.0.7](https://gitee.com/ymoo/moyan-api/compare/v1.0.6...v1.0.7) (2022-02-28)
|
|
92
|
+
|
|
93
|
+
### [1.0.6](https://gitee.com/ymoo/moyan-api/compare/v1.0.5...v1.0.6) (2022-02-28)
|
|
94
|
+
|
|
95
|
+
### [1.0.5](https://gitee.com/ymoo/moyan-api/compare/v1.0.4...v1.0.5) (2022-02-28)
|
|
96
|
+
|
|
97
|
+
### [1.0.4](https://gitee.com/ymoo/moyan-api/compare/v1.0.3...v1.0.4) (2022-02-28)
|
|
98
|
+
|
|
99
|
+
### [1.0.3](https://gitee.com/ymoo/moyan-api/compare/v1.0.2...v1.0.3) (2022-02-28)
|
|
100
|
+
|
|
101
|
+
### [1.0.2](https://gitee.com/ymoo/moyan-api/compare/v1.0.1...v1.0.2) (2022-02-28)
|
|
102
|
+
|
|
103
|
+
### 1.0.1 (2022-02-28)
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# moyan-api
|
|
1
|
+
# moyan-api 使用
|
|
2
2
|
|
|
3
3
|
### 描述
|
|
4
4
|
用于生成OAS3 的调用api
|
|
@@ -150,6 +150,15 @@ new ApiGetUser({params:{id:1}}).then((res)=>{
|
|
|
150
150
|
...
|
|
151
151
|
})
|
|
152
152
|
|
|
153
|
+
|
|
154
|
+
new ApiGetUser({query:{id:1}}).then((res)=>{
|
|
155
|
+
...
|
|
156
|
+
})
|
|
157
|
+
|
|
158
|
+
new ApiUpdateUser({query:{id:1},params:{name:'张三'}}).then((res)=>{
|
|
159
|
+
...
|
|
160
|
+
})
|
|
161
|
+
|
|
153
162
|
```
|
|
154
163
|
|
|
155
164
|
### Gitee
|
package/dist/lib/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { EventEmitter } from "events";
|
|
3
|
-
export declare type MoMethod = "POST" | "GET" | "DELETE" | "PUT";
|
|
3
|
+
export declare type MoMethod = "POST" | "GET" | "DELETE" | "PUT" | "ALL";
|
|
4
4
|
export interface ObjectAny {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}
|
|
@@ -16,6 +16,7 @@ export interface Option {
|
|
|
16
16
|
}
|
|
17
17
|
export interface ApiCallProps<T> {
|
|
18
18
|
params?: T;
|
|
19
|
+
query?: Record<string, string | number>;
|
|
19
20
|
option?: Option | {};
|
|
20
21
|
}
|
|
21
22
|
export declare abstract class RequestClass {
|
|
@@ -48,6 +49,7 @@ export declare abstract class ApiCall<ReqType, ResType> extends Promise<ResType>
|
|
|
48
49
|
abstract path: string;
|
|
49
50
|
abstract method: MoMethod;
|
|
50
51
|
error: any;
|
|
52
|
+
query: Record<string, string | number>;
|
|
51
53
|
get status(): any;
|
|
52
54
|
get statusCode(): any;
|
|
53
55
|
response: any;
|
|
@@ -56,6 +58,7 @@ export declare abstract class ApiCall<ReqType, ResType> extends Promise<ResType>
|
|
|
56
58
|
get successMsg(): string;
|
|
57
59
|
get failMsg(): any;
|
|
58
60
|
constructor(props?: ApiCallProps<ReqType>);
|
|
61
|
+
replaceUrlParams<T extends Record<string, string | number>>(urlTemplate: string, params: T): string;
|
|
59
62
|
init(props?: ApiCallProps<ReqType>): void;
|
|
60
63
|
exec(): void;
|
|
61
64
|
}
|
package/dist/lib/base.js
CHANGED
|
@@ -15,6 +15,7 @@ var ApiEvents;
|
|
|
15
15
|
})(ApiEvents = exports.ApiEvents || (exports.ApiEvents = {}));
|
|
16
16
|
class ApiCall extends Promise {
|
|
17
17
|
constructor(props) {
|
|
18
|
+
this.query = {};
|
|
18
19
|
if (typeof props === "function") {
|
|
19
20
|
super(props);
|
|
20
21
|
}
|
|
@@ -81,6 +82,15 @@ class ApiCall extends Promise {
|
|
|
81
82
|
}
|
|
82
83
|
return false;
|
|
83
84
|
}
|
|
85
|
+
replaceUrlParams(urlTemplate, params) {
|
|
86
|
+
return urlTemplate.replace(/\{(\w+)\}/g, (match, paramName) => {
|
|
87
|
+
const value = params[paramName];
|
|
88
|
+
if (value === undefined) {
|
|
89
|
+
throw new Error(`Missing required parameter: ${paramName}`);
|
|
90
|
+
}
|
|
91
|
+
return String(value);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
84
94
|
init(props) {
|
|
85
95
|
const defaultOption = {
|
|
86
96
|
prefix: true,
|
|
@@ -95,6 +105,7 @@ class ApiCall extends Promise {
|
|
|
95
105
|
return err.message;
|
|
96
106
|
}
|
|
97
107
|
};
|
|
108
|
+
this.query = props.query || {};
|
|
98
109
|
this.option = this.option || {};
|
|
99
110
|
if (props && typeof props.option === "object") {
|
|
100
111
|
const option = Object.assign(defaultOption, this.option, props.option);
|
|
@@ -107,6 +118,7 @@ class ApiCall extends Promise {
|
|
|
107
118
|
this.params = props && props.params ? props.params : {};
|
|
108
119
|
}
|
|
109
120
|
exec() {
|
|
121
|
+
this.path = this.replaceUrlParams(this.path, this.query);
|
|
110
122
|
ApiCall.MoCall.request(this)
|
|
111
123
|
.then(response => {
|
|
112
124
|
this.result = response.data;
|
package/dist/lib/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/lib/base.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/lib/base.ts"],"names":[],"mappings":"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"}
|
|
@@ -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.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.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.esnext.intl.d.ts","../node_modules/typescript/lib/lib.es2017.full.d.ts","../node_modules/commander/typings/index.d.ts","../node_modules/colors/index.d.ts","../node_modules/moyan-file-model/dist/config.d.ts","../node_modules/moyan-file-model/dist/template.d.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/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/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/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/moyan-file-model/dist/creater.d.ts","../node_modules/moyan-file-model/dist/schema.d.ts","../node_modules/moyan-file-model/dist/schemamanager.d.ts","../node_modules/moyan-file-model/dist/prettierrc.d.ts","../node_modules/moyan-file-model/dist/index.d.ts","../node_modules/axios/index.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-basic.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-bearer.decorator.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/open-api-spec.interface.d.ts","../node_modules/@nestjs/swagger/dist/types/swagger-enum.type.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-body.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-consumes.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-cookie.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-exclude-endpoint.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-exclude-controller.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-extra-models.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-header.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-hide-property.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-oauth2.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-operation.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-param.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-produces.decorator.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/schema-object-metadata.interface.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-property.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-query.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-response.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-security.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-use-tags.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-extension.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/index.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/swagger-custom-options.interface.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/swagger-document-options.interface.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/index.d.ts","../node_modules/@nestjs/swagger/dist/document-builder.d.ts","../node_modules/@nestjs/swagger/dist/swagger-module.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/intersection-type.helper.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/omit-type.helper.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/partial-type.helper.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/pick-type.helper.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/index.d.ts","../node_modules/@nestjs/swagger/dist/utils/get-schema-path.util.d.ts","../node_modules/@nestjs/swagger/dist/utils/index.d.ts","../node_modules/@nestjs/swagger/dist/index.d.ts","../node_modules/@nestjs/swagger/index.d.ts","../src/template/api.ts","../src/template/schemas.ts","../src/program.ts","../src/main.ts","../src/creator.ts","../node_modules/@types/events/index.d.ts","../src/lib/base.ts","../src/index.ts","../src/utils/mo.ts","../node_modules/@types/minimist/index.d.ts","../node_modules/@types/normalize-package-data/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"927cb2b60048e1395b183bf74b2b80a75bdb1dbe384e1d9fac654313ea2fb136","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","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":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed","5cb8e940313a5dfb1eea8025ce3f3426de46b3f7caa25676ed9b31d77bc918d0",{"version":"a17e831d16c27cbe4d6f0bb238c1ded0d4a26c282009e431c68733be0b792f4f","affectsGlobalScope":true},"c48c3662ba51dd4faa70301fb84a2ae6337e7ccee652a4c72d307acadf0ab7f4","335539cb26bcfe54b07f57776b1288817d308bffbdc590642a7f99e1e0f0dd35","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"712ba0d43b44d144dfd01593f61af6e2e21cfae83e834d297643e7973e55ed61","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","460de53b62ae722616c2ae8a5142be211dbc211b88f48567ee96118ee711f669","66cf659e208d12b28bd20308d83f3bf25e12e5be61b023a9c0ec3ddcb21518b8","d8f72b49b9105edc097b145783d369b59f6e464bc143d70a8cb6b31419ad1cb8","bdb0a77200f5bc2e8036926a9bad37abac6648b5cd4b7d340cff79f3e683e1c9","1e00db25720655fb4288925a636a89834dbfc7861c535c67b2b048f8760a8b89","2808645b990069e5f8b5ff14c9f1e6077eb642583c3f7854012d60757f23c70e","6ecc423e71318bafbd230e6059e082c377170dfc7e02fccfa600586f8604d452","772f9bdd2bf50c9c01b0506001545e9b878faa7394ad6e7d90b49b179a024584","2a28ac2343b34a610a32beb5bd62953f95ee64b3656febc819bb70f5a85d15d6","02dafa194c95b7c0293059512b8ea3bd95402c6e4bc8331dab7e92e842260c56","4cd537bc0fa84016be29bb4245fd1724c6954322f397f9c30a3fd8d96b47f26b","cd1ccdd9fd7980d43dfede5d42ee3d18064baed98b136089cf7c8221d562f058","d60f9a4fd1e734e7b79517f02622426ea1000deb7d6549dfdece043353691a4e","403d28b5e5f8fcff795ac038902033ec5890143e950af45bd91a3ed231e8b59c","c73b59f91088c00886d44ca296d53a75c263c3bda31e3b2f37ceb137382282be","e7aa2c584edb0970cb4bb01eb10344200286055f9a22bc3dadcc5a1f9199af3e","bfeb476eb0049185cb94c2bfcadb3ce1190554bbcf170d2bf7c68ed9bb00458e","ae23a65a2b664ffe979b0a2a98842e10bdf3af67a356f14bbc9d77eb3ab13585","eccf6ad2a8624329653896e8dbd03f30756cbd902a81b5d3942d6cf0e1a21575","334ed2e25a7ebc8db8aac231bab5a5b57a1b6f8063186a92314f4ddf3d74d4e2","41ef6b546d3da1ea3de9b2e72ac7b9a219cc9905df631c01ecaeff477cfeae40","62463aa3d299ae0cdc5473d2ac32213a05753c3adce87a8801c6d2b114a64116","c9c2eabaad71c534d7de16385977f95184fdf3ddd0339dadbd5d599488d94f90","bdf0a372e233a8f5ab5daba2763ab8897e1044d735c1698a261b8e2ab08d8d13","9cca15b1c8c4fca29fc938964765d521690d320f1cc478ce3d907abef60b7711","1205f9908206109effcfe3649bdac82907939bae2e3cb132f8f6236b587515ac","f689c0633e8c95f550d36af943d775f3fae3dac81a28714b45c7af0bbb76a980","fef736cfb404b4db9aa942f377dbbac6edb76d18aabd3b647713fa75da8939e9","45659c92e49dfca4601acc7e57fbb03a71513c69768984baf86ead8d20387a01","0239d8f6a3f51b26cbdbb9362f4fde35651c6bd0ff3d9fc09ee4a2da6065cb4e","f9be84ad2c8523ed0ee186b5eacafa3090824456fe183db0a96917de9211400e","17b5469df1d2c13496e90752122e1236d9ebd057fe5ff3b37f1e3b4613ea3969","8fc97ef271771dc6f81a9c846d007ac4f0cb5779e3f441c1de54dfda5046fe7b","ddb199b4aa8eb41c7de43c8fc4fb4177fa5309690e094e652fd9651884af6d0f","b64fec482d5c612291eebd81e32993663ee90a5dc05cfe43464e6ef5ee1cae73","2dd9d764938d20a0613b89b14d7da644f7be4a70d22f18c3019254029d7a7a3c","021034a82ea821144b711eeba792f824f03d30b5cdb3b20a63e9bc5ad0531fdf","b251114717c08c462c1a8388155ded58cbdfbadc13488b775a4eaaa59863dc46","a2e546426763a9d5d4b5b10b928fb312f8b76e581c8a985362cd04a01859e51a","33bb0d96cea9782d701332e6b7390f8efae3af92fd3e2aa2ac45e4a610e705d6","ae3e98448468e46474d817b5ebe74db11ab22c2feb60e292d96ce1a4ee963623","f0a2fdee9e801ac9320a8660dd6b8a930bf8c5b658d390ae0feafdba8b633688","7beb7f04f6186bdac5e622d44e4cac38d9f2b9fcad984b10d3762e369524dd77","8f1241f5d9f0d3d72117768b3c974e462840fbd85026fb66685078945404cf2f",{"version":"2f395b3ed9b99cedabac7319edd64f176ccfc877b4b836952f5a0415c1609929","signature":"676ea0776909c92bb33eead071211053a24c0ca7002f46767a60f356257fde49"},{"version":"555584a3468ff45200b3d8fb82913587299c5f8bfca7a8ff94e6ceae507b8cef","signature":"b710873fd76123cf17f0898eae707a58446945f89d498b82d616de58c31f223c"},{"version":"58e3f8e544f585a6fc6ce1c338bc7bbf6e9f7a11ef5ae0db4a1d10d420b82ff4","signature":"4723066db1b038efe74beb444b89b9be4a2200a7045fb19f16c095204674162a"},{"version":"09e250af8c4590f92e885d90ed8491063a9e51fd8fda30221f11f17f9c1c0245","signature":"692d5a0707a1bb2d0c3760806669970412a7e43fb41c63e8a3d818ec83916ed0"},{"version":"fd4cf617982a55fa424b1571c0b1a182c3fe27e9c7052bbb3012af0ee9a04228","signature":"df3fc885b47f03976572c6ed04ef9c29e78d818d7e449fc643722416e8fac88e"},"400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935",{"version":"c45202c1d7cb6a2a4fe8bcb6052a17462e43d4b68bce410a6396b17e9f503e3e","signature":"5a5f03cbd37ef3a5a76f379ac4ef69e6d71f700cef2a6e255984dc7bd360f901"},{"version":"3014d84b8ef828ce5c7eb3d4662c79a4b89254f19e050262e08801937531a075","signature":"36e51e8394e8ddf54e9a54325cece145f32de5eda8b5bc8a43cbe69784c71d06"},"2eb89a058f2f6e6f65da7bb11f6e832251317bcbbb7a3f2e5e81c710e0046ee6","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"module":1,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"target":4},"fileIdsList":[[91],[91,107,108],[91,107],[91,121],[91,105,106,109,110,111,112,113,114,115,116,117,118,119,120,122,123,124,125,126,127],[91,107,131],[91,128,131,132,133,138,140],[91,107,129,130],[91,131],[91,134,135,136,137],[91,139],[91,141],[48,91],[51,91],[52,57,91],[53,63,64,71,80,90,91],[53,54,63,71,91],[55,91],[56,57,64,72,91],[57,80,87,91],[58,60,63,71,91],[59,91],[60,61,91],[62,63,91],[63,91],[63,64,65,80,90,91],[63,64,65,80,91],[66,71,80,90,91],[63,64,66,67,71,80,87,90,91],[66,68,80,87,90,91],[48,49,50,51,52,53,54,55,56,57,58,59,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],[63,69,91],[70,90,91],[60,63,71,80,91],[72,91],[73,91],[51,74,91],[75,89,91,95],[76,91],[77,91],[63,78,91],[78,79,91,93],[63,80,81,82,91],[80,82,91],[80,81,91],[83,91],[84,91],[63,85,86,91],[85,86,91],[57,71,80,87,91],[88,91],[71,89,91],[52,66,77,90,91],[57,91],[80,91,92],[91,93],[91,94],[52,57,63,65,74,80,90,91,93,95],[80,91,96],[64,91,98],[46,47,91,100,101,102],[47,91,99],[47,91,100],[46,91],[44,45,91,146],[91,149],[44,73,91,103,104,143,144,145],[91,103,142],[45],[149],[63],[44,103,145],[103,142]],"referencedMap":[[105,1],[106,1],[109,2],[110,1],[111,1],[113,1],[112,1],[127,1],[114,1],[115,2],[116,1],[117,1],[118,3],[119,2],[120,1],[122,4],[123,2],[124,3],[125,3],[126,1],[128,5],[132,6],[141,7],[131,8],[107,1],[121,3],[129,1],[130,1],[133,9],[138,10],[134,1],[135,1],[136,1],[137,1],[108,1],[139,1],[140,11],[142,12],[148,1],[152,1],[48,13],[49,13],[51,14],[52,15],[53,16],[54,17],[55,18],[56,19],[57,20],[58,21],[59,22],[60,23],[61,23],[62,24],[63,25],[64,26],[65,27],[50,1],[97,1],[66,28],[67,29],[68,30],[98,31],[69,32],[70,33],[71,34],[72,35],[73,36],[74,37],[75,38],[76,39],[77,40],[78,41],[79,42],[80,43],[82,44],[81,45],[83,46],[84,47],[85,48],[86,49],[87,50],[88,51],[89,52],[90,53],[91,54],[92,55],[93,56],[94,57],[95,58],[96,59],[153,1],[104,1],[45,1],[44,1],[46,1],[99,60],[103,61],[102,1],[100,62],[101,63],[47,64],[8,1],[9,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],[43,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],[33,1],[34,1],[35,1],[36,1],[7,1],[41,1],[37,1],[38,1],[39,1],[40,1],[1,1],[42,1],[11,1],[10,1],[147,65],[150,66],[149,25],[146,67],[145,1],[143,68],[144,68],[151,1]],"exportedModulesMap":[[105,1],[106,1],[109,2],[110,1],[111,1],[113,1],[112,1],[127,1],[114,1],[115,2],[116,1],[117,1],[118,3],[119,2],[120,1],[122,4],[123,2],[124,3],[125,3],[126,1],[128,5],[132,6],[141,7],[131,8],[107,1],[121,3],[129,1],[130,1],[133,9],[138,10],[134,1],[135,1],[136,1],[137,1],[108,1],[139,1],[140,11],[142,12],[148,1],[152,1],[48,13],[49,13],[51,14],[52,15],[53,16],[54,17],[55,18],[56,19],[57,20],[58,21],[59,22],[60,23],[61,23],[62,24],[63,25],[64,26],[65,27],[50,1],[97,1],[66,28],[67,29],[68,30],[98,31],[69,32],[70,33],[71,34],[72,35],[73,36],[74,37],[75,38],[76,39],[77,40],[78,41],[79,42],[80,43],[82,44],[81,45],[83,46],[84,47],[85,48],[86,49],[87,50],[88,51],[89,52],[90,53],[91,54],[92,55],[93,56],[94,57],[95,58],[96,59],[153,1],[104,1],[45,1],[44,1],[46,1],[99,60],[103,61],[102,1],[100,62],[101,63],[47,64],[8,1],[9,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],[43,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],[33,1],[34,1],[35,1],[36,1],[7,1],[41,1],[37,1],[38,1],[39,1],[40,1],[1,1],[42,1],[11,1],[10,1],[147,69],[150,70],[149,71],[146,72],[143,73],[144,73],[151,1]],"semanticDiagnosticsPerFile":[105,106,109,110,111,113,112,127,114,115,116,117,118,119,120,122,123,124,125,126,128,132,141,131,107,121,129,130,133,138,134,135,136,137,108,139,140,142,148,152,48,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,50,97,66,67,68,98,69,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,153,104,45,44,46,99,103,102,100,101,47,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,43,25,22,23,24,26,27,28,5,29,30,31,32,6,33,34,35,36,7,41,37,38,39,40,1,42,11,10,147,150,149,146,145,143,144,151]},"version":"4.5.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.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.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.esnext.intl.d.ts","../node_modules/typescript/lib/lib.es2017.full.d.ts","../node_modules/commander/typings/index.d.ts","../node_modules/colors/index.d.ts","../node_modules/moyan-file-model/dist/config.d.ts","../node_modules/moyan-file-model/dist/template.d.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/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/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/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/moyan-file-model/dist/creater.d.ts","../node_modules/moyan-file-model/dist/schema.d.ts","../node_modules/moyan-file-model/dist/schemamanager.d.ts","../node_modules/moyan-file-model/dist/prettierrc.d.ts","../node_modules/moyan-file-model/dist/index.d.ts","../node_modules/axios/index.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-basic.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-bearer.decorator.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/open-api-spec.interface.d.ts","../node_modules/@nestjs/swagger/dist/types/swagger-enum.type.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-body.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-consumes.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-cookie.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-exclude-endpoint.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-exclude-controller.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-extra-models.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-header.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-hide-property.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-oauth2.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-operation.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-param.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-produces.decorator.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/schema-object-metadata.interface.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-property.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-query.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-response.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-security.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-use-tags.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/api-extension.decorator.d.ts","../node_modules/@nestjs/swagger/dist/decorators/index.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/swagger-custom-options.interface.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/swagger-document-options.interface.d.ts","../node_modules/@nestjs/swagger/dist/interfaces/index.d.ts","../node_modules/@nestjs/swagger/dist/document-builder.d.ts","../node_modules/@nestjs/swagger/dist/swagger-module.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/intersection-type.helper.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/omit-type.helper.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/partial-type.helper.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/pick-type.helper.d.ts","../node_modules/@nestjs/swagger/dist/type-helpers/index.d.ts","../node_modules/@nestjs/swagger/dist/utils/get-schema-path.util.d.ts","../node_modules/@nestjs/swagger/dist/utils/index.d.ts","../node_modules/@nestjs/swagger/dist/index.d.ts","../node_modules/@nestjs/swagger/index.d.ts","../src/template/api.ts","../src/template/schemas.ts","../src/program.ts","../src/main.ts","../src/creator.ts","../node_modules/@types/events/index.d.ts","../src/lib/base.ts","../src/index.ts","../src/utils/mo.ts","../node_modules/@types/minimist/index.d.ts","../node_modules/@types/normalize-package-data/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"927cb2b60048e1395b183bf74b2b80a75bdb1dbe384e1d9fac654313ea2fb136","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","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":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed","5cb8e940313a5dfb1eea8025ce3f3426de46b3f7caa25676ed9b31d77bc918d0",{"version":"a17e831d16c27cbe4d6f0bb238c1ded0d4a26c282009e431c68733be0b792f4f","affectsGlobalScope":true},"c48c3662ba51dd4faa70301fb84a2ae6337e7ccee652a4c72d307acadf0ab7f4","335539cb26bcfe54b07f57776b1288817d308bffbdc590642a7f99e1e0f0dd35","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"712ba0d43b44d144dfd01593f61af6e2e21cfae83e834d297643e7973e55ed61","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","460de53b62ae722616c2ae8a5142be211dbc211b88f48567ee96118ee711f669","66cf659e208d12b28bd20308d83f3bf25e12e5be61b023a9c0ec3ddcb21518b8","d8f72b49b9105edc097b145783d369b59f6e464bc143d70a8cb6b31419ad1cb8","bdb0a77200f5bc2e8036926a9bad37abac6648b5cd4b7d340cff79f3e683e1c9","1e00db25720655fb4288925a636a89834dbfc7861c535c67b2b048f8760a8b89","2808645b990069e5f8b5ff14c9f1e6077eb642583c3f7854012d60757f23c70e","6ecc423e71318bafbd230e6059e082c377170dfc7e02fccfa600586f8604d452","772f9bdd2bf50c9c01b0506001545e9b878faa7394ad6e7d90b49b179a024584","2a28ac2343b34a610a32beb5bd62953f95ee64b3656febc819bb70f5a85d15d6","02dafa194c95b7c0293059512b8ea3bd95402c6e4bc8331dab7e92e842260c56","4cd537bc0fa84016be29bb4245fd1724c6954322f397f9c30a3fd8d96b47f26b","cd1ccdd9fd7980d43dfede5d42ee3d18064baed98b136089cf7c8221d562f058","d60f9a4fd1e734e7b79517f02622426ea1000deb7d6549dfdece043353691a4e","403d28b5e5f8fcff795ac038902033ec5890143e950af45bd91a3ed231e8b59c","c73b59f91088c00886d44ca296d53a75c263c3bda31e3b2f37ceb137382282be","e7aa2c584edb0970cb4bb01eb10344200286055f9a22bc3dadcc5a1f9199af3e","bfeb476eb0049185cb94c2bfcadb3ce1190554bbcf170d2bf7c68ed9bb00458e","ae23a65a2b664ffe979b0a2a98842e10bdf3af67a356f14bbc9d77eb3ab13585","eccf6ad2a8624329653896e8dbd03f30756cbd902a81b5d3942d6cf0e1a21575","334ed2e25a7ebc8db8aac231bab5a5b57a1b6f8063186a92314f4ddf3d74d4e2","41ef6b546d3da1ea3de9b2e72ac7b9a219cc9905df631c01ecaeff477cfeae40","62463aa3d299ae0cdc5473d2ac32213a05753c3adce87a8801c6d2b114a64116","c9c2eabaad71c534d7de16385977f95184fdf3ddd0339dadbd5d599488d94f90","bdf0a372e233a8f5ab5daba2763ab8897e1044d735c1698a261b8e2ab08d8d13","9cca15b1c8c4fca29fc938964765d521690d320f1cc478ce3d907abef60b7711","1205f9908206109effcfe3649bdac82907939bae2e3cb132f8f6236b587515ac","f689c0633e8c95f550d36af943d775f3fae3dac81a28714b45c7af0bbb76a980","fef736cfb404b4db9aa942f377dbbac6edb76d18aabd3b647713fa75da8939e9","45659c92e49dfca4601acc7e57fbb03a71513c69768984baf86ead8d20387a01","0239d8f6a3f51b26cbdbb9362f4fde35651c6bd0ff3d9fc09ee4a2da6065cb4e","f9be84ad2c8523ed0ee186b5eacafa3090824456fe183db0a96917de9211400e","17b5469df1d2c13496e90752122e1236d9ebd057fe5ff3b37f1e3b4613ea3969","8fc97ef271771dc6f81a9c846d007ac4f0cb5779e3f441c1de54dfda5046fe7b","ddb199b4aa8eb41c7de43c8fc4fb4177fa5309690e094e652fd9651884af6d0f","b64fec482d5c612291eebd81e32993663ee90a5dc05cfe43464e6ef5ee1cae73","2dd9d764938d20a0613b89b14d7da644f7be4a70d22f18c3019254029d7a7a3c","021034a82ea821144b711eeba792f824f03d30b5cdb3b20a63e9bc5ad0531fdf","b251114717c08c462c1a8388155ded58cbdfbadc13488b775a4eaaa59863dc46","a2e546426763a9d5d4b5b10b928fb312f8b76e581c8a985362cd04a01859e51a","33bb0d96cea9782d701332e6b7390f8efae3af92fd3e2aa2ac45e4a610e705d6","ae3e98448468e46474d817b5ebe74db11ab22c2feb60e292d96ce1a4ee963623","f0a2fdee9e801ac9320a8660dd6b8a930bf8c5b658d390ae0feafdba8b633688","7beb7f04f6186bdac5e622d44e4cac38d9f2b9fcad984b10d3762e369524dd77","8f1241f5d9f0d3d72117768b3c974e462840fbd85026fb66685078945404cf2f","2f395b3ed9b99cedabac7319edd64f176ccfc877b4b836952f5a0415c1609929","555584a3468ff45200b3d8fb82913587299c5f8bfca7a8ff94e6ceae507b8cef","58e3f8e544f585a6fc6ce1c338bc7bbf6e9f7a11ef5ae0db4a1d10d420b82ff4","09e250af8c4590f92e885d90ed8491063a9e51fd8fda30221f11f17f9c1c0245","fd4cf617982a55fa424b1571c0b1a182c3fe27e9c7052bbb3012af0ee9a04228","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935",{"version":"e6adb9828ccd2c21b32a8a0123e3c83adcd5230f35b6b7af5082a45d72406ad3","signature":"8899ee978a40ef87fb0db09ca2cbaec0432a53467c19a0c2571789622ced2f58"},{"version":"3014d84b8ef828ce5c7eb3d4662c79a4b89254f19e050262e08801937531a075","signature":"36e51e8394e8ddf54e9a54325cece145f32de5eda8b5bc8a43cbe69784c71d06"},"2eb89a058f2f6e6f65da7bb11f6e832251317bcbbb7a3f2e5e81c710e0046ee6","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"module":1,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":false,"target":4},"fileIdsList":[[91],[91,107,108],[91,107],[91,121],[91,105,106,109,110,111,112,113,114,115,116,117,118,119,120,122,123,124,125,126,127],[91,107,131],[91,128,131,132,133,138,140],[91,107,129,130],[91,131],[91,134,135,136,137],[91,139],[91,141],[48,91],[51,91],[52,57,91],[53,63,64,71,80,90,91],[53,54,63,71,91],[55,91],[56,57,64,72,91],[57,80,87,91],[58,60,63,71,91],[59,91],[60,61,91],[62,63,91],[63,91],[63,64,65,80,90,91],[63,64,65,80,91],[66,71,80,90,91],[63,64,66,67,71,80,87,90,91],[66,68,80,87,90,91],[48,49,50,51,52,53,54,55,56,57,58,59,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],[63,69,91],[70,90,91],[60,63,71,80,91],[72,91],[73,91],[51,74,91],[75,89,91,95],[76,91],[77,91],[63,78,91],[78,79,91,93],[63,80,81,82,91],[80,82,91],[80,81,91],[83,91],[84,91],[63,85,86,91],[85,86,91],[57,71,80,87,91],[88,91],[71,89,91],[52,66,77,90,91],[57,91],[80,91,92],[91,93],[91,94],[52,57,63,65,74,80,90,91,93,95],[80,91,96],[64,91,98],[46,47,91,100,101,102],[47,91,99],[47,91,100],[46,91],[44,45,91,146],[91,149],[44,73,91,103,104,143,144,145],[91,103,142],[149],[63]],"referencedMap":[[105,1],[106,1],[109,2],[110,1],[111,1],[113,1],[112,1],[127,1],[114,1],[115,2],[116,1],[117,1],[118,3],[119,2],[120,1],[122,4],[123,2],[124,3],[125,3],[126,1],[128,5],[132,6],[141,7],[131,8],[107,1],[121,3],[129,1],[130,1],[133,9],[138,10],[134,1],[135,1],[136,1],[137,1],[108,1],[139,1],[140,11],[142,12],[148,1],[152,1],[48,13],[49,13],[51,14],[52,15],[53,16],[54,17],[55,18],[56,19],[57,20],[58,21],[59,22],[60,23],[61,23],[62,24],[63,25],[64,26],[65,27],[50,1],[97,1],[66,28],[67,29],[68,30],[98,31],[69,32],[70,33],[71,34],[72,35],[73,36],[74,37],[75,38],[76,39],[77,40],[78,41],[79,42],[80,43],[82,44],[81,45],[83,46],[84,47],[85,48],[86,49],[87,50],[88,51],[89,52],[90,53],[91,54],[92,55],[93,56],[94,57],[95,58],[96,59],[153,1],[104,1],[45,1],[44,1],[46,1],[99,60],[103,61],[102,1],[100,62],[101,63],[47,64],[8,1],[9,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],[43,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],[33,1],[34,1],[35,1],[36,1],[7,1],[41,1],[37,1],[38,1],[39,1],[40,1],[1,1],[42,1],[11,1],[10,1],[147,65],[150,66],[149,25],[146,67],[145,1],[143,68],[144,68],[151,1]],"exportedModulesMap":[[105,1],[106,1],[109,2],[110,1],[111,1],[113,1],[112,1],[127,1],[114,1],[115,2],[116,1],[117,1],[118,3],[119,2],[120,1],[122,4],[123,2],[124,3],[125,3],[126,1],[128,5],[132,6],[141,7],[131,8],[107,1],[121,3],[129,1],[130,1],[133,9],[138,10],[134,1],[135,1],[136,1],[137,1],[108,1],[139,1],[140,11],[142,12],[148,1],[152,1],[48,13],[49,13],[51,14],[52,15],[53,16],[54,17],[55,18],[56,19],[57,20],[58,21],[59,22],[60,23],[61,23],[62,24],[63,25],[64,26],[65,27],[50,1],[97,1],[66,28],[67,29],[68,30],[98,31],[69,32],[70,33],[71,34],[72,35],[73,36],[74,37],[75,38],[76,39],[77,40],[78,41],[79,42],[80,43],[82,44],[81,45],[83,46],[84,47],[85,48],[86,49],[87,50],[88,51],[89,52],[90,53],[91,54],[92,55],[93,56],[94,57],[95,58],[96,59],[153,1],[104,1],[45,1],[44,1],[46,1],[99,60],[103,61],[102,1],[100,62],[101,63],[47,64],[8,1],[9,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],[43,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],[33,1],[34,1],[35,1],[36,1],[7,1],[41,1],[37,1],[38,1],[39,1],[40,1],[1,1],[42,1],[11,1],[10,1],[147,65],[150,69],[149,70],[146,67],[145,1],[143,68],[144,68],[151,1]],"semanticDiagnosticsPerFile":[105,106,109,110,111,113,112,127,114,115,116,117,118,119,120,122,123,124,125,126,128,132,141,131,107,121,129,130,133,138,134,135,136,137,108,139,140,142,148,152,48,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,50,97,66,67,68,98,69,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,153,104,45,44,46,99,103,102,100,101,47,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,43,25,22,23,24,26,27,28,5,29,30,31,32,6,33,34,35,36,7,41,37,38,39,40,1,42,11,10,147,150,149,146,145,143,144,151]},"version":"4.5.5"}
|
package/package.json
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "moyan-api",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "使用OpenApi 生成TypeScript的api调用skd",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"types": "src",
|
|
7
|
-
"bin": {
|
|
8
|
-
"moyan-api": "./dist/creator.js"
|
|
9
|
-
},
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"axios": "^0.26.0",
|
|
12
|
-
"colors": "^1.4.0",
|
|
13
|
-
"commander": "^9.0.0",
|
|
14
|
-
"events": "^3.3.0",
|
|
15
|
-
"moyan-file-model": "^1.0.10"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@nestjs/swagger": "^5.2.0",
|
|
19
|
-
"@types/events": "^3.0.0",
|
|
20
|
-
"@types/node": "^17.0.21",
|
|
21
|
-
"standard-version": "^7.0.0",
|
|
22
|
-
"ts-node": "^10.5.0",
|
|
23
|
-
"typescript": "^4.5.5"
|
|
24
|
-
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"start": "tsc && node ./dist",
|
|
27
|
-
"release": "tsc && standard-version && npm publish"
|
|
28
|
-
},
|
|
29
|
-
"keywords": [
|
|
30
|
-
"TypeScript",
|
|
31
|
-
"moyan",
|
|
32
|
-
"moyan-file-model",
|
|
33
|
-
"OpenApi",
|
|
34
|
-
"OAS",
|
|
35
|
-
"swagger",
|
|
36
|
-
"moyan-api"
|
|
37
|
-
],
|
|
38
|
-
"author": "moyan",
|
|
39
|
-
"license": "ISC"
|
|
40
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "moyan-api",
|
|
3
|
+
"version": "1.0.49",
|
|
4
|
+
"description": "使用OpenApi 生成TypeScript的api调用skd",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "src",
|
|
7
|
+
"bin": {
|
|
8
|
+
"moyan-api": "./dist/creator.js"
|
|
9
|
+
},
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"axios": "^0.26.0",
|
|
12
|
+
"colors": "^1.4.0",
|
|
13
|
+
"commander": "^9.0.0",
|
|
14
|
+
"events": "^3.3.0",
|
|
15
|
+
"moyan-file-model": "^1.0.10"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@nestjs/swagger": "^5.2.0",
|
|
19
|
+
"@types/events": "^3.0.0",
|
|
20
|
+
"@types/node": "^17.0.21",
|
|
21
|
+
"standard-version": "^7.0.0",
|
|
22
|
+
"ts-node": "^10.5.0",
|
|
23
|
+
"typescript": "^4.5.5"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"start": "tsc && node ./dist",
|
|
27
|
+
"release": "tsc && standard-version && npm publish"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"TypeScript",
|
|
31
|
+
"moyan",
|
|
32
|
+
"moyan-file-model",
|
|
33
|
+
"OpenApi",
|
|
34
|
+
"OAS",
|
|
35
|
+
"swagger",
|
|
36
|
+
"moyan-api"
|
|
37
|
+
],
|
|
38
|
+
"author": "moyan",
|
|
39
|
+
"license": "ISC"
|
|
40
|
+
}
|
package/src/lib/base.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from "events"
|
|
2
2
|
|
|
3
|
-
export type MoMethod = "POST" | "GET" | "DELETE" | "PUT"
|
|
3
|
+
export type MoMethod = "POST" | "GET" | "DELETE" | "PUT" | "ALL"
|
|
4
4
|
export interface ObjectAny {
|
|
5
5
|
[key: string]: any //一般用于字段字段
|
|
6
6
|
}
|
|
@@ -54,6 +54,7 @@ export interface Option {
|
|
|
54
54
|
|
|
55
55
|
export interface ApiCallProps<T> {
|
|
56
56
|
params?: T
|
|
57
|
+
query?:Record<string,string|number>
|
|
57
58
|
option?: Option | {}
|
|
58
59
|
}
|
|
59
60
|
|
|
@@ -102,6 +103,8 @@ export abstract class ApiCall<ReqType, ResType> extends Promise<ResType> {
|
|
|
102
103
|
|
|
103
104
|
error: any
|
|
104
105
|
|
|
106
|
+
query: Record<string,string|number>={}
|
|
107
|
+
|
|
105
108
|
get status() {
|
|
106
109
|
try {
|
|
107
110
|
return this.response.status
|
|
@@ -152,11 +155,14 @@ export abstract class ApiCall<ReqType, ResType> extends Promise<ResType> {
|
|
|
152
155
|
return false
|
|
153
156
|
}
|
|
154
157
|
|
|
158
|
+
// @ts-ignore
|
|
155
159
|
constructor(props?: ApiCallProps<ReqType>) {
|
|
156
160
|
if (typeof props === "function") {
|
|
157
|
-
|
|
161
|
+
// @ts-ignore
|
|
162
|
+
super(props)
|
|
158
163
|
} else {
|
|
159
164
|
const slef: any = {}
|
|
165
|
+
// @ts-ignore
|
|
160
166
|
super((resolve, reject) => {
|
|
161
167
|
slef.resolve = resolve
|
|
162
168
|
slef.reject = reject
|
|
@@ -169,6 +175,26 @@ export abstract class ApiCall<ReqType, ResType> extends Promise<ResType> {
|
|
|
169
175
|
}
|
|
170
176
|
}
|
|
171
177
|
|
|
178
|
+
/**
|
|
179
|
+
* 安全替换URL模板中的路径参数
|
|
180
|
+
* @param urlTemplate 包含{param}占位符的URL模板
|
|
181
|
+
* @param params 参数键值对对象
|
|
182
|
+
* @returns 替换后的完整URL
|
|
183
|
+
* @throws 当缺少必需参数时抛出错误
|
|
184
|
+
*/
|
|
185
|
+
replaceUrlParams<T extends Record<string, string | number>>(
|
|
186
|
+
urlTemplate: string,
|
|
187
|
+
params: T
|
|
188
|
+
): string {
|
|
189
|
+
return urlTemplate.replace(/\{(\w+)\}/g, (match, paramName) => {
|
|
190
|
+
const value = params[paramName as keyof T];
|
|
191
|
+
if (value === undefined) {
|
|
192
|
+
throw new Error(`Missing required parameter: ${paramName}`);
|
|
193
|
+
}
|
|
194
|
+
return String(value);
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
|
|
172
198
|
init(props?: ApiCallProps<ReqType>) {
|
|
173
199
|
const defaultOption: Option = {
|
|
174
200
|
prefix: true,
|
|
@@ -184,6 +210,7 @@ export abstract class ApiCall<ReqType, ResType> extends Promise<ResType> {
|
|
|
184
210
|
}
|
|
185
211
|
}
|
|
186
212
|
|
|
213
|
+
this.query = props.query ||{}
|
|
187
214
|
this.option = this.option || {}
|
|
188
215
|
if (props && typeof props.option === "object") {
|
|
189
216
|
const option = Object.assign(defaultOption, this.option, props.option)
|
|
@@ -196,6 +223,7 @@ export abstract class ApiCall<ReqType, ResType> extends Promise<ResType> {
|
|
|
196
223
|
}
|
|
197
224
|
|
|
198
225
|
exec() {
|
|
226
|
+
this.path = this.replaceUrlParams(this.path,this.query)
|
|
199
227
|
ApiCall.MoCall.request(this)
|
|
200
228
|
.then(response => {
|
|
201
229
|
this.result = response.data
|
package/tsconfig.json
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"strict": false,
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"removeComments": true,
|
|
7
|
+
"emitDecoratorMetadata": true,
|
|
8
|
+
"experimentalDecorators": true,
|
|
9
|
+
"allowSyntheticDefaultImports": true,
|
|
10
|
+
"target": "es2017",
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"outDir": "./dist",
|
|
13
|
+
"baseUrl": "./",
|
|
14
|
+
"incremental": true,
|
|
15
|
+
"skipLibCheck": true
|
|
16
|
+
},
|
|
17
|
+
"exclude": [
|
|
18
|
+
"node_modules",
|
|
19
|
+
"dist",
|
|
20
|
+
]
|
|
21
|
+
}
|