import { db } from "bridge-common"; import { serviceConfig, List } from "bridge-ui"; type PageProps = { params: { segment: string[]; }; }; export default async function Page({ params: { segment } }: PageProps) { const service = segment[0]; if (!service) return null; const config = serviceConfig[service]; if (!config) return null; const rows = await db.selectFrom(config.table).selectAll().execute(); return ; }