moyan-api 1.0.55 → 1.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/lib/base.d.ts +1 -4
- package/dist/lib/base.js +16 -13
- package/dist/lib/base.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/lib/base.ts +12 -30
- package/view/api.ejs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
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.61](https://gitee.com/ymoo/moyan-api/compare/v1.0.60...v1.0.61) (2025-12-11)
|
|
6
|
+
|
|
7
|
+
### [1.0.60](https://gitee.com/ymoo/moyan-api/compare/v1.0.59...v1.0.60) (2025-12-11)
|
|
8
|
+
|
|
9
|
+
### [1.0.59](https://gitee.com/ymoo/moyan-api/compare/v1.0.58...v1.0.59) (2025-12-11)
|
|
10
|
+
|
|
11
|
+
### [1.0.58](https://gitee.com/ymoo/moyan-api/compare/v1.0.57...v1.0.58) (2025-12-11)
|
|
12
|
+
|
|
13
|
+
### [1.0.57](https://gitee.com/ymoo/moyan-api/compare/v1.0.56...v1.0.57) (2025-12-11)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* 修复类型声明和接口定义问题 ([06f6ddd](https://gitee.com/ymoo/moyan-api/commit/06f6ddd5a033da4f72088c446fc5c5fb6c59a47e))
|
|
19
|
+
|
|
20
|
+
### [1.0.56](https://gitee.com/ymoo/moyan-api/compare/v1.0.55...v1.0.56) (2025-09-16)
|
|
21
|
+
|
|
5
22
|
### [1.0.55](https://gitee.com/ymoo/moyan-api/compare/v1.0.54...v1.0.55) (2025-09-16)
|
|
6
23
|
|
|
7
24
|
### [1.0.54](https://gitee.com/ymoo/moyan-api/compare/v1.0.53...v1.0.54) (2025-09-16)
|
package/dist/lib/base.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare enum ApiEvents {
|
|
|
32
32
|
Unauthorized = "unauthorized",
|
|
33
33
|
Fail = "fail"
|
|
34
34
|
}
|
|
35
|
-
export declare abstract class ApiCall<ReqType, ResType> {
|
|
35
|
+
export declare abstract class ApiCall<ReqType, ResType> extends Promise<any> {
|
|
36
36
|
static MoCall: SubApiEntity;
|
|
37
37
|
static use(moCall: SubApiEntity): void;
|
|
38
38
|
static hasPrompted: boolean;
|
|
@@ -58,9 +58,6 @@ export declare abstract class ApiCall<ReqType, ResType> {
|
|
|
58
58
|
reject: (err: any) => void;
|
|
59
59
|
get successMsg(): string;
|
|
60
60
|
get failMsg(): any;
|
|
61
|
-
then: Promise<ResType>['catch'];
|
|
62
|
-
catch: Promise<ResType>['catch'];
|
|
63
|
-
finally: (onfinally?: () => void) => Promise<unknown>;
|
|
64
61
|
constructor(props?: ApiCallProps<ReqType>);
|
|
65
62
|
replaceUrlParams<T extends Record<string, string | number>>(urlTemplate: string, params: T): string;
|
|
66
63
|
init(props?: ApiCallProps<ReqType>): void;
|
package/dist/lib/base.js
CHANGED
|
@@ -13,20 +13,23 @@ var ApiEvents;
|
|
|
13
13
|
ApiEvents["Unauthorized"] = "unauthorized";
|
|
14
14
|
ApiEvents["Fail"] = "fail";
|
|
15
15
|
})(ApiEvents = exports.ApiEvents || (exports.ApiEvents = {}));
|
|
16
|
-
class ApiCall {
|
|
16
|
+
class ApiCall extends Promise {
|
|
17
17
|
constructor(props) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
18
|
+
if (typeof props === "function") {
|
|
19
|
+
super(props);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
const slef = {};
|
|
23
|
+
super((resolve, reject) => {
|
|
24
|
+
slef.resolve = resolve;
|
|
25
|
+
slef.reject = reject;
|
|
26
|
+
});
|
|
27
|
+
Object.assign(this, slef);
|
|
28
|
+
setTimeout(() => {
|
|
29
|
+
this.init(props);
|
|
30
|
+
this.exec();
|
|
31
|
+
});
|
|
32
|
+
}
|
|
30
33
|
}
|
|
31
34
|
static use(moCall) {
|
|
32
35
|
ApiCall.MoCall = moCall;
|
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;AAiErC,MAAsB,YAAY;CAEjC;AAFD,oCAEC;AAID,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,wCAA2B,CAAA;IAC3B,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,0CAA6B,CAAA;IAC7B,0BAAa,CAAA;AACf,CAAC,EANW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAMpB;AAED,MAAsB,
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/lib/base.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;AAiErC,MAAsB,YAAY;CAEjC;AAFD,oCAEC;AAID,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,wCAA2B,CAAA;IAC3B,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,0CAA6B,CAAA;IAC7B,0BAAa,CAAA;AACf,CAAC,EANW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAMpB;AAED,MAAsB,OAA0B,SAAQ,OAAY;IAoFjE,YAAY,KAA6B;QACxC,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;YAEjC,KAAK,CAAC,KAAK,CAAC,CAAA;SACX;aAAM;YACL,MAAM,IAAI,GAAQ,EAAE,CAAA;YAEpB,KAAK,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBAC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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","2f395b3ed9b99cedabac7319edd64f176ccfc877b4b836952f5a0415c1609929","555584a3468ff45200b3d8fb82913587299c5f8bfca7a8ff94e6ceae507b8cef","58e3f8e544f585a6fc6ce1c338bc7bbf6e9f7a11ef5ae0db4a1d10d420b82ff4","09e250af8c4590f92e885d90ed8491063a9e51fd8fda30221f11f17f9c1c0245","fd4cf617982a55fa424b1571c0b1a182c3fe27e9c7052bbb3012af0ee9a04228","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935",{"version":"3c32deb0280fdc786b2d5ff86540dc08dee99482ba88f453ed8ea0bc2ffc1b84","signature":"827683efb00b20b6269b722d3244ac736e0d79c1c8932c44384e272f3433f088"},{"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"}
|
|
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":"8e92580744f411559183f0050468bb9820d7b48f749f1896970884f406faee5a","signature":"98dfc69e64bf41e6086790e4b95415b21548fd449f3bc6593a566afdcfadd92d"},{"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
package/src/lib/base.ts
CHANGED
|
@@ -77,7 +77,7 @@ export enum ApiEvents {
|
|
|
77
77
|
Fail = "fail" // 处理请求失败 监听器
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export abstract class ApiCall<ReqType, ResType>
|
|
80
|
+
export abstract class ApiCall<ReqType, ResType> extends Promise<any> {
|
|
81
81
|
static MoCall: SubApiEntity
|
|
82
82
|
|
|
83
83
|
static use(moCall: SubApiEntity) {
|
|
@@ -160,42 +160,24 @@ export abstract class ApiCall<ReqType, ResType> {
|
|
|
160
160
|
return false
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
then:Promise<ResType>['catch']
|
|
164
|
-
catch:Promise<ResType>['catch']
|
|
165
|
-
finally:(onfinally?: () => void) => Promise<unknown>
|
|
166
163
|
|
|
167
164
|
constructor(props?: ApiCallProps<ReqType>) {
|
|
168
|
-
|
|
169
|
-
//
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
// })
|
|
178
|
-
// Object.assign(this, slef)
|
|
179
|
-
// setTimeout(() => {
|
|
180
|
-
// this.init(props)
|
|
181
|
-
// this.exec()
|
|
182
|
-
// })
|
|
183
|
-
// }
|
|
184
|
-
|
|
185
|
-
const p = new Promise((resolve, reject) => {
|
|
186
|
-
this.resolve = resolve
|
|
187
|
-
this.reject = reject
|
|
188
|
-
return this
|
|
165
|
+
if (typeof props === "function") {
|
|
166
|
+
// @ts-ignore
|
|
167
|
+
super(props)
|
|
168
|
+
} else {
|
|
169
|
+
const slef: any = {}
|
|
170
|
+
// @ts-ignore
|
|
171
|
+
super((resolve, reject) => {
|
|
172
|
+
slef.resolve = resolve
|
|
173
|
+
slef.reject = reject
|
|
189
174
|
})
|
|
190
|
-
|
|
191
|
-
this.catch = p.catch
|
|
192
|
-
this.then = p.then
|
|
193
|
-
this.finally = p.finally
|
|
194
|
-
|
|
175
|
+
Object.assign(this, slef)
|
|
195
176
|
setTimeout(() => {
|
|
196
177
|
this.init(props)
|
|
197
178
|
this.exec()
|
|
198
179
|
})
|
|
180
|
+
}
|
|
199
181
|
}
|
|
200
182
|
|
|
201
183
|
/**
|
package/view/api.ejs
CHANGED