"use client" import type { ColumnDef } from "@tanstack/react-table" import type { Repository } from "@/services/repositoryService" import { RepositoryConfigCell } from "@/components/RepositoryConfigCell" import { WebhookToggleCell } from "@/components/WebhookToggleCell" export const columns: ColumnDef[] = [ { accessorKey: "name", header: "仓库名称", cell: ({ row }) => (
{row.getValue("name")}
), }, { accessorKey: "webhook_status", header: "Webhook", cell: ({ row }) => { const repo = row.original return }, }, { id: "actions", header: () =>
提示词
, cell: ({ row }) => (
), }, ]