chore: initial scaffold
Generated by /init-project. React 19 + TS strict + Vite 6 + Tailwind 4 + shadcn/ui + motion + pdf-lib + Zod + Zustand + react-router 7. Empty skeleton, no business logic. Docker multi-stage + nginx + Traefik labels commented. AGPL-3.0-or-later.
This commit is contained in:
commit
a115e785a7
88 files changed
+12149
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import type { Report } from '../schema/report';
|
||||
|
||||
export interface AnatomyAssets {
|
||||
svg: Record<string, string>;
|
||||
}
|
||||
|
||||
export async function exportReport(_report: Report, _assets: AnatomyAssets): Promise<Blob> {
|
||||
throw new Error('exportReport not implemented');
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import type { Report } from '../schema/report';
|
||||
|
||||
export type ImportFailure =
|
||||
| { ok: false; reason: 'NO_ATTACHMENT' }
|
||||
| { ok: false; reason: 'INVALID_JSON'; details?: string }
|
||||
| { ok: false; reason: 'SCHEMA_MISMATCH'; details?: string }
|
||||
| { ok: false; reason: 'UNREADABLE_PDF'; details?: string };
|
||||
|
||||
export type ImportResult = { ok: true; report: Report } | ImportFailure;
|
||||
|
||||
export async function importReport(_file: File): Promise<ImportResult> {
|
||||
throw new Error('importReport not implemented');
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -0,0 +1 @@
|
||||
export {};
|
||||
@@ -0,0 +1,2 @@
|
||||
export const PDF_SCHEMA_VERSION = 1 as const;
|
||||
export const PDF_ATTACHMENT_NAME = 'report.json' as const;
|
||||
Reference in new issue
Block a user