'use client'

import { type ColumnDef } from '@tanstack/react-table'

import {
  DataTableColumnHeaderSelect,
  DataTableColumnSelect
} from '@repo/ui/components/data-table'
import { columns as columns_, type Order } from '@repo/ui/routes/orders/columns'

export type { Order }

export const columns: ColumnDef<Order>[] = [
  {
    id: 'select',
    header: DataTableColumnHeaderSelect,
    cell: DataTableColumnSelect,
    meta: { className: 'w-9' }
  },
  ...columns_
]
