"use client"; import { DatabaseBackupIcon } from "lucide-react"; import { PaginatedTable } from "../../../_components/PaginatedTable"; import Link from "next/link"; import { ColumnDef } from "@tanstack/react-table"; import { Prisma, Station } from "@repo/db"; const page = () => { return ( <> ({ OR: [ { bosCallsign: { contains: searchField, mode: "insensitive" } }, { operator: { contains: searchField, mode: "insensitive" } }, ], }) as Prisma.StationWhereInput } stickyHeaders columns={ [ { header: "BOS Name", accessorKey: "bosCallsign", }, { header: "Bos Use", accessorKey: "bosUse", }, { header: "Country", accessorKey: "country", }, { header: "operator", accessorKey: "operator", }, { header: "Aktionen", cell: ({ row }) => (
), }, ] as ColumnDef[] } leftOfSearch={ Stationen } rightOfSearch={

} /> ); }; export default page;