"use client"; import type { ColumnDef } from "@tanstack/react-table"; import Link from "next/link"; import { DataTableColumnHeader } from "@/components/ui/data-table-column-header"; import type { getPostBySlug } from "@/lib/content"; type Post = Awaited>; export const columns: ColumnDef[] = [ { accessorKey: "title", header: "Title", cell: ({ row }) => ( {row.getValue("title")} ), }, { accessorKey: "publishedAt", header: ({ column }) => ( ), }, ];