import { Shield, Clock } from "lucide-react";

export const columns: ColumnDefinition[] = [
  {
    key: "id",
    title: "ID",
    type: "text",
    icon: Shield,
    sortable: true,
    searchable: true,
    filterable: true,
    description: "Unique identifier",
    priority: 2,
    expandedOnly: true,
  },
  {
    key: "duration",
    title: "Duration",
    type: "number",
    icon: Clock,
    sortable: true,
    searchable: true,
    filterable: true,
    editable: true,
    usedInCreate: true,
    description: "Duration value",
    priority: 1,
  },
  {
    key: "timeframe",
    title: "Timeframe",
    type: "select",
    icon: Clock,
    sortable: true,
    searchable: true,
    filterable: true,
    editable: true,
    usedInCreate: true,
    description: "Time unit",
    options: [
      { value: "HOUR", label: "Hour" },
      { value: "DAY", label: "Day" },
      { value: "WEEK", label: "Week" },
      { value: "MONTH", label: "Month" },
    ],
    priority: 1,
  },
];
