"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FooterValidation = void 0;
const zod_1 = require("zod");
class FooterValidation {
}
exports.FooterValidation = FooterValidation;
FooterValidation.CREATE = zod_1.z.object({
    name: zod_1.z.string({ message: 'Nama harus diisi' }),
    type: zod_1.z.string({ message: 'Tipe harus diisi' }),
    order: zod_1.z.number({ message: 'Order harus diisi' }),
});
FooterValidation.UPDATE = zod_1.z.object({
    name: zod_1.z.string({ message: 'Nama harus diisi' }),
});
FooterValidation.CREATE_ITEM = zod_1.z.object({
    name: zod_1.z.string({ message: 'Nama harus diisi' }),
    url: zod_1.z.string({ message: 'URL harus diisi' }),
});
FooterValidation.UPDATE_ITEM = zod_1.z.object({
    name: zod_1.z.string({ message: 'Nama harus diisi' }),
    url: zod_1.z.string({ message: 'URL harus diisi' }),
});
FooterValidation.UPDATE_ORDER = zod_1.z.array(zod_1.z.object({
    id: zod_1.z.string({ message: 'ID harus diisi' }),
    order: zod_1.z.number({ message: 'Order harus diisi' }),
}));
