fin du refactp
This commit is contained in:
@@ -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[]
|
||||
}
|
||||
Reference in New Issue
Block a user