Implements createFromWizard and createFromUpload service paths covering the documenso-template, in-app, and upload pathways. Persists subject FK, signers, watchers, and the per-document reminder controls (remindersDisabled / reminderCadenceOverride) introduced in PR1. New POST /api/v1/documents/wizard route and a functional /documents/new UI with type/source/template/signers/reminders sections. Drag-handle reorder, watcher autocomplete picker, and PDF preview defer to the PR10 polish sweep. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
11 lines
318 B
TypeScript
11 lines
318 B
TypeScript
import { CreateDocumentWizard } from '@/components/documents/create-document-wizard';
|
|
|
|
interface PageProps {
|
|
params: Promise<{ portSlug: string }>;
|
|
}
|
|
|
|
export default async function NewDocumentPage({ params }: PageProps) {
|
|
const { portSlug } = await params;
|
|
return <CreateDocumentWizard portSlug={portSlug} />;
|
|
}
|