/**
 * Shared Column Snippets
 * Reusable column definitions for data tables
 */

export const titleColumn = {
  key: 'title',
  label: 'Title',
  sortable: true,
  width: 'auto',
};

export const keywordColumn = {
  key: 'keyword',
  label: 'Keyword',
  sortable: true,
  width: 'auto',
};

export const statusColumn = {
  key: 'status',
  label: 'Status',
  sortable: true,
  badge: true,
  width: '120px',
};

export const volumeColumn = {
  key: 'volume',
  label: 'Volume',
  sortable: true,
  numeric: true,
  width: '100px',
};

export const difficultyColumn = {
  key: 'difficulty',
  label: 'Difficulty',
  sortable: true,
  badge: true,
  width: '120px',
};

export const intentColumn = {
  key: 'intent',
  label: 'Intent',
  sortable: true,
  badge: true,
  width: '120px',
};

export const clusterColumn = {
  key: 'cluster',
  label: 'Cluster',
  sortable: true,
  width: '200px',
};

export const createdColumn = {
  key: 'created_at',
  label: 'Created',
  sortable: true,
  date: true,
  width: '150px',
};

export const updatedColumn = {
  key: 'updated_at',
  label: 'Updated',
  sortable: true,
  date: true,
  width: '150px',
};

export const actionsColumn = {
  key: 'actions',
  label: 'Actions',
  sortable: false,
  width: '100px',
  fixed: true,
};

export const wordCountColumn = {
  key: 'word_count',
  label: 'Word Count',
  sortable: true,
  numeric: true,
  width: '120px',
};

export const sectorColumn = {
  key: 'sector_name',
  label: 'Sector',
  sortable: false,
  width: '150px',
};

