"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    nodeSchema: ()=>nodeSchema,
    uiSchema: ()=>uiSchema
});
const external_zod_namespaceObject = require("zod");
const handle_cjs_namespaceObject = require("../node-definition/handle.cjs");
const external_base_cjs_namespaceObject = require("./base.cjs");
const uiSchema = external_zod_namespaceObject.z.object({
    position: external_zod_namespaceObject.z.object({
        x: external_zod_namespaceObject.z.number(),
        y: external_zod_namespaceObject.z.number()
    }),
    size: external_zod_namespaceObject.z.object({
        width: external_zod_namespaceObject.z.number(),
        height: external_zod_namespaceObject.z.number()
    }).optional(),
    collapsed: external_zod_namespaceObject.z.boolean().optional()
}).catchall(external_zod_namespaceObject.z.unknown());
const nodeSchema = external_zod_namespaceObject.z.object({
    id: external_base_cjs_namespaceObject.idSchema,
    type: external_zod_namespaceObject.z.string().min(1),
    typeVersion: external_base_cjs_namespaceObject.versionSchema,
    ui: uiSchema,
    display: external_base_cjs_namespaceObject.displayConfigSchema,
    inputs: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.unknown()).optional(),
    outputs: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.unknown()).optional(),
    handleCustomization: external_zod_namespaceObject.z.object({
        groups: external_zod_namespaceObject.z.array(handle_cjs_namespaceObject.handleGroupOverrideSchema)
    }).optional(),
    model: external_zod_namespaceObject.z.unknown().optional(),
    parentId: external_base_cjs_namespaceObject.idSchema.optional()
});
exports.nodeSchema = __webpack_exports__.nodeSchema;
exports.uiSchema = __webpack_exports__.uiSchema;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "nodeSchema",
    "uiSchema"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
