@nestia/migrate 0.13.5 → 0.13.7
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 +226 -186
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +2 -2
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/lib/programmers/MigrateSchemaProgrammer.js +5 -1
- package/lib/programmers/MigrateSchemaProgrammer.js.map +1 -1
- package/package.json +5 -5
- package/src/bundles/NEST_TEMPLATE.ts +2 -2
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
- package/src/programmers/MigrateSchemaProgrammer.ts +9 -1
@@ -52,11 +52,11 @@ class MigrateApplication {
|
|
52
52
|
});
|
53
53
|
const $io9 = 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);
|
54
54
|
const $io10 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
55
|
-
const $io11 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
56
|
-
const $io12 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
57
|
-
const $io13 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input["default"] || "string" === typeof input["default"]) && (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 <=
|
58
|
-
const $io14 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu0(input.items) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
59
|
-
const $io15 = input => Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (null !== input.additionalItems && undefined
|
55
|
+
const $io11 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
56
|
+
const $io12 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
57
|
+
const $io13 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input["default"] || "string" === typeof input["default"]) && (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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
58
|
+
const $io14 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu0(input.items) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
59
|
+
const $io15 = input => Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu0(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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
60
60
|
const $io16 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io8(input.properties)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu0(input.additionalProperties))) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
61
61
|
const $io17 = 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);
|
62
62
|
const $io18 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu1(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
@@ -140,10 +140,10 @@ class MigrateApplication {
|
|
140
140
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu2(value);
|
141
141
|
});
|
142
142
|
const $io51 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input["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);
|
143
|
-
const $io52 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
144
|
-
const $io53 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input["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);
|
145
|
-
const $io54 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
146
|
-
const $io55 = 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 <=
|
143
|
+
const $io52 = input => (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);
|
144
|
+
const $io53 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 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);
|
145
|
+
const $io54 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 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);
|
146
|
+
const $io55 = 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);
|
147
147
|
const $io56 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io50(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);
|
148
148
|
const $io57 = 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);
|
149
149
|
const $io58 = 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);
|
@@ -158,10 +158,10 @@ class MigrateApplication {
|
|
158
158
|
return "object" === typeof value && null !== value && $iu11(value);
|
159
159
|
});
|
160
160
|
const $io64 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input["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"];
|
161
|
-
const $io65 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
162
|
-
const $io66 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input["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"];
|
163
|
-
const $io67 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
164
|
-
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 <=
|
161
|
+
const $io65 = input => (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"];
|
162
|
+
const $io66 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 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"];
|
163
|
+
const $io67 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 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"];
|
164
|
+
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"];
|
165
165
|
const $io69 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io50(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"];
|
166
166
|
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"];
|
167
167
|
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"];
|
@@ -227,10 +227,10 @@ class MigrateApplication {
|
|
227
227
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu5(value);
|
228
228
|
});
|
229
229
|
const $io103 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
230
|
-
const $io104 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
231
|
-
const $io105 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
232
|
-
const $io106 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
233
|
-
const $io107 = 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 <=
|
230
|
+
const $io104 = input => (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);
|
231
|
+
const $io105 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 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);
|
232
|
+
const $io106 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 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);
|
233
|
+
const $io107 = 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);
|
234
234
|
const $io108 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io102(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);
|
235
235
|
const $io109 = 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);
|
236
236
|
const $io110 = 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);
|
@@ -332,13 +332,13 @@ class MigrateApplication {
|
|
332
332
|
return true;
|
333
333
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu7(value);
|
334
334
|
});
|
335
|
-
const $io154 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem) && (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) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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 <=
|
335
|
+
const $io154 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem) && (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.contentMediaType || "string" === typeof input.contentMediaType) && (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)) && (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.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.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io153(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))) && (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)));
|
336
336
|
const $io155 = 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);
|
337
337
|
const $io156 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
338
|
-
const $io157 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
339
|
-
const $io158 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "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) && "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);
|
340
|
-
const $io159 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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 <=
|
341
|
-
const $io160 = 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 <=
|
338
|
+
const $io157 = input => (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);
|
339
|
+
const $io158 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "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);
|
340
|
+
const $io159 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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);
|
341
|
+
const $io160 = 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);
|
342
342
|
const $io161 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io153(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);
|
343
343
|
const $io162 = 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);
|
344
344
|
const $io163 = 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);
|
@@ -1090,29 +1090,29 @@ class MigrateApplication {
|
|
1090
1090
|
expected: "(boolean | undefined)",
|
1091
1091
|
value: input.deprecated
|
1092
1092
|
})].every(flag => flag);
|
1093
|
-
const $vo11 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
1093
|
+
const $vo11 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
1094
1094
|
path: _path + "[\"default\"]",
|
1095
|
-
expected: "number & Type<\"
|
1095
|
+
expected: "number & Type<\"int64\">",
|
1096
1096
|
value: input["default"]
|
1097
1097
|
})) || $report(_exceptionable, {
|
1098
1098
|
path: _path + "[\"default\"]",
|
1099
|
-
expected: "((number & Type<\"
|
1099
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
1100
1100
|
value: input["default"]
|
1101
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
1101
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
1102
1102
|
path: _path + ".minimum",
|
1103
|
-
expected: "number & Type<\"
|
1103
|
+
expected: "number & Type<\"int64\">",
|
1104
1104
|
value: input.minimum
|
1105
1105
|
})) || $report(_exceptionable, {
|
1106
1106
|
path: _path + ".minimum",
|
1107
|
-
expected: "((number & Type<\"
|
1107
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
1108
1108
|
value: input.minimum
|
1109
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
1109
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
1110
1110
|
path: _path + ".maximum",
|
1111
|
-
expected: "number & Type<\"
|
1111
|
+
expected: "number & Type<\"int64\">",
|
1112
1112
|
value: input.maximum
|
1113
1113
|
})) || $report(_exceptionable, {
|
1114
1114
|
path: _path + ".maximum",
|
1115
|
-
expected: "((number & Type<\"
|
1115
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
1116
1116
|
value: input.maximum
|
1117
1117
|
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
1118
1118
|
path: _path + ".exclusiveMinimum",
|
@@ -1122,13 +1122,17 @@ class MigrateApplication {
|
|
1122
1122
|
path: _path + ".exclusiveMaximum",
|
1123
1123
|
expected: "(boolean | undefined)",
|
1124
1124
|
value: input.exclusiveMaximum
|
1125
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
1125
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
1126
1126
|
path: _path + ".multipleOf",
|
1127
|
-
expected: "number & Type<\"
|
1127
|
+
expected: "number & Type<\"uint64\">",
|
1128
|
+
value: input.multipleOf
|
1129
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
1130
|
+
path: _path + ".multipleOf",
|
1131
|
+
expected: "number & ExclusiveMinimum<0>",
|
1128
1132
|
value: input.multipleOf
|
1129
1133
|
})) || $report(_exceptionable, {
|
1130
1134
|
path: _path + ".multipleOf",
|
1131
|
-
expected: "((number & Type<\"
|
1135
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
1132
1136
|
value: input.multipleOf
|
1133
1137
|
}), "integer" === input.type || $report(_exceptionable, {
|
1134
1138
|
path: _path + ".type",
|
@@ -1167,9 +1171,13 @@ class MigrateApplication {
|
|
1167
1171
|
path: _path + ".exclusiveMaximum",
|
1168
1172
|
expected: "(boolean | undefined)",
|
1169
1173
|
value: input.exclusiveMaximum
|
1170
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
1174
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
1171
1175
|
path: _path + ".multipleOf",
|
1172
|
-
expected: "
|
1176
|
+
expected: "number & ExclusiveMinimum<0>",
|
1177
|
+
value: input.multipleOf
|
1178
|
+
})) || $report(_exceptionable, {
|
1179
|
+
path: _path + ".multipleOf",
|
1180
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
1173
1181
|
value: input.multipleOf
|
1174
1182
|
}), "number" === input.type || $report(_exceptionable, {
|
1175
1183
|
path: _path + ".type",
|
@@ -1204,21 +1212,21 @@ class MigrateApplication {
|
|
1204
1212
|
path: _path + ".pattern",
|
1205
1213
|
expected: "(string | undefined)",
|
1206
1214
|
value: input.pattern
|
1207
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
1215
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
1208
1216
|
path: _path + ".minLength",
|
1209
|
-
expected: "number & Type<\"
|
1217
|
+
expected: "number & Type<\"uint64\">",
|
1210
1218
|
value: input.minLength
|
1211
1219
|
})) || $report(_exceptionable, {
|
1212
1220
|
path: _path + ".minLength",
|
1213
|
-
expected: "((number & Type<\"
|
1221
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1214
1222
|
value: input.minLength
|
1215
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
1223
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
1216
1224
|
path: _path + ".maxLength",
|
1217
|
-
expected: "number & Type<\"
|
1225
|
+
expected: "number & Type<\"uint64\">",
|
1218
1226
|
value: input.maxLength
|
1219
1227
|
})) || $report(_exceptionable, {
|
1220
1228
|
path: _path + ".maxLength",
|
1221
|
-
expected: "((number & Type<\"
|
1229
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1222
1230
|
value: input.maxLength
|
1223
1231
|
}), "string" === input.type || $report(_exceptionable, {
|
1224
1232
|
path: _path + ".type",
|
@@ -1245,21 +1253,21 @@ class MigrateApplication {
|
|
1245
1253
|
path: _path + ".items",
|
1246
1254
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
1247
1255
|
value: input.items
|
1248
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
1256
|
+
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
1249
1257
|
path: _path + ".minItems",
|
1250
|
-
expected: "number & Type<\"
|
1258
|
+
expected: "number & Type<\"uint64\">",
|
1251
1259
|
value: input.minItems
|
1252
1260
|
})) || $report(_exceptionable, {
|
1253
1261
|
path: _path + ".minItems",
|
1254
|
-
expected: "((number & Type<\"
|
1262
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1255
1263
|
value: input.minItems
|
1256
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
1264
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
1257
1265
|
path: _path + ".maxItems",
|
1258
|
-
expected: "number & Type<\"
|
1266
|
+
expected: "number & Type<\"uint64\">",
|
1259
1267
|
value: input.maxItems
|
1260
1268
|
})) || $report(_exceptionable, {
|
1261
1269
|
path: _path + ".maxItems",
|
1262
|
-
expected: "((number & Type<\"
|
1270
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1263
1271
|
value: input.maxItems
|
1264
1272
|
}), "array" === input.type || $report(_exceptionable, {
|
1265
1273
|
path: _path + ".type",
|
@@ -1296,35 +1304,31 @@ class MigrateApplication {
|
|
1296
1304
|
value: input.prefixItems
|
1297
1305
|
}), (null !== input.additionalItems || $report(_exceptionable, {
|
1298
1306
|
path: _path + ".additionalItems",
|
1299
|
-
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean)",
|
1300
|
-
value: input.additionalItems
|
1301
|
-
})) && (undefined !== input.additionalItems || $report(_exceptionable, {
|
1302
|
-
path: _path + ".additionalItems",
|
1303
|
-
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean)",
|
1307
|
+
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",
|
1304
1308
|
value: input.additionalItems
|
1305
|
-
})) && ("boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || $report(_exceptionable, {
|
1309
|
+
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || $report(_exceptionable, {
|
1306
1310
|
path: _path + ".additionalItems",
|
1307
|
-
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean)",
|
1311
|
+
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",
|
1308
1312
|
value: input.additionalItems
|
1309
1313
|
})) && $vu0(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || $report(_exceptionable, {
|
1310
1314
|
path: _path + ".additionalItems",
|
1311
|
-
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean)",
|
1315
|
+
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",
|
1312
1316
|
value: input.additionalItems
|
1313
|
-
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
1317
|
+
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
1314
1318
|
path: _path + ".minItems",
|
1315
|
-
expected: "number & Type<\"
|
1319
|
+
expected: "number & Type<\"uint64\">",
|
1316
1320
|
value: input.minItems
|
1317
1321
|
})) || $report(_exceptionable, {
|
1318
1322
|
path: _path + ".minItems",
|
1319
|
-
expected: "((number & Type<\"
|
1323
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1320
1324
|
value: input.minItems
|
1321
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
1325
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
1322
1326
|
path: _path + ".maxItems",
|
1323
|
-
expected: "number & Type<\"
|
1327
|
+
expected: "number & Type<\"uint64\">",
|
1324
1328
|
value: input.maxItems
|
1325
1329
|
})) || $report(_exceptionable, {
|
1326
1330
|
path: _path + ".maxItems",
|
1327
|
-
expected: "((number & Type<\"
|
1331
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1328
1332
|
value: input.maxItems
|
1329
1333
|
}), "array" === input.type || $report(_exceptionable, {
|
1330
1334
|
path: _path + ".type",
|
@@ -2318,13 +2322,13 @@ class MigrateApplication {
|
|
2318
2322
|
expected: "(boolean | undefined)",
|
2319
2323
|
value: input.deprecated
|
2320
2324
|
})].every(flag => flag);
|
2321
|
-
const $vo52 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
2325
|
+
const $vo52 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
2322
2326
|
path: _path + "[\"default\"]",
|
2323
|
-
expected: "number & Type<\"
|
2327
|
+
expected: "number & Type<\"int64\">",
|
2324
2328
|
value: input["default"]
|
2325
2329
|
})) || $report(_exceptionable, {
|
2326
2330
|
path: _path + "[\"default\"]",
|
2327
|
-
expected: "((number & Type<\"
|
2331
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2328
2332
|
value: input["default"]
|
2329
2333
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2330
2334
|
path: _path + "[\"enum\"]",
|
@@ -2338,21 +2342,21 @@ class MigrateApplication {
|
|
2338
2342
|
path: _path + "[\"enum\"]",
|
2339
2343
|
expected: "(Array<number> | undefined)",
|
2340
2344
|
value: input["enum"]
|
2341
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
2345
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
2342
2346
|
path: _path + ".minimum",
|
2343
|
-
expected: "number & Type<\"
|
2347
|
+
expected: "number & Type<\"int64\">",
|
2344
2348
|
value: input.minimum
|
2345
2349
|
})) || $report(_exceptionable, {
|
2346
2350
|
path: _path + ".minimum",
|
2347
|
-
expected: "((number & Type<\"
|
2351
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2348
2352
|
value: input.minimum
|
2349
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
2353
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
2350
2354
|
path: _path + ".maximum",
|
2351
|
-
expected: "number & Type<\"
|
2355
|
+
expected: "number & Type<\"int64\">",
|
2352
2356
|
value: input.maximum
|
2353
2357
|
})) || $report(_exceptionable, {
|
2354
2358
|
path: _path + ".maximum",
|
2355
|
-
expected: "((number & Type<\"
|
2359
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2356
2360
|
value: input.maximum
|
2357
2361
|
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
2358
2362
|
path: _path + ".exclusiveMinimum",
|
@@ -2362,13 +2366,17 @@ class MigrateApplication {
|
|
2362
2366
|
path: _path + ".exclusiveMaximum",
|
2363
2367
|
expected: "(boolean | undefined)",
|
2364
2368
|
value: input.exclusiveMaximum
|
2365
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
2369
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
2366
2370
|
path: _path + ".multipleOf",
|
2367
|
-
expected: "number & Type<\"
|
2371
|
+
expected: "number & Type<\"uint64\">",
|
2372
|
+
value: input.multipleOf
|
2373
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
2374
|
+
path: _path + ".multipleOf",
|
2375
|
+
expected: "number & ExclusiveMinimum<0>",
|
2368
2376
|
value: input.multipleOf
|
2369
2377
|
})) || $report(_exceptionable, {
|
2370
2378
|
path: _path + ".multipleOf",
|
2371
|
-
expected: "((number & Type<\"
|
2379
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
2372
2380
|
value: input.multipleOf
|
2373
2381
|
}), "integer" === input.type || $report(_exceptionable, {
|
2374
2382
|
path: _path + ".type",
|
@@ -2423,9 +2431,13 @@ class MigrateApplication {
|
|
2423
2431
|
path: _path + ".exclusiveMaximum",
|
2424
2432
|
expected: "(boolean | undefined)",
|
2425
2433
|
value: input.exclusiveMaximum
|
2426
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
2434
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
2427
2435
|
path: _path + ".multipleOf",
|
2428
|
-
expected: "
|
2436
|
+
expected: "number & ExclusiveMinimum<0>",
|
2437
|
+
value: input.multipleOf
|
2438
|
+
})) || $report(_exceptionable, {
|
2439
|
+
path: _path + ".multipleOf",
|
2440
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
2429
2441
|
value: input.multipleOf
|
2430
2442
|
}), "number" === input.type || $report(_exceptionable, {
|
2431
2443
|
path: _path + ".type",
|
@@ -2472,21 +2484,21 @@ class MigrateApplication {
|
|
2472
2484
|
path: _path + ".pattern",
|
2473
2485
|
expected: "(string | undefined)",
|
2474
2486
|
value: input.pattern
|
2475
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
2487
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
2476
2488
|
path: _path + ".minLength",
|
2477
|
-
expected: "number & Type<\"
|
2489
|
+
expected: "number & Type<\"uint64\">",
|
2478
2490
|
value: input.minLength
|
2479
2491
|
})) || $report(_exceptionable, {
|
2480
2492
|
path: _path + ".minLength",
|
2481
|
-
expected: "((number & Type<\"
|
2493
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
2482
2494
|
value: input.minLength
|
2483
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
2495
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
2484
2496
|
path: _path + ".maxLength",
|
2485
|
-
expected: "number & Type<\"
|
2497
|
+
expected: "number & Type<\"uint64\">",
|
2486
2498
|
value: input.maxLength
|
2487
2499
|
})) || $report(_exceptionable, {
|
2488
2500
|
path: _path + ".maxLength",
|
2489
|
-
expected: "((number & Type<\"
|
2501
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
2490
2502
|
value: input.maxLength
|
2491
2503
|
}), "string" === input.type || $report(_exceptionable, {
|
2492
2504
|
path: _path + ".type",
|
@@ -2521,21 +2533,21 @@ class MigrateApplication {
|
|
2521
2533
|
path: _path + ".uniqueItems",
|
2522
2534
|
expected: "(boolean | undefined)",
|
2523
2535
|
value: input.uniqueItems
|
2524
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
2536
|
+
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
2525
2537
|
path: _path + ".minItems",
|
2526
|
-
expected: "number & Type<\"
|
2538
|
+
expected: "number & Type<\"uint64\">",
|
2527
2539
|
value: input.minItems
|
2528
2540
|
})) || $report(_exceptionable, {
|
2529
2541
|
path: _path + ".minItems",
|
2530
|
-
expected: "((number & Type<\"
|
2542
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
2531
2543
|
value: input.minItems
|
2532
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
2544
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
2533
2545
|
path: _path + ".maxItems",
|
2534
|
-
expected: "number & Type<\"
|
2546
|
+
expected: "number & Type<\"uint64\">",
|
2535
2547
|
value: input.maxItems
|
2536
2548
|
})) || $report(_exceptionable, {
|
2537
2549
|
path: _path + ".maxItems",
|
2538
|
-
expected: "((number & Type<\"
|
2550
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
2539
2551
|
value: input.maxItems
|
2540
2552
|
}), "array" === input.type || $report(_exceptionable, {
|
2541
2553
|
path: _path + ".type",
|
@@ -2820,13 +2832,13 @@ class MigrateApplication {
|
|
2820
2832
|
expected: "string",
|
2821
2833
|
value: input["in"]
|
2822
2834
|
})].every(flag => flag);
|
2823
|
-
const $vo65 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
2835
|
+
const $vo65 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
2824
2836
|
path: _path + "[\"default\"]",
|
2825
|
-
expected: "number & Type<\"
|
2837
|
+
expected: "number & Type<\"int64\">",
|
2826
2838
|
value: input["default"]
|
2827
2839
|
})) || $report(_exceptionable, {
|
2828
2840
|
path: _path + "[\"default\"]",
|
2829
|
-
expected: "((number & Type<\"
|
2841
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2830
2842
|
value: input["default"]
|
2831
2843
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2832
2844
|
path: _path + "[\"enum\"]",
|
@@ -2840,21 +2852,21 @@ class MigrateApplication {
|
|
2840
2852
|
path: _path + "[\"enum\"]",
|
2841
2853
|
expected: "(Array<number> | undefined)",
|
2842
2854
|
value: input["enum"]
|
2843
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
2855
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
2844
2856
|
path: _path + ".minimum",
|
2845
|
-
expected: "number & Type<\"
|
2857
|
+
expected: "number & Type<\"int64\">",
|
2846
2858
|
value: input.minimum
|
2847
2859
|
})) || $report(_exceptionable, {
|
2848
2860
|
path: _path + ".minimum",
|
2849
|
-
expected: "((number & Type<\"
|
2861
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2850
2862
|
value: input.minimum
|
2851
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
2863
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
2852
2864
|
path: _path + ".maximum",
|
2853
|
-
expected: "number & Type<\"
|
2865
|
+
expected: "number & Type<\"int64\">",
|
2854
2866
|
value: input.maximum
|
2855
2867
|
})) || $report(_exceptionable, {
|
2856
2868
|
path: _path + ".maximum",
|
2857
|
-
expected: "((number & Type<\"
|
2869
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2858
2870
|
value: input.maximum
|
2859
2871
|
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
2860
2872
|
path: _path + ".exclusiveMinimum",
|
@@ -2864,13 +2876,17 @@ class MigrateApplication {
|
|
2864
2876
|
path: _path + ".exclusiveMaximum",
|
2865
2877
|
expected: "(boolean | undefined)",
|
2866
2878
|
value: input.exclusiveMaximum
|
2867
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
2879
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
2880
|
+
path: _path + ".multipleOf",
|
2881
|
+
expected: "number & Type<\"uint64\">",
|
2882
|
+
value: input.multipleOf
|
2883
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
2868
2884
|
path: _path + ".multipleOf",
|
2869
|
-
expected: "number &
|
2885
|
+
expected: "number & ExclusiveMinimum<0>",
|
2870
2886
|
value: input.multipleOf
|
2871
2887
|
})) || $report(_exceptionable, {
|
2872
2888
|
path: _path + ".multipleOf",
|
2873
|
-
expected: "((number & Type<\"
|
2889
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
2874
2890
|
value: input.multipleOf
|
2875
2891
|
}), "integer" === input.type || $report(_exceptionable, {
|
2876
2892
|
path: _path + ".type",
|
@@ -2933,9 +2949,13 @@ class MigrateApplication {
|
|
2933
2949
|
path: _path + ".exclusiveMaximum",
|
2934
2950
|
expected: "(boolean | undefined)",
|
2935
2951
|
value: input.exclusiveMaximum
|
2936
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
2952
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
2937
2953
|
path: _path + ".multipleOf",
|
2938
|
-
expected: "
|
2954
|
+
expected: "number & ExclusiveMinimum<0>",
|
2955
|
+
value: input.multipleOf
|
2956
|
+
})) || $report(_exceptionable, {
|
2957
|
+
path: _path + ".multipleOf",
|
2958
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
2939
2959
|
value: input.multipleOf
|
2940
2960
|
}), "number" === input.type || $report(_exceptionable, {
|
2941
2961
|
path: _path + ".type",
|
@@ -2990,21 +3010,21 @@ class MigrateApplication {
|
|
2990
3010
|
path: _path + ".pattern",
|
2991
3011
|
expected: "(string | undefined)",
|
2992
3012
|
value: input.pattern
|
2993
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
3013
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
2994
3014
|
path: _path + ".minLength",
|
2995
|
-
expected: "number & Type<\"
|
3015
|
+
expected: "number & Type<\"uint64\">",
|
2996
3016
|
value: input.minLength
|
2997
3017
|
})) || $report(_exceptionable, {
|
2998
3018
|
path: _path + ".minLength",
|
2999
|
-
expected: "((number & Type<\"
|
3019
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
3000
3020
|
value: input.minLength
|
3001
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
3021
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
3002
3022
|
path: _path + ".maxLength",
|
3003
|
-
expected: "number & Type<\"
|
3023
|
+
expected: "number & Type<\"uint64\">",
|
3004
3024
|
value: input.maxLength
|
3005
3025
|
})) || $report(_exceptionable, {
|
3006
3026
|
path: _path + ".maxLength",
|
3007
|
-
expected: "((number & Type<\"
|
3027
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
3008
3028
|
value: input.maxLength
|
3009
3029
|
}), "string" === input.type || $report(_exceptionable, {
|
3010
3030
|
path: _path + ".type",
|
@@ -3047,21 +3067,21 @@ class MigrateApplication {
|
|
3047
3067
|
path: _path + ".uniqueItems",
|
3048
3068
|
expected: "(boolean | undefined)",
|
3049
3069
|
value: input.uniqueItems
|
3050
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
3070
|
+
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
3051
3071
|
path: _path + ".minItems",
|
3052
|
-
expected: "number & Type<\"
|
3072
|
+
expected: "number & Type<\"uint64\">",
|
3053
3073
|
value: input.minItems
|
3054
3074
|
})) || $report(_exceptionable, {
|
3055
3075
|
path: _path + ".minItems",
|
3056
|
-
expected: "((number & Type<\"
|
3076
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
3057
3077
|
value: input.minItems
|
3058
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
3078
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
3059
3079
|
path: _path + ".maxItems",
|
3060
|
-
expected: "number & Type<\"
|
3080
|
+
expected: "number & Type<\"uint64\">",
|
3061
3081
|
value: input.maxItems
|
3062
3082
|
})) || $report(_exceptionable, {
|
3063
3083
|
path: _path + ".maxItems",
|
3064
|
-
expected: "((number & Type<\"
|
3084
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
3065
3085
|
value: input.maxItems
|
3066
3086
|
}), "array" === input.type || $report(_exceptionable, {
|
3067
3087
|
path: _path + ".type",
|
@@ -4089,13 +4109,13 @@ class MigrateApplication {
|
|
4089
4109
|
expected: "(boolean | undefined)",
|
4090
4110
|
value: input.deprecated
|
4091
4111
|
})].every(flag => flag);
|
4092
|
-
const $vo104 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
4112
|
+
const $vo104 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
4093
4113
|
path: _path + "[\"default\"]",
|
4094
|
-
expected: "number & Type<\"
|
4114
|
+
expected: "number & Type<\"int64\">",
|
4095
4115
|
value: input["default"]
|
4096
4116
|
})) || $report(_exceptionable, {
|
4097
4117
|
path: _path + "[\"default\"]",
|
4098
|
-
expected: "((number & Type<\"
|
4118
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
4099
4119
|
value: input["default"]
|
4100
4120
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
4101
4121
|
path: _path + "[\"enum\"]",
|
@@ -4109,21 +4129,21 @@ class MigrateApplication {
|
|
4109
4129
|
path: _path + "[\"enum\"]",
|
4110
4130
|
expected: "(Array<number> | undefined)",
|
4111
4131
|
value: input["enum"]
|
4112
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
4132
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
4113
4133
|
path: _path + ".minimum",
|
4114
|
-
expected: "number & Type<\"
|
4134
|
+
expected: "number & Type<\"int64\">",
|
4115
4135
|
value: input.minimum
|
4116
4136
|
})) || $report(_exceptionable, {
|
4117
4137
|
path: _path + ".minimum",
|
4118
|
-
expected: "((number & Type<\"
|
4138
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
4119
4139
|
value: input.minimum
|
4120
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
4140
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
4121
4141
|
path: _path + ".maximum",
|
4122
|
-
expected: "number & Type<\"
|
4142
|
+
expected: "number & Type<\"int64\">",
|
4123
4143
|
value: input.maximum
|
4124
4144
|
})) || $report(_exceptionable, {
|
4125
4145
|
path: _path + ".maximum",
|
4126
|
-
expected: "((number & Type<\"
|
4146
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
4127
4147
|
value: input.maximum
|
4128
4148
|
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
4129
4149
|
path: _path + ".exclusiveMinimum",
|
@@ -4133,13 +4153,17 @@ class MigrateApplication {
|
|
4133
4153
|
path: _path + ".exclusiveMaximum",
|
4134
4154
|
expected: "(boolean | undefined)",
|
4135
4155
|
value: input.exclusiveMaximum
|
4136
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
4156
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
4157
|
+
path: _path + ".multipleOf",
|
4158
|
+
expected: "number & Type<\"uint64\">",
|
4159
|
+
value: input.multipleOf
|
4160
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
4137
4161
|
path: _path + ".multipleOf",
|
4138
|
-
expected: "number &
|
4162
|
+
expected: "number & ExclusiveMinimum<0>",
|
4139
4163
|
value: input.multipleOf
|
4140
4164
|
})) || $report(_exceptionable, {
|
4141
4165
|
path: _path + ".multipleOf",
|
4142
|
-
expected: "((number & Type<\"
|
4166
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
4143
4167
|
value: input.multipleOf
|
4144
4168
|
}), "integer" === input.type || $report(_exceptionable, {
|
4145
4169
|
path: _path + ".type",
|
@@ -4194,9 +4218,13 @@ class MigrateApplication {
|
|
4194
4218
|
path: _path + ".exclusiveMaximum",
|
4195
4219
|
expected: "(boolean | undefined)",
|
4196
4220
|
value: input.exclusiveMaximum
|
4197
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
4221
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
4198
4222
|
path: _path + ".multipleOf",
|
4199
|
-
expected: "
|
4223
|
+
expected: "number & ExclusiveMinimum<0>",
|
4224
|
+
value: input.multipleOf
|
4225
|
+
})) || $report(_exceptionable, {
|
4226
|
+
path: _path + ".multipleOf",
|
4227
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
4200
4228
|
value: input.multipleOf
|
4201
4229
|
}), "number" === input.type || $report(_exceptionable, {
|
4202
4230
|
path: _path + ".type",
|
@@ -4243,21 +4271,21 @@ class MigrateApplication {
|
|
4243
4271
|
path: _path + ".pattern",
|
4244
4272
|
expected: "(string | undefined)",
|
4245
4273
|
value: input.pattern
|
4246
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
4274
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
4247
4275
|
path: _path + ".minLength",
|
4248
|
-
expected: "number & Type<\"
|
4276
|
+
expected: "number & Type<\"uint64\">",
|
4249
4277
|
value: input.minLength
|
4250
4278
|
})) || $report(_exceptionable, {
|
4251
4279
|
path: _path + ".minLength",
|
4252
|
-
expected: "((number & Type<\"
|
4280
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
4253
4281
|
value: input.minLength
|
4254
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
4282
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
4255
4283
|
path: _path + ".maxLength",
|
4256
|
-
expected: "number & Type<\"
|
4284
|
+
expected: "number & Type<\"uint64\">",
|
4257
4285
|
value: input.maxLength
|
4258
4286
|
})) || $report(_exceptionable, {
|
4259
4287
|
path: _path + ".maxLength",
|
4260
|
-
expected: "((number & Type<\"
|
4288
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
4261
4289
|
value: input.maxLength
|
4262
4290
|
}), "string" === input.type || $report(_exceptionable, {
|
4263
4291
|
path: _path + ".type",
|
@@ -4292,21 +4320,21 @@ class MigrateApplication {
|
|
4292
4320
|
path: _path + ".uniqueItems",
|
4293
4321
|
expected: "(boolean | undefined)",
|
4294
4322
|
value: input.uniqueItems
|
4295
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
4323
|
+
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
4296
4324
|
path: _path + ".minItems",
|
4297
|
-
expected: "number & Type<\"
|
4325
|
+
expected: "number & Type<\"uint64\">",
|
4298
4326
|
value: input.minItems
|
4299
4327
|
})) || $report(_exceptionable, {
|
4300
4328
|
path: _path + ".minItems",
|
4301
|
-
expected: "((number & Type<\"
|
4329
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
4302
4330
|
value: input.minItems
|
4303
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
4331
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
4304
4332
|
path: _path + ".maxItems",
|
4305
|
-
expected: "number & Type<\"
|
4333
|
+
expected: "number & Type<\"uint64\">",
|
4306
4334
|
value: input.maxItems
|
4307
4335
|
})) || $report(_exceptionable, {
|
4308
4336
|
path: _path + ".maxItems",
|
4309
|
-
expected: "((number & Type<\"
|
4337
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
4310
4338
|
value: input.maxItems
|
4311
4339
|
}), "array" === input.type || $report(_exceptionable, {
|
4312
4340
|
path: _path + ".type",
|
@@ -5522,9 +5550,13 @@ class MigrateApplication {
|
|
5522
5550
|
path: _path + ".exclusiveMaximum",
|
5523
5551
|
expected: "(boolean | number | undefined)",
|
5524
5552
|
value: input.exclusiveMaximum
|
5525
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
5553
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
5526
5554
|
path: _path + ".multipleOf",
|
5527
|
-
expected: "
|
5555
|
+
expected: "number & ExclusiveMinimum<0>",
|
5556
|
+
value: input.multipleOf
|
5557
|
+
})) || $report(_exceptionable, {
|
5558
|
+
path: _path + ".multipleOf",
|
5559
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
5528
5560
|
value: input.multipleOf
|
5529
5561
|
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || $report(_exceptionable, {
|
5530
5562
|
path: _path + ".contentMediaType",
|
@@ -5538,21 +5570,21 @@ class MigrateApplication {
|
|
5538
5570
|
path: _path + ".pattern",
|
5539
5571
|
expected: "(string | undefined)",
|
5540
5572
|
value: input.pattern
|
5541
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
5573
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
5542
5574
|
path: _path + ".minLength",
|
5543
|
-
expected: "number & Type<\"
|
5575
|
+
expected: "number & Type<\"uint64\">",
|
5544
5576
|
value: input.minLength
|
5545
5577
|
})) || $report(_exceptionable, {
|
5546
5578
|
path: _path + ".minLength",
|
5547
|
-
expected: "((number & Type<\"
|
5579
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5548
5580
|
value: input.minLength
|
5549
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
5581
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
5550
5582
|
path: _path + ".maxLength",
|
5551
|
-
expected: "number & Type<\"
|
5583
|
+
expected: "number & Type<\"uint64\">",
|
5552
5584
|
value: input.maxLength
|
5553
5585
|
})) || $report(_exceptionable, {
|
5554
5586
|
path: _path + ".maxLength",
|
5555
|
-
expected: "((number & Type<\"
|
5587
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5556
5588
|
value: input.maxLength
|
5557
5589
|
}), (null !== input.items || $report(_exceptionable, {
|
5558
5590
|
path: _path + ".items",
|
@@ -5578,21 +5610,21 @@ class MigrateApplication {
|
|
5578
5610
|
path: _path + ".items",
|
5579
5611
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5580
5612
|
value: input.items
|
5581
|
-
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
5613
|
+
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
5582
5614
|
path: _path + ".minItems",
|
5583
|
-
expected: "number & Type<\"
|
5615
|
+
expected: "number & Type<\"uint64\">",
|
5584
5616
|
value: input.minItems
|
5585
5617
|
})) || $report(_exceptionable, {
|
5586
5618
|
path: _path + ".minItems",
|
5587
|
-
expected: "((number & Type<\"
|
5619
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5588
5620
|
value: input.minItems
|
5589
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
5621
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
5590
5622
|
path: _path + ".maxItems",
|
5591
|
-
expected: "number & Type<\"
|
5623
|
+
expected: "number & Type<\"uint64\">",
|
5592
5624
|
value: input.maxItems
|
5593
5625
|
})) || $report(_exceptionable, {
|
5594
5626
|
path: _path + ".maxItems",
|
5595
|
-
expected: "((number & Type<\"
|
5627
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5596
5628
|
value: input.maxItems
|
5597
5629
|
}), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || $report(_exceptionable, {
|
5598
5630
|
path: _path + ".prefixItems",
|
@@ -5769,13 +5801,13 @@ class MigrateApplication {
|
|
5769
5801
|
expected: "(boolean | undefined)",
|
5770
5802
|
value: input.deprecated
|
5771
5803
|
})].every(flag => flag);
|
5772
|
-
const $vo157 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
5804
|
+
const $vo157 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
5773
5805
|
path: _path + "[\"default\"]",
|
5774
|
-
expected: "number & Type<\"
|
5806
|
+
expected: "number & Type<\"int64\">",
|
5775
5807
|
value: input["default"]
|
5776
5808
|
})) || $report(_exceptionable, {
|
5777
5809
|
path: _path + "[\"default\"]",
|
5778
|
-
expected: "((number & Type<\"
|
5810
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
5779
5811
|
value: input["default"]
|
5780
5812
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
5781
5813
|
path: _path + "[\"enum\"]",
|
@@ -5789,45 +5821,49 @@ class MigrateApplication {
|
|
5789
5821
|
path: _path + "[\"enum\"]",
|
5790
5822
|
expected: "(Array<number> | undefined)",
|
5791
5823
|
value: input["enum"]
|
5792
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
5824
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
5793
5825
|
path: _path + ".minimum",
|
5794
|
-
expected: "number & Type<\"
|
5826
|
+
expected: "number & Type<\"int64\">",
|
5795
5827
|
value: input.minimum
|
5796
5828
|
})) || $report(_exceptionable, {
|
5797
5829
|
path: _path + ".minimum",
|
5798
|
-
expected: "((number & Type<\"
|
5830
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
5799
5831
|
value: input.minimum
|
5800
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
5832
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
5801
5833
|
path: _path + ".maximum",
|
5802
|
-
expected: "number & Type<\"
|
5834
|
+
expected: "number & Type<\"int64\">",
|
5803
5835
|
value: input.maximum
|
5804
5836
|
})) || $report(_exceptionable, {
|
5805
5837
|
path: _path + ".maximum",
|
5806
|
-
expected: "((number & Type<\"
|
5838
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
5807
5839
|
value: input.maximum
|
5808
|
-
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -
|
5840
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000 || $report(_exceptionable, {
|
5809
5841
|
path: _path + ".exclusiveMinimum",
|
5810
|
-
expected: "number & Type<\"
|
5842
|
+
expected: "number & Type<\"int64\">",
|
5811
5843
|
value: input.exclusiveMinimum
|
5812
5844
|
})) || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
5813
5845
|
path: _path + ".exclusiveMinimum",
|
5814
|
-
expected: "((number & Type<\"
|
5846
|
+
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
5815
5847
|
value: input.exclusiveMinimum
|
5816
|
-
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -
|
5848
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000 || $report(_exceptionable, {
|
5817
5849
|
path: _path + ".exclusiveMaximum",
|
5818
|
-
expected: "number & Type<\"
|
5850
|
+
expected: "number & Type<\"int64\">",
|
5819
5851
|
value: input.exclusiveMaximum
|
5820
5852
|
})) || "boolean" === typeof input.exclusiveMaximum || $report(_exceptionable, {
|
5821
5853
|
path: _path + ".exclusiveMaximum",
|
5822
|
-
expected: "((number & Type<\"
|
5854
|
+
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
5823
5855
|
value: input.exclusiveMaximum
|
5824
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
5856
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
5857
|
+
path: _path + ".multipleOf",
|
5858
|
+
expected: "number & Type<\"uint64\">",
|
5859
|
+
value: input.multipleOf
|
5860
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
5825
5861
|
path: _path + ".multipleOf",
|
5826
|
-
expected: "number &
|
5862
|
+
expected: "number & ExclusiveMinimum<0>",
|
5827
5863
|
value: input.multipleOf
|
5828
5864
|
})) || $report(_exceptionable, {
|
5829
5865
|
path: _path + ".multipleOf",
|
5830
|
-
expected: "((number & Type<\"
|
5866
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
5831
5867
|
value: input.multipleOf
|
5832
5868
|
}), "integer" === input.type || $report(_exceptionable, {
|
5833
5869
|
path: _path + ".type",
|
@@ -5882,9 +5918,13 @@ class MigrateApplication {
|
|
5882
5918
|
path: _path + ".exclusiveMaximum",
|
5883
5919
|
expected: "(boolean | number | undefined)",
|
5884
5920
|
value: input.exclusiveMaximum
|
5885
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
5921
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
5886
5922
|
path: _path + ".multipleOf",
|
5887
|
-
expected: "
|
5923
|
+
expected: "number & ExclusiveMinimum<0>",
|
5924
|
+
value: input.multipleOf
|
5925
|
+
})) || $report(_exceptionable, {
|
5926
|
+
path: _path + ".multipleOf",
|
5927
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
5888
5928
|
value: input.multipleOf
|
5889
5929
|
}), "number" === input.type || $report(_exceptionable, {
|
5890
5930
|
path: _path + ".type",
|
@@ -5935,21 +5975,21 @@ class MigrateApplication {
|
|
5935
5975
|
path: _path + ".pattern",
|
5936
5976
|
expected: "(string | undefined)",
|
5937
5977
|
value: input.pattern
|
5938
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
5978
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
5939
5979
|
path: _path + ".minLength",
|
5940
|
-
expected: "number & Type<\"
|
5980
|
+
expected: "number & Type<\"uint64\">",
|
5941
5981
|
value: input.minLength
|
5942
5982
|
})) || $report(_exceptionable, {
|
5943
5983
|
path: _path + ".minLength",
|
5944
|
-
expected: "((number & Type<\"
|
5984
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5945
5985
|
value: input.minLength
|
5946
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
5986
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
5947
5987
|
path: _path + ".maxLength",
|
5948
|
-
expected: "number & Type<\"
|
5988
|
+
expected: "number & Type<\"uint64\">",
|
5949
5989
|
value: input.maxLength
|
5950
5990
|
})) || $report(_exceptionable, {
|
5951
5991
|
path: _path + ".maxLength",
|
5952
|
-
expected: "((number & Type<\"
|
5992
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5953
5993
|
value: input.maxLength
|
5954
5994
|
}), "string" === input.type || $report(_exceptionable, {
|
5955
5995
|
path: _path + ".type",
|
@@ -6028,21 +6068,21 @@ class MigrateApplication {
|
|
6028
6068
|
path: _path + ".additionalItems",
|
6029
6069
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6030
6070
|
value: input.additionalItems
|
6031
|
-
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
6071
|
+
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
6032
6072
|
path: _path + ".minItems",
|
6033
|
-
expected: "number & Type<\"
|
6073
|
+
expected: "number & Type<\"uint64\">",
|
6034
6074
|
value: input.minItems
|
6035
6075
|
})) || $report(_exceptionable, {
|
6036
6076
|
path: _path + ".minItems",
|
6037
|
-
expected: "((number & Type<\"
|
6077
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
6038
6078
|
value: input.minItems
|
6039
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
6079
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
6040
6080
|
path: _path + ".maxItems",
|
6041
|
-
expected: "number & Type<\"
|
6081
|
+
expected: "number & Type<\"uint64\">",
|
6042
6082
|
value: input.maxItems
|
6043
6083
|
})) || $report(_exceptionable, {
|
6044
6084
|
path: _path + ".maxItems",
|
6045
|
-
expected: "((number & Type<\"
|
6085
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
6046
6086
|
value: input.maxItems
|
6047
6087
|
}), "array" === input.type || $report(_exceptionable, {
|
6048
6088
|
path: _path + ".type",
|