import { z } from "zod";

export const GiftCategorySchema = z
  .object({
    category: z.string().min(1),
    name: z.string(),
    productCount: z.number().int().nonnegative(),
    imageUrl: z.string().nullable(),
  })
  .readonly();

export type GiftCategoryInput = z.input<typeof GiftCategorySchema>;
export type GiftCategoryData = z.output<typeof GiftCategorySchema>;
export type GiftCategory = GiftCategoryData;
