@agentica/core 0.34.2 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Agentica.d.ts +9 -10
- package/lib/Agentica.js.map +1 -1
- package/lib/MicroAgentica.d.ts +9 -10
- package/lib/MicroAgentica.js.map +1 -1
- package/lib/constants/AgenticaDefaultPrompt.d.ts +1 -2
- package/lib/constants/AgenticaDefaultPrompt.js.map +1 -1
- package/lib/context/AgenticaContext.d.ts +6 -7
- package/lib/context/AgenticaOperation.d.ts +5 -5
- package/lib/context/AgenticaOperationCollection.d.ts +5 -6
- package/lib/context/AgenticaOperationSelection.d.ts +2 -3
- package/lib/context/MicroAgenticaContext.d.ts +5 -6
- package/lib/context/internal/AgenticaOperationComposer.js.map +1 -1
- package/lib/context/internal/AgenticaOperationComposer.spec.js +41 -9
- package/lib/context/internal/AgenticaOperationComposer.spec.js.map +1 -1
- package/lib/context/internal/__IChatInitialApplication.d.ts +1 -1
- package/lib/context/internal/isAgenticaContext.js.map +1 -1
- package/lib/events/AgenticaCallEvent.d.ts +2 -3
- package/lib/events/AgenticaCancelEvent.d.ts +2 -3
- package/lib/events/AgenticaDescribeEvent.d.ts +3 -4
- package/lib/events/AgenticaEvent.d.ts +10 -11
- package/lib/events/AgenticaExecuteEvent.d.ts +5 -5
- package/lib/events/AgenticaJsonParseErrorEvent.d.ts +2 -3
- package/lib/events/AgenticaSelectEvent.d.ts +3 -4
- package/lib/events/AgenticaValidateEvent.d.ts +2 -3
- package/lib/events/MicroAgenticaEvent.d.ts +8 -9
- package/lib/factory/events.d.ts +22 -22
- package/lib/factory/events.js.map +1 -1
- package/lib/factory/histories.js.map +1 -1
- package/lib/factory/operations.d.ts +3 -4
- package/lib/factory/operations.js.map +1 -1
- package/lib/functional/assertHttpController.d.ts +6 -10
- package/lib/functional/assertHttpController.js +775 -91
- package/lib/functional/assertHttpController.js.map +1 -1
- package/lib/functional/assertHttpLlmApplication.d.ts +4 -8
- package/lib/functional/assertHttpLlmApplication.js +775 -91
- package/lib/functional/assertHttpLlmApplication.js.map +1 -1
- package/lib/functional/assertMcpController.d.ts +5 -6
- package/lib/functional/assertMcpController.js +201 -32
- package/lib/functional/assertMcpController.js.map +1 -1
- package/lib/functional/validateHttpController.d.ts +6 -10
- package/lib/functional/validateHttpController.js +636 -89
- package/lib/functional/validateHttpController.js.map +1 -1
- package/lib/functional/validateHttpLlmApplication.d.ts +4 -8
- package/lib/functional/validateHttpLlmApplication.js +636 -89
- package/lib/functional/validateHttpLlmApplication.js.map +1 -1
- package/lib/functional/validateMcpController.d.ts +5 -6
- package/lib/functional/validateMcpController.js +366 -61
- package/lib/functional/validateMcpController.js.map +1 -1
- package/lib/histories/AgenticaCancelHistory.d.ts +2 -3
- package/lib/histories/AgenticaDescribeHistory.d.ts +2 -3
- package/lib/histories/AgenticaExecuteHistory.d.ts +5 -5
- package/lib/histories/AgenticaHistory.d.ts +7 -8
- package/lib/histories/AgenticaSelectHistory.d.ts +2 -3
- package/lib/histories/MicroAgenticaHistory.d.ts +5 -6
- package/lib/index.mjs +3964 -849
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/call.d.ts +1 -2
- package/lib/orchestrate/call.js.map +1 -1
- package/lib/orchestrate/cancel.d.ts +1 -2
- package/lib/orchestrate/cancel.js +4 -4
- package/lib/orchestrate/cancel.js.map +1 -1
- package/lib/orchestrate/describe.d.ts +1 -2
- package/lib/orchestrate/describe.js.map +1 -1
- package/lib/orchestrate/execute.d.ts +1 -2
- package/lib/orchestrate/execute.js.map +1 -1
- package/lib/orchestrate/initialize.d.ts +1 -2
- package/lib/orchestrate/initialize.js +262 -83
- package/lib/orchestrate/initialize.js.map +1 -1
- package/lib/orchestrate/internal/cancelFunctionFromContext.js.map +1 -1
- package/lib/orchestrate/internal/selectFunctionFromContext.js.map +1 -1
- package/lib/orchestrate/select.d.ts +1 -2
- package/lib/orchestrate/select.js +4 -4
- package/lib/orchestrate/select.js.map +1 -1
- package/lib/structures/IAgenticaConfig.d.ts +3 -4
- package/lib/structures/IAgenticaController.d.ts +11 -14
- package/lib/structures/IAgenticaExecutor.d.ts +6 -7
- package/lib/structures/IAgenticaProps.d.ts +3 -8
- package/lib/structures/IAgenticaSystemPrompt.d.ts +9 -10
- package/lib/structures/IMicroAgenticaConfig.d.ts +3 -4
- package/lib/structures/IMicroAgenticaExecutor.d.ts +3 -4
- package/lib/structures/IMicroAgenticaProps.d.ts +3 -8
- package/lib/structures/IMicroAgenticaSystemPrompt.d.ts +6 -7
- package/lib/transformers/transformHistory.js.map +1 -1
- package/lib/utils/ChatGptCompletionStreamingUtil.spec.js +2 -2
- package/lib/utils/ChatGptCompletionStreamingUtil.spec.js.map +1 -1
- package/lib/utils/request.d.ts +2 -3
- package/lib/utils/request.js.map +1 -1
- package/package.json +8 -8
- package/src/Agentica.ts +24 -26
- package/src/MicroAgentica.ts +27 -29
- package/src/constants/AgenticaDefaultPrompt.ts +2 -4
- package/src/context/AgenticaContext.ts +6 -7
- package/src/context/AgenticaOperation.ts +14 -14
- package/src/context/AgenticaOperationCollection.ts +5 -8
- package/src/context/AgenticaOperationSelection.ts +2 -4
- package/src/context/MicroAgenticaContext.ts +5 -6
- package/src/context/internal/AgenticaOperationComposer.spec.ts +50 -18
- package/src/context/internal/AgenticaOperationComposer.ts +21 -23
- package/src/context/internal/__IChatInitialApplication.ts +1 -1
- package/src/context/internal/isAgenticaContext.ts +4 -6
- package/src/events/AgenticaCallEvent.ts +2 -5
- package/src/events/AgenticaCancelEvent.ts +2 -6
- package/src/events/AgenticaDescribeEvent.ts +3 -7
- package/src/events/AgenticaEvent.ts +17 -19
- package/src/events/AgenticaEvent.type.ts +1 -1
- package/src/events/AgenticaExecuteEvent.ts +12 -12
- package/src/events/AgenticaJsonParseErrorEvent.ts +2 -4
- package/src/events/AgenticaSelectEvent.ts +3 -7
- package/src/events/AgenticaValidateEvent.ts +2 -5
- package/src/events/MicroAgenticaEvent.ts +13 -15
- package/src/factory/events.ts +24 -24
- package/src/factory/histories.ts +15 -17
- package/src/factory/operations.ts +3 -5
- package/src/functional/assertHttpController.ts +7 -15
- package/src/functional/assertHttpLlmApplication.ts +4 -13
- package/src/functional/assertMcpController.ts +6 -8
- package/src/functional/validateHttpController.ts +7 -15
- package/src/functional/validateHttpLlmApplication.ts +4 -13
- package/src/functional/validateMcpController.ts +6 -11
- package/src/histories/AgenticaCancelHistory.ts +2 -6
- package/src/histories/AgenticaDescribeHistory.ts +2 -6
- package/src/histories/AgenticaExecuteHistory.ts +7 -9
- package/src/histories/AgenticaHistory.ts +11 -13
- package/src/histories/AgenticaSelectHistory.ts +2 -6
- package/src/histories/MicroAgenticaHistory.ts +7 -9
- package/src/orchestrate/call.ts +55 -56
- package/src/orchestrate/cancel.ts +11 -12
- package/src/orchestrate/describe.ts +4 -5
- package/src/orchestrate/execute.ts +3 -5
- package/src/orchestrate/initialize.ts +4 -5
- package/src/orchestrate/internal/cancelFunctionFromContext.ts +4 -6
- package/src/orchestrate/internal/selectFunctionFromContext.ts +5 -9
- package/src/orchestrate/select.ts +11 -12
- package/src/structures/IAgenticaConfig.ts +4 -6
- package/src/structures/IAgenticaController.ts +11 -14
- package/src/structures/IAgenticaExecutor.ts +9 -11
- package/src/structures/IAgenticaProps.ts +3 -10
- package/src/structures/IAgenticaSystemPrompt.ts +9 -11
- package/src/structures/IMicroAgenticaConfig.ts +3 -5
- package/src/structures/IMicroAgenticaExecutor.ts +4 -6
- package/src/structures/IMicroAgenticaProps.ts +3 -10
- package/src/structures/IMicroAgenticaSystemPrompt.ts +6 -8
- package/src/transformers/transformHistory.ts +19 -21
- package/src/utils/ChatGptCompletionStreamingUtil.spec.ts +4 -5
- package/src/utils/request.ts +2 -3
|
@@ -72,22 +72,22 @@ function validateMcpController(props) {
|
|
|
72
72
|
const { ListToolsResultSchema } = yield Promise.resolve().then(() => __importStar(require("@modelcontextprotocol/sdk/types.js")));
|
|
73
73
|
// get list of tools
|
|
74
74
|
const { tools } = yield props.client.request({ method: "tools/list" }, ListToolsResultSchema);
|
|
75
|
-
const inspect = (() => { const _io0 = input => "string" === typeof input.name && input.name.length <= 64 && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.inputSchema && null !== input.inputSchema && _iu1(input.inputSchema)); const _io1 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _io2 = input => Object.keys(input).every(key => {
|
|
75
|
+
const inspect = (() => { const _io0 = input => "string" === typeof input.name && input.name.length <= 64 && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.inputSchema && null !== input.inputSchema && _iu1(input.inputSchema)); const _io1 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _io2 = input => Object.keys(input).every(key => {
|
|
76
76
|
const value = input[key];
|
|
77
77
|
if (undefined === value)
|
|
78
78
|
return true;
|
|
79
79
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
80
|
-
}); const _io3 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io4 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.
|
|
80
|
+
}); const _io3 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io4 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _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)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (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) && _iu0(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && "string" === typeof input.$ref; const _io5 = input => Object.keys(input).every(key => {
|
|
81
81
|
const value = input[key];
|
|
82
82
|
if (undefined === value)
|
|
83
83
|
return true;
|
|
84
84
|
return true;
|
|
85
|
-
}); const _io6 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io7 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io8 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io9 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io10 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io11 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _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) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io12 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io13 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io14 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io15 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io16 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io17 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io18(input.mapping)); const _io18 = input => Object.keys(input).every(key => {
|
|
85
|
+
}); const _io6 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io7 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io8 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io9 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io10 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io11 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _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) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io12 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io13 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io14 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io15 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io16 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io17 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io18(input.mapping)); const _io18 = input => Object.keys(input).every(key => {
|
|
86
86
|
const value = input[key];
|
|
87
87
|
if (undefined === value)
|
|
88
88
|
return true;
|
|
89
89
|
return "string" === typeof value;
|
|
90
|
-
}); const _io19 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io20 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io21 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _iu0 = input => (() => {
|
|
90
|
+
}); const _io19 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io20 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io21 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _iu0 = input => (() => {
|
|
91
91
|
if ("object" === input.type)
|
|
92
92
|
return _io3(input);
|
|
93
93
|
else if (Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
|
@@ -208,7 +208,15 @@ function validateMcpController(props) {
|
|
|
208
208
|
path: _path + ".deprecated",
|
|
209
209
|
expected: "(boolean | undefined)",
|
|
210
210
|
value: input.deprecated
|
|
211
|
-
}), true,
|
|
211
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
212
|
+
path: _path + ".readOnly",
|
|
213
|
+
expected: "(boolean | undefined)",
|
|
214
|
+
value: input.readOnly
|
|
215
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
216
|
+
path: _path + ".writeOnly",
|
|
217
|
+
expected: "(boolean | undefined)",
|
|
218
|
+
value: input.writeOnly
|
|
219
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
212
220
|
path: _path + ".examples",
|
|
213
221
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
214
222
|
value: input.examples
|
|
@@ -301,7 +309,15 @@ function validateMcpController(props) {
|
|
|
301
309
|
path: _path + ".deprecated",
|
|
302
310
|
expected: "(boolean | undefined)",
|
|
303
311
|
value: input.deprecated
|
|
304
|
-
}), true,
|
|
312
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
313
|
+
path: _path + ".readOnly",
|
|
314
|
+
expected: "(boolean | undefined)",
|
|
315
|
+
value: input.readOnly
|
|
316
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
317
|
+
path: _path + ".writeOnly",
|
|
318
|
+
expected: "(boolean | undefined)",
|
|
319
|
+
value: input.writeOnly
|
|
320
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
305
321
|
path: _path + ".examples",
|
|
306
322
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
307
323
|
value: input.examples
|
|
@@ -365,7 +381,15 @@ function validateMcpController(props) {
|
|
|
365
381
|
path: _path + ".deprecated",
|
|
366
382
|
expected: "(boolean | undefined)",
|
|
367
383
|
value: input.deprecated
|
|
368
|
-
}), true, undefined === input.
|
|
384
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
385
|
+
path: _path + ".readOnly",
|
|
386
|
+
expected: "(boolean | undefined)",
|
|
387
|
+
value: input.readOnly
|
|
388
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
389
|
+
path: _path + ".writeOnly",
|
|
390
|
+
expected: "(boolean | undefined)",
|
|
391
|
+
value: input.writeOnly
|
|
392
|
+
}), undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
|
369
393
|
path: _path + ".minimum",
|
|
370
394
|
expected: "(number | undefined)",
|
|
371
395
|
value: input.minimum
|
|
@@ -393,14 +417,6 @@ function validateMcpController(props) {
|
|
|
393
417
|
path: _path + ".format",
|
|
394
418
|
expected: "(string | undefined)",
|
|
395
419
|
value: input.format
|
|
396
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || _report(_exceptionable, {
|
|
397
|
-
path: _path + ".maxLength",
|
|
398
|
-
expected: "number & Type<\"uint64\">",
|
|
399
|
-
value: input.maxLength
|
|
400
|
-
})) || _report(_exceptionable, {
|
|
401
|
-
path: _path + ".maxLength",
|
|
402
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
403
|
-
value: input.maxLength
|
|
404
420
|
}), undefined === input.pattern || "string" === typeof input.pattern || _report(_exceptionable, {
|
|
405
421
|
path: _path + ".pattern",
|
|
406
422
|
expected: "(string | undefined)",
|
|
@@ -417,6 +433,14 @@ function validateMcpController(props) {
|
|
|
417
433
|
path: _path + ".minLength",
|
|
418
434
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
419
435
|
value: input.minLength
|
|
436
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || _report(_exceptionable, {
|
|
437
|
+
path: _path + ".maxLength",
|
|
438
|
+
expected: "number & Type<\"uint64\">",
|
|
439
|
+
value: input.maxLength
|
|
440
|
+
})) || _report(_exceptionable, {
|
|
441
|
+
path: _path + ".maxLength",
|
|
442
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
443
|
+
value: input.maxLength
|
|
420
444
|
}), (null !== input.items || _report(_exceptionable, {
|
|
421
445
|
path: _path + ".items",
|
|
422
446
|
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.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
@@ -622,7 +646,15 @@ function validateMcpController(props) {
|
|
|
622
646
|
path: _path + ".deprecated",
|
|
623
647
|
expected: "(boolean | undefined)",
|
|
624
648
|
value: input.deprecated
|
|
625
|
-
}), true
|
|
649
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
650
|
+
path: _path + ".readOnly",
|
|
651
|
+
expected: "(boolean | undefined)",
|
|
652
|
+
value: input.readOnly
|
|
653
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
654
|
+
path: _path + ".writeOnly",
|
|
655
|
+
expected: "(boolean | undefined)",
|
|
656
|
+
value: input.writeOnly
|
|
657
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
626
658
|
path: _path + ".nullable",
|
|
627
659
|
expected: "(boolean | undefined)",
|
|
628
660
|
value: input.nullable
|
|
@@ -658,7 +690,15 @@ function validateMcpController(props) {
|
|
|
658
690
|
path: _path + ".deprecated",
|
|
659
691
|
expected: "(boolean | undefined)",
|
|
660
692
|
value: input.deprecated
|
|
661
|
-
}), true,
|
|
693
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
694
|
+
path: _path + ".readOnly",
|
|
695
|
+
expected: "(boolean | undefined)",
|
|
696
|
+
value: input.readOnly
|
|
697
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
698
|
+
path: _path + ".writeOnly",
|
|
699
|
+
expected: "(boolean | undefined)",
|
|
700
|
+
value: input.writeOnly
|
|
701
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
662
702
|
path: _path + ".examples",
|
|
663
703
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
664
704
|
value: input.examples
|
|
@@ -754,7 +794,15 @@ function validateMcpController(props) {
|
|
|
754
794
|
path: _path + ".deprecated",
|
|
755
795
|
expected: "(boolean | undefined)",
|
|
756
796
|
value: input.deprecated
|
|
757
|
-
}), true,
|
|
797
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
798
|
+
path: _path + ".readOnly",
|
|
799
|
+
expected: "(boolean | undefined)",
|
|
800
|
+
value: input.readOnly
|
|
801
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
802
|
+
path: _path + ".writeOnly",
|
|
803
|
+
expected: "(boolean | undefined)",
|
|
804
|
+
value: input.writeOnly
|
|
805
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
758
806
|
path: _path + ".examples",
|
|
759
807
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
760
808
|
value: input.examples
|
|
@@ -826,7 +874,15 @@ function validateMcpController(props) {
|
|
|
826
874
|
path: _path + ".deprecated",
|
|
827
875
|
expected: "(boolean | undefined)",
|
|
828
876
|
value: input.deprecated
|
|
829
|
-
}), true,
|
|
877
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
878
|
+
path: _path + ".readOnly",
|
|
879
|
+
expected: "(boolean | undefined)",
|
|
880
|
+
value: input.readOnly
|
|
881
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
882
|
+
path: _path + ".writeOnly",
|
|
883
|
+
expected: "(boolean | undefined)",
|
|
884
|
+
value: input.writeOnly
|
|
885
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
830
886
|
path: _path + ".examples",
|
|
831
887
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
832
888
|
value: input.examples
|
|
@@ -902,7 +958,15 @@ function validateMcpController(props) {
|
|
|
902
958
|
path: _path + ".deprecated",
|
|
903
959
|
expected: "(boolean | undefined)",
|
|
904
960
|
value: input.deprecated
|
|
905
|
-
}), true,
|
|
961
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
962
|
+
path: _path + ".readOnly",
|
|
963
|
+
expected: "(boolean | undefined)",
|
|
964
|
+
value: input.readOnly
|
|
965
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
966
|
+
path: _path + ".writeOnly",
|
|
967
|
+
expected: "(boolean | undefined)",
|
|
968
|
+
value: input.writeOnly
|
|
969
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
906
970
|
path: _path + ".examples",
|
|
907
971
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
908
972
|
value: input.examples
|
|
@@ -1002,7 +1066,15 @@ function validateMcpController(props) {
|
|
|
1002
1066
|
path: _path + ".deprecated",
|
|
1003
1067
|
expected: "(boolean | undefined)",
|
|
1004
1068
|
value: input.deprecated
|
|
1005
|
-
}), true,
|
|
1069
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1070
|
+
path: _path + ".readOnly",
|
|
1071
|
+
expected: "(boolean | undefined)",
|
|
1072
|
+
value: input.readOnly
|
|
1073
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1074
|
+
path: _path + ".writeOnly",
|
|
1075
|
+
expected: "(boolean | undefined)",
|
|
1076
|
+
value: input.writeOnly
|
|
1077
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
1006
1078
|
path: _path + ".examples",
|
|
1007
1079
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1008
1080
|
value: input.examples
|
|
@@ -1042,7 +1114,15 @@ function validateMcpController(props) {
|
|
|
1042
1114
|
path: _path + ".deprecated",
|
|
1043
1115
|
expected: "(boolean | undefined)",
|
|
1044
1116
|
value: input.deprecated
|
|
1045
|
-
}), true
|
|
1117
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1118
|
+
path: _path + ".readOnly",
|
|
1119
|
+
expected: "(boolean | undefined)",
|
|
1120
|
+
value: input.readOnly
|
|
1121
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1122
|
+
path: _path + ".writeOnly",
|
|
1123
|
+
expected: "(boolean | undefined)",
|
|
1124
|
+
value: input.writeOnly
|
|
1125
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
|
1046
1126
|
path: _path + ".$recursiveRef",
|
|
1047
1127
|
expected: "string",
|
|
1048
1128
|
value: input.$recursiveRef
|
|
@@ -1070,7 +1150,15 @@ function validateMcpController(props) {
|
|
|
1070
1150
|
path: _path + ".deprecated",
|
|
1071
1151
|
expected: "(boolean | undefined)",
|
|
1072
1152
|
value: input.deprecated
|
|
1073
|
-
}), true
|
|
1153
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1154
|
+
path: _path + ".readOnly",
|
|
1155
|
+
expected: "(boolean | undefined)",
|
|
1156
|
+
value: input.readOnly
|
|
1157
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1158
|
+
path: _path + ".writeOnly",
|
|
1159
|
+
expected: "(boolean | undefined)",
|
|
1160
|
+
value: input.writeOnly
|
|
1161
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
1074
1162
|
path: _path + ".allOf",
|
|
1075
1163
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
1076
1164
|
value: input.allOf
|
|
@@ -1110,7 +1198,15 @@ function validateMcpController(props) {
|
|
|
1110
1198
|
path: _path + ".deprecated",
|
|
1111
1199
|
expected: "(boolean | undefined)",
|
|
1112
1200
|
value: input.deprecated
|
|
1113
|
-
}), true
|
|
1201
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1202
|
+
path: _path + ".readOnly",
|
|
1203
|
+
expected: "(boolean | undefined)",
|
|
1204
|
+
value: input.readOnly
|
|
1205
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1206
|
+
path: _path + ".writeOnly",
|
|
1207
|
+
expected: "(boolean | undefined)",
|
|
1208
|
+
value: input.writeOnly
|
|
1209
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
1114
1210
|
path: _path + ".anyOf",
|
|
1115
1211
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
1116
1212
|
value: input.anyOf
|
|
@@ -1150,7 +1246,15 @@ function validateMcpController(props) {
|
|
|
1150
1246
|
path: _path + ".deprecated",
|
|
1151
1247
|
expected: "(boolean | undefined)",
|
|
1152
1248
|
value: input.deprecated
|
|
1153
|
-
}), true
|
|
1249
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1250
|
+
path: _path + ".readOnly",
|
|
1251
|
+
expected: "(boolean | undefined)",
|
|
1252
|
+
value: input.readOnly
|
|
1253
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1254
|
+
path: _path + ".writeOnly",
|
|
1255
|
+
expected: "(boolean | undefined)",
|
|
1256
|
+
value: input.writeOnly
|
|
1257
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
1154
1258
|
path: _path + ".oneOf",
|
|
1155
1259
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
1156
1260
|
value: input.oneOf
|
|
@@ -1198,7 +1302,15 @@ function validateMcpController(props) {
|
|
|
1198
1302
|
path: _path + ".deprecated",
|
|
1199
1303
|
expected: "(boolean | undefined)",
|
|
1200
1304
|
value: input.deprecated
|
|
1201
|
-
}), true
|
|
1305
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1306
|
+
path: _path + ".readOnly",
|
|
1307
|
+
expected: "(boolean | undefined)",
|
|
1308
|
+
value: input.readOnly
|
|
1309
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1310
|
+
path: _path + ".writeOnly",
|
|
1311
|
+
expected: "(boolean | undefined)",
|
|
1312
|
+
value: input.writeOnly
|
|
1313
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
1202
1314
|
path: _path + ".propertyName",
|
|
1203
1315
|
expected: "string",
|
|
1204
1316
|
value: input.propertyName
|
|
@@ -1239,7 +1351,15 @@ function validateMcpController(props) {
|
|
|
1239
1351
|
path: _path + ".deprecated",
|
|
1240
1352
|
expected: "(boolean | undefined)",
|
|
1241
1353
|
value: input.deprecated
|
|
1242
|
-
}), true,
|
|
1354
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1355
|
+
path: _path + ".readOnly",
|
|
1356
|
+
expected: "(boolean | undefined)",
|
|
1357
|
+
value: input.readOnly
|
|
1358
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1359
|
+
path: _path + ".writeOnly",
|
|
1360
|
+
expected: "(boolean | undefined)",
|
|
1361
|
+
value: input.writeOnly
|
|
1362
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
1243
1363
|
path: _path + ".examples",
|
|
1244
1364
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1245
1365
|
value: input.examples
|
|
@@ -1271,7 +1391,15 @@ function validateMcpController(props) {
|
|
|
1271
1391
|
path: _path + ".deprecated",
|
|
1272
1392
|
expected: "(boolean | undefined)",
|
|
1273
1393
|
value: input.deprecated
|
|
1274
|
-
}), true,
|
|
1394
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1395
|
+
path: _path + ".readOnly",
|
|
1396
|
+
expected: "(boolean | undefined)",
|
|
1397
|
+
value: input.readOnly
|
|
1398
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1399
|
+
path: _path + ".writeOnly",
|
|
1400
|
+
expected: "(boolean | undefined)",
|
|
1401
|
+
value: input.writeOnly
|
|
1402
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
1275
1403
|
path: _path + ".examples",
|
|
1276
1404
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1277
1405
|
value: input.examples
|
|
@@ -1311,7 +1439,15 @@ function validateMcpController(props) {
|
|
|
1311
1439
|
path: _path + ".deprecated",
|
|
1312
1440
|
expected: "(boolean | undefined)",
|
|
1313
1441
|
value: input.deprecated
|
|
1314
|
-
}), true, undefined === input
|
|
1442
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1443
|
+
path: _path + ".readOnly",
|
|
1444
|
+
expected: "(boolean | undefined)",
|
|
1445
|
+
value: input.readOnly
|
|
1446
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1447
|
+
path: _path + ".writeOnly",
|
|
1448
|
+
expected: "(boolean | undefined)",
|
|
1449
|
+
value: input.writeOnly
|
|
1450
|
+
}), undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || _report(_exceptionable, {
|
|
1315
1451
|
path: _path + ".$defs",
|
|
1316
1452
|
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
1317
1453
|
value: input.$defs
|
|
@@ -1404,23 +1540,22 @@ function validateMcpController(props) {
|
|
|
1404
1540
|
return inspect;
|
|
1405
1541
|
}
|
|
1406
1542
|
const application = openapi_1.McpLlm.application({
|
|
1407
|
-
|
|
1408
|
-
tools: (() => { const _io0 = input => "string" === typeof input.name && input.name.length <= 64 && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.inputSchema && null !== input.inputSchema && _iu1(input.inputSchema)); const _io1 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _io2 = input => Object.keys(input).every(key => {
|
|
1543
|
+
tools: (() => { const _io0 = input => "string" === typeof input.name && input.name.length <= 64 && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.inputSchema && null !== input.inputSchema && _iu1(input.inputSchema)); const _io1 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _io2 = input => Object.keys(input).every(key => {
|
|
1409
1544
|
const value = input[key];
|
|
1410
1545
|
if (undefined === value)
|
|
1411
1546
|
return true;
|
|
1412
1547
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
1413
|
-
}); const _io3 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io4 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.
|
|
1548
|
+
}); const _io3 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io4 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _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)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (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) && _iu0(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && "string" === typeof input.$ref; const _io5 = input => Object.keys(input).every(key => {
|
|
1414
1549
|
const value = input[key];
|
|
1415
1550
|
if (undefined === value)
|
|
1416
1551
|
return true;
|
|
1417
1552
|
return true;
|
|
1418
|
-
}); const _io6 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io7 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io8 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io9 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io10 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io11 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _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) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io12 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io13 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io14 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io15 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io16 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io17 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io18(input.mapping)); const _io18 = input => Object.keys(input).every(key => {
|
|
1553
|
+
}); const _io6 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io7 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io8 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io9 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io10 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io11 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _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) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io12 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io13 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io14 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io15 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io16 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io17 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io18(input.mapping)); const _io18 = input => Object.keys(input).every(key => {
|
|
1419
1554
|
const value = input[key];
|
|
1420
1555
|
if (undefined === value)
|
|
1421
1556
|
return true;
|
|
1422
1557
|
return "string" === typeof value;
|
|
1423
|
-
}); const _io19 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io20 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io21 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _iu0 = input => (() => {
|
|
1558
|
+
}); const _io19 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io20 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io21 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _iu0 = input => (() => {
|
|
1424
1559
|
if ("object" === input.type)
|
|
1425
1560
|
return _io3(input);
|
|
1426
1561
|
else if (Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
|
@@ -1561,7 +1696,17 @@ function validateMcpController(props) {
|
|
|
1561
1696
|
path: _path + ".deprecated",
|
|
1562
1697
|
expected: "(boolean | undefined)",
|
|
1563
1698
|
value: input.deprecated
|
|
1564
|
-
}, _errorFactory)) && true && (
|
|
1699
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1700
|
+
method: "typia.assert",
|
|
1701
|
+
path: _path + ".readOnly",
|
|
1702
|
+
expected: "(boolean | undefined)",
|
|
1703
|
+
value: input.readOnly
|
|
1704
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1705
|
+
method: "typia.assert",
|
|
1706
|
+
path: _path + ".writeOnly",
|
|
1707
|
+
expected: "(boolean | undefined)",
|
|
1708
|
+
value: input.writeOnly
|
|
1709
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1565
1710
|
method: "typia.assert",
|
|
1566
1711
|
path: _path + ".examples",
|
|
1567
1712
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -1676,7 +1821,17 @@ function validateMcpController(props) {
|
|
|
1676
1821
|
path: _path + ".deprecated",
|
|
1677
1822
|
expected: "(boolean | undefined)",
|
|
1678
1823
|
value: input.deprecated
|
|
1679
|
-
}, _errorFactory)) && true && (
|
|
1824
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1825
|
+
method: "typia.assert",
|
|
1826
|
+
path: _path + ".readOnly",
|
|
1827
|
+
expected: "(boolean | undefined)",
|
|
1828
|
+
value: input.readOnly
|
|
1829
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1830
|
+
method: "typia.assert",
|
|
1831
|
+
path: _path + ".writeOnly",
|
|
1832
|
+
expected: "(boolean | undefined)",
|
|
1833
|
+
value: input.writeOnly
|
|
1834
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1680
1835
|
method: "typia.assert",
|
|
1681
1836
|
path: _path + ".examples",
|
|
1682
1837
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -1756,7 +1911,17 @@ function validateMcpController(props) {
|
|
|
1756
1911
|
path: _path + ".deprecated",
|
|
1757
1912
|
expected: "(boolean | undefined)",
|
|
1758
1913
|
value: input.deprecated
|
|
1759
|
-
}, _errorFactory)) && true && (undefined === input.
|
|
1914
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1915
|
+
method: "typia.assert",
|
|
1916
|
+
path: _path + ".readOnly",
|
|
1917
|
+
expected: "(boolean | undefined)",
|
|
1918
|
+
value: input.readOnly
|
|
1919
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1920
|
+
method: "typia.assert",
|
|
1921
|
+
path: _path + ".writeOnly",
|
|
1922
|
+
expected: "(boolean | undefined)",
|
|
1923
|
+
value: input.writeOnly
|
|
1924
|
+
}, _errorFactory)) && (undefined === input.minimum || "number" === typeof input.minimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1760
1925
|
method: "typia.assert",
|
|
1761
1926
|
path: _path + ".minimum",
|
|
1762
1927
|
expected: "(number | undefined)",
|
|
@@ -1791,16 +1956,6 @@ function validateMcpController(props) {
|
|
|
1791
1956
|
path: _path + ".format",
|
|
1792
1957
|
expected: "(string | undefined)",
|
|
1793
1958
|
value: input.format
|
|
1794
|
-
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1795
|
-
method: "typia.assert",
|
|
1796
|
-
path: _path + ".maxLength",
|
|
1797
|
-
expected: "number & Type<\"uint64\">",
|
|
1798
|
-
value: input.maxLength
|
|
1799
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1800
|
-
method: "typia.assert",
|
|
1801
|
-
path: _path + ".maxLength",
|
|
1802
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1803
|
-
value: input.maxLength
|
|
1804
1959
|
}, _errorFactory)) && (undefined === input.pattern || "string" === typeof input.pattern || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1805
1960
|
method: "typia.assert",
|
|
1806
1961
|
path: _path + ".pattern",
|
|
@@ -1821,6 +1976,16 @@ function validateMcpController(props) {
|
|
|
1821
1976
|
path: _path + ".minLength",
|
|
1822
1977
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1823
1978
|
value: input.minLength
|
|
1979
|
+
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1980
|
+
method: "typia.assert",
|
|
1981
|
+
path: _path + ".maxLength",
|
|
1982
|
+
expected: "number & Type<\"uint64\">",
|
|
1983
|
+
value: input.maxLength
|
|
1984
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1985
|
+
method: "typia.assert",
|
|
1986
|
+
path: _path + ".maxLength",
|
|
1987
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1988
|
+
value: input.maxLength
|
|
1824
1989
|
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1825
1990
|
method: "typia.assert",
|
|
1826
1991
|
path: _path + ".items",
|
|
@@ -2076,7 +2241,17 @@ function validateMcpController(props) {
|
|
|
2076
2241
|
path: _path + ".deprecated",
|
|
2077
2242
|
expected: "(boolean | undefined)",
|
|
2078
2243
|
value: input.deprecated
|
|
2079
|
-
}, _errorFactory)) && true
|
|
2244
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2245
|
+
method: "typia.assert",
|
|
2246
|
+
path: _path + ".readOnly",
|
|
2247
|
+
expected: "(boolean | undefined)",
|
|
2248
|
+
value: input.readOnly
|
|
2249
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2250
|
+
method: "typia.assert",
|
|
2251
|
+
path: _path + ".writeOnly",
|
|
2252
|
+
expected: "(boolean | undefined)",
|
|
2253
|
+
value: input.writeOnly
|
|
2254
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2080
2255
|
method: "typia.assert",
|
|
2081
2256
|
path: _path + ".nullable",
|
|
2082
2257
|
expected: "(boolean | undefined)",
|
|
@@ -2121,7 +2296,17 @@ function validateMcpController(props) {
|
|
|
2121
2296
|
path: _path + ".deprecated",
|
|
2122
2297
|
expected: "(boolean | undefined)",
|
|
2123
2298
|
value: input.deprecated
|
|
2124
|
-
}, _errorFactory)) && true && (
|
|
2299
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2300
|
+
method: "typia.assert",
|
|
2301
|
+
path: _path + ".readOnly",
|
|
2302
|
+
expected: "(boolean | undefined)",
|
|
2303
|
+
value: input.readOnly
|
|
2304
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2305
|
+
method: "typia.assert",
|
|
2306
|
+
path: _path + ".writeOnly",
|
|
2307
|
+
expected: "(boolean | undefined)",
|
|
2308
|
+
value: input.writeOnly
|
|
2309
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2125
2310
|
method: "typia.assert",
|
|
2126
2311
|
path: _path + ".examples",
|
|
2127
2312
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -2241,7 +2426,17 @@ function validateMcpController(props) {
|
|
|
2241
2426
|
path: _path + ".deprecated",
|
|
2242
2427
|
expected: "(boolean | undefined)",
|
|
2243
2428
|
value: input.deprecated
|
|
2244
|
-
}, _errorFactory)) && true && (
|
|
2429
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2430
|
+
method: "typia.assert",
|
|
2431
|
+
path: _path + ".readOnly",
|
|
2432
|
+
expected: "(boolean | undefined)",
|
|
2433
|
+
value: input.readOnly
|
|
2434
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2435
|
+
method: "typia.assert",
|
|
2436
|
+
path: _path + ".writeOnly",
|
|
2437
|
+
expected: "(boolean | undefined)",
|
|
2438
|
+
value: input.writeOnly
|
|
2439
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2245
2440
|
method: "typia.assert",
|
|
2246
2441
|
path: _path + ".examples",
|
|
2247
2442
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -2331,7 +2526,17 @@ function validateMcpController(props) {
|
|
|
2331
2526
|
path: _path + ".deprecated",
|
|
2332
2527
|
expected: "(boolean | undefined)",
|
|
2333
2528
|
value: input.deprecated
|
|
2334
|
-
}, _errorFactory)) && true && (
|
|
2529
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2530
|
+
method: "typia.assert",
|
|
2531
|
+
path: _path + ".readOnly",
|
|
2532
|
+
expected: "(boolean | undefined)",
|
|
2533
|
+
value: input.readOnly
|
|
2534
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2535
|
+
method: "typia.assert",
|
|
2536
|
+
path: _path + ".writeOnly",
|
|
2537
|
+
expected: "(boolean | undefined)",
|
|
2538
|
+
value: input.writeOnly
|
|
2539
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2335
2540
|
method: "typia.assert",
|
|
2336
2541
|
path: _path + ".examples",
|
|
2337
2542
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -2426,7 +2631,17 @@ function validateMcpController(props) {
|
|
|
2426
2631
|
path: _path + ".deprecated",
|
|
2427
2632
|
expected: "(boolean | undefined)",
|
|
2428
2633
|
value: input.deprecated
|
|
2429
|
-
}, _errorFactory)) && true && (
|
|
2634
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2635
|
+
method: "typia.assert",
|
|
2636
|
+
path: _path + ".readOnly",
|
|
2637
|
+
expected: "(boolean | undefined)",
|
|
2638
|
+
value: input.readOnly
|
|
2639
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2640
|
+
method: "typia.assert",
|
|
2641
|
+
path: _path + ".writeOnly",
|
|
2642
|
+
expected: "(boolean | undefined)",
|
|
2643
|
+
value: input.writeOnly
|
|
2644
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2430
2645
|
method: "typia.assert",
|
|
2431
2646
|
path: _path + ".examples",
|
|
2432
2647
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -2551,7 +2766,17 @@ function validateMcpController(props) {
|
|
|
2551
2766
|
path: _path + ".deprecated",
|
|
2552
2767
|
expected: "(boolean | undefined)",
|
|
2553
2768
|
value: input.deprecated
|
|
2554
|
-
}, _errorFactory)) && true && (
|
|
2769
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2770
|
+
method: "typia.assert",
|
|
2771
|
+
path: _path + ".readOnly",
|
|
2772
|
+
expected: "(boolean | undefined)",
|
|
2773
|
+
value: input.readOnly
|
|
2774
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2775
|
+
method: "typia.assert",
|
|
2776
|
+
path: _path + ".writeOnly",
|
|
2777
|
+
expected: "(boolean | undefined)",
|
|
2778
|
+
value: input.writeOnly
|
|
2779
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2555
2780
|
method: "typia.assert",
|
|
2556
2781
|
path: _path + ".examples",
|
|
2557
2782
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -2601,7 +2826,17 @@ function validateMcpController(props) {
|
|
|
2601
2826
|
path: _path + ".deprecated",
|
|
2602
2827
|
expected: "(boolean | undefined)",
|
|
2603
2828
|
value: input.deprecated
|
|
2604
|
-
}, _errorFactory)) && true
|
|
2829
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2830
|
+
method: "typia.assert",
|
|
2831
|
+
path: _path + ".readOnly",
|
|
2832
|
+
expected: "(boolean | undefined)",
|
|
2833
|
+
value: input.readOnly
|
|
2834
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2835
|
+
method: "typia.assert",
|
|
2836
|
+
path: _path + ".writeOnly",
|
|
2837
|
+
expected: "(boolean | undefined)",
|
|
2838
|
+
value: input.writeOnly
|
|
2839
|
+
}, _errorFactory)); const _ao13 = (input, _path, _exceptionable = true) => ("string" === typeof input.$recursiveRef || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2605
2840
|
method: "typia.assert",
|
|
2606
2841
|
path: _path + ".$recursiveRef",
|
|
2607
2842
|
expected: "string",
|
|
@@ -2636,7 +2871,17 @@ function validateMcpController(props) {
|
|
|
2636
2871
|
path: _path + ".deprecated",
|
|
2637
2872
|
expected: "(boolean | undefined)",
|
|
2638
2873
|
value: input.deprecated
|
|
2639
|
-
}, _errorFactory)) && true
|
|
2874
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2875
|
+
method: "typia.assert",
|
|
2876
|
+
path: _path + ".readOnly",
|
|
2877
|
+
expected: "(boolean | undefined)",
|
|
2878
|
+
value: input.readOnly
|
|
2879
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2880
|
+
method: "typia.assert",
|
|
2881
|
+
path: _path + ".writeOnly",
|
|
2882
|
+
expected: "(boolean | undefined)",
|
|
2883
|
+
value: input.writeOnly
|
|
2884
|
+
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2640
2885
|
method: "typia.assert",
|
|
2641
2886
|
path: _path + ".allOf",
|
|
2642
2887
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
@@ -2686,7 +2931,17 @@ function validateMcpController(props) {
|
|
|
2686
2931
|
path: _path + ".deprecated",
|
|
2687
2932
|
expected: "(boolean | undefined)",
|
|
2688
2933
|
value: input.deprecated
|
|
2689
|
-
}, _errorFactory)) && true
|
|
2934
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2935
|
+
method: "typia.assert",
|
|
2936
|
+
path: _path + ".readOnly",
|
|
2937
|
+
expected: "(boolean | undefined)",
|
|
2938
|
+
value: input.readOnly
|
|
2939
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2940
|
+
method: "typia.assert",
|
|
2941
|
+
path: _path + ".writeOnly",
|
|
2942
|
+
expected: "(boolean | undefined)",
|
|
2943
|
+
value: input.writeOnly
|
|
2944
|
+
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2690
2945
|
method: "typia.assert",
|
|
2691
2946
|
path: _path + ".anyOf",
|
|
2692
2947
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
@@ -2736,7 +2991,17 @@ function validateMcpController(props) {
|
|
|
2736
2991
|
path: _path + ".deprecated",
|
|
2737
2992
|
expected: "(boolean | undefined)",
|
|
2738
2993
|
value: input.deprecated
|
|
2739
|
-
}, _errorFactory)) && true
|
|
2994
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2995
|
+
method: "typia.assert",
|
|
2996
|
+
path: _path + ".readOnly",
|
|
2997
|
+
expected: "(boolean | undefined)",
|
|
2998
|
+
value: input.readOnly
|
|
2999
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3000
|
+
method: "typia.assert",
|
|
3001
|
+
path: _path + ".writeOnly",
|
|
3002
|
+
expected: "(boolean | undefined)",
|
|
3003
|
+
value: input.writeOnly
|
|
3004
|
+
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2740
3005
|
method: "typia.assert",
|
|
2741
3006
|
path: _path + ".oneOf",
|
|
2742
3007
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
@@ -2796,7 +3061,17 @@ function validateMcpController(props) {
|
|
|
2796
3061
|
path: _path + ".deprecated",
|
|
2797
3062
|
expected: "(boolean | undefined)",
|
|
2798
3063
|
value: input.deprecated
|
|
2799
|
-
}, _errorFactory)) && true
|
|
3064
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3065
|
+
method: "typia.assert",
|
|
3066
|
+
path: _path + ".readOnly",
|
|
3067
|
+
expected: "(boolean | undefined)",
|
|
3068
|
+
value: input.readOnly
|
|
3069
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3070
|
+
method: "typia.assert",
|
|
3071
|
+
path: _path + ".writeOnly",
|
|
3072
|
+
expected: "(boolean | undefined)",
|
|
3073
|
+
value: input.writeOnly
|
|
3074
|
+
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => ("string" === typeof input.propertyName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2800
3075
|
method: "typia.assert",
|
|
2801
3076
|
path: _path + ".propertyName",
|
|
2802
3077
|
expected: "string",
|
|
@@ -2846,7 +3121,17 @@ function validateMcpController(props) {
|
|
|
2846
3121
|
path: _path + ".deprecated",
|
|
2847
3122
|
expected: "(boolean | undefined)",
|
|
2848
3123
|
value: input.deprecated
|
|
2849
|
-
}, _errorFactory)) && true && (
|
|
3124
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3125
|
+
method: "typia.assert",
|
|
3126
|
+
path: _path + ".readOnly",
|
|
3127
|
+
expected: "(boolean | undefined)",
|
|
3128
|
+
value: input.readOnly
|
|
3129
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3130
|
+
method: "typia.assert",
|
|
3131
|
+
path: _path + ".writeOnly",
|
|
3132
|
+
expected: "(boolean | undefined)",
|
|
3133
|
+
value: input.writeOnly
|
|
3134
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2850
3135
|
method: "typia.assert",
|
|
2851
3136
|
path: _path + ".examples",
|
|
2852
3137
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -2886,7 +3171,17 @@ function validateMcpController(props) {
|
|
|
2886
3171
|
path: _path + ".deprecated",
|
|
2887
3172
|
expected: "(boolean | undefined)",
|
|
2888
3173
|
value: input.deprecated
|
|
2889
|
-
}, _errorFactory)) && true && (
|
|
3174
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3175
|
+
method: "typia.assert",
|
|
3176
|
+
path: _path + ".readOnly",
|
|
3177
|
+
expected: "(boolean | undefined)",
|
|
3178
|
+
value: input.readOnly
|
|
3179
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3180
|
+
method: "typia.assert",
|
|
3181
|
+
path: _path + ".writeOnly",
|
|
3182
|
+
expected: "(boolean | undefined)",
|
|
3183
|
+
value: input.writeOnly
|
|
3184
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2890
3185
|
method: "typia.assert",
|
|
2891
3186
|
path: _path + ".examples",
|
|
2892
3187
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -2936,7 +3231,17 @@ function validateMcpController(props) {
|
|
|
2936
3231
|
path: _path + ".deprecated",
|
|
2937
3232
|
expected: "(boolean | undefined)",
|
|
2938
3233
|
value: input.deprecated
|
|
2939
|
-
}, _errorFactory)) && true && (undefined === input
|
|
3234
|
+
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3235
|
+
method: "typia.assert",
|
|
3236
|
+
path: _path + ".readOnly",
|
|
3237
|
+
expected: "(boolean | undefined)",
|
|
3238
|
+
value: input.readOnly
|
|
3239
|
+
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3240
|
+
method: "typia.assert",
|
|
3241
|
+
path: _path + ".writeOnly",
|
|
3242
|
+
expected: "(boolean | undefined)",
|
|
3243
|
+
value: input.writeOnly
|
|
3244
|
+
}, _errorFactory)) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2940
3245
|
method: "typia.assert",
|
|
2941
3246
|
path: _path + ".$defs",
|
|
2942
3247
|
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|