mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-06 16:24:17 +00:00
feat(storage): add archive storage support for assets (#514)
* feat(storage): add archive storage support for assets * fix(webui): show archive icon in front of file name in breadcrumb bar * fix(webui): display archive icon in breadcrumbs when restoring * refactor(transcode): simplify restore asset workflow to single while loop * docs(configuration): add archive storage documentation and readme entries * fix(webui): show archive icon in front of version names and prevent version card overflow * fix(webui): fix overflow in manage versions dialog scroll area * fix(webui): prevent manage versions dialog overflow on long file names * docs(configuration): fix archive storage environment variables and defaults * fix(storage): address code review findings for archive storage
This commit is contained in:
@@ -12,6 +12,7 @@ export interface TopNavProjectState {
|
||||
name?: string
|
||||
type: 'file' | 'folder'
|
||||
version?: number
|
||||
status?: string
|
||||
proxyType?: 'image' | 'video' | 'audio' | 'pdf' | '3d' | null
|
||||
}
|
||||
isRootFolder: boolean
|
||||
@@ -31,6 +32,7 @@ export interface TopNavProjectState {
|
||||
id: string
|
||||
version: number
|
||||
name?: string | null
|
||||
status?: string | null
|
||||
previewUrl?: string | null
|
||||
creator?: { id: string; name: string | null } | null
|
||||
agent?: { id: string; name: string } | null
|
||||
@@ -42,6 +44,8 @@ export interface TopNavProjectState {
|
||||
onFolderClick?: (folderId: string) => void
|
||||
onRename?: () => void
|
||||
onDelete?: () => void
|
||||
onArchive?: () => void
|
||||
onRestoreArchive?: () => void
|
||||
isRightSidebarCollapsed?: boolean
|
||||
onRightSidebarToggle?: () => void
|
||||
// Compare Versions
|
||||
|
||||
Reference in New Issue
Block a user