declare type TScheduleTask = {
  _id: string;
  title: string;
  // replaced frequency-based recurrence with explicit date range
  startDate?: string; // YYYY-MM-DD
  endDate?: string; // YYYY-MM-DD
  time?: string;
  description?: string;
  areas: { name: string; value: string }[];
  site: string;
  createdAt: string;
  updatedAt: string;
};

declare type TScheduleTaskForm = Pick<
  TScheduleTask,
  "title" | "startDate" | "endDate" | "time" | "description" | "areas"
>;
