Fix organize targets and cloud transfer controls

This commit is contained in:
ShukeBta
2026-06-14 00:27:39 +08:00
parent 22b76c5e1d
commit c76c72966a
22 changed files with 512 additions and 104 deletions
+3 -1
View File
@@ -36,13 +36,14 @@ export interface CloudUploadResult {
source_path: string
dest_path: string
uploaded: number
moved?: number
skipped: number
bytes: number
errors?: string[]
items?: Array<{
source: string
target: string
action: 'upload' | 'skip' | 'error'
action: 'upload' | 'move' | 'skip' | 'error'
size?: number
reason?: string
}>
@@ -103,6 +104,7 @@ export const storageAPI = {
recursive: boolean
include_sidecars: boolean
overwrite: boolean
transfer_mode?: 'copy' | 'move'
},
) =>
api
+1
View File
@@ -18,6 +18,7 @@ export interface BackgroundTask {
dest_path?: string
message?: string
error?: string
details?: string[]
metrics?: Record<string, number>
started_at: string
updated_at: string