feat: add texture diagnostics to viewer
This commit is contained in:
@@ -5,6 +5,20 @@ export interface TextureFile {
|
||||
file: File
|
||||
}
|
||||
|
||||
export type TextureDiagnosticSeverity = 'error' | 'warning'
|
||||
|
||||
export interface TextureDiagnosticIssue {
|
||||
severity: TextureDiagnosticSeverity
|
||||
title: string
|
||||
detail: string
|
||||
}
|
||||
|
||||
export interface TextureDiagnosticReport {
|
||||
status: 'idle' | 'ok' | 'warning' | 'error'
|
||||
summary: string
|
||||
issues: TextureDiagnosticIssue[]
|
||||
}
|
||||
|
||||
export type DriveStatus = 'pending' | 'uploading' | 'success' | 'error' | 'skipped'
|
||||
|
||||
export interface FolderEntry {
|
||||
@@ -20,6 +34,7 @@ export interface FolderEntry {
|
||||
assetUrls: Record<string, string>
|
||||
viewerOpen?: boolean
|
||||
warnings: string[]
|
||||
textureReport: TextureDiagnosticReport
|
||||
driveStatus?: DriveStatus
|
||||
driveError?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user