export type BoardTemplate = {
  id: string;
  name: string;
  description: string;
  lists: string[];
  labels: { name: string; color: string }[];
};

export const BOARD_TEMPLATES: Record<string, BoardTemplate> = {
  blank: {
    id: "blank",
    name: "Basic board",
    description: "A simple To Do / In Progress / Done board",
    lists: ["To Do", "In Progress", "Done"],
    labels: [],
  },
  sprint: {
    id: "sprint",
    name: "Sprint board",
    description: "Backlog through review, for agile teams",
    lists: ["Backlog", "To Do", "In Progress", "In Review", "Done"],
    labels: [
      { name: "Bug", color: "#F87171" },
      { name: "Feature", color: "#34D399" },
      { name: "Chore", color: "#94A3B8" },
    ],
  },
  contentCalendar: {
    id: "contentCalendar",
    name: "Content calendar",
    description: "Plan and publish content end to end",
    lists: ["Ideas", "Writing", "Editing", "Scheduled", "Published"],
    labels: [
      { name: "Blog", color: "#60A5FA" },
      { name: "Social", color: "#F472B6" },
      { name: "Newsletter", color: "#FBBF24" },
    ],
  },
  personal: {
    id: "personal",
    name: "Personal tasks",
    description: "A lightweight board for individual to-dos",
    lists: ["To Do", "Doing", "Done"],
    labels: [
      { name: "Urgent", color: "#F87171" },
      { name: "Someday", color: "#A78BFA" },
    ],
  },
};

export const DEFAULT_STATUSES = [
  { label: "Not started", color: "#9CA3AF" },
  { label: "In progress", color: "#3B82F6" },
  { label: "Done", color: "#22C55E" },
];
