@nestia/migrate 0.2.13 → 0.2.14
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.
@@ -34,11 +34,13 @@ class NestiaMigrateApplication {
|
|
34
34
|
};
|
35
35
|
this.swagger = (input => {
|
36
36
|
const __is = input => {
|
37
|
+
const $is_url = typia_1.default.assert.is_url;
|
38
|
+
const $is_email = typia_1.default.assert.is_email;
|
37
39
|
const $join = typia_1.default.assert.join;
|
38
40
|
const $io0 = input => "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) && ("object" === typeof input.info && null !== input.info && $io1(input.info)) && (Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && ("object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && $io5(input.components)) && ("object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && $io29(input.paths)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io39(elem)));
|
39
|
-
const $io1 = input => "string" === typeof input.title && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService &&
|
40
|
-
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url &&
|
41
|
-
const $io3 = input => "string" === typeof input.name && (undefined === input.url || "string" === typeof input.url &&
|
41
|
+
const $io1 = input => "string" === typeof input.title && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService && $is_url(input.termsOfService)) && (undefined === input.contact || "object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) && $io2(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && $io3(input.license)) && "string" === typeof input.version;
|
42
|
+
const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url && $is_url(input.url)) && (undefined === input.email || "string" === typeof input.email && $is_email(input.email));
|
43
|
+
const $io3 = input => "string" === typeof input.name && (undefined === input.url || "string" === typeof input.url && $is_url(input.url));
|
42
44
|
const $io4 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description);
|
43
45
|
const $io5 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && $io6(input.schemas)) && (undefined === input.securitySchemes || "object" === typeof input.securitySchemes && null !== input.securitySchemes && false === Array.isArray(input.securitySchemes) && $io18(input.securitySchemes));
|
44
46
|
const $io6 = input => Object.keys(input).every(key => {
|
@@ -53,10 +55,10 @@ class NestiaMigrateApplication {
|
|
53
55
|
const $io8 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
54
56
|
const $io9 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
55
57
|
const $io10 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
56
|
-
const $io11 = input => (undefined === input["default"] || "number" === typeof input["default"] &&
|
58
|
+
const $io11 = input => (undefined === input["default"] || "number" === typeof input["default"] && Math.floor(input["default"]) === input["default"] && (-2147483648 <= input["default"] && input["default"] <= 2147483647)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem && Math.floor(elem) === elem && (-2147483648 <= elem && elem <= 2147483647))) && (undefined === input.minimum || "number" === typeof input.minimum && Math.floor(input.minimum) === input.minimum && (-2147483648 <= input.minimum && input.minimum <= 2147483647)) && (undefined === input.maximum || "number" === typeof input.maximum && Math.floor(input.maximum) === input.maximum && (-2147483648 <= input.maximum && input.maximum <= 2147483647)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 4294967295) && "integer" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
57
59
|
const $io12 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
58
|
-
const $io13 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength &&
|
59
|
-
const $io14 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu0(input.items) && (undefined === input.minItems || "number" === typeof input.minItems &&
|
60
|
+
const $io13 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 4294967295) && (undefined === input.maxLength || "number" === typeof input.maxLength && Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 4294967295) && "string" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
61
|
+
const $io14 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu0(input.items) && (undefined === input.minItems || "number" === typeof input.minItems && Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 4294967295) && (undefined === input.maxItems || "number" === typeof input.maxItems && Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 4294967295) && (undefined === input["x-typia-tuple"] || "object" === typeof input["x-typia-tuple"] && null !== input["x-typia-tuple"] && $io17(input["x-typia-tuple"])) && "array" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
60
62
|
const $io15 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io6(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu0(input.additionalProperties))) && (undefined === input["x-typia-patternProperties"] || "object" === typeof input["x-typia-patternProperties"] && null !== input["x-typia-patternProperties"] && false === Array.isArray(input["x-typia-patternProperties"]) && $io6(input["x-typia-patternProperties"])) && "object" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
61
63
|
const $io16 = input => "string" === typeof input.$ref && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
62
64
|
const $io17 = input => Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && "array" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
|
@@ -101,7 +103,7 @@ class NestiaMigrateApplication {
|
|
101
103
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io31(value);
|
102
104
|
return true;
|
103
105
|
});
|
104
|
-
const $io31 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $io32(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && $io33(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io37(input.responses)) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input["x-nestia-jsDocTags"] || Array.isArray(input["x-nestia-jsDocTags"]));
|
106
|
+
const $io31 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $io32(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && $io33(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io37(input.responses)) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input["x-nestia-jsDocTags"] || Array.isArray(input["x-nestia-jsDocTags"]) && input["x-nestia-jsDocTags"].every(elem => "object" === typeof elem && null !== elem && $io40(elem)));
|
105
107
|
const $io32 = input => (undefined === input.name || "string" === typeof input.name) && ("header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || "path" === 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.description || "string" === typeof input.description);
|
106
108
|
const $io33 = input => (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && $io34(input.content)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]);
|
107
109
|
const $io34 = input => (undefined === input["text/plain"] || "object" === typeof input["text/plain"] && null !== input["text/plain"] && $io35(input["text/plain"])) && (undefined === input["application/json"] || "object" === typeof input["application/json"] && null !== input["application/json"] && $io36(input["application/json"]));
|
@@ -124,47 +126,49 @@ class NestiaMigrateApplication {
|
|
124
126
|
return Array.isArray(value) && value.every(elem => "string" === typeof elem);
|
125
127
|
return true;
|
126
128
|
});
|
129
|
+
const $io40 = input => "string" === typeof input.name && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && $io41(elem)));
|
130
|
+
const $io41 = input => "string" === typeof input.text && "string" === typeof input.kind;
|
127
131
|
const $iu0 = input => (() => {
|
128
132
|
if (undefined !== input.anyOf)
|
129
133
|
return $io8(input);
|
130
|
-
|
134
|
+
if (undefined !== input.oneOf)
|
131
135
|
return $io9(input);
|
132
|
-
|
136
|
+
if ("boolean" === input.type)
|
133
137
|
return $io10(input);
|
134
|
-
|
138
|
+
if ("number" === input.type)
|
135
139
|
return $io12(input);
|
136
|
-
|
140
|
+
if ("integer" === input.type)
|
137
141
|
return $io11(input);
|
138
|
-
|
142
|
+
if ("string" === input.type)
|
139
143
|
return $io13(input);
|
140
|
-
|
144
|
+
if ("array" === input.type)
|
141
145
|
return $io14(input);
|
142
|
-
|
146
|
+
if ("object" === input.type)
|
143
147
|
return $io15(input);
|
144
|
-
|
148
|
+
if (undefined !== input.$ref)
|
145
149
|
return $io16(input);
|
146
|
-
|
147
|
-
return $io7(input);
|
150
|
+
return $io7(input);
|
148
151
|
})();
|
149
152
|
const $iu1 = input => (() => {
|
150
153
|
if ("basic" === input.scheme)
|
151
154
|
return $io19(input);
|
152
|
-
|
155
|
+
if ("bearer" === input.scheme)
|
153
156
|
return $io20(input);
|
154
|
-
|
157
|
+
if ("apiKey" === input.type)
|
155
158
|
return $io21(input);
|
156
|
-
|
159
|
+
if ("openIdConnect" === input.type)
|
157
160
|
return $io22(input);
|
158
|
-
|
161
|
+
if ("oauth2" === input.type)
|
159
162
|
return $io23(input);
|
160
|
-
|
161
|
-
return false;
|
163
|
+
return false;
|
162
164
|
})();
|
163
165
|
return "object" === typeof input && null !== input && $io0(input);
|
164
166
|
};
|
165
167
|
if (false === __is(input))
|
166
168
|
((input, _path, _exceptionable = true) => {
|
167
169
|
const $guard = typia_1.default.assert.guard;
|
170
|
+
const $is_url = typia_1.default.assert.is_url;
|
171
|
+
const $is_email = typia_1.default.assert.is_email;
|
168
172
|
const $join = typia_1.default.assert.join;
|
169
173
|
const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) || $guard(_exceptionable, {
|
170
174
|
path: _path + ".openapi",
|
@@ -235,13 +239,13 @@ class NestiaMigrateApplication {
|
|
235
239
|
path: _path + ".description",
|
236
240
|
expected: "(string | undefined)",
|
237
241
|
value: input.description
|
238
|
-
})) && (undefined === input.termsOfService || "string" === typeof input.termsOfService && (
|
242
|
+
})) && (undefined === input.termsOfService || "string" === typeof input.termsOfService && ($is_url(input.termsOfService) || $guard(_exceptionable, {
|
239
243
|
path: _path + ".termsOfService",
|
240
|
-
expected: "string
|
244
|
+
expected: "string (@format url)",
|
241
245
|
value: input.termsOfService
|
242
246
|
})) || $guard(_exceptionable, {
|
243
247
|
path: _path + ".termsOfService",
|
244
|
-
expected: "(
|
248
|
+
expected: "(string | undefined)",
|
245
249
|
value: input.termsOfService
|
246
250
|
})) && (undefined === input.contact || ("object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) || $guard(_exceptionable, {
|
247
251
|
path: _path + ".contact",
|
@@ -268,34 +272,34 @@ class NestiaMigrateApplication {
|
|
268
272
|
path: _path + ".name",
|
269
273
|
expected: "(string | undefined)",
|
270
274
|
value: input.name
|
271
|
-
})) && (undefined === input.url || "string" === typeof input.url && (
|
275
|
+
})) && (undefined === input.url || "string" === typeof input.url && ($is_url(input.url) || $guard(_exceptionable, {
|
272
276
|
path: _path + ".url",
|
273
|
-
expected: "string
|
277
|
+
expected: "string (@format url)",
|
274
278
|
value: input.url
|
275
279
|
})) || $guard(_exceptionable, {
|
276
280
|
path: _path + ".url",
|
277
|
-
expected: "(
|
281
|
+
expected: "(string | undefined)",
|
278
282
|
value: input.url
|
279
|
-
})) && (undefined === input.email || "string" === typeof input.email && (
|
283
|
+
})) && (undefined === input.email || "string" === typeof input.email && ($is_email(input.email) || $guard(_exceptionable, {
|
280
284
|
path: _path + ".email",
|
281
|
-
expected: "string
|
285
|
+
expected: "string (@format email)",
|
282
286
|
value: input.email
|
283
287
|
})) || $guard(_exceptionable, {
|
284
288
|
path: _path + ".email",
|
285
|
-
expected: "(
|
289
|
+
expected: "(string | undefined)",
|
286
290
|
value: input.email
|
287
291
|
}));
|
288
292
|
const $ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || $guard(_exceptionable, {
|
289
293
|
path: _path + ".name",
|
290
294
|
expected: "string",
|
291
295
|
value: input.name
|
292
|
-
})) && (undefined === input.url || "string" === typeof input.url && (
|
296
|
+
})) && (undefined === input.url || "string" === typeof input.url && ($is_url(input.url) || $guard(_exceptionable, {
|
293
297
|
path: _path + ".url",
|
294
|
-
expected: "string
|
298
|
+
expected: "string (@format url)",
|
295
299
|
value: input.url
|
296
300
|
})) || $guard(_exceptionable, {
|
297
301
|
path: _path + ".url",
|
298
|
-
expected: "(
|
302
|
+
expected: "(string | undefined)",
|
299
303
|
value: input.url
|
300
304
|
}));
|
301
305
|
const $ao4 = (input, _path, _exceptionable = true) => ("string" === typeof input.url || $guard(_exceptionable, {
|
@@ -488,19 +492,31 @@ class NestiaMigrateApplication {
|
|
488
492
|
expected: "(boolean | undefined)",
|
489
493
|
value: input["x-typia-rest"]
|
490
494
|
}));
|
491
|
-
const $ao11 = (input, _path, _exceptionable = true) => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"]
|
495
|
+
const $ao11 = (input, _path, _exceptionable = true) => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] || $guard(_exceptionable, {
|
492
496
|
path: _path + "[\"default\"]",
|
493
|
-
expected: "number
|
497
|
+
expected: "number (@type int)",
|
498
|
+
value: input["default"]
|
499
|
+
})) && (-2147483648 <= input["default"] && input["default"] <= 2147483647 || $guard(_exceptionable, {
|
500
|
+
path: _path + "[\"default\"]",
|
501
|
+
expected: "number (@type int)",
|
494
502
|
value: input["default"]
|
495
503
|
})) || $guard(_exceptionable, {
|
496
504
|
path: _path + "[\"default\"]",
|
497
|
-
expected: "(
|
505
|
+
expected: "(number | undefined)",
|
498
506
|
value: input["default"]
|
499
507
|
})) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || $guard(_exceptionable, {
|
500
508
|
path: _path + "[\"enum\"]",
|
501
509
|
expected: "(Array<number> | undefined)",
|
502
510
|
value: input["enum"]
|
503
|
-
})) && input["enum"].every((elem, _index6) => "number" === typeof elem || $guard(_exceptionable, {
|
511
|
+
})) && input["enum"].every((elem, _index6) => "number" === typeof elem && (Math.floor(elem) === elem || $guard(_exceptionable, {
|
512
|
+
path: _path + "[\"enum\"][" + _index6 + "]",
|
513
|
+
expected: "number (@type int)",
|
514
|
+
value: elem
|
515
|
+
})) && (-2147483648 <= elem && elem <= 2147483647 || $guard(_exceptionable, {
|
516
|
+
path: _path + "[\"enum\"][" + _index6 + "]",
|
517
|
+
expected: "number (@type int)",
|
518
|
+
value: elem
|
519
|
+
})) || $guard(_exceptionable, {
|
504
520
|
path: _path + "[\"enum\"][" + _index6 + "]",
|
505
521
|
expected: "number",
|
506
522
|
value: elem
|
@@ -508,21 +524,29 @@ class NestiaMigrateApplication {
|
|
508
524
|
path: _path + "[\"enum\"]",
|
509
525
|
expected: "(Array<number> | undefined)",
|
510
526
|
value: input["enum"]
|
511
|
-
})) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum
|
527
|
+
})) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum || $guard(_exceptionable, {
|
512
528
|
path: _path + ".minimum",
|
513
|
-
expected: "number
|
529
|
+
expected: "number (@type int)",
|
530
|
+
value: input.minimum
|
531
|
+
})) && (-2147483648 <= input.minimum && input.minimum <= 2147483647 || $guard(_exceptionable, {
|
532
|
+
path: _path + ".minimum",
|
533
|
+
expected: "number (@type int)",
|
514
534
|
value: input.minimum
|
515
535
|
})) || $guard(_exceptionable, {
|
516
536
|
path: _path + ".minimum",
|
517
|
-
expected: "(
|
537
|
+
expected: "(number | undefined)",
|
518
538
|
value: input.minimum
|
519
|
-
})) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum
|
539
|
+
})) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum || $guard(_exceptionable, {
|
520
540
|
path: _path + ".maximum",
|
521
|
-
expected: "number
|
541
|
+
expected: "number (@type int)",
|
542
|
+
value: input.maximum
|
543
|
+
})) && (-2147483648 <= input.maximum && input.maximum <= 2147483647 || $guard(_exceptionable, {
|
544
|
+
path: _path + ".maximum",
|
545
|
+
expected: "number (@type int)",
|
522
546
|
value: input.maximum
|
523
547
|
})) || $guard(_exceptionable, {
|
524
548
|
path: _path + ".maximum",
|
525
|
-
expected: "(
|
549
|
+
expected: "(number | undefined)",
|
526
550
|
value: input.maximum
|
527
551
|
})) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $guard(_exceptionable, {
|
528
552
|
path: _path + ".exclusiveMinimum",
|
@@ -532,13 +556,21 @@ class NestiaMigrateApplication {
|
|
532
556
|
path: _path + ".exclusiveMaximum",
|
533
557
|
expected: "(boolean | undefined)",
|
534
558
|
value: input.exclusiveMaximum
|
535
|
-
})) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf
|
559
|
+
})) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf || $guard(_exceptionable, {
|
560
|
+
path: _path + ".multipleOf",
|
561
|
+
expected: "number (@type uint)",
|
562
|
+
value: input.multipleOf
|
563
|
+
})) && (0 <= input.multipleOf || $guard(_exceptionable, {
|
564
|
+
path: _path + ".multipleOf",
|
565
|
+
expected: "number (@type uint)",
|
566
|
+
value: input.multipleOf
|
567
|
+
})) && (input.multipleOf <= 4294967295 || $guard(_exceptionable, {
|
536
568
|
path: _path + ".multipleOf",
|
537
|
-
expected: "number
|
569
|
+
expected: "number (@type uint)",
|
538
570
|
value: input.multipleOf
|
539
571
|
})) || $guard(_exceptionable, {
|
540
572
|
path: _path + ".multipleOf",
|
541
|
-
expected: "(
|
573
|
+
expected: "(number | undefined)",
|
542
574
|
value: input.multipleOf
|
543
575
|
})) && ("integer" === input.type || $guard(_exceptionable, {
|
544
576
|
path: _path + ".type",
|
@@ -658,21 +690,37 @@ class NestiaMigrateApplication {
|
|
658
690
|
path: _path + ".pattern",
|
659
691
|
expected: "(string | undefined)",
|
660
692
|
value: input.pattern
|
661
|
-
})) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength
|
693
|
+
})) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength || $guard(_exceptionable, {
|
662
694
|
path: _path + ".minLength",
|
663
|
-
expected: "number
|
695
|
+
expected: "number (@type uint)",
|
696
|
+
value: input.minLength
|
697
|
+
})) && (0 <= input.minLength || $guard(_exceptionable, {
|
698
|
+
path: _path + ".minLength",
|
699
|
+
expected: "number (@type uint)",
|
700
|
+
value: input.minLength
|
701
|
+
})) && (input.minLength <= 4294967295 || $guard(_exceptionable, {
|
702
|
+
path: _path + ".minLength",
|
703
|
+
expected: "number (@type uint)",
|
664
704
|
value: input.minLength
|
665
705
|
})) || $guard(_exceptionable, {
|
666
706
|
path: _path + ".minLength",
|
667
|
-
expected: "(
|
707
|
+
expected: "(number | undefined)",
|
668
708
|
value: input.minLength
|
669
|
-
})) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength
|
709
|
+
})) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength || $guard(_exceptionable, {
|
710
|
+
path: _path + ".maxLength",
|
711
|
+
expected: "number (@type uint)",
|
712
|
+
value: input.maxLength
|
713
|
+
})) && (0 <= input.maxLength || $guard(_exceptionable, {
|
670
714
|
path: _path + ".maxLength",
|
671
|
-
expected: "number
|
715
|
+
expected: "number (@type uint)",
|
716
|
+
value: input.maxLength
|
717
|
+
})) && (input.maxLength <= 4294967295 || $guard(_exceptionable, {
|
718
|
+
path: _path + ".maxLength",
|
719
|
+
expected: "number (@type uint)",
|
672
720
|
value: input.maxLength
|
673
721
|
})) || $guard(_exceptionable, {
|
674
722
|
path: _path + ".maxLength",
|
675
|
-
expected: "(
|
723
|
+
expected: "(number | undefined)",
|
676
724
|
value: input.maxLength
|
677
725
|
})) && ("string" === input.type || $guard(_exceptionable, {
|
678
726
|
path: _path + ".type",
|
@@ -711,21 +759,37 @@ class NestiaMigrateApplication {
|
|
711
759
|
path: _path + ".items",
|
712
760
|
expected: "(ISwaggerSchema.IAnyOf | ISwaggerSchema.IArray | ISwaggerSchema.IBoolean | ISwaggerSchema.IInteger | ISwaggerSchema.INumber | ISwaggerSchema.IObject | ISwaggerSchema.IOneOf | ISwaggerSchema.IReference | ISwaggerSchema.IString | ISwaggerSchema.IUnknown)",
|
713
761
|
value: input.items
|
714
|
-
})) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems
|
762
|
+
})) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems || $guard(_exceptionable, {
|
763
|
+
path: _path + ".minItems",
|
764
|
+
expected: "number (@type uint)",
|
765
|
+
value: input.minItems
|
766
|
+
})) && (0 <= input.minItems || $guard(_exceptionable, {
|
767
|
+
path: _path + ".minItems",
|
768
|
+
expected: "number (@type uint)",
|
769
|
+
value: input.minItems
|
770
|
+
})) && (input.minItems <= 4294967295 || $guard(_exceptionable, {
|
715
771
|
path: _path + ".minItems",
|
716
|
-
expected: "number
|
772
|
+
expected: "number (@type uint)",
|
717
773
|
value: input.minItems
|
718
774
|
})) || $guard(_exceptionable, {
|
719
775
|
path: _path + ".minItems",
|
720
|
-
expected: "(
|
776
|
+
expected: "(number | undefined)",
|
721
777
|
value: input.minItems
|
722
|
-
})) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems
|
778
|
+
})) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems || $guard(_exceptionable, {
|
723
779
|
path: _path + ".maxItems",
|
724
|
-
expected: "number
|
780
|
+
expected: "number (@type uint)",
|
781
|
+
value: input.maxItems
|
782
|
+
})) && (0 <= input.maxItems || $guard(_exceptionable, {
|
783
|
+
path: _path + ".maxItems",
|
784
|
+
expected: "number (@type uint)",
|
785
|
+
value: input.maxItems
|
786
|
+
})) && (input.maxItems <= 4294967295 || $guard(_exceptionable, {
|
787
|
+
path: _path + ".maxItems",
|
788
|
+
expected: "number (@type uint)",
|
725
789
|
value: input.maxItems
|
726
790
|
})) || $guard(_exceptionable, {
|
727
791
|
path: _path + ".maxItems",
|
728
|
-
expected: "(
|
792
|
+
expected: "(number | undefined)",
|
729
793
|
value: input.maxItems
|
730
794
|
})) && (undefined === input["x-typia-tuple"] || ("object" === typeof input["x-typia-tuple"] && null !== input["x-typia-tuple"] || $guard(_exceptionable, {
|
731
795
|
path: _path + "[\"x-typia-tuple\"]",
|
@@ -1184,9 +1248,21 @@ class NestiaMigrateApplication {
|
|
1184
1248
|
path: _path + ".tags",
|
1185
1249
|
expected: "(Array<string> | undefined)",
|
1186
1250
|
value: input.tags
|
1187
|
-
})) && (undefined === input["x-nestia-jsDocTags"] || Array.isArray(input["x-nestia-jsDocTags"]) || $guard(_exceptionable, {
|
1251
|
+
})) && (undefined === input["x-nestia-jsDocTags"] || (Array.isArray(input["x-nestia-jsDocTags"]) || $guard(_exceptionable, {
|
1188
1252
|
path: _path + "[\"x-nestia-jsDocTags\"]",
|
1189
|
-
expected: "(Array<
|
1253
|
+
expected: "(Array<IJsDocTagInfo> | undefined)",
|
1254
|
+
value: input["x-nestia-jsDocTags"]
|
1255
|
+
})) && input["x-nestia-jsDocTags"].every((elem, _index14) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
1256
|
+
path: _path + "[\"x-nestia-jsDocTags\"][" + _index14 + "]",
|
1257
|
+
expected: "IJsDocTagInfo",
|
1258
|
+
value: elem
|
1259
|
+
})) && $ao40(elem, _path + "[\"x-nestia-jsDocTags\"][" + _index14 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
1260
|
+
path: _path + "[\"x-nestia-jsDocTags\"][" + _index14 + "]",
|
1261
|
+
expected: "IJsDocTagInfo",
|
1262
|
+
value: elem
|
1263
|
+
})) || $guard(_exceptionable, {
|
1264
|
+
path: _path + "[\"x-nestia-jsDocTags\"]",
|
1265
|
+
expected: "(Array<IJsDocTagInfo> | undefined)",
|
1190
1266
|
value: input["x-nestia-jsDocTags"]
|
1191
1267
|
}));
|
1192
1268
|
const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
|
@@ -1312,8 +1388,8 @@ class NestiaMigrateApplication {
|
|
1312
1388
|
path: _path + $join(key),
|
1313
1389
|
expected: "Array<string>",
|
1314
1390
|
value: value
|
1315
|
-
})) && value.every((elem,
|
1316
|
-
path: _path + $join(key) + "[" +
|
1391
|
+
})) && value.every((elem, _index15) => "string" === typeof elem || $guard(_exceptionable, {
|
1392
|
+
path: _path + $join(key) + "[" + _index15 + "]",
|
1317
1393
|
expected: "string",
|
1318
1394
|
value: elem
|
1319
1395
|
})) || $guard(_exceptionable, {
|
@@ -1323,45 +1399,73 @@ class NestiaMigrateApplication {
|
|
1323
1399
|
});
|
1324
1400
|
return true;
|
1325
1401
|
});
|
1402
|
+
const $ao40 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || $guard(_exceptionable, {
|
1403
|
+
path: _path + ".name",
|
1404
|
+
expected: "string",
|
1405
|
+
value: input.name
|
1406
|
+
})) && (undefined === input.text || (Array.isArray(input.text) || $guard(_exceptionable, {
|
1407
|
+
path: _path + ".text",
|
1408
|
+
expected: "(Array<IJsDocTagInfo.IText> | undefined)",
|
1409
|
+
value: input.text
|
1410
|
+
})) && input.text.every((elem, _index16) => ("object" === typeof elem && null !== elem || $guard(_exceptionable, {
|
1411
|
+
path: _path + ".text[" + _index16 + "]",
|
1412
|
+
expected: "IJsDocTagInfo.IText",
|
1413
|
+
value: elem
|
1414
|
+
})) && $ao41(elem, _path + ".text[" + _index16 + "]", true && _exceptionable) || $guard(_exceptionable, {
|
1415
|
+
path: _path + ".text[" + _index16 + "]",
|
1416
|
+
expected: "IJsDocTagInfo.IText",
|
1417
|
+
value: elem
|
1418
|
+
})) || $guard(_exceptionable, {
|
1419
|
+
path: _path + ".text",
|
1420
|
+
expected: "(Array<IJsDocTagInfo.IText> | undefined)",
|
1421
|
+
value: input.text
|
1422
|
+
}));
|
1423
|
+
const $ao41 = (input, _path, _exceptionable = true) => ("string" === typeof input.text || $guard(_exceptionable, {
|
1424
|
+
path: _path + ".text",
|
1425
|
+
expected: "string",
|
1426
|
+
value: input.text
|
1427
|
+
})) && ("string" === typeof input.kind || $guard(_exceptionable, {
|
1428
|
+
path: _path + ".kind",
|
1429
|
+
expected: "string",
|
1430
|
+
value: input.kind
|
1431
|
+
}));
|
1326
1432
|
const $au0 = (input, _path, _exceptionable = true) => (() => {
|
1327
1433
|
if (undefined !== input.anyOf)
|
1328
1434
|
return $ao8(input, _path, true && _exceptionable);
|
1329
|
-
|
1435
|
+
if (undefined !== input.oneOf)
|
1330
1436
|
return $ao9(input, _path, true && _exceptionable);
|
1331
|
-
|
1437
|
+
if ("boolean" === input.type)
|
1332
1438
|
return $ao10(input, _path, true && _exceptionable);
|
1333
|
-
|
1439
|
+
if ("number" === input.type)
|
1334
1440
|
return $ao12(input, _path, true && _exceptionable);
|
1335
|
-
|
1441
|
+
if ("integer" === input.type)
|
1336
1442
|
return $ao11(input, _path, true && _exceptionable);
|
1337
|
-
|
1443
|
+
if ("string" === input.type)
|
1338
1444
|
return $ao13(input, _path, true && _exceptionable);
|
1339
|
-
|
1445
|
+
if ("array" === input.type)
|
1340
1446
|
return $ao14(input, _path, true && _exceptionable);
|
1341
|
-
|
1447
|
+
if ("object" === input.type)
|
1342
1448
|
return $ao15(input, _path, true && _exceptionable);
|
1343
|
-
|
1449
|
+
if (undefined !== input.$ref)
|
1344
1450
|
return $ao16(input, _path, true && _exceptionable);
|
1345
|
-
|
1346
|
-
return $ao7(input, _path, true && _exceptionable);
|
1451
|
+
return $ao7(input, _path, true && _exceptionable);
|
1347
1452
|
})();
|
1348
1453
|
const $au1 = (input, _path, _exceptionable = true) => (() => {
|
1349
1454
|
if ("basic" === input.scheme)
|
1350
1455
|
return $ao19(input, _path, true && _exceptionable);
|
1351
|
-
|
1456
|
+
if ("bearer" === input.scheme)
|
1352
1457
|
return $ao20(input, _path, true && _exceptionable);
|
1353
|
-
|
1458
|
+
if ("apiKey" === input.type)
|
1354
1459
|
return $ao21(input, _path, true && _exceptionable);
|
1355
|
-
|
1460
|
+
if ("openIdConnect" === input.type)
|
1356
1461
|
return $ao22(input, _path, true && _exceptionable);
|
1357
|
-
|
1462
|
+
if ("oauth2" === input.type)
|
1358
1463
|
return $ao23(input, _path, true && _exceptionable);
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
});
|
1464
|
+
return $guard(_exceptionable, {
|
1465
|
+
path: _path,
|
1466
|
+
expected: "(ISwaggerSecurity.IHttpBasic | ISwaggerSecurity.IHttpBearer | ISwaggerSecurity.IApiKey | ISwaggerSecurity.IOpenId | ISwaggerSecurity.IOAuth2)",
|
1467
|
+
value: input
|
1468
|
+
});
|
1365
1469
|
})();
|
1366
1470
|
return ("object" === typeof input && null !== input || $guard(true, {
|
1367
1471
|
path: _path + "",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NestiaMigrateApplication.js","sourceRoot":"","sources":["../src/NestiaMigrateApplication.ts"],"names":[],"mappings":";;;;;;AAAA,kEAA+B;AAE/B,kDAA0B;AAE1B,2DAAwD;AACxD,iDAA8C;AAC9C,uEAAoE;AAKpE,MAAa,wBAAwB;IAKjC,YAAmB,OAAiB;QAsB7B,aAAQ,GACX,CAAC,QAA4C,EAAE,EAAE,CACjD,CAAC,MAAc,EAAQ,EAAE;YACrB,MAAM,OAAO,GAAoB,IAAI,CAAC,OAAO,EAAE,CAAC;YAChD,MAAM,KAAK,GAAmB,qCAAiB,CAAC,KAAK,CACjD,IAAI,CAAC,OAAO,CAAC,UAAU,CAC1B,CAAC,OAAO,CAAC,CAAC;YAEX,IAAI;gBACA,uBAAE,CAAC,QAAQ,CACP,yDAAyD,M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AAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAEM,KAAK;QACR,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE;YACrB,MAAM,OAAO,GAAoB,IAAI,CAAC,OAAO,EAAE,CAAC;YAChD,IAAI,CAAC,KAAK,GAAG,qCAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CACzD,OAAO,CACV,CAAC;SACL;QACD,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;CA8BJ;AAvDD,4DAuDC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nestia/migrate",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.14",
|
4
4
|
"description": "Migration program from swagger to NestJS",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"typings": "lib/index.d.ts",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"typescript-transform-paths": "^3.4.6"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
|
-
"typia": "^
|
48
|
+
"typia": "^4.3.3"
|
49
49
|
},
|
50
50
|
"files": [
|
51
51
|
"lib",
|