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>
29 lines
828 B
TypeScript
29 lines
828 B
TypeScript
import type { ListValue } from "./types";
|
|
|
|
interface ListWidgetProps {
|
|
data: ListValue;
|
|
}
|
|
|
|
// Compact list of recent rows (claims, documents, verifications).
|
|
export function ListWidget({ data }: ListWidgetProps) {
|
|
if (data.items.length === 0) {
|
|
return (
|
|
<p className="py-6 text-center text-sm text-ink/40">No items yet.</p>
|
|
);
|
|
}
|
|
return (
|
|
<ul className="divide-y divide-ink/10">
|
|
{data.items.map((item) => (
|
|
<li key={item.id} className="flex items-center justify-between gap-3 py-2">
|
|
<span className="min-w-0 truncate text-sm text-ink/70" title={item.primary}>
|
|
{item.primary}
|
|
</span>
|
|
{item.secondary ? (
|
|
<span className="shrink-0 text-xs text-ink/40">{item.secondary}</span>
|
|
) : null}
|
|
</li>
|
|
))}
|
|
</ul>
|
|
);
|
|
}
|