caelum0x 695a365ae4 feat: PaperTrail — enterprise evidence-verification platform
Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a
deterministic verification core: clinical-trial claims checked against
ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI
recomputed in code, oracle-tested), code-enforced exact-span grounding, and
multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing
at scale (unpdf + Docling), agentic workflows, Claude Science connector,
compliance/audit, billing, public API, and more.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 07:21:22 +03:00

33 lines
1.1 KiB
TypeScript

import Link from "next/link";
import type { ReportDefinition } from "@/lib/reporting/types";
import { typeLabel, formatDate } from "./format";
interface ReportRowProps {
definition: ReportDefinition;
}
// One row in the report list table. Links to the definition's detail/runs page.
export function ReportRow({ definition }: ReportRowProps) {
return (
<tr className="border-t border-ink/10 hover:bg-paper">
<td className="px-4 py-3">
<Link
href={`/console/reporting/${definition.id}`}
className="font-medium text-ink/80 hover:text-accent"
>
{definition.name}
</Link>
</td>
<td className="px-4 py-3 text-ink/60">{typeLabel(definition.type)}</td>
<td className="px-4 py-3 text-ink/60">
{definition.layout.sections.length} section
{definition.layout.sections.length === 1 ? "" : "s"}
</td>
<td className="px-4 py-3 text-ink/50">
{definition.createdByName ?? "—"}
</td>
<td className="px-4 py-3 text-ink/50">{formatDate(definition.createdAt)}</td>
</tr>
);
}