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>
39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
"use client";
|
|
|
|
import Link from "next/link";
|
|
import { useRole } from "../_components/useRole";
|
|
import { ModuleHeader } from "../_components/ModuleHeader";
|
|
import { ExportWizard } from "../_components/ExportWizard";
|
|
|
|
// Guided export creation page. Composes the ExportWizard (ScopeStep + FormatStep
|
|
// + ConfirmStep). Gating to editor+ is enforced server-side and reflected here.
|
|
export default function NewExportPage() {
|
|
const { canEdit, loading } = useRole();
|
|
|
|
return (
|
|
<div className="space-y-6">
|
|
<div>
|
|
<Link
|
|
href="/console/data-export"
|
|
className="text-sm text-accent hover:underline"
|
|
>
|
|
← Data export center
|
|
</Link>
|
|
</div>
|
|
|
|
<ModuleHeader
|
|
title="New export"
|
|
description="Choose a data scope and format, then start the export."
|
|
/>
|
|
|
|
{loading ? (
|
|
<div className="rounded-lg border border-ink/15 bg-white p-8 text-center text-sm text-ink/40">
|
|
Loading…
|
|
</div>
|
|
) : (
|
|
<ExportWizard canEdit={canEdit} />
|
|
)}
|
|
</div>
|
|
);
|
|
}
|