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

39 lines
1.1 KiB
TypeScript

import Link from "next/link";
import type { ReferenceLibraryDto } from "../api";
function LibraryCard({ library }: { library: ReferenceLibraryDto }) {
return (
<Link
href={`/console/references/${library.id}`}
className="block bg-white border border-ink/15 rounded-lg p-4 hover:border-accent"
>
<div className="flex items-center justify-between">
<span className="font-medium text-ink/80">{library.name}</span>
<span className="text-xs rounded px-2 py-0.5 bg-accent/10 text-accent">
{library.referenceCount ?? 0} refs
</span>
</div>
<p className="mt-1 text-xs text-ink/40">
Created {new Date(library.createdAt).toLocaleDateString()}
</p>
</Link>
);
}
interface LibraryListProps {
libraries: ReferenceLibraryDto[];
}
// Vertical list of reference-library cards.
export function LibraryList({ libraries }: LibraryListProps) {
return (
<ul className="space-y-2">
{libraries.map((lib) => (
<li key={lib.id}>
<LibraryCard library={lib} />
</li>
))}
</ul>
);
}