export interface IToDo {
  id: string;
  title: string;
  done: boolean;
  date: Date | null;
  points: number;
  rotate: boolean;
  repeatType: string;
  repeatDays?: string[];
  repeatWeeks?: number;
  creatorId?: string;
  familyId?: string;
  assignees?: string[]; // Optional list of assignees
  connectedTodoId?: string;
}

export const DAYS_OF_WEEK_ENUM = {
  MONDAY: "Monday",
  TUESDAY: "Tuesday",
  WEDNESDAY: "Wednesday",
  THURSDAY: "Thursday",
  FRIDAY: "Friday",
  SATURDAY: "Saturday",
  SUNDAY: "Sunday"
}

export const REPEAT_TYPE = {
  NONE: "None",
  DAILY: "Daily",
  EVERY_WEEK: "Every week",
  ONCE_A_MONTH: "Once a month",
  ONCE_A_YEAR: "Once a year"
}