import { Shield, ClipboardList, FileText, CalendarIcon } from "lucide-react";

export const columns: ColumnDefinition[] = [
  {
    key: "id",
    title: "ID",
    type: "text",
    icon: Shield,
    sortable: true,
    searchable: true,
    filterable: true,
    description: "Unique template identifier",
    priority: 3,
    expandedOnly: true,
  },
  {
    key: "name",
    title: "Name",
    type: "text",
    icon: ClipboardList,
    sortable: true,
    searchable: true,
    filterable: true,
    editable: true,
    usedInCreate: true,
    description: "Template name",
    priority: 1,
  },
  {
    key: "content",
    title: "Content",
    type: "text",
    icon: FileText,
    sortable: false,
    searchable: true,
    filterable: false,
    editable: true,
    usedInCreate: true,
    description: "Template content (HTML or text)",
    priority: 2,
    expandedOnly: true,
  },
  {
    key: "design",
    title: "Design",
    type: "text",
    icon: FileText,
    sortable: false,
    searchable: true,
    filterable: false,
    editable: true,
    usedInCreate: true,
    description: "Design information or JSON",
    priority: 2,
    expandedOnly: true,
  },
  {
    key: "createdAt",
    title: "Created At",
    type: "date",
    icon: CalendarIcon,
    sortable: true,
    searchable: true,
    filterable: true,
    description: "Template creation date",
    render: { type: "date", format: "PPP" },
    priority: 3,
  },
];
