feat: improved conflict resolution when uploading/copying/moving files (#5765)

This commit is contained in:
Ariel Leyva
2026-02-27 14:55:49 +01:00
committed by GitHub
parent e3d00d591b
commit aa809096eb
13 changed files with 550 additions and 154 deletions
+15
View File
@@ -52,6 +52,8 @@ type DownloadFormat =
interface ClipItem {
from: string;
name: string;
size?: number;
modified?: string;
}
interface BreadCrumb {
@@ -59,6 +61,19 @@ interface BreadCrumb {
url: string;
}
interface ConflictingItem {
lastModified: number | string | undefined;
size: number | undefined;
}
interface ConflictingResource {
index: number;
name: string;
origin: ConflictingItem;
dest: ConflictingItem;
checked: Array<"origin" | "dest">;
}
interface CsvData {
headers: string[];
rows: string[][];
+1
View File
@@ -17,6 +17,7 @@ interface UploadEntry {
isDir: boolean;
fullPath?: string;
file?: File;
overwrite?: boolean;
}
type UploadList = UploadEntry[];