"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.siteInfoDeleteSchema = exports.siteInfoChangeImageSchema = exports.siteInfoEditSchema = exports.siteInfoCreateSchema = void 0;
// Always use Zod v4 for schema validation
const zod_1 = require("zod");
const validation_1 = require("../../util/validation");
// SiteInfo Zod Schemas
exports.siteInfoCreateSchema = zod_1.z.object({
    titulo: (0, validation_1.requiredString)('titulo'),
    menu: (0, validation_1.requiredString)('menu'),
    opcao: zod_1.z.string().trim().optional(),
    conteudo: zod_1.z.string().trim().optional(),
    userId: (0, validation_1.requiredString)('userId'),
});
exports.siteInfoEditSchema = zod_1.z.object({
    titulo: zod_1.z.string().trim().optional(),
    menu: zod_1.z.string().trim().optional(),
    opcao: zod_1.z.string().trim().optional(),
    conteudo: zod_1.z.string().trim().optional(),
    status: zod_1.z.string().trim().optional(),
    siteInfoId: (0, validation_1.requiredNumber)('siteInfoId'),
    userId: (0, validation_1.requiredNumber)('userId'),
});
exports.siteInfoChangeImageSchema = zod_1.z.object({
    siteInfoId: (0, validation_1.requiredString)('siteInfoId'),
    userId: (0, validation_1.requiredString)('userId'),
});
exports.siteInfoDeleteSchema = zod_1.z.object({
    id: (0, validation_1.requiredNumber)('id'),
    userId: (0, validation_1.requiredNumber)('userId'),
});
// Fim SiteInfo
