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>
27 lines
916 B
TypeScript
27 lines
916 B
TypeScript
"use client";
|
|
|
|
import type { SignatureRequest } from "@/lib/signatures/types";
|
|
import { RequestRow } from "./RequestRow";
|
|
|
|
// Table of signature requests. Presentational — the parent owns loading/empty/
|
|
// error states and only renders this when there are rows.
|
|
export function RequestsTable({ items }: { items: SignatureRequest[] }) {
|
|
return (
|
|
<table className="w-full text-sm">
|
|
<thead>
|
|
<tr className="text-left text-xs uppercase tracking-wide text-ink/40">
|
|
<th className="px-4 py-2 font-medium">Title</th>
|
|
<th className="px-4 py-2 font-medium">Entity</th>
|
|
<th className="px-4 py-2 font-medium">Status</th>
|
|
<th className="px-4 py-2 text-right font-medium">Created</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{items.map((request) => (
|
|
<RequestRow key={request.id} request={request} />
|
|
))}
|
|
</tbody>
|
|
</table>
|
|
);
|
|
}
|