fin du refactp

This commit is contained in:
Tom Boullay
2026-04-14 14:27:50 +02:00
parent e9ae6ffc41
commit f9e15d5e1f
18 changed files with 826 additions and 476 deletions
+23
View File
@@ -0,0 +1,23 @@
// ---------------------------------------------------------------------------
// Client-side types — used by components and hooks (no Node.js Buffer)
// ---------------------------------------------------------------------------
export type FileStatus = 'pending' | 'uploading' | 'success' | 'error'
export interface TextureFile {
name: string
file: File
}
export interface FolderEntry {
folderName: string
modelFile: File
textures: TextureFile[]
status: FileStatus
progress: number
error?: string
filename?: string
modelUrl?: string
viewerOpen?: boolean
warnings: string[]
}