import { z } from "zod";

export const activitySchema = z.object({
  type: z.enum(["gorusme", "teklif", "ziyaret", "arama", "not"]),
  title: z.string().min(2, "En az 2 karakter").max(255),
  description: z.string().max(10000).optional(),
  customerId: z.string().max(36).optional(),
  propertyId: z.string().max(36).optional(),
  dueDate: z.string().optional(),
  assigneeId: z.string().max(36).optional(),
});

export type ActivityFormValues = z.infer<typeof activitySchema>;
