@nestia/migrate 4.2.0 → 4.3.0-dev.20241215-2
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/README.md +87 -87
- package/lib/MigrateApplication.js +5 -1
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +66 -66
- package/lib/bundles/NEST_TEMPLATE.js.map +1 -1
- package/lib/bundles/SDK_TEMPLATE.js +30 -30
- package/lib/bundles/SDK_TEMPLATE.js.map +1 -1
- package/lib/index.mjs +97 -93
- package/lib/index.mjs.map +1 -1
- package/lib/utils/openapi-down-convert/converter.js +2 -2
- package/package.json +3 -3
- package/src/MigrateApplication.ts +107 -107
- package/src/analyzers/MigrateAnalyzer.ts +18 -18
- package/src/analyzers/MigrateControllerAnalyzer.ts +40 -40
- package/src/archivers/MigrateFileArchiver.ts +38 -38
- package/src/bundles/NEST_TEMPLATE.ts +66 -66
- package/src/bundles/SDK_TEMPLATE.ts +30 -30
- package/src/executable/bundle.js +125 -125
- package/src/executable/migrate.ts +7 -7
- package/src/factories/TypeLiteralFactory.ts +57 -57
- package/src/index.ts +4 -4
- package/src/internal/MigrateCommander.ts +86 -86
- package/src/internal/MigrateInquirer.ts +89 -89
- package/src/module.ts +8 -8
- package/src/programmers/MigrateApiFileProgrammer.ts +49 -49
- package/src/programmers/MigrateApiFunctionProgrammer.ts +210 -210
- package/src/programmers/MigrateApiNamespaceProgrammer.ts +417 -417
- package/src/programmers/MigrateApiProgrammer.ts +103 -103
- package/src/programmers/MigrateApiSimulatationProgrammer.ts +324 -324
- package/src/programmers/MigrateApiStartProgrammer.ts +194 -194
- package/src/programmers/MigrateDtoProgrammer.ts +87 -87
- package/src/programmers/MigrateE2eFileProgrammer.ts +117 -117
- package/src/programmers/MigrateE2eProgrammer.ts +34 -34
- package/src/programmers/MigrateImportProgrammer.ts +118 -118
- package/src/programmers/MigrateNestControllerProgrammer.ts +50 -50
- package/src/programmers/MigrateNestMethodProgrammer.ts +371 -371
- package/src/programmers/MigrateNestModuleProgrammer.ts +65 -65
- package/src/programmers/MigrateNestProgrammer.ts +79 -79
- package/src/programmers/MigrateSchemaProgrammer.ts +373 -373
- package/src/structures/IHttpMigrateController.ts +8 -8
- package/src/structures/IHttpMigrateDto.ts +8 -8
- package/src/structures/IHttpMigrateFile.ts +5 -5
- package/src/structures/IHttpMigrateProgram.ts +27 -27
- package/src/structures/IHttpMigrateRoute.ts +1 -1
- package/src/structures/IHttpMigrateSchema.ts +4 -4
- package/src/utils/FilePrinter.ts +36 -36
- package/src/utils/MapUtil.ts +13 -13
- package/src/utils/OpenApiTypeChecker.ts +73 -73
- package/src/utils/SetupWizard.ts +12 -12
- package/src/utils/StringUtil.ts +113 -113
- package/src/utils/openapi-down-convert/RefVisitor.ts +139 -139
- package/src/utils/openapi-down-convert/converter.ts +527 -527
package/README.md
CHANGED
@@ -1,87 +1,87 @@
|
|
1
|
-
# Nestia
|
2
|
-

|
3
|
-
|
4
|
-
[](https://github.com/samchon/nestia/blob/master/LICENSE)
|
5
|
-
[](https://www.npmjs.com/package/@nestia/fetcher)
|
6
|
-
[](https://www.npmjs.com/package/@nestia/fetcher)
|
7
|
-
[](https://github.com/samchon/nestia/actions?query=workflow%3Abuild)
|
8
|
-
[](https://nestia.io/docs/)
|
9
|
-
[](https://discord.gg/E94XhzrUCZ)
|
10
|
-
|
11
|
-
Nestia is a set of helper libraries for NestJS, supporting below features:
|
12
|
-
|
13
|
-
- `@nestia/core`:
|
14
|
-
- Super-fast/easy decorators
|
15
|
-
- Advanced WebSocket routes
|
16
|
-
- `@nestia/sdk`:
|
17
|
-
- Swagger generator evolved than ever
|
18
|
-
- SDK library generator for clients
|
19
|
-
- Mockup Simulator for client applications
|
20
|
-
- Automatic E2E test functions generator
|
21
|
-
- `@nestia/e2e`: Test program utilizing e2e test functions
|
22
|
-
- `@nestia/benchmark`: Benchmark program using e2e test functions
|
23
|
-
- `@nestia/migrate`: OpenAPI generator from Swagger to NestJS/SDK
|
24
|
-
- `@nestia/editor`: Swagger-UI with Online TypeScript Editor
|
25
|
-
- `nestia`: Just CLI (command line interface) tool
|
26
|
-
|
27
|
-
> [!NOTE]
|
28
|
-
>
|
29
|
-
> - **Only one line** required, with pure TypeScript type
|
30
|
-
> - Enhance performance **30x** up
|
31
|
-
> - Runtime validator is **20,000x faster** than `class-validator`
|
32
|
-
> - JSON serialization is **200x faster** than `class-transformer`
|
33
|
-
> - Software Development Kit
|
34
|
-
> - Collection of typed `fetch` functions with DTO structures like [tRPC](https://trpc.io/)
|
35
|
-
> - Mockup simulator means embedded backend simulator in the SDK
|
36
|
-
> - similar with [msw](https://mswjs.io/), but fully automated
|
37
|
-
|
38
|
-

|
39
|
-
|
40
|
-
> Left is NestJS server code, and right is client (frontend) code utilizing SDK
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
## Sponsors and Backers
|
46
|
-
Thanks for your support.
|
47
|
-
|
48
|
-
Your donation would encourage `nestia` development.
|
49
|
-
|
50
|
-
[](https://opencollective.com/nestia)
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
## Guide Documents
|
56
|
-
Check out the document in the [website](https://nestia.io/docs/):
|
57
|
-
|
58
|
-
### 🏠 Home
|
59
|
-
- [Introduction](https://nestia.io/docs/)
|
60
|
-
- [Setup](https://nestia.io/docs/setup/)
|
61
|
-
- [Pure TypeScript](https://nestia.io/docs/pure)
|
62
|
-
|
63
|
-
### 📖 Features
|
64
|
-
- Core Library
|
65
|
-
- [WebSocketRoute](https://nestia.io/docs/core/WebSocketRoute)
|
66
|
-
- [TypedRoute](https://nestia.io/docs/core/TypedRoute/)
|
67
|
-
- [TypedBody](https://nestia.io/docs/core/TypedBody/)
|
68
|
-
- [TypedParam](https://nestia.io/docs/core/TypedParam/)
|
69
|
-
- [TypedQuery](https://nestia.io/docs/core/TypedQuery/)
|
70
|
-
- [TypedHeaders](https://nestia.io/docs/core/TypedHeaders/)
|
71
|
-
- [TypedException](https://nestia.io/docs/core/TypedException/)
|
72
|
-
- Generators
|
73
|
-
- [Swagger Documents](https://nestia.io/docs/sdk/swagger/)
|
74
|
-
- [Software Development Kit](https://nestia.io/docs/sdk/sdk/)
|
75
|
-
- [E2E Functions](https://nestia.io/docs/sdk/e2e/)
|
76
|
-
- [Mockup Simulator](https://nestia.io/docs/sdk/simulator/)
|
77
|
-
- E2E Testing
|
78
|
-
- [Why E2E Test?](https://nestia.io/docs/e2e/why/)
|
79
|
-
- [Test Program Development](https://nestia.io/docs/e2e/development/)
|
80
|
-
- [Performance Benchmark](https://nestia.io/docs/e2e/benchmark/)
|
81
|
-
- [Swagger to NestJS](https://nestia.io/docs/migrate/)
|
82
|
-
- [TypeScript Swagger Editor](https://nestia.io/docs/editor/)
|
83
|
-
|
84
|
-
### 🔗 Appendix
|
85
|
-
- [API Documents](https://nestia.io/api)
|
86
|
-
- [⇲ Benchmark Result](https://github.com/samchon/nestia/tree/master/benchmark/results/11th%20Gen%20Intel(R)%20Core(TM)%20i5-1135G7%20%40%202.40GHz)
|
87
|
-
- [⇲ `dev.to` Articles](https://dev.to/samchon/series/22751)
|
1
|
+
# Nestia
|
2
|
+

|
3
|
+
|
4
|
+
[](https://github.com/samchon/nestia/blob/master/LICENSE)
|
5
|
+
[](https://www.npmjs.com/package/@nestia/fetcher)
|
6
|
+
[](https://www.npmjs.com/package/@nestia/fetcher)
|
7
|
+
[](https://github.com/samchon/nestia/actions?query=workflow%3Abuild)
|
8
|
+
[](https://nestia.io/docs/)
|
9
|
+
[](https://discord.gg/E94XhzrUCZ)
|
10
|
+
|
11
|
+
Nestia is a set of helper libraries for NestJS, supporting below features:
|
12
|
+
|
13
|
+
- `@nestia/core`:
|
14
|
+
- Super-fast/easy decorators
|
15
|
+
- Advanced WebSocket routes
|
16
|
+
- `@nestia/sdk`:
|
17
|
+
- Swagger generator evolved than ever
|
18
|
+
- SDK library generator for clients
|
19
|
+
- Mockup Simulator for client applications
|
20
|
+
- Automatic E2E test functions generator
|
21
|
+
- `@nestia/e2e`: Test program utilizing e2e test functions
|
22
|
+
- `@nestia/benchmark`: Benchmark program using e2e test functions
|
23
|
+
- `@nestia/migrate`: OpenAPI generator from Swagger to NestJS/SDK
|
24
|
+
- `@nestia/editor`: Swagger-UI with Online TypeScript Editor
|
25
|
+
- `nestia`: Just CLI (command line interface) tool
|
26
|
+
|
27
|
+
> [!NOTE]
|
28
|
+
>
|
29
|
+
> - **Only one line** required, with pure TypeScript type
|
30
|
+
> - Enhance performance **30x** up
|
31
|
+
> - Runtime validator is **20,000x faster** than `class-validator`
|
32
|
+
> - JSON serialization is **200x faster** than `class-transformer`
|
33
|
+
> - Software Development Kit
|
34
|
+
> - Collection of typed `fetch` functions with DTO structures like [tRPC](https://trpc.io/)
|
35
|
+
> - Mockup simulator means embedded backend simulator in the SDK
|
36
|
+
> - similar with [msw](https://mswjs.io/), but fully automated
|
37
|
+
|
38
|
+

|
39
|
+
|
40
|
+
> Left is NestJS server code, and right is client (frontend) code utilizing SDK
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
## Sponsors and Backers
|
46
|
+
Thanks for your support.
|
47
|
+
|
48
|
+
Your donation would encourage `nestia` development.
|
49
|
+
|
50
|
+
[](https://opencollective.com/nestia)
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
## Guide Documents
|
56
|
+
Check out the document in the [website](https://nestia.io/docs/):
|
57
|
+
|
58
|
+
### 🏠 Home
|
59
|
+
- [Introduction](https://nestia.io/docs/)
|
60
|
+
- [Setup](https://nestia.io/docs/setup/)
|
61
|
+
- [Pure TypeScript](https://nestia.io/docs/pure)
|
62
|
+
|
63
|
+
### 📖 Features
|
64
|
+
- Core Library
|
65
|
+
- [WebSocketRoute](https://nestia.io/docs/core/WebSocketRoute)
|
66
|
+
- [TypedRoute](https://nestia.io/docs/core/TypedRoute/)
|
67
|
+
- [TypedBody](https://nestia.io/docs/core/TypedBody/)
|
68
|
+
- [TypedParam](https://nestia.io/docs/core/TypedParam/)
|
69
|
+
- [TypedQuery](https://nestia.io/docs/core/TypedQuery/)
|
70
|
+
- [TypedHeaders](https://nestia.io/docs/core/TypedHeaders/)
|
71
|
+
- [TypedException](https://nestia.io/docs/core/TypedException/)
|
72
|
+
- Generators
|
73
|
+
- [Swagger Documents](https://nestia.io/docs/sdk/swagger/)
|
74
|
+
- [Software Development Kit](https://nestia.io/docs/sdk/sdk/)
|
75
|
+
- [E2E Functions](https://nestia.io/docs/sdk/e2e/)
|
76
|
+
- [Mockup Simulator](https://nestia.io/docs/sdk/simulator/)
|
77
|
+
- E2E Testing
|
78
|
+
- [Why E2E Test?](https://nestia.io/docs/e2e/why/)
|
79
|
+
- [Test Program Development](https://nestia.io/docs/e2e/development/)
|
80
|
+
- [Performance Benchmark](https://nestia.io/docs/e2e/benchmark/)
|
81
|
+
- [Swagger to NestJS](https://nestia.io/docs/migrate/)
|
82
|
+
- [TypeScript Swagger Editor](https://nestia.io/docs/editor/)
|
83
|
+
|
84
|
+
### 🔗 Appendix
|
85
|
+
- [API Documents](https://nestia.io/api)
|
86
|
+
- [⇲ Benchmark Result](https://github.com/samchon/nestia/tree/master/benchmark/results/11th%20Gen%20Intel(R)%20Core(TM)%20i5-1135G7%20%40%202.40GHz)
|
87
|
+
- [⇲ `dev.to` Articles](https://dev.to/samchon/series/22751)
|
@@ -83,7 +83,7 @@ class MigrateApplication {
|
|
83
83
|
if (undefined === value)
|
84
84
|
return true;
|
85
85
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io35(value);
|
86
|
-
}); const _io35 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io36(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io36(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io36(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io36(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io36(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io36(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io36(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io36(input.trace)); const _io36 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io37(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io40(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io43(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io37 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu0(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io38(input.examples)); const _io38 = input => Object.keys(input).every(key => {
|
86
|
+
}); const _io35 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io36(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io36(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io36(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io36(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io36(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io36(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io36(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io36(input.trace)); const _io36 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io37(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io40(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io43(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]); const _io37 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu0(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io38(input.examples)); const _io38 = input => Object.keys(input).every(key => {
|
87
87
|
const value = input[key];
|
88
88
|
if (undefined === value)
|
89
89
|
return true;
|
@@ -1777,6 +1777,10 @@ class MigrateApplication {
|
|
1777
1777
|
path: _path + ".deprecated",
|
1778
1778
|
expected: "(boolean | undefined)",
|
1779
1779
|
value: input.deprecated
|
1780
|
+
}), undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"] || _report(_exceptionable, {
|
1781
|
+
path: _path + "[\"x-samchon-human\"]",
|
1782
|
+
expected: "(boolean | undefined)",
|
1783
|
+
value: input["x-samchon-human"]
|
1780
1784
|
})].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
1781
1785
|
path: _path + ".name",
|
1782
1786
|
expected: "(string | undefined)",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MigrateApplication.js","sourceRoot":"","sources":["../src/MigrateApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA8E;AAC9E,kDAA2C;AAE3C,iEAA8D;AAC9D,2DAAwD;AACxD,yDAAsD;AACtD,6EAA0E;AAC1E,uFAAoF;AACpF,6EAA0E;AAC1E,+EAA4E;AAI5E,MAAa,kBAAkB;IAC7B,YAAoC,QAA2B;QAA3B,aAAQ,GAAR,QAAQ,C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