@nestia/migrate 0.16.0 → 0.17.1
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.js +86 -82
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +3 -3
- package/lib/bundles/NEST_TEMPLATE.js.map +1 -1
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/package.json +5 -5
- package/src/bundles/NEST_TEMPLATE.ts +3 -3
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
@@ -85,12 +85,12 @@ class MigrateApplication {
|
|
85
85
|
if (undefined === value)
|
86
86
|
return true;
|
87
87
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu2(value);
|
88
|
-
}); const $io52 = input => (null === input["default"] || 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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io53 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (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 <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io54 = input => (null === input["default"] || 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 && 0 < input.multipleOf) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io55 = input => (null === input["default"] || 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io56 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu2(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io57 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io51(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) && $iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io58 = 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); const $io59 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io60 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io61 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu2(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io62 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu2(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io63 = input => Object.keys(input).every(key => {
|
88
|
+
}); const $io52 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io53 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (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 <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io54 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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 && 0 < input.multipleOf) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io55 = input => (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io56 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu2(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io57 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io51(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) && $iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io58 = 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); const $io59 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io60 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io61 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu2(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io62 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu2(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io63 = input => Object.keys(input).every(key => {
|
89
89
|
const value = input[key];
|
90
90
|
if (undefined === value)
|
91
91
|
return true;
|
92
92
|
return "object" === typeof value && null !== value && $iu10(value);
|
93
|
-
}); const $io64 = input => (null === input["default"] || 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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io65 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (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 <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io66 = input => (null === input["default"] || 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 && 0 < input.multipleOf) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io67 = input => (null === input["default"] || 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io68 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu2(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io69 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io51(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) && $iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io70 = 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) && "string" === typeof input.name && "string" === typeof input["in"]; const $io71 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io72 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io73 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu2(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io74 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu2(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io75 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && $iu2(input.schema) && "string" === typeof input.name && "string" === typeof input["in"] && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required); const $io76 = input => Object.keys(input).every(key => {
|
93
|
+
}); const $io64 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io65 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (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 <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io66 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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 && 0 < input.multipleOf) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io67 = input => (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io68 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu2(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io69 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io51(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) && $iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io70 = 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) && "string" === typeof input.name && "string" === typeof input["in"]; const $io71 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io72 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io73 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu2(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io74 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu2(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"]; const $io75 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && $iu2(input.schema) && "string" === typeof input.name && "string" === typeof input["in"] && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required); const $io76 = input => Object.keys(input).every(key => {
|
94
94
|
const value = input[key];
|
95
95
|
if (undefined === value)
|
96
96
|
return true;
|
@@ -120,7 +120,7 @@ class MigrateApplication {
|
|
120
120
|
if (undefined === value)
|
121
121
|
return true;
|
122
122
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu5(value);
|
123
|
-
}); const $io102 = input => (null === input["default"] || 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); const $io103 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (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 <= 18446744073709552000 && 0 < input.multipleOf)) && "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); const $io104 = input => (null === input["default"] || 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 && 0 < 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); const $io105 = input => (null === input["default"] || 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "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); const $io106 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu5(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "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); const $io107 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io101(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) && $iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "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); const $io108 = 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); const $io109 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io110 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io111 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu5(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io112 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu5(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io113 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu5(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && $io114(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io114 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && $io22(input.mapping)); const $io115 = input => Object.keys(input).every(key => {
|
123
|
+
}); const $io102 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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); const $io103 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (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 <= 18446744073709552000 && 0 < input.multipleOf)) && "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); const $io104 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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 && 0 < 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); const $io105 = input => (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "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); const $io106 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu5(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "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); const $io107 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io101(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) && $iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "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); const $io108 = 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); const $io109 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io110 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io111 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu5(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io112 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu5(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io113 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu5(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && $io114(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io114 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && $io22(input.mapping)); const $io115 = input => Object.keys(input).every(key => {
|
124
124
|
const value = input[key];
|
125
125
|
if (undefined === value)
|
126
126
|
return true;
|
@@ -185,7 +185,7 @@ class MigrateApplication {
|
|
185
185
|
if (undefined === value)
|
186
186
|
return true;
|
187
187
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu7(value);
|
188
|
-
}); const $io158 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && undefined !== input.items && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu7(input.items))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu7(input.additionalItems))) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io157(input.properties)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu7(input.additionalProperties))) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && $io172(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))); const $io159 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io160 = input => (null === input["default"] || 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); const $io161 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "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); const $io162 = input => (null === input["default"] || 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 || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < 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); const $io163 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (null === input["default"] || 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "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); const $io164 = input => null !== input.items && undefined !== input.items && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu7(input.items)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu7(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "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); const $io165 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io157(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) && $iu7(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "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); const $io166 = 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); const $io167 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io168 = input => (null === input["default"] || undefined === input["default"]) && "null" === 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); const $io169 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io170 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io171 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && $io172(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io172 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && $io22(input.mapping)); const $io173 = input => Object.keys(input).every(key => {
|
188
|
+
}); const $io158 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && undefined !== input.items && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu7(input.items))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu7(input.additionalItems))) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io157(input.properties)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu7(input.additionalProperties))) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && $io172(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && "string" === typeof input.$ref; const $io159 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io160 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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); const $io161 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "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); const $io162 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < 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); const $io163 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "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); const $io164 = input => null !== input.items && undefined !== input.items && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu7(input.items)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu7(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "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); const $io165 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io157(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) && $iu7(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "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); const $io166 = 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); const $io167 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io168 = input => (null === input["default"] || undefined === input["default"]) && "null" === 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); const $io169 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io170 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io171 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && $io172(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io172 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && $io22(input.mapping)); const $io173 = input => Object.keys(input).every(key => {
|
189
189
|
const value = input[key];
|
190
190
|
if (undefined === value)
|
191
191
|
return true;
|
@@ -413,7 +413,7 @@ class MigrateApplication {
|
|
413
413
|
else
|
414
414
|
return false;
|
415
415
|
})(); const $iu7 = input => (() => {
|
416
|
-
if (Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem))
|
416
|
+
if (Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
417
417
|
return $io158(input);
|
418
418
|
else if ("boolean" === input.type)
|
419
419
|
return $io160(input);
|
@@ -427,14 +427,14 @@ class MigrateApplication {
|
|
427
427
|
return $io164(input);
|
428
428
|
else if ("object" === input.type)
|
429
429
|
return $io165(input);
|
430
|
-
else if (undefined !== input.$ref)
|
431
|
-
return $io166(input);
|
432
430
|
else if ("null" === input.type)
|
433
431
|
return $io168(input);
|
434
432
|
else
|
435
433
|
return (() => {
|
436
434
|
if (undefined !== input["const"])
|
437
435
|
return $io159(input);
|
436
|
+
else if (undefined !== input.$ref)
|
437
|
+
return $io166(input);
|
438
438
|
else if (undefined !== input.allOf)
|
439
439
|
return $io169(input);
|
440
440
|
else if (undefined !== input.anyOf)
|
@@ -1709,11 +1709,11 @@ class MigrateApplication {
|
|
1709
1709
|
value: input.externalValue
|
1710
1710
|
})].every(flag => flag); const $vo39 = (input, _path, _exceptionable = true) => [undefined === input.content || ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) || $report(_exceptionable, {
|
1711
1711
|
path: _path + ".content",
|
1712
|
-
expected: "(
|
1712
|
+
expected: "(OpenApi.IOperation.IContent<OpenApi.IJsonSchema> | undefined)",
|
1713
1713
|
value: input.content
|
1714
1714
|
})) && $vo40(input.content, _path + ".content", true && _exceptionable) || $report(_exceptionable, {
|
1715
1715
|
path: _path + ".content",
|
1716
|
-
expected: "(
|
1716
|
+
expected: "(OpenApi.IOperation.IContent<OpenApi.IJsonSchema> | undefined)",
|
1717
1717
|
value: input.content
|
1718
1718
|
}), undefined === input.description || "string" === typeof input.description || $report(_exceptionable, {
|
1719
1719
|
path: _path + ".description",
|
@@ -1821,11 +1821,11 @@ class MigrateApplication {
|
|
1821
1821
|
value: input.headers
|
1822
1822
|
}), undefined === input.content || ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) || $report(_exceptionable, {
|
1823
1823
|
path: _path + ".content",
|
1824
|
-
expected: "(
|
1824
|
+
expected: "(OpenApi.IOperation.IContent<OpenApi.IJsonSchema> | undefined)",
|
1825
1825
|
value: input.content
|
1826
1826
|
})) && $vo40(input.content, _path + ".content", true && _exceptionable) || $report(_exceptionable, {
|
1827
1827
|
path: _path + ".content",
|
1828
|
-
expected: "(
|
1828
|
+
expected: "(OpenApi.IOperation.IContent<OpenApi.IJsonSchema> | undefined)",
|
1829
1829
|
value: input.content
|
1830
1830
|
}), undefined === input.description || "string" === typeof input.description || $report(_exceptionable, {
|
1831
1831
|
path: _path + ".description",
|
@@ -2068,15 +2068,15 @@ class MigrateApplication {
|
|
2068
2068
|
value: input["default"]
|
2069
2069
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2070
2070
|
path: _path + "[\"enum\"]",
|
2071
|
-
expected: "(Array<boolean> | undefined)",
|
2071
|
+
expected: "(Array<boolean | null> | undefined)",
|
2072
2072
|
value: input["enum"]
|
2073
|
-
})) && input["enum"].map((elem, _index99) => "boolean" === typeof elem || $report(_exceptionable, {
|
2073
|
+
})) && input["enum"].map((elem, _index99) => null === elem || "boolean" === typeof elem || $report(_exceptionable, {
|
2074
2074
|
path: _path + "[\"enum\"][" + _index99 + "]",
|
2075
|
-
expected: "boolean",
|
2075
|
+
expected: "(boolean | null)",
|
2076
2076
|
value: elem
|
2077
2077
|
})).every(flag => flag) || $report(_exceptionable, {
|
2078
2078
|
path: _path + "[\"enum\"]",
|
2079
|
-
expected: "(Array<boolean> | undefined)",
|
2079
|
+
expected: "(Array<boolean | null> | undefined)",
|
2080
2080
|
value: input["enum"]
|
2081
2081
|
}), "boolean" === input.type || $report(_exceptionable, {
|
2082
2082
|
path: _path + ".type",
|
@@ -2108,15 +2108,15 @@ class MigrateApplication {
|
|
2108
2108
|
value: input["default"]
|
2109
2109
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2110
2110
|
path: _path + "[\"enum\"]",
|
2111
|
-
expected: "(Array<number> | undefined)",
|
2111
|
+
expected: "(Array<number | null> | undefined)",
|
2112
2112
|
value: input["enum"]
|
2113
|
-
})) && input["enum"].map((elem, _index100) => "number" === typeof elem || $report(_exceptionable, {
|
2113
|
+
})) && input["enum"].map((elem, _index100) => null === elem || "number" === typeof elem || $report(_exceptionable, {
|
2114
2114
|
path: _path + "[\"enum\"][" + _index100 + "]",
|
2115
|
-
expected: "number",
|
2115
|
+
expected: "(null | number)",
|
2116
2116
|
value: elem
|
2117
2117
|
})).every(flag => flag) || $report(_exceptionable, {
|
2118
2118
|
path: _path + "[\"enum\"]",
|
2119
|
-
expected: "(Array<number> | undefined)",
|
2119
|
+
expected: "(Array<number | null> | undefined)",
|
2120
2120
|
value: input["enum"]
|
2121
2121
|
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
2122
2122
|
path: _path + ".minimum",
|
@@ -2180,15 +2180,15 @@ class MigrateApplication {
|
|
2180
2180
|
value: input["default"]
|
2181
2181
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2182
2182
|
path: _path + "[\"enum\"]",
|
2183
|
-
expected: "(Array<number> | undefined)",
|
2183
|
+
expected: "(Array<number | null> | undefined)",
|
2184
2184
|
value: input["enum"]
|
2185
|
-
})) && input["enum"].map((elem, _index101) => "number" === typeof elem || $report(_exceptionable, {
|
2185
|
+
})) && input["enum"].map((elem, _index101) => null === elem || "number" === typeof elem || $report(_exceptionable, {
|
2186
2186
|
path: _path + "[\"enum\"][" + _index101 + "]",
|
2187
|
-
expected: "number",
|
2187
|
+
expected: "(null | number)",
|
2188
2188
|
value: elem
|
2189
2189
|
})).every(flag => flag) || $report(_exceptionable, {
|
2190
2190
|
path: _path + "[\"enum\"]",
|
2191
|
-
expected: "(Array<number> | undefined)",
|
2191
|
+
expected: "(Array<number | null> | undefined)",
|
2192
2192
|
value: input["enum"]
|
2193
2193
|
}), undefined === input.minimum || "number" === typeof input.minimum || $report(_exceptionable, {
|
2194
2194
|
path: _path + ".minimum",
|
@@ -2240,15 +2240,15 @@ class MigrateApplication {
|
|
2240
2240
|
value: input["default"]
|
2241
2241
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2242
2242
|
path: _path + "[\"enum\"]",
|
2243
|
-
expected: "(Array<string> | undefined)",
|
2243
|
+
expected: "(Array<string | null> | undefined)",
|
2244
2244
|
value: input["enum"]
|
2245
|
-
})) && input["enum"].map((elem, _index102) => "string" === typeof elem || $report(_exceptionable, {
|
2245
|
+
})) && input["enum"].map((elem, _index102) => null === elem || "string" === typeof elem || $report(_exceptionable, {
|
2246
2246
|
path: _path + "[\"enum\"][" + _index102 + "]",
|
2247
|
-
expected: "string",
|
2247
|
+
expected: "(null | string)",
|
2248
2248
|
value: elem
|
2249
2249
|
})).every(flag => flag) || $report(_exceptionable, {
|
2250
2250
|
path: _path + "[\"enum\"]",
|
2251
|
-
expected: "(Array<string> | undefined)",
|
2251
|
+
expected: "(Array<string | null> | undefined)",
|
2252
2252
|
value: input["enum"]
|
2253
2253
|
}), undefined === input.format || "string" === typeof input.format || $report(_exceptionable, {
|
2254
2254
|
path: _path + ".format",
|
@@ -2533,15 +2533,15 @@ class MigrateApplication {
|
|
2533
2533
|
value: input["default"]
|
2534
2534
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2535
2535
|
path: _path + "[\"enum\"]",
|
2536
|
-
expected: "(Array<boolean> | undefined)",
|
2536
|
+
expected: "(Array<boolean | null> | undefined)",
|
2537
2537
|
value: input["enum"]
|
2538
|
-
})) && input["enum"].map((elem, _index106) => "boolean" === typeof elem || $report(_exceptionable, {
|
2538
|
+
})) && input["enum"].map((elem, _index106) => null === elem || "boolean" === typeof elem || $report(_exceptionable, {
|
2539
2539
|
path: _path + "[\"enum\"][" + _index106 + "]",
|
2540
|
-
expected: "boolean",
|
2540
|
+
expected: "(boolean | null)",
|
2541
2541
|
value: elem
|
2542
2542
|
})).every(flag => flag) || $report(_exceptionable, {
|
2543
2543
|
path: _path + "[\"enum\"]",
|
2544
|
-
expected: "(Array<boolean> | undefined)",
|
2544
|
+
expected: "(Array<boolean | null> | undefined)",
|
2545
2545
|
value: input["enum"]
|
2546
2546
|
}), "boolean" === input.type || $report(_exceptionable, {
|
2547
2547
|
path: _path + ".type",
|
@@ -2581,15 +2581,15 @@ class MigrateApplication {
|
|
2581
2581
|
value: input["default"]
|
2582
2582
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2583
2583
|
path: _path + "[\"enum\"]",
|
2584
|
-
expected: "(Array<number> | undefined)",
|
2584
|
+
expected: "(Array<number | null> | undefined)",
|
2585
2585
|
value: input["enum"]
|
2586
|
-
})) && input["enum"].map((elem, _index107) => "number" === typeof elem || $report(_exceptionable, {
|
2586
|
+
})) && input["enum"].map((elem, _index107) => null === elem || "number" === typeof elem || $report(_exceptionable, {
|
2587
2587
|
path: _path + "[\"enum\"][" + _index107 + "]",
|
2588
|
-
expected: "number",
|
2588
|
+
expected: "(null | number)",
|
2589
2589
|
value: elem
|
2590
2590
|
})).every(flag => flag) || $report(_exceptionable, {
|
2591
2591
|
path: _path + "[\"enum\"]",
|
2592
|
-
expected: "(Array<number> | undefined)",
|
2592
|
+
expected: "(Array<number | null> | undefined)",
|
2593
2593
|
value: input["enum"]
|
2594
2594
|
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
2595
2595
|
path: _path + ".minimum",
|
@@ -2661,15 +2661,15 @@ class MigrateApplication {
|
|
2661
2661
|
value: input["default"]
|
2662
2662
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2663
2663
|
path: _path + "[\"enum\"]",
|
2664
|
-
expected: "(Array<number> | undefined)",
|
2664
|
+
expected: "(Array<number | null> | undefined)",
|
2665
2665
|
value: input["enum"]
|
2666
|
-
})) && input["enum"].map((elem, _index108) => "number" === typeof elem || $report(_exceptionable, {
|
2666
|
+
})) && input["enum"].map((elem, _index108) => null === elem || "number" === typeof elem || $report(_exceptionable, {
|
2667
2667
|
path: _path + "[\"enum\"][" + _index108 + "]",
|
2668
|
-
expected: "number",
|
2668
|
+
expected: "(null | number)",
|
2669
2669
|
value: elem
|
2670
2670
|
})).every(flag => flag) || $report(_exceptionable, {
|
2671
2671
|
path: _path + "[\"enum\"]",
|
2672
|
-
expected: "(Array<number> | undefined)",
|
2672
|
+
expected: "(Array<number | null> | undefined)",
|
2673
2673
|
value: input["enum"]
|
2674
2674
|
}), undefined === input.minimum || "number" === typeof input.minimum || $report(_exceptionable, {
|
2675
2675
|
path: _path + ".minimum",
|
@@ -2729,15 +2729,15 @@ class MigrateApplication {
|
|
2729
2729
|
value: input["default"]
|
2730
2730
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2731
2731
|
path: _path + "[\"enum\"]",
|
2732
|
-
expected: "(Array<string> | undefined)",
|
2732
|
+
expected: "(Array<string | null> | undefined)",
|
2733
2733
|
value: input["enum"]
|
2734
|
-
})) && input["enum"].map((elem, _index109) => "string" === typeof elem || $report(_exceptionable, {
|
2734
|
+
})) && input["enum"].map((elem, _index109) => null === elem || "string" === typeof elem || $report(_exceptionable, {
|
2735
2735
|
path: _path + "[\"enum\"][" + _index109 + "]",
|
2736
|
-
expected: "string",
|
2736
|
+
expected: "(null | string)",
|
2737
2737
|
value: elem
|
2738
2738
|
})).every(flag => flag) || $report(_exceptionable, {
|
2739
2739
|
path: _path + "[\"enum\"]",
|
2740
|
-
expected: "(Array<string> | undefined)",
|
2740
|
+
expected: "(Array<string | null> | undefined)",
|
2741
2741
|
value: input["enum"]
|
2742
2742
|
}), undefined === input.format || "string" === typeof input.format || $report(_exceptionable, {
|
2743
2743
|
path: _path + ".format",
|
@@ -3755,15 +3755,15 @@ class MigrateApplication {
|
|
3755
3755
|
value: input["default"]
|
3756
3756
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
3757
3757
|
path: _path + "[\"enum\"]",
|
3758
|
-
expected: "(Array<boolean> | undefined)",
|
3758
|
+
expected: "(Array<boolean | null> | undefined)",
|
3759
3759
|
value: input["enum"]
|
3760
|
-
})) && input["enum"].map((elem, _index121) => "boolean" === typeof elem || $report(_exceptionable, {
|
3760
|
+
})) && input["enum"].map((elem, _index121) => null === elem || "boolean" === typeof elem || $report(_exceptionable, {
|
3761
3761
|
path: _path + "[\"enum\"][" + _index121 + "]",
|
3762
|
-
expected: "boolean",
|
3762
|
+
expected: "(boolean | null)",
|
3763
3763
|
value: elem
|
3764
3764
|
})).every(flag => flag) || $report(_exceptionable, {
|
3765
3765
|
path: _path + "[\"enum\"]",
|
3766
|
-
expected: "(Array<boolean> | undefined)",
|
3766
|
+
expected: "(Array<boolean | null> | undefined)",
|
3767
3767
|
value: input["enum"]
|
3768
3768
|
}), "boolean" === input.type || $report(_exceptionable, {
|
3769
3769
|
path: _path + ".type",
|
@@ -3795,15 +3795,15 @@ class MigrateApplication {
|
|
3795
3795
|
value: input["default"]
|
3796
3796
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
3797
3797
|
path: _path + "[\"enum\"]",
|
3798
|
-
expected: "(Array<number> | undefined)",
|
3798
|
+
expected: "(Array<number | null> | undefined)",
|
3799
3799
|
value: input["enum"]
|
3800
|
-
})) && input["enum"].map((elem, _index122) => "number" === typeof elem || $report(_exceptionable, {
|
3800
|
+
})) && input["enum"].map((elem, _index122) => null === elem || "number" === typeof elem || $report(_exceptionable, {
|
3801
3801
|
path: _path + "[\"enum\"][" + _index122 + "]",
|
3802
|
-
expected: "number",
|
3802
|
+
expected: "(null | number)",
|
3803
3803
|
value: elem
|
3804
3804
|
})).every(flag => flag) || $report(_exceptionable, {
|
3805
3805
|
path: _path + "[\"enum\"]",
|
3806
|
-
expected: "(Array<number> | undefined)",
|
3806
|
+
expected: "(Array<number | null> | undefined)",
|
3807
3807
|
value: input["enum"]
|
3808
3808
|
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
3809
3809
|
path: _path + ".minimum",
|
@@ -3867,15 +3867,15 @@ class MigrateApplication {
|
|
3867
3867
|
value: input["default"]
|
3868
3868
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
3869
3869
|
path: _path + "[\"enum\"]",
|
3870
|
-
expected: "(Array<number> | undefined)",
|
3870
|
+
expected: "(Array<number | null> | undefined)",
|
3871
3871
|
value: input["enum"]
|
3872
|
-
})) && input["enum"].map((elem, _index123) => "number" === typeof elem || $report(_exceptionable, {
|
3872
|
+
})) && input["enum"].map((elem, _index123) => null === elem || "number" === typeof elem || $report(_exceptionable, {
|
3873
3873
|
path: _path + "[\"enum\"][" + _index123 + "]",
|
3874
|
-
expected: "number",
|
3874
|
+
expected: "(null | number)",
|
3875
3875
|
value: elem
|
3876
3876
|
})).every(flag => flag) || $report(_exceptionable, {
|
3877
3877
|
path: _path + "[\"enum\"]",
|
3878
|
-
expected: "(Array<number> | undefined)",
|
3878
|
+
expected: "(Array<number | null> | undefined)",
|
3879
3879
|
value: input["enum"]
|
3880
3880
|
}), undefined === input.minimum || "number" === typeof input.minimum || $report(_exceptionable, {
|
3881
3881
|
path: _path + ".minimum",
|
@@ -3927,15 +3927,15 @@ class MigrateApplication {
|
|
3927
3927
|
value: input["default"]
|
3928
3928
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
3929
3929
|
path: _path + "[\"enum\"]",
|
3930
|
-
expected: "(Array<string> | undefined)",
|
3930
|
+
expected: "(Array<string | null> | undefined)",
|
3931
3931
|
value: input["enum"]
|
3932
|
-
})) && input["enum"].map((elem, _index124) => "string" === typeof elem || $report(_exceptionable, {
|
3932
|
+
})) && input["enum"].map((elem, _index124) => null === elem || "string" === typeof elem || $report(_exceptionable, {
|
3933
3933
|
path: _path + "[\"enum\"][" + _index124 + "]",
|
3934
|
-
expected: "string",
|
3934
|
+
expected: "(null | string)",
|
3935
3935
|
value: elem
|
3936
3936
|
})).every(flag => flag) || $report(_exceptionable, {
|
3937
3937
|
path: _path + "[\"enum\"]",
|
3938
|
-
expected: "(Array<string> | undefined)",
|
3938
|
+
expected: "(Array<string | null> | undefined)",
|
3939
3939
|
value: input["enum"]
|
3940
3940
|
}), undefined === input.format || "string" === typeof input.format || $report(_exceptionable, {
|
3941
3941
|
path: _path + ".format",
|
@@ -5232,15 +5232,15 @@ class MigrateApplication {
|
|
5232
5232
|
});
|
5233
5233
|
}).every(flag => flag)].every(flag => flag); const $vo158 = (input, _path, _exceptionable = true) => [(Array.isArray(input.type) || $report(_exceptionable, {
|
5234
5234
|
path: _path + ".type",
|
5235
|
-
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\">",
|
5235
|
+
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\" | \"null\">",
|
5236
5236
|
value: input.type
|
5237
|
-
})) && input.type.map((elem, _index139) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || $report(_exceptionable, {
|
5237
|
+
})) && input.type.map((elem, _index139) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem || $report(_exceptionable, {
|
5238
5238
|
path: _path + ".type[" + _index139 + "]",
|
5239
|
-
expected: "(\"array\" | \"boolean\" | \"integer\" | \"number\" | \"object\" | \"string\")",
|
5239
|
+
expected: "(\"array\" | \"boolean\" | \"integer\" | \"null\" | \"number\" | \"object\" | \"string\")",
|
5240
5240
|
value: elem
|
5241
5241
|
})).every(flag => flag) || $report(_exceptionable, {
|
5242
5242
|
path: _path + ".type",
|
5243
|
-
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\">",
|
5243
|
+
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\" | \"null\">",
|
5244
5244
|
value: input.type
|
5245
5245
|
}), null === input["default"] || undefined === input["default"] || Array.isArray(input["default"]) || $report(_exceptionable, {
|
5246
5246
|
path: _path + "[\"default\"]",
|
@@ -5490,6 +5490,10 @@ class MigrateApplication {
|
|
5490
5490
|
path: _path + ".allOf",
|
5491
5491
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
5492
5492
|
value: input.allOf
|
5493
|
+
}), "string" === typeof input.$ref || $report(_exceptionable, {
|
5494
|
+
path: _path + ".$ref",
|
5495
|
+
expected: "string",
|
5496
|
+
value: input.$ref
|
5493
5497
|
})].every(flag => flag); const $vo159 = (input, _path, _exceptionable = true) => ["string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || $report(_exceptionable, {
|
5494
5498
|
path: _path + "[\"const\"]",
|
5495
5499
|
expected: "(boolean | number | string)",
|
@@ -5512,15 +5516,15 @@ class MigrateApplication {
|
|
5512
5516
|
value: input["default"]
|
5513
5517
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
5514
5518
|
path: _path + "[\"enum\"]",
|
5515
|
-
expected: "(Array<boolean> | undefined)",
|
5519
|
+
expected: "(Array<boolean | null> | undefined)",
|
5516
5520
|
value: input["enum"]
|
5517
|
-
})) && input["enum"].map((elem, _index146) => "boolean" === typeof elem || $report(_exceptionable, {
|
5521
|
+
})) && input["enum"].map((elem, _index146) => null === elem || "boolean" === typeof elem || $report(_exceptionable, {
|
5518
5522
|
path: _path + "[\"enum\"][" + _index146 + "]",
|
5519
|
-
expected: "boolean",
|
5523
|
+
expected: "(boolean | null)",
|
5520
5524
|
value: elem
|
5521
5525
|
})).every(flag => flag) || $report(_exceptionable, {
|
5522
5526
|
path: _path + "[\"enum\"]",
|
5523
|
-
expected: "(Array<boolean> | undefined)",
|
5527
|
+
expected: "(Array<boolean | null> | undefined)",
|
5524
5528
|
value: input["enum"]
|
5525
5529
|
}), "boolean" === input.type || $report(_exceptionable, {
|
5526
5530
|
path: _path + ".type",
|
@@ -5552,15 +5556,15 @@ class MigrateApplication {
|
|
5552
5556
|
value: input["default"]
|
5553
5557
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
5554
5558
|
path: _path + "[\"enum\"]",
|
5555
|
-
expected: "(Array<number> | undefined)",
|
5559
|
+
expected: "(Array<number | null> | undefined)",
|
5556
5560
|
value: input["enum"]
|
5557
|
-
})) && input["enum"].map((elem, _index147) => "number" === typeof elem || $report(_exceptionable, {
|
5561
|
+
})) && input["enum"].map((elem, _index147) => null === elem || "number" === typeof elem || $report(_exceptionable, {
|
5558
5562
|
path: _path + "[\"enum\"][" + _index147 + "]",
|
5559
|
-
expected: "number",
|
5563
|
+
expected: "(null | number)",
|
5560
5564
|
value: elem
|
5561
5565
|
})).every(flag => flag) || $report(_exceptionable, {
|
5562
5566
|
path: _path + "[\"enum\"]",
|
5563
|
-
expected: "(Array<number> | undefined)",
|
5567
|
+
expected: "(Array<number | null> | undefined)",
|
5564
5568
|
value: input["enum"]
|
5565
5569
|
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
5566
5570
|
path: _path + ".minimum",
|
@@ -5632,15 +5636,15 @@ class MigrateApplication {
|
|
5632
5636
|
value: input["default"]
|
5633
5637
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
5634
5638
|
path: _path + "[\"enum\"]",
|
5635
|
-
expected: "(Array<number> | undefined)",
|
5639
|
+
expected: "(Array<number | null> | undefined)",
|
5636
5640
|
value: input["enum"]
|
5637
|
-
})) && input["enum"].map((elem, _index148) => "number" === typeof elem || $report(_exceptionable, {
|
5641
|
+
})) && input["enum"].map((elem, _index148) => null === elem || "number" === typeof elem || $report(_exceptionable, {
|
5638
5642
|
path: _path + "[\"enum\"][" + _index148 + "]",
|
5639
|
-
expected: "number",
|
5643
|
+
expected: "(null | number)",
|
5640
5644
|
value: elem
|
5641
5645
|
})).every(flag => flag) || $report(_exceptionable, {
|
5642
5646
|
path: _path + "[\"enum\"]",
|
5643
|
-
expected: "(Array<number> | undefined)",
|
5647
|
+
expected: "(Array<number | null> | undefined)",
|
5644
5648
|
value: input["enum"]
|
5645
5649
|
}), undefined === input.minimum || "number" === typeof input.minimum || $report(_exceptionable, {
|
5646
5650
|
path: _path + ".minimum",
|
@@ -5696,15 +5700,15 @@ class MigrateApplication {
|
|
5696
5700
|
value: input["default"]
|
5697
5701
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
5698
5702
|
path: _path + "[\"enum\"]",
|
5699
|
-
expected: "(Array<string> | undefined)",
|
5703
|
+
expected: "(Array<string | null> | undefined)",
|
5700
5704
|
value: input["enum"]
|
5701
|
-
})) && input["enum"].map((elem, _index149) => "string" === typeof elem || $report(_exceptionable, {
|
5705
|
+
})) && input["enum"].map((elem, _index149) => null === elem || "string" === typeof elem || $report(_exceptionable, {
|
5702
5706
|
path: _path + "[\"enum\"][" + _index149 + "]",
|
5703
|
-
expected: "string",
|
5707
|
+
expected: "(null | string)",
|
5704
5708
|
value: elem
|
5705
5709
|
})).every(flag => flag) || $report(_exceptionable, {
|
5706
5710
|
path: _path + "[\"enum\"]",
|
5707
|
-
expected: "(Array<string> | undefined)",
|
5711
|
+
expected: "(Array<string | null> | undefined)",
|
5708
5712
|
value: input["enum"]
|
5709
5713
|
}), undefined === input.format || "string" === typeof input.format || $report(_exceptionable, {
|
5710
5714
|
path: _path + ".format",
|
@@ -6958,7 +6962,7 @@ class MigrateApplication {
|
|
6958
6962
|
value: input
|
6959
6963
|
});
|
6960
6964
|
})(); const $vu7 = (input, _path, _exceptionable = true) => (() => {
|
6961
|
-
if (Array.isArray(input.type) && input.type.map((elem, _index162) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem).every(flag => flag))
|
6965
|
+
if (Array.isArray(input.type) && input.type.map((elem, _index162) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem).every(flag => flag))
|
6962
6966
|
return $vo158(input, _path, true && _exceptionable);
|
6963
6967
|
else if ("boolean" === input.type)
|
6964
6968
|
return $vo160(input, _path, true && _exceptionable);
|
@@ -6972,14 +6976,14 @@ class MigrateApplication {
|
|
6972
6976
|
return $vo164(input, _path, true && _exceptionable);
|
6973
6977
|
else if ("object" === input.type)
|
6974
6978
|
return $vo165(input, _path, true && _exceptionable);
|
6975
|
-
else if (undefined !== input.$ref)
|
6976
|
-
return $vo166(input, _path, true && _exceptionable);
|
6977
6979
|
else if ("null" === input.type)
|
6978
6980
|
return $vo168(input, _path, true && _exceptionable);
|
6979
6981
|
else
|
6980
6982
|
return (() => {
|
6981
6983
|
if (undefined !== input["const"])
|
6982
6984
|
return $vo159(input, _path, true && _exceptionable);
|
6985
|
+
else if (undefined !== input.$ref)
|
6986
|
+
return $vo166(input, _path, true && _exceptionable);
|
6983
6987
|
else if (undefined !== input.allOf)
|
6984
6988
|
return $vo169(input, _path, true && _exceptionable);
|
6985
6989
|
else if (undefined !== input.anyOf)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MigrateApplication.js","sourceRoot":"","sources":["../src/MigrateApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAA8E;AAC9E,kDAA2C;AAE3C,iEAA8D;AAC9D,2DAAwD;AACxD,yDAAsD;AACtD,6EAA0E;AAC1E,uFAAoF;AACpF,6EAA0E;AAC1E,+EAA4E;AAI5E,MAAa,kBAAkB;IAC7B,YAAoC,QAA2B;QAA3B,aAAQ,GAAR,QAAQ,CAAmB;IAAG,CAAC;IAE5D,MAAM,CAAO,MAAM,CACxB,QAIqB;;YAErB,MAAM,MAAM,0BAAG,eAAK,CAAC,QAAQ
|
1
|
+
{"version":3,"file":"MigrateApplication.js","sourceRoot":"","sources":["../src/MigrateApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAA8E;AAC9E,kDAA2C;AAE3C,iEAA8D;AAC9D,2DAAwD;AACxD,yDAAsD;AACtD,6EAA0E;AAC1E,uFAAoF;AACpF,6EAA0E;AAC1E,+EAA4E;AAI5E,MAAa,kBAAkB;IAC7B,YAAoC,QAA2B;QAA3B,aAAQ,GAAR,QAAQ,CAAmB;IAAG,CAAC;IAE5D,MAAM,CAAO,MAAM,CACxB,QAIqB;;YAErB,MAAM,MAAM,0BAAG,eAAK,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
{
|
11
11
|
"location": "",
|
12
12
|
"file": ".eslintrc.cjs",
|
13
|
-
"content": "module.exports = {\r\n root: true,\r\n plugins: [\"@typescript-eslint\", \"deprecation\"],\r\n extends: [\"plugin:@typescript-eslint/recommended\"],\r\n parser: \"@typescript-eslint/parser\",\r\n parserOptions: {\r\n project: [\"tsconfig.json\", \"test/tsconfig.json\"],\r\n },\r\n overrides: [\r\n {\r\n files: [\"src/**/*.ts\", \"test/**/*.ts\"],\r\n rules: {\r\n \"@typescript-eslint/no-
|
13
|
+
"content": "module.exports = {\r\n root: true,\r\n plugins: [\"@typescript-eslint\", \"deprecation\"],\r\n extends: [\"plugin:@typescript-eslint/recommended\"],\r\n parser: \"@typescript-eslint/parser\",\r\n parserOptions: {\r\n project: [\"tsconfig.json\", \"test/tsconfig.json\"],\r\n },\r\n overrides: [\r\n {\r\n files: [\"src/**/*.ts\", \"test/**/*.ts\"],\r\n rules: {\r\n \"@typescript-eslint/consistent-type-definitions\": \"off\",\r\n \"@typescript-eslint/no-empty-function\": \"off\",\r\n \"@typescript-eslint/no-empty-interface\": \"off\",\r\n \"@typescript-eslint/no-explicit-any\": \"off\",\r\n \"@typescript-eslint/no-inferrable-types\": \"off\",\r\n \"@typescript-eslint/no-namespace\": \"off\",\r\n \"@typescript-eslint/no-non-null-assertion\": \"off\",\r\n \"@typescript-eslint/no-unused-vars\": \"off\",\r\n \"@typescript-eslint/no-var-requires\": \"off\",\r\n \"@typescript-eslint/no-floating-promises\": \"error\",\r\n \"@typescript-eslint/no-require-imports\": \"off\",\r\n \"@typescript-eslint/no-empty-object-type\": \"off\",\r\n },\r\n },\r\n ],\r\n};\r\n"
|
14
14
|
},
|
15
15
|
{
|
16
16
|
"location": ".github/workflows",
|
@@ -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 &&
|
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.11.1\",\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\": \"^5.7.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.11.1\",\r\n \"@nestia/fetcher\": \"^3.11.1\",\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.8.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}"
|
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.11.1\",\r\n \"tgrid\": \"^1.0.3\",\r\n \"typia\": \"^6.8.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,
|
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,e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M,EAAE,cAAc;QACtB,SAAS,EAAE,2nCAA2nC;KACvoC;IACD;QACE,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE,oBAAoB;QAC5B,SAAS,EAAE,ikBAAikB;KAC7kB;IACD;QACE,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE,aAAa;QACrB,SAAS,EAAE,mpBAAmpB;KAC/pB;IACD;QACE,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,cAAc;QACtB,SAAS,EAAE,4QAA4Q;KACxR;IACD;QACE,UAAU,EAAE,WAAW;QACvB,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,kVAAkV;KAC9V;IACD;QACE,UAAU,EAAE,gBAAgB;QAC5B,MAAM,EAAE,UAAU;QAClB,SAAS,EAAE,i9HAAi9H;KAC79H;IACD;QACE,UAAU,EAAE,gBAAgB;QAC5B,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,ucAAuc;KACnd;IACD;QACE,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,mBAAmB;QAC3B,SAAS,EAAE,smFAAsmF;KAClnF;IACD;QACE,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,UAAU;QAClB,SAAS,EAAE,o3GAAo3G;KACh4G;IACD;QACE,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,yJAAyJ;KACrK;IACD;QACE,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,ozDAAozD;KACh0D;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,y8XAAy8X;KACr9X;IACD;QACE,UAAU,EAAE,EAAE;QACd,MAAM,EAAE,mBAAmB;QAC3B,SAAS,EAAE,g1DAAg1D;KAC51D;CACF,CAAA"}
|
@@ -30,7 +30,7 @@ exports.SDK_TEMPLATE = [
|
|
30
30
|
{
|
31
31
|
"location": "",
|
32
32
|
"file": "package.json",
|
33
|
-
"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 \"scripts\": {\r\n \"build\": \"rimraf lib && tsc && rollup -c\",\r\n \"build:test\": \"rimraf bin && tsc --project test/tsconfig.json\",\r\n \"deploy\": \"npm run build && npm publish\",\r\n \"dev\": \"npm run build:test -- --watch\",\r\n \"hello\": \"node hello\",\r\n \"prepare\": \"ts-patch install && typia patch\",\r\n \"start\": \"ts-node test/start.ts\",\r\n \"swagger\": \"ts-node test/swagger.ts\",\r\n \"test\": \"ts-node test/index.ts\",\r\n \"test:simulate\": \"ts-node test/index.ts --simulate true\",\r\n \"test:manual\": \"ts-node test/manual.ts\"\r\n },\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 \"swagger.json\",\r\n \"package.json\",\r\n \"README.md\"\r\n ],\r\n \"dependencies\": {\r\n \"@nestia/fetcher\": \"^3.
|
33
|
+
"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 \"scripts\": {\r\n \"build\": \"rimraf lib && tsc && rollup -c\",\r\n \"build:test\": \"rimraf bin && tsc --project test/tsconfig.json\",\r\n \"deploy\": \"npm run build && npm publish\",\r\n \"dev\": \"npm run build:test -- --watch\",\r\n \"hello\": \"node hello\",\r\n \"prepare\": \"ts-patch install && typia patch\",\r\n \"start\": \"ts-node test/start.ts\",\r\n \"swagger\": \"ts-node test/swagger.ts\",\r\n \"test\": \"ts-node test/index.ts\",\r\n \"test:simulate\": \"ts-node test/index.ts --simulate true\",\r\n \"test:manual\": \"ts-node test/manual.ts\"\r\n },\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 \"swagger.json\",\r\n \"package.json\",\r\n \"README.md\"\r\n ],\r\n \"dependencies\": {\r\n \"@nestia/fetcher\": \"^3.11.1\",\r\n \"tgrid\": \"^1.0.3\",\r\n \"typia\": \"^6.8.0\"\r\n },\r\n \"devDependencies\": {\r\n \"@nestia/e2e\": \"^0.7.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/express\": \"^4.17.21\",\r\n \"@types/inquirer\": \"8.2.5\",\r\n \"@types/swagger-ui-express\": \"^4.1.6\",\r\n \"chalk\": \"4.1.2\",\r\n \"commander\": \"^10.0.0\",\r\n \"express\": \"^4.19.2\",\r\n \"inquirer\": \"8.2.5\",\r\n \"prettier\": \"^3.2.5\",\r\n \"rimraf\": \"^5.0.5\",\r\n \"rollup\": \"^4.13.2\",\r\n \"swagger-ui-express\": \"^5.0.0\",\r\n \"ts-node\": \"^10.9.2\",\r\n \"ts-patch\": \"^3.2.1\",\r\n \"typescript\": \"^5.5.4\",\r\n \"typescript-transform-paths\": \"^3.4.6\"\r\n }\r\n}"
|
34
34
|
},
|
35
35
|
{
|
36
36
|
"location": "",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nestia/migrate",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.17.1",
|
4
4
|
"description": "Migration program from swagger to NestJS",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"typings": "lib/index.d.ts",
|
@@ -37,9 +37,9 @@
|
|
37
37
|
"homepage": "https://nestia.io",
|
38
38
|
"devDependencies": {
|
39
39
|
"@nestia/benchmark": "^0.2.3",
|
40
|
-
"@nestia/core": "^3.
|
40
|
+
"@nestia/core": "^3.11.1",
|
41
41
|
"@nestia/e2e": "^0.7.0",
|
42
|
-
"@nestia/fetcher": "^3.
|
42
|
+
"@nestia/fetcher": "^3.11.1",
|
43
43
|
"@nestjs/common": "^10.3.8",
|
44
44
|
"@nestjs/core": "^10.3.8",
|
45
45
|
"@nestjs/platform-express": "^10.3.8",
|
@@ -65,13 +65,13 @@
|
|
65
65
|
"typescript-transform-paths": "^3.4.6"
|
66
66
|
},
|
67
67
|
"dependencies": {
|
68
|
-
"@samchon/openapi": "^0.4.
|
68
|
+
"@samchon/openapi": "^0.4.6",
|
69
69
|
"commander": "10.0.0",
|
70
70
|
"inquirer": "8.2.5",
|
71
71
|
"prettier": "^3.2.5",
|
72
72
|
"tstl": "^3.0.0",
|
73
73
|
"typescript": "^5.5.4",
|
74
|
-
"typia": "^6.
|
74
|
+
"typia": "^6.8.0"
|
75
75
|
},
|
76
76
|
"files": [
|
77
77
|
"lib",
|
@@ -7,7 +7,7 @@ export const NEST_TEMPLATE = [
|
|
7
7
|
{
|
8
8
|
"location": "",
|
9
9
|
"file": ".eslintrc.cjs",
|
10
|
-
"content": "module.exports = {\r\n root: true,\r\n plugins: [\"@typescript-eslint\", \"deprecation\"],\r\n extends: [\"plugin:@typescript-eslint/recommended\"],\r\n parser: \"@typescript-eslint/parser\",\r\n parserOptions: {\r\n project: [\"tsconfig.json\", \"test/tsconfig.json\"],\r\n },\r\n overrides: [\r\n {\r\n files: [\"src/**/*.ts\", \"test/**/*.ts\"],\r\n rules: {\r\n \"@typescript-eslint/no-
|
10
|
+
"content": "module.exports = {\r\n root: true,\r\n plugins: [\"@typescript-eslint\", \"deprecation\"],\r\n extends: [\"plugin:@typescript-eslint/recommended\"],\r\n parser: \"@typescript-eslint/parser\",\r\n parserOptions: {\r\n project: [\"tsconfig.json\", \"test/tsconfig.json\"],\r\n },\r\n overrides: [\r\n {\r\n files: [\"src/**/*.ts\", \"test/**/*.ts\"],\r\n rules: {\r\n \"@typescript-eslint/consistent-type-definitions\": \"off\",\r\n \"@typescript-eslint/no-empty-function\": \"off\",\r\n \"@typescript-eslint/no-empty-interface\": \"off\",\r\n \"@typescript-eslint/no-explicit-any\": \"off\",\r\n \"@typescript-eslint/no-inferrable-types\": \"off\",\r\n \"@typescript-eslint/no-namespace\": \"off\",\r\n \"@typescript-eslint/no-non-null-assertion\": \"off\",\r\n \"@typescript-eslint/no-unused-vars\": \"off\",\r\n \"@typescript-eslint/no-var-requires\": \"off\",\r\n \"@typescript-eslint/no-floating-promises\": \"error\",\r\n \"@typescript-eslint/no-require-imports\": \"off\",\r\n \"@typescript-eslint/no-empty-object-type\": \"off\",\r\n },\r\n },\r\n ],\r\n};\r\n"
|
11
11
|
},
|
12
12
|
{
|
13
13
|
"location": ".github/workflows",
|
@@ -52,7 +52,7 @@ export const NEST_TEMPLATE = [
|
|
52
52
|
{
|
53
53
|
"location": "",
|
54
54
|
"file": "package.json",
|
55
|
-
"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 &&
|
55
|
+
"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.11.1\",\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\": \"^5.7.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.11.1\",\r\n \"@nestia/fetcher\": \"^3.11.1\",\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.8.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}"
|
56
56
|
},
|
57
57
|
{
|
58
58
|
"location": "packages/api",
|
@@ -67,7 +67,7 @@ export const NEST_TEMPLATE = [
|
|
67
67
|
{
|
68
68
|
"location": "packages/api",
|
69
69
|
"file": "package.json",
|
70
|
-
"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.
|
70
|
+
"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.11.1\",\r\n \"tgrid\": \"^1.0.3\",\r\n \"typia\": \"^6.8.0\"\r\n }\r\n}"
|
71
71
|
},
|
72
72
|
{
|
73
73
|
"location": "packages/api",
|
@@ -27,7 +27,7 @@ export const SDK_TEMPLATE = [
|
|
27
27
|
{
|
28
28
|
"location": "",
|
29
29
|
"file": "package.json",
|
30
|
-
"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 \"scripts\": {\r\n \"build\": \"rimraf lib && tsc && rollup -c\",\r\n \"build:test\": \"rimraf bin && tsc --project test/tsconfig.json\",\r\n \"deploy\": \"npm run build && npm publish\",\r\n \"dev\": \"npm run build:test -- --watch\",\r\n \"hello\": \"node hello\",\r\n \"prepare\": \"ts-patch install && typia patch\",\r\n \"start\": \"ts-node test/start.ts\",\r\n \"swagger\": \"ts-node test/swagger.ts\",\r\n \"test\": \"ts-node test/index.ts\",\r\n \"test:simulate\": \"ts-node test/index.ts --simulate true\",\r\n \"test:manual\": \"ts-node test/manual.ts\"\r\n },\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 \"swagger.json\",\r\n \"package.json\",\r\n \"README.md\"\r\n ],\r\n \"dependencies\": {\r\n \"@nestia/fetcher\": \"^3.
|
30
|
+
"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 \"scripts\": {\r\n \"build\": \"rimraf lib && tsc && rollup -c\",\r\n \"build:test\": \"rimraf bin && tsc --project test/tsconfig.json\",\r\n \"deploy\": \"npm run build && npm publish\",\r\n \"dev\": \"npm run build:test -- --watch\",\r\n \"hello\": \"node hello\",\r\n \"prepare\": \"ts-patch install && typia patch\",\r\n \"start\": \"ts-node test/start.ts\",\r\n \"swagger\": \"ts-node test/swagger.ts\",\r\n \"test\": \"ts-node test/index.ts\",\r\n \"test:simulate\": \"ts-node test/index.ts --simulate true\",\r\n \"test:manual\": \"ts-node test/manual.ts\"\r\n },\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 \"swagger.json\",\r\n \"package.json\",\r\n \"README.md\"\r\n ],\r\n \"dependencies\": {\r\n \"@nestia/fetcher\": \"^3.11.1\",\r\n \"tgrid\": \"^1.0.3\",\r\n \"typia\": \"^6.8.0\"\r\n },\r\n \"devDependencies\": {\r\n \"@nestia/e2e\": \"^0.7.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/express\": \"^4.17.21\",\r\n \"@types/inquirer\": \"8.2.5\",\r\n \"@types/swagger-ui-express\": \"^4.1.6\",\r\n \"chalk\": \"4.1.2\",\r\n \"commander\": \"^10.0.0\",\r\n \"express\": \"^4.19.2\",\r\n \"inquirer\": \"8.2.5\",\r\n \"prettier\": \"^3.2.5\",\r\n \"rimraf\": \"^5.0.5\",\r\n \"rollup\": \"^4.13.2\",\r\n \"swagger-ui-express\": \"^5.0.0\",\r\n \"ts-node\": \"^10.9.2\",\r\n \"ts-patch\": \"^3.2.1\",\r\n \"typescript\": \"^5.5.4\",\r\n \"typescript-transform-paths\": \"^3.4.6\"\r\n }\r\n}"
|
31
31
|
},
|
32
32
|
{
|
33
33
|
"location": "",
|