"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContactValidation = void 0;
const zod_1 = require("zod");
class ContactValidation {
}
exports.ContactValidation = ContactValidation;
ContactValidation.CREATE = zod_1.z.object({
    name: zod_1.z.string({ message: 'Nama harus diisi' }),
    value: zod_1.z.string({ message: 'Nilai harus diisi' }),
});
ContactValidation.BULK_UPDATE = zod_1.z.array(zod_1.z.object({
    id: zod_1.z.string({ message: 'ID tidak boleh kosong' }),
    name: zod_1.z.string().optional(),
    value: zod_1.z.string().optional(),
}));
