"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__, {
    typeVersionKeySchema: ()=>typeVersionKeySchema,
    displayConfigSchema: ()=>displayConfigSchema,
    idSchema: ()=>idSchema,
    versionSchema: ()=>versionSchema
});
const external_zod_namespaceObject = require("zod");
const node_manifest_cjs_namespaceObject = require("../node-definition/node-manifest.cjs");
const idSchema = external_zod_namespaceObject.z.string().min(1);
const versionSchema = external_zod_namespaceObject.z.string().regex(/^\d+\.\d+\.\d+$/, 'Version must be in semver format (e.g., "1.0.0")');
const typeVersionKeySchema = external_zod_namespaceObject.z.string().regex(/^.+:\d+\.\d+\.\d+$/, 'TypeVersionKey must be in format "type:version" (e.g., "myType:1.0.0")');
const displayConfigSchema = external_zod_namespaceObject.z.object({
    label: external_zod_namespaceObject.z.string().optional(),
    canvasLabel: external_zod_namespaceObject.z.string().optional(),
    subLabel: external_zod_namespaceObject.z.any().optional(),
    shape: node_manifest_cjs_namespaceObject.nodeShapeSchema.optional(),
    background: external_zod_namespaceObject.z.string().optional(),
    iconBackground: external_zod_namespaceObject.z.string().optional(),
    iconBackgroundDark: external_zod_namespaceObject.z.string().optional(),
    iconColor: external_zod_namespaceObject.z.string().optional(),
    icon: external_zod_namespaceObject.z.string().optional(),
    iconElement: external_zod_namespaceObject.z.any().optional(),
    color: external_zod_namespaceObject.z.string().optional(),
    labelTooltip: external_zod_namespaceObject.z.string().optional(),
    labelBackgroundColor: external_zod_namespaceObject.z.string().optional(),
    centerAdornmentComponent: external_zod_namespaceObject.z.any().optional(),
    footerComponent: external_zod_namespaceObject.z.any().optional(),
    footerVariant: external_zod_namespaceObject.z.string().optional(),
    shadow: external_zod_namespaceObject.z.boolean().optional()
}).catchall(external_zod_namespaceObject.z.unknown());
exports.displayConfigSchema = __webpack_exports__.displayConfigSchema;
exports.idSchema = __webpack_exports__.idSchema;
exports.typeVersionKeySchema = __webpack_exports__.typeVersionKeySchema;
exports.versionSchema = __webpack_exports__.versionSchema;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "displayConfigSchema",
    "idSchema",
    "typeVersionKeySchema",
    "versionSchema"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
