"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get loginRequiredSchema () {
        return loginRequiredSchema;
    },
    get registrationEnabledSchema () {
        return registrationEnabledSchema;
    },
    get wizardSettingsSchema () {
        return wizardSettingsSchema;
    }
});
const _zod = require("zod");
const wizardSettingsSchema = _zod.z.object({
    loginRequired: _zod.z.boolean(),
    registration: _zod.z.boolean(),
    rootUsername: _zod.z.string().nonempty("rootUsername is required"),
    rootPassword: _zod.z.string().min(8, "rootPassword must be at least 8 characters long").nonempty("rootPassword is required")
});
const loginRequiredSchema = _zod.z.object({
    loginRequired: _zod.z.boolean()
});
const registrationEnabledSchema = _zod.z.object({
    registrationEnabled: _zod.z.boolean()
});

//# sourceMappingURL=setting.validation.js.map