@nestia/migrate 0.17.5 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/MigrateApplication.d.ts +5 -5
- package/lib/MigrateApplication.js +79 -79
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/analyzers/MigrateAnalyzer.d.ts +2 -2
- package/lib/analyzers/MigrateAnalyzer.js +2 -2
- package/lib/analyzers/MigrateAnalyzer.js.map +1 -1
- package/lib/analyzers/MigrateControllerAnalyzer.d.ts +3 -3
- package/lib/analyzers/MigrateControllerAnalyzer.js.map +1 -1
- package/lib/archivers/MigrateFileArchiver.d.ts +2 -2
- package/lib/archivers/MigrateFileArchiver.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +2 -2
- package/lib/bundles/NEST_TEMPLATE.js.map +1 -1
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/lib/bundles/SDK_TEMPLATE.js.map +1 -1
- package/lib/executable/bundle.js.map +1 -1
- package/lib/module.d.ts +2 -2
- package/lib/module.js +2 -2
- package/lib/module.js.map +1 -1
- package/lib/programmers/MigrateApiFileProgrammer.d.ts +4 -4
- package/lib/programmers/MigrateApiFileProgrammer.js.map +1 -1
- package/lib/programmers/MigrateApiFunctionProgrammer.d.ts +4 -4
- package/lib/programmers/MigrateApiFunctionProgrammer.js.map +1 -1
- package/lib/programmers/MigrateApiNamespaceProgrammer.d.ts +4 -4
- package/lib/programmers/MigrateApiNamespaceProgrammer.js.map +1 -1
- package/lib/programmers/MigrateApiProgrammer.d.ts +3 -3
- package/lib/programmers/MigrateApiProgrammer.js.map +1 -1
- package/lib/programmers/MigrateApiSimulatationProgrammer.d.ts +3 -3
- package/lib/programmers/MigrateApiSimulatationProgrammer.js.map +1 -1
- package/lib/programmers/MigrateApiStartProgrammer.d.ts +3 -3
- package/lib/programmers/MigrateApiStartProgrammer.js.map +1 -1
- package/lib/programmers/MigrateE2eFileProgrammer.d.ts +3 -3
- package/lib/programmers/MigrateE2eFileProgrammer.js.map +1 -1
- package/lib/programmers/MigrateE2eProgrammer.d.ts +3 -3
- package/lib/programmers/MigrateE2eProgrammer.js.map +1 -1
- package/lib/programmers/MigrateNestControllerProgrammer.d.ts +2 -2
- package/lib/programmers/MigrateNestControllerProgrammer.js.map +1 -1
- package/lib/programmers/MigrateNestMethodProgrammer.d.ts +2 -2
- package/lib/programmers/MigrateNestMethodProgrammer.js.map +1 -1
- package/lib/programmers/MigrateNestModuleProgrammer.d.ts +2 -2
- package/lib/programmers/MigrateNestModuleProgrammer.js.map +1 -1
- package/lib/programmers/MigrateNestProgrammer.d.ts +3 -3
- package/lib/programmers/MigrateNestProgrammer.js.map +1 -1
- package/lib/structures/IHttpMigrateController.d.ts +7 -0
- package/lib/structures/IHttpMigrateController.js +3 -0
- package/lib/structures/IHttpMigrateController.js.map +1 -0
- package/lib/structures/{IMigrateDto.d.ts → IHttpMigrateDto.d.ts} +2 -2
- package/lib/structures/{IMigrateDto.js → IHttpMigrateDto.js} +1 -1
- package/lib/structures/IHttpMigrateDto.js.map +1 -0
- package/lib/structures/{IMigrateFile.d.ts → IHttpMigrateFile.d.ts} +1 -1
- package/lib/structures/{IMigrateRoute.js → IHttpMigrateFile.js} +1 -1
- package/lib/structures/IHttpMigrateFile.js.map +1 -0
- package/lib/structures/{IMigrateProgram.d.ts → IHttpMigrateProgram.d.ts} +5 -5
- package/lib/structures/{IMigrateProgram.js → IHttpMigrateProgram.js} +1 -1
- package/lib/structures/IHttpMigrateProgram.js.map +1 -0
- package/lib/structures/IHttpMigrateRoute.d.ts +1 -0
- package/lib/structures/{IMigrateFile.js → IHttpMigrateRoute.js} +1 -1
- package/lib/structures/IHttpMigrateRoute.js.map +1 -0
- package/lib/structures/IHttpMigrateSchema.d.ts +4 -0
- package/lib/structures/{IMigrateController.js → IHttpMigrateSchema.js} +1 -1
- package/lib/structures/IHttpMigrateSchema.js.map +1 -0
- package/package.json +5 -5
- package/src/MigrateApplication.ts +7 -7
- package/src/analyzers/MigrateAnalyzer.ts +10 -6
- package/src/analyzers/MigrateControllerAnalyzer.ts +7 -5
- package/src/archivers/MigrateFileArchiver.ts +2 -2
- package/src/bundles/NEST_TEMPLATE.ts +2 -2
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
- package/src/executable/bundle.ts +22 -21
- package/src/module.ts +2 -2
- package/src/programmers/MigrateApiFileProgrammer.ts +4 -4
- package/src/programmers/MigrateApiFunctionProgrammer.ts +8 -8
- package/src/programmers/MigrateApiNamespaceProgrammer.ts +9 -9
- package/src/programmers/MigrateApiProgrammer.ts +4 -4
- package/src/programmers/MigrateApiSimulatationProgrammer.ts +4 -4
- package/src/programmers/MigrateApiStartProgrammer.ts +7 -7
- package/src/programmers/MigrateE2eFileProgrammer.ts +4 -4
- package/src/programmers/MigrateE2eProgrammer.ts +5 -5
- package/src/programmers/MigrateNestControllerProgrammer.ts +2 -2
- package/src/programmers/MigrateNestMethodProgrammer.ts +5 -5
- package/src/programmers/MigrateNestModuleProgrammer.ts +4 -2
- package/src/programmers/MigrateNestProgrammer.ts +6 -7
- package/src/structures/IHttpMigrateController.ts +8 -0
- package/src/structures/{IMigrateDto.ts → IHttpMigrateDto.ts} +2 -2
- package/src/structures/{IMigrateFile.ts → IHttpMigrateFile.ts} +1 -1
- package/src/structures/{IMigrateProgram.ts → IHttpMigrateProgram.ts} +5 -5
- package/src/structures/IHttpMigrateRoute.ts +1 -0
- package/src/structures/IHttpMigrateSchema.ts +4 -0
- package/lib/structures/IMigrateController.d.ts +0 -7
- package/lib/structures/IMigrateController.js.map +0 -1
- package/lib/structures/IMigrateDto.js.map +0 -1
- package/lib/structures/IMigrateFile.js.map +0 -1
- package/lib/structures/IMigrateProgram.js.map +0 -1
- package/lib/structures/IMigrateRoute.d.ts +0 -1
- package/lib/structures/IMigrateRoute.js.map +0 -1
- package/lib/structures/IMigrateSchema.d.ts +0 -4
- package/lib/structures/IMigrateSchema.js +0 -3
- package/lib/structures/IMigrateSchema.js.map +0 -1
- package/src/structures/IMigrateController.ts +0 -8
- package/src/structures/IMigrateRoute.ts +0 -1
- package/src/structures/IMigrateSchema.ts +0 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
import { OpenApi, OpenApiV3, OpenApiV3_1, SwaggerV2 } from "@samchon/openapi";
|
2
2
|
import { IValidation } from "typia";
|
3
|
-
import {
|
4
|
-
import {
|
3
|
+
import { IHttpMigrateFile } from "./structures/IHttpMigrateFile";
|
4
|
+
import { IHttpMigrateProgram } from "./structures/IHttpMigrateProgram";
|
5
5
|
export declare class MigrateApplication {
|
6
6
|
readonly document: OpenApi.IDocument;
|
7
7
|
private constructor();
|
@@ -11,9 +11,9 @@ export declare class MigrateApplication {
|
|
11
11
|
}
|
12
12
|
export declare namespace MigrateApplication {
|
13
13
|
interface IOutput {
|
14
|
-
program:
|
15
|
-
files:
|
16
|
-
errors:
|
14
|
+
program: IHttpMigrateProgram;
|
15
|
+
files: IHttpMigrateFile[];
|
16
|
+
errors: IHttpMigrateProgram.IError[];
|
17
17
|
}
|
18
18
|
interface IConfig {
|
19
19
|
simulate: boolean;
|
@@ -53,13 +53,13 @@ class MigrateApplication {
|
|
53
53
|
if (undefined === value)
|
54
54
|
return true;
|
55
55
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io34(value);
|
56
|
-
}); const $io34 = 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.
|
56
|
+
}); const $io34 = 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) && $io35(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io35(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io35(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io35(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io35(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io35(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io35(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io35(input.trace)); const $io35 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $io36(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && $io39(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io42(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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io36 = 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) && $io37(input.examples)); const $io37 = input => Object.keys(input).every(key => {
|
57
57
|
const value = input[key];
|
58
58
|
if (undefined === value)
|
59
59
|
return true;
|
60
60
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io38(value);
|
61
|
-
}); const $io38 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const $io39 = input => (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && $io40(input.content)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]); const $io40 = input => (undefined === input["text/plain"] || "object" === typeof input["text/plain"] && null !== input["text/plain"] && false === Array.isArray(input["text/plain"]) && $io41(input["text/plain"])) && (undefined === input["application/json"] || "object" === typeof input["application/json"] && null !== input["application/json"] && false === Array.isArray(input["application/json"]) && $io41(input["application/json"])) && (undefined === input["
|
62
|
-
if (["text/plain", "application/json", "application/x-www-form-url-encoded", "
|
61
|
+
}); const $io38 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const $io39 = input => (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && $io40(input.content)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]); const $io40 = input => (undefined === input["text/plain"] || "object" === typeof input["text/plain"] && null !== input["text/plain"] && false === Array.isArray(input["text/plain"]) && $io41(input["text/plain"])) && (undefined === input["application/json"] || "object" === typeof input["application/json"] && null !== input["application/json"] && false === Array.isArray(input["application/json"]) && $io41(input["application/json"])) && (undefined === input["multipart/form-data"] || "object" === typeof input["multipart/form-data"] && null !== input["multipart/form-data"] && false === Array.isArray(input["multipart/form-data"]) && $io41(input["multipart/form-data"])) && (undefined === input["application/x-www-form-url-encoded"] || "object" === typeof input["application/x-www-form-url-encoded"] && null !== input["application/x-www-form-url-encoded"] && false === Array.isArray(input["application/x-www-form-url-encoded"]) && $io41(input["application/x-www-form-url-encoded"])) && (undefined === input["*/*"] || "object" === typeof input["*/*"] && null !== input["*/*"] && false === Array.isArray(input["*/*"]) && $io41(input["*/*"])) && Object.keys(input).every(key => {
|
62
|
+
if (["text/plain", "application/json", "multipart/form-data", "application/x-www-form-url-encoded", "*/*"].some(prop => key === prop))
|
63
63
|
return true;
|
64
64
|
const value = input[key];
|
65
65
|
if (undefined === value)
|
@@ -105,7 +105,7 @@ class MigrateApplication {
|
|
105
105
|
if (undefined === value)
|
106
106
|
return true;
|
107
107
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io86(value);
|
108
|
-
}); const $io86 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu3(elem))) && (undefined === input.
|
108
|
+
}); const $io86 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu3(elem))) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && $io88(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io88(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io88(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io88(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io88(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io88(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io88(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io88(input.trace)); const $io87 = input => "string" === typeof input.$ref && RegExp(/^#\/parameters\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io88 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu4(elem))) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io90(input.responses)) && (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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io89 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/parameters\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io90 = input => Object.keys(input).every(key => {
|
109
109
|
const value = input[key];
|
110
110
|
if (undefined === value)
|
111
111
|
return true;
|
@@ -170,7 +170,7 @@ class MigrateApplication {
|
|
170
170
|
if (undefined === value)
|
171
171
|
return true;
|
172
172
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io142(value);
|
173
|
-
}); const $io142 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io94(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.
|
173
|
+
}); const $io142 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io94(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) && $io144(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io144(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io144(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io144(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io144(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io144(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io144(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io144(input.trace)); const $io143 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io144 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu6(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && $iu16(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io146(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io94(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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io145 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io146 = input => Object.keys(input).every(key => {
|
174
174
|
const value = input[key];
|
175
175
|
if (undefined === value)
|
176
176
|
return true;
|
@@ -190,7 +190,7 @@ class MigrateApplication {
|
|
190
190
|
if (undefined === value)
|
191
191
|
return true;
|
192
192
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io174(value);
|
193
|
-
}); const $io174 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu8(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io150(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.
|
193
|
+
}); const $io174 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu8(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io150(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) && $io181(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io181(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io181(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io181(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io181(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io181(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io181(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io181(input.trace)); const $io175 = 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) && $iu7(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && $io176(input.examples)); const $io176 = input => Object.keys(input).every(key => {
|
194
194
|
const value = input[key];
|
195
195
|
if (undefined === value)
|
196
196
|
return true;
|
@@ -1490,6 +1490,14 @@ class MigrateApplication {
|
|
1490
1490
|
path: _path + ".description",
|
1491
1491
|
expected: "(string | undefined)",
|
1492
1492
|
value: input.description
|
1493
|
+
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
|
1494
|
+
path: _path + ".head",
|
1495
|
+
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1496
|
+
value: input.head
|
1497
|
+
})) && $vo35(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
|
1498
|
+
path: _path + ".head",
|
1499
|
+
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1500
|
+
value: input.head
|
1493
1501
|
}), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || $report(_exceptionable, {
|
1494
1502
|
path: _path + ".get",
|
1495
1503
|
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
@@ -1514,6 +1522,14 @@ class MigrateApplication {
|
|
1514
1522
|
path: _path + ".put",
|
1515
1523
|
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1516
1524
|
value: input.put
|
1525
|
+
}), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
|
1526
|
+
path: _path + ".patch",
|
1527
|
+
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1528
|
+
value: input.patch
|
1529
|
+
})) && $vo35(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
|
1530
|
+
path: _path + ".patch",
|
1531
|
+
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1532
|
+
value: input.patch
|
1517
1533
|
}), undefined === input["delete"] || ("object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) || $report(_exceptionable, {
|
1518
1534
|
path: _path + "[\"delete\"]",
|
1519
1535
|
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
@@ -1530,22 +1546,6 @@ class MigrateApplication {
|
|
1530
1546
|
path: _path + ".options",
|
1531
1547
|
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1532
1548
|
value: input.options
|
1533
|
-
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
|
1534
|
-
path: _path + ".head",
|
1535
|
-
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1536
|
-
value: input.head
|
1537
|
-
})) && $vo35(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
|
1538
|
-
path: _path + ".head",
|
1539
|
-
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1540
|
-
value: input.head
|
1541
|
-
}), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
|
1542
|
-
path: _path + ".patch",
|
1543
|
-
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1544
|
-
value: input.patch
|
1545
|
-
})) && $vo35(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
|
1546
|
-
path: _path + ".patch",
|
1547
|
-
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
1548
|
-
value: input.patch
|
1549
1549
|
}), undefined === input.trace || ("object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) || $report(_exceptionable, {
|
1550
1550
|
path: _path + ".trace",
|
1551
1551
|
expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
|
@@ -1743,14 +1743,6 @@ class MigrateApplication {
|
|
1743
1743
|
path: _path + "[\"application/json\"]",
|
1744
1744
|
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
1745
1745
|
value: input["application/json"]
|
1746
|
-
}), undefined === input["application/x-www-form-url-encoded"] || ("object" === typeof input["application/x-www-form-url-encoded"] && null !== input["application/x-www-form-url-encoded"] && false === Array.isArray(input["application/x-www-form-url-encoded"]) || $report(_exceptionable, {
|
1747
|
-
path: _path + "[\"application/x-www-form-url-encoded\"]",
|
1748
|
-
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
1749
|
-
value: input["application/x-www-form-url-encoded"]
|
1750
|
-
})) && $vo41(input["application/x-www-form-url-encoded"], _path + "[\"application/x-www-form-url-encoded\"]", true && _exceptionable) || $report(_exceptionable, {
|
1751
|
-
path: _path + "[\"application/x-www-form-url-encoded\"]",
|
1752
|
-
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
1753
|
-
value: input["application/x-www-form-url-encoded"]
|
1754
1746
|
}), undefined === input["multipart/form-data"] || ("object" === typeof input["multipart/form-data"] && null !== input["multipart/form-data"] && false === Array.isArray(input["multipart/form-data"]) || $report(_exceptionable, {
|
1755
1747
|
path: _path + "[\"multipart/form-data\"]",
|
1756
1748
|
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
@@ -1759,6 +1751,14 @@ class MigrateApplication {
|
|
1759
1751
|
path: _path + "[\"multipart/form-data\"]",
|
1760
1752
|
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
1761
1753
|
value: input["multipart/form-data"]
|
1754
|
+
}), undefined === input["application/x-www-form-url-encoded"] || ("object" === typeof input["application/x-www-form-url-encoded"] && null !== input["application/x-www-form-url-encoded"] && false === Array.isArray(input["application/x-www-form-url-encoded"]) || $report(_exceptionable, {
|
1755
|
+
path: _path + "[\"application/x-www-form-url-encoded\"]",
|
1756
|
+
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
1757
|
+
value: input["application/x-www-form-url-encoded"]
|
1758
|
+
})) && $vo41(input["application/x-www-form-url-encoded"], _path + "[\"application/x-www-form-url-encoded\"]", true && _exceptionable) || $report(_exceptionable, {
|
1759
|
+
path: _path + "[\"application/x-www-form-url-encoded\"]",
|
1760
|
+
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
1761
|
+
value: input["application/x-www-form-url-encoded"]
|
1762
1762
|
}), undefined === input["*/*"] || ("object" === typeof input["*/*"] && null !== input["*/*"] && false === Array.isArray(input["*/*"]) || $report(_exceptionable, {
|
1763
1763
|
path: _path + "[\"*/*\"]",
|
1764
1764
|
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
@@ -1768,7 +1768,7 @@ class MigrateApplication {
|
|
1768
1768
|
expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
|
1769
1769
|
value: input["*/*"]
|
1770
1770
|
}), false === _exceptionable || Object.keys(input).map(key => {
|
1771
|
-
if (["text/plain", "application/json", "application/x-www-form-url-encoded", "
|
1771
|
+
if (["text/plain", "application/json", "multipart/form-data", "application/x-www-form-url-encoded", "*/*"].some(prop => key === prop))
|
1772
1772
|
return true;
|
1773
1773
|
const value = input[key];
|
1774
1774
|
if (undefined === value)
|
@@ -3294,6 +3294,14 @@ class MigrateApplication {
|
|
3294
3294
|
path: _path + ".parameters",
|
3295
3295
|
expected: "(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",
|
3296
3296
|
value: input.parameters
|
3297
|
+
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
|
3298
|
+
path: _path + ".head",
|
3299
|
+
expected: "(SwaggerV2.IOperation | undefined)",
|
3300
|
+
value: input.head
|
3301
|
+
})) && $vo88(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
|
3302
|
+
path: _path + ".head",
|
3303
|
+
expected: "(SwaggerV2.IOperation | undefined)",
|
3304
|
+
value: input.head
|
3297
3305
|
}), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || $report(_exceptionable, {
|
3298
3306
|
path: _path + ".get",
|
3299
3307
|
expected: "(SwaggerV2.IOperation | undefined)",
|
@@ -3318,6 +3326,14 @@ class MigrateApplication {
|
|
3318
3326
|
path: _path + ".put",
|
3319
3327
|
expected: "(SwaggerV2.IOperation | undefined)",
|
3320
3328
|
value: input.put
|
3329
|
+
}), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
|
3330
|
+
path: _path + ".patch",
|
3331
|
+
expected: "(SwaggerV2.IOperation | undefined)",
|
3332
|
+
value: input.patch
|
3333
|
+
})) && $vo88(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
|
3334
|
+
path: _path + ".patch",
|
3335
|
+
expected: "(SwaggerV2.IOperation | undefined)",
|
3336
|
+
value: input.patch
|
3321
3337
|
}), undefined === input["delete"] || ("object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) || $report(_exceptionable, {
|
3322
3338
|
path: _path + "[\"delete\"]",
|
3323
3339
|
expected: "(SwaggerV2.IOperation | undefined)",
|
@@ -3334,22 +3350,6 @@ class MigrateApplication {
|
|
3334
3350
|
path: _path + ".options",
|
3335
3351
|
expected: "(SwaggerV2.IOperation | undefined)",
|
3336
3352
|
value: input.options
|
3337
|
-
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
|
3338
|
-
path: _path + ".head",
|
3339
|
-
expected: "(SwaggerV2.IOperation | undefined)",
|
3340
|
-
value: input.head
|
3341
|
-
})) && $vo88(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
|
3342
|
-
path: _path + ".head",
|
3343
|
-
expected: "(SwaggerV2.IOperation | undefined)",
|
3344
|
-
value: input.head
|
3345
|
-
}), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
|
3346
|
-
path: _path + ".patch",
|
3347
|
-
expected: "(SwaggerV2.IOperation | undefined)",
|
3348
|
-
value: input.patch
|
3349
|
-
})) && $vo88(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
|
3350
|
-
path: _path + ".patch",
|
3351
|
-
expected: "(SwaggerV2.IOperation | undefined)",
|
3352
|
-
value: input.patch
|
3353
3353
|
}), undefined === input.trace || ("object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) || $report(_exceptionable, {
|
3354
3354
|
path: _path + ".trace",
|
3355
3355
|
expected: "(SwaggerV2.IOperation | undefined)",
|
@@ -4731,6 +4731,14 @@ class MigrateApplication {
|
|
4731
4731
|
path: _path + ".description",
|
4732
4732
|
expected: "(string | undefined)",
|
4733
4733
|
value: input.description
|
4734
|
+
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
|
4735
|
+
path: _path + ".head",
|
4736
|
+
expected: "(OpenApiV3.IOperation | undefined)",
|
4737
|
+
value: input.head
|
4738
|
+
})) && $vo144(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
|
4739
|
+
path: _path + ".head",
|
4740
|
+
expected: "(OpenApiV3.IOperation | undefined)",
|
4741
|
+
value: input.head
|
4734
4742
|
}), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || $report(_exceptionable, {
|
4735
4743
|
path: _path + ".get",
|
4736
4744
|
expected: "(OpenApiV3.IOperation | undefined)",
|
@@ -4755,6 +4763,14 @@ class MigrateApplication {
|
|
4755
4763
|
path: _path + ".put",
|
4756
4764
|
expected: "(OpenApiV3.IOperation | undefined)",
|
4757
4765
|
value: input.put
|
4766
|
+
}), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
|
4767
|
+
path: _path + ".patch",
|
4768
|
+
expected: "(OpenApiV3.IOperation | undefined)",
|
4769
|
+
value: input.patch
|
4770
|
+
})) && $vo144(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
|
4771
|
+
path: _path + ".patch",
|
4772
|
+
expected: "(OpenApiV3.IOperation | undefined)",
|
4773
|
+
value: input.patch
|
4758
4774
|
}), undefined === input["delete"] || ("object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) || $report(_exceptionable, {
|
4759
4775
|
path: _path + "[\"delete\"]",
|
4760
4776
|
expected: "(OpenApiV3.IOperation | undefined)",
|
@@ -4771,22 +4787,6 @@ class MigrateApplication {
|
|
4771
4787
|
path: _path + ".options",
|
4772
4788
|
expected: "(OpenApiV3.IOperation | undefined)",
|
4773
4789
|
value: input.options
|
4774
|
-
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
|
4775
|
-
path: _path + ".head",
|
4776
|
-
expected: "(OpenApiV3.IOperation | undefined)",
|
4777
|
-
value: input.head
|
4778
|
-
})) && $vo144(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
|
4779
|
-
path: _path + ".head",
|
4780
|
-
expected: "(OpenApiV3.IOperation | undefined)",
|
4781
|
-
value: input.head
|
4782
|
-
}), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
|
4783
|
-
path: _path + ".patch",
|
4784
|
-
expected: "(OpenApiV3.IOperation | undefined)",
|
4785
|
-
value: input.patch
|
4786
|
-
})) && $vo144(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
|
4787
|
-
path: _path + ".patch",
|
4788
|
-
expected: "(OpenApiV3.IOperation | undefined)",
|
4789
|
-
value: input.patch
|
4790
4790
|
}), undefined === input.trace || ("object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) || $report(_exceptionable, {
|
4791
4791
|
path: _path + ".trace",
|
4792
4792
|
expected: "(OpenApiV3.IOperation | undefined)",
|
@@ -6123,6 +6123,14 @@ class MigrateApplication {
|
|
6123
6123
|
path: _path + ".description",
|
6124
6124
|
expected: "(string | undefined)",
|
6125
6125
|
value: input.description
|
6126
|
+
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
|
6127
|
+
path: _path + ".head",
|
6128
|
+
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6129
|
+
value: input.head
|
6130
|
+
})) && $vo181(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
|
6131
|
+
path: _path + ".head",
|
6132
|
+
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6133
|
+
value: input.head
|
6126
6134
|
}), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || $report(_exceptionable, {
|
6127
6135
|
path: _path + ".get",
|
6128
6136
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
@@ -6147,6 +6155,14 @@ class MigrateApplication {
|
|
6147
6155
|
path: _path + ".put",
|
6148
6156
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6149
6157
|
value: input.put
|
6158
|
+
}), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
|
6159
|
+
path: _path + ".patch",
|
6160
|
+
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6161
|
+
value: input.patch
|
6162
|
+
})) && $vo181(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
|
6163
|
+
path: _path + ".patch",
|
6164
|
+
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6165
|
+
value: input.patch
|
6150
6166
|
}), undefined === input["delete"] || ("object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) || $report(_exceptionable, {
|
6151
6167
|
path: _path + "[\"delete\"]",
|
6152
6168
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
@@ -6163,22 +6179,6 @@ class MigrateApplication {
|
|
6163
6179
|
path: _path + ".options",
|
6164
6180
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6165
6181
|
value: input.options
|
6166
|
-
}), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
|
6167
|
-
path: _path + ".head",
|
6168
|
-
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6169
|
-
value: input.head
|
6170
|
-
})) && $vo181(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
|
6171
|
-
path: _path + ".head",
|
6172
|
-
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6173
|
-
value: input.head
|
6174
|
-
}), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
|
6175
|
-
path: _path + ".patch",
|
6176
|
-
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6177
|
-
value: input.patch
|
6178
|
-
})) && $vo181(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
|
6179
|
-
path: _path + ".patch",
|
6180
|
-
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6181
|
-
value: input.patch
|
6182
6182
|
}), undefined === input.trace || ("object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) || $report(_exceptionable, {
|
6183
6183
|
path: _path + ".trace",
|
6184
6184
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
@@ -1 +1 @@
|
|
1
|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,CAAC,CAAC,CAAC,2CAAoB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC1D;oBACE,QAAQ,EAAE,EAAE;oBACZ,IAAI,EAAE,cAAc;oBACpB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;iBAChD;aACF;YACD,MAAM,EAAE,OAAO,CAAC,MAAM;SACvB,CAAC;IACJ,CAAC;CACF;AA7DD,gDA6DC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { IHttpMigrateProgram } from "../structures/IHttpMigrateProgram";
|
2
2
|
export declare namespace MigrateAnalyzer {
|
3
|
-
const analyze: (props:
|
3
|
+
const analyze: (props: IHttpMigrateProgram.IProps) => IHttpMigrateProgram;
|
4
4
|
}
|
@@ -5,8 +5,8 @@ const openapi_1 = require("@samchon/openapi");
|
|
5
5
|
var MigrateAnalyzer;
|
6
6
|
(function (MigrateAnalyzer) {
|
7
7
|
MigrateAnalyzer.analyze = (props) => {
|
8
|
-
const
|
9
|
-
return Object.assign(Object.assign({}, props), { routes:
|
8
|
+
const application = openapi_1.HttpMigration.application(props.document);
|
9
|
+
return Object.assign(Object.assign({}, props), { routes: application.routes, errors: application.errors });
|
10
10
|
};
|
11
11
|
})(MigrateAnalyzer || (exports.MigrateAnalyzer = MigrateAnalyzer = {}));
|
12
12
|
//# sourceMappingURL=MigrateAnalyzer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MigrateAnalyzer.js","sourceRoot":"","sources":["../../src/analyzers/MigrateAnalyzer.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"MigrateAnalyzer.js","sourceRoot":"","sources":["../../src/analyzers/MigrateAnalyzer.ts"],"names":[],"mappings":";;;AAAA,8CAA0E;AAI1E,IAAiB,eAAe,CAa/B;AAbD,WAAiB,eAAe;IACjB,uBAAO,GAAG,CACrB,KAAiC,EACZ,EAAE;QACvB,MAAM,WAAW,GAA4B,uBAAa,CAAC,WAAW,CACpE,KAAK,CAAC,QAAQ,CACf,CAAC;QACF,uCACK,KAAK,KACR,MAAM,EAAE,WAAW,CAAC,MAAM,EAC1B,MAAM,EAAE,WAAW,CAAC,MAAM,IAC1B;IACJ,CAAC,CAAC;AACJ,CAAC,EAbgB,eAAe,+BAAf,eAAe,QAa/B"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { IHttpMigrateRoute } from "@samchon/openapi";
|
2
|
+
import { IHttpMigrateController } from "../structures/IHttpMigrateController";
|
3
3
|
export declare namespace MigrateControllerAnalyzer {
|
4
|
-
const analyze: (routes:
|
4
|
+
const analyze: (routes: IHttpMigrateRoute[]) => IHttpMigrateController[];
|
5
5
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MigrateControllerAnalyzer.js","sourceRoot":"","sources":["../../src/analyzers/MigrateControllerAnalyzer.ts"],"names":[],"mappings":";;;AAGA,8CAA2C;AAC3C,oDAAiD;AAEjD,IAAiB,yBAAyB,
|
1
|
+
{"version":3,"file":"MigrateControllerAnalyzer.js","sourceRoot":"","sources":["../../src/analyzers/MigrateControllerAnalyzer.ts"],"names":[],"mappings":";;;AAGA,8CAA2C;AAC3C,oDAAiD;AAEjD,IAAiB,yBAAyB,CAiCzC;AAjCD,WAAiB,yBAAyB;IAC3B,iCAAO,GAAG,CACrB,MAA2B,EACD,EAAE;QAC5B,MAAM,SAAS,GAAqC,IAAI,GAAG,EAAE,CAAC;QAC9D,KAAK,MAAM,CAAC,IAAI,MAAM,EAAE,CAAC;YACvB,MAAM,QAAQ,GAAW,CAAC,CAAC,WAAW;iBACnC,KAAK,CAAC,GAAG,CAAC;iBACV,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC;iBAC3B,IAAI,CAAC,GAAG,CAAC,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,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { IHttpMigrateFile } from "../structures/IHttpMigrateFile";
|
2
2
|
export declare namespace MigrateFileArchiver {
|
3
3
|
interface IOperator {
|
4
4
|
mkdir(path: string): Promise<void>;
|
5
5
|
writeFile(path: string, content: string): Promise<void>;
|
6
6
|
}
|
7
|
-
const archive: (operator: IOperator) => (output: string) => (files:
|
7
|
+
const archive: (operator: IOperator) => (output: string) => (files: IHttpMigrateFile[]) => Promise<void>;
|
8
8
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MigrateFileArchiver.js","sourceRoot":"","sources":["../../src/archivers/MigrateFileArchiver.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,IAAiB,mBAAmB,CAmCnC;AAnCD,WAAiB,mBAAmB;IAMrB,2BAAO,GAClB,CAAC,QAAmB,EAAE,EAAE,CACxB,CAAC,MAAc,EAAE,EAAE,CACnB,CAAO,
|
1
|
+
{"version":3,"file":"MigrateFileArchiver.js","sourceRoot":"","sources":["../../src/archivers/MigrateFileArchiver.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,IAAiB,mBAAmB,CAmCnC;AAnCD,WAAiB,mBAAmB;IAMrB,2BAAO,GAClB,CAAC,QAAmB,EAAE,EAAE,CACxB,CAAC,MAAc,EAAE,EAAE,CACnB,CAAO,KAAyB,EAAiB,EAAE;QACjD,MAAM,OAAO,GAAgB,IAAI,GAAG,EAAE,CAAC;QACvC,KAAK,MAAM,CAAC,IAAI,KAAK,EAAE,CAAC;YACtB,MAAM,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;YACzD,MAAM,QAAQ,CAAC,SAAS,CACtB,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACtC,CAAC,CAAC,OAAO,CACV,CAAC;QACJ,CAAC;IACH,CAAC,CAAA,CAAC;IAEJ,MAAM,KAAK,GACT,CAAC,OAA+B,EAAE,EAAE,CACpC,CAAC,MAAc,EAAE,EAAE,CACnB,CAAC,OAAoB,EAAE,EAAE,CACzB,CAAO,IAAY,EAAiB,EAAE;QACpC,MAAM,QAAQ,GAAa,IAAI;aAC5B,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QAC9D,KAAK,MAAM,CAAC,IAAI,QAAQ;YACtB,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,KAAK;gBAC1B,IAAI,CAAC;oBACH,MAAM,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;oBACrC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;gBACjB,CAAC;gBAAC,WAAM,CAAC,CAAA,CAAC;IAChB,CAAC,CAAA,CAAC;AACN,CAAC,EAnCgB,mBAAmB,mCAAnB,mBAAmB,QAmCnC"}
|
@@ -55,7 +55,7 @@ exports.NEST_TEMPLATE = [
|
|
55
55
|
{
|
56
56
|
"location": "",
|
57
57
|
"file": "package.json",
|
58
|
-
"content": "{\r\n \"private\": true,\r\n \"name\": \"@ORGANIZATION/PROJECT\",\r\n \"version\": \"0.1.0\",\r\n \"description\": \"Starter kit of Nestia\",\r\n \"main\": \"lib/index.js\",\r\n \"scripts\": {\r\n \"benchmark\": \"node bin/test/benchmark\",\r\n \"test\": \"node bin/test\",\r\n \"test:webpack\": \"npm run webpack && node bin/test/webpack.js\",\r\n \"------------------------BUILDS------------------------\": \"\",\r\n \"build\": \"npm run build:sdk && npm run build:main && npm run build:test\",\r\n \"build:api\": \"rimraf packages/api/lib && nestia all && rimraf packages/api/lib && tsc -p packages/api/tsconfig.json && rollup -c packages/api/rollup.config.js\",\r\n \"build:main\": \"rimraf lib && tsc\",\r\n \"build:sdk\": \"rimraf src/api/functional && nestia sdk\",\r\n \"build:swagger\": \"npx nestia swagger\",\r\n \"build:test\": \"rimraf bin && tsc -p test/tsconfig.json\",\r\n \"dev\": \"npm run build:test -- --watch\",\r\n \"eslint\": \"eslint src && eslint test\",\r\n \"eslint:fix\": \"eslint --fix src && eslint --fix test\",\r\n \"prepare\": \"ts-patch install && typia patch\",\r\n \"prettier\": \"prettier src --write && prettier test --write\",\r\n \"------------------------WEBPACK------------------------\": \"\",\r\n \"webpack\": \"rimraf dist && webpack\",\r\n \"webpack:start\": \"cd dist && node dist/server\",\r\n \"webpack:test\": \"npm run webpack && node bin/test/webpack.js\",\r\n \"------------------------DEPLOYS------------------------\": \"\",\r\n \"package:api\": \"npm run build:api && cd packages/api && npm publish\",\r\n \"start\": \"node lib/executable/server\",\r\n \"start:swagger\": \"ts-node src/executable/swagger.ts\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/samchon/nestia-start\"\r\n },\r\n \"keywords\": [\r\n \"nestia\",\r\n \"template\",\r\n \"boilerplate\"\r\n ],\r\n \"author\": \"AUTHOR\",\r\n \"license\": \"MIT\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/samchon/nestia-start/issues\"\r\n },\r\n \"homepage\": \"https://github.com/samchon/nestia-start#readme\",\r\n \"devDependencies\": {\r\n \"@nestia/benchmark\": \"^0.2.3\",\r\n \"@nestia/e2e\": \"^0.7.0\",\r\n \"@nestia/sdk\": \"^3.
|
58
|
+
"content": "{\r\n \"private\": true,\r\n \"name\": \"@ORGANIZATION/PROJECT\",\r\n \"version\": \"0.1.0\",\r\n \"description\": \"Starter kit of Nestia\",\r\n \"main\": \"lib/index.js\",\r\n \"scripts\": {\r\n \"benchmark\": \"node bin/test/benchmark\",\r\n \"test\": \"node bin/test\",\r\n \"test:webpack\": \"npm run webpack && node bin/test/webpack.js\",\r\n \"------------------------BUILDS------------------------\": \"\",\r\n \"build\": \"npm run build:sdk && npm run build:main && npm run build:test\",\r\n \"build:api\": \"rimraf packages/api/lib && nestia all && rimraf packages/api/lib && tsc -p packages/api/tsconfig.json && rollup -c packages/api/rollup.config.js\",\r\n \"build:main\": \"rimraf lib && tsc\",\r\n \"build:sdk\": \"rimraf src/api/functional && nestia sdk\",\r\n \"build:swagger\": \"npx nestia swagger\",\r\n \"build:test\": \"rimraf bin && tsc -p test/tsconfig.json\",\r\n \"dev\": \"npm run build:test -- --watch\",\r\n \"eslint\": \"eslint src && eslint test\",\r\n \"eslint:fix\": \"eslint --fix src && eslint --fix test\",\r\n \"prepare\": \"ts-patch install && typia patch\",\r\n \"prettier\": \"prettier src --write && prettier test --write\",\r\n \"------------------------WEBPACK------------------------\": \"\",\r\n \"webpack\": \"rimraf dist && webpack\",\r\n \"webpack:start\": \"cd dist && node dist/server\",\r\n \"webpack:test\": \"npm run webpack && node bin/test/webpack.js\",\r\n \"------------------------DEPLOYS------------------------\": \"\",\r\n \"package:api\": \"npm run build:api && cd packages/api && npm publish\",\r\n \"start\": \"node lib/executable/server\",\r\n \"start:swagger\": \"ts-node src/executable/swagger.ts\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/samchon/nestia-start\"\r\n },\r\n \"keywords\": [\r\n \"nestia\",\r\n \"template\",\r\n \"boilerplate\"\r\n ],\r\n \"author\": \"AUTHOR\",\r\n \"license\": \"MIT\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/samchon/nestia-start/issues\"\r\n },\r\n \"homepage\": \"https://github.com/samchon/nestia-start#readme\",\r\n \"devDependencies\": {\r\n \"@nestia/benchmark\": \"^0.2.3\",\r\n \"@nestia/e2e\": \"^0.7.0\",\r\n \"@nestia/sdk\": \"^3.13.0\",\r\n \"@rollup/plugin-terser\": \"^0.4.4\",\r\n \"@rollup/plugin-typescript\": \"^11.1.6\",\r\n \"@trivago/prettier-plugin-sort-imports\": \"^4.3.0\",\r\n \"@types/cli\": \"^0.11.21\",\r\n \"@types/cli-progress\": \"^3.11.5\",\r\n \"@types/express\": \"^4.17.21\",\r\n \"@types/inquirer\": \"^8.2.5\",\r\n \"@types/node\": \"^18.11.0\",\r\n \"@types/uuid\": \"^8.3.4\",\r\n \"@typescript-eslint/eslint-plugin\": \"^8.1.0\",\r\n \"@typescript-eslint/parser\": \"^8.1.0\",\r\n \"chalk\": \"^4.1.2\",\r\n \"cli\": \"^1.0.1\",\r\n \"cli-progress\": \"^3.12.0\",\r\n \"copy-webpack-plugin\": \"^11.0.0\",\r\n \"eslint-plugin-deprecation\": \"^3.0.0\",\r\n \"express\": \"^4.18.2\",\r\n \"nestia\": \"^6.1.0\",\r\n \"prettier\": \"^3.2.4\",\r\n \"prettier-plugin-prisma\": \"^5.0.0\",\r\n \"rimraf\": \"^3.0.2\",\r\n \"rollup\": \"^4.18.0\",\r\n \"source-map-support\": \"^0.5.21\",\r\n \"swagger-ui-express\": \"^5.0.0\",\r\n \"ts-loader\": \"^9.5.1\",\r\n \"ts-node\": \"^10.9.1\",\r\n \"ts-patch\": \"^3.2.1\",\r\n \"typescript\": \"5.5.4\",\r\n \"typescript-transform-paths\": \"^3.4.6\",\r\n \"webpack\": \"^5.89.0\",\r\n \"webpack-cli\": \"^5.1.4\",\r\n \"write-file-webpack-plugin\": \"^4.5.1\"\r\n },\r\n \"dependencies\": {\r\n \"@nestia/core\": \"^3.13.0\",\r\n \"@nestia/fetcher\": \"^3.13.0\",\r\n \"@nestjs/common\": \"^10.4.1\",\r\n \"@nestjs/core\": \"^10.4.1\",\r\n \"@nestjs/platform-express\": \"^10.4.1\",\r\n \"commander\": \"10.0.0\",\r\n \"dotenv\": \"^16.3.1\",\r\n \"dotenv-expand\": \"^10.0.0\",\r\n \"inquirer\": \"8.2.5\",\r\n \"serialize-error\": \"^4.1.0\",\r\n \"tgrid\": \"^1.0.2\",\r\n \"tstl\": \"^3.0.0\",\r\n \"typia\": \"^6.10.0\",\r\n \"uuid\": \"^9.0.0\"\r\n },\r\n \"stackblitz\": {\r\n \"startCommand\": \"npm run prepare && npm run build:test && npm run test\"\r\n }\r\n}\r\n"
|
59
59
|
},
|
60
60
|
{
|
61
61
|
"location": "packages/api",
|
@@ -70,7 +70,7 @@ exports.NEST_TEMPLATE = [
|
|
70
70
|
{
|
71
71
|
"location": "packages/api",
|
72
72
|
"file": "package.json",
|
73
|
-
"content": "{\r\n \"name\": \"@ORGANIZATION/PROJECT-api\",\r\n \"version\": \"0.1.0\",\r\n \"description\": \"SDK library generated by Nestia\",\r\n \"main\": \"lib/index.js\",\r\n \"module\": \"lib/index.mjs\",\r\n \"typings\": \"lib/index.d.ts\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/samchon/nestia\"\r\n },\r\n \"author\": \"Jeongho Nam\",\r\n \"license\": \"MIT\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/samchon/nestia/issues\"\r\n },\r\n \"homepage\": \"https://nestia.io\",\r\n \"files\": [\r\n \"lib\",\r\n \"package.json\",\r\n \"swagger.json\",\r\n \"openai.json\",\r\n \"README.md\"\r\n ],\r\n \"dependencies\": {\r\n \"@nestia/fetcher\": \"^3.
|
73
|
+
"content": "{\r\n \"name\": \"@ORGANIZATION/PROJECT-api\",\r\n \"version\": \"0.1.0\",\r\n \"description\": \"SDK library generated by Nestia\",\r\n \"main\": \"lib/index.js\",\r\n \"module\": \"lib/index.mjs\",\r\n \"typings\": \"lib/index.d.ts\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/samchon/nestia\"\r\n },\r\n \"author\": \"Jeongho Nam\",\r\n \"license\": \"MIT\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/samchon/nestia/issues\"\r\n },\r\n \"homepage\": \"https://nestia.io\",\r\n \"files\": [\r\n \"lib\",\r\n \"package.json\",\r\n \"swagger.json\",\r\n \"openai.json\",\r\n \"README.md\"\r\n ],\r\n \"dependencies\": {\r\n \"@nestia/fetcher\": \"^3.13.0\",\r\n \"tgrid\": \"^1.0.3\",\r\n \"typia\": \"^6.10.0\"\r\n }\r\n}"
|
74
74
|
},
|
75
75
|
{
|
76
76
|
"location": "packages/api",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NEST_TEMPLATE.js","sourceRoot":"","sources":["../../src/bundles/NEST_TEMPLATE.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,+CAA+C;KAC3D;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,gqCAAgqC;KAC5qC;IACD;QACE,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,WAAW;QACnB,SAAS,EAAE,k+BAAk+B;KAC9+B;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,iHAAiH;KAC7H;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,iBAAiB;QACzB,SAAS,EAAE,iIAAiI;KAC7I;IACD;QACE,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,aAAa;QACrB,SAAS,EAAE,irCAAirC;KAC7rC;IACD;QACE,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,qRAAqR;KACjS;IACD;QACE,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,8CAA8C;QACtD,SAAS,EAAE,uxGAAuxG;KACnyG;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,inCAAinC;KAC7nC;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,kBAAkB;QAC1B,SAAS,EAAE,woBAAwoB;KACppB;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,cAAc;QACtB,SAAS,EAAE,
|
1
|
+
{"version":3,"file":"NEST_TEMPLATE.js","sourceRoot":"","sources":["../../src/bundles/NEST_TEMPLATE.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,+CAA+C;KAC3D;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,gqCAAgqC;KAC5qC;IACD;QACE,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,WAAW;QACnB,SAAS,EAAE,k+BAAk+B;KAC9+B;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,iHAAiH;KAC7H;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,iBAAiB;QACzB,SAAS,EAAE,iIAAiI;KAC7I;IACD;QACE,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,aAAa;QACrB,SAAS,EAAE,irCAAirC;KAC7rC;IACD;QACE,UAAU,EAAE,SAAS;QACrB,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,qRAAqR;KACjS;IACD;QACE,UAAU,EAAE,iBAAiB;QAC7B,MAAM,EAAE,8CAA8C;QACtD,SAAS,EAAE,uxGAAuxG;KACnyG;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,inCAAinC;KAC7nC;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,kBAAkB;QAC1B,SAAS,EAAE,woBAAwoB;KACppB;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,cAAc;QACtB,SAAS,EAAE,qrIAAqrI;KACjsI;IACD;QACE,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,0DAA0D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