diff --git a/src-tauri/src/ipc.rs b/src-tauri/src/ipc.rs index 19bf03264..8f456b06b 100644 --- a/src-tauri/src/ipc.rs +++ b/src-tauri/src/ipc.rs @@ -116,9 +116,6 @@ pub struct WebDavFile { pub href: String, #[specta(type = String)] pub last_modified: chrono::DateTime, - pub content_length: i64, - pub content_type: String, - pub tag: Option, } impl From for WebDavFile { @@ -126,9 +123,6 @@ impl From for WebDavFile { Self { href: file.href, last_modified: file.last_modified, - content_length: file.content_length, - content_type: file.content_type, - tag: file.tag, } } } diff --git a/src/services/bindings.ts b/src/services/bindings.ts index f6c80c606..25dd62d35 100644 --- a/src/services/bindings.ts +++ b/src/services/bindings.ts @@ -1054,9 +1054,6 @@ export type VergeEventPayloads = { export type WebDavFile = { href: string last_modified: string - content_length: number - content_type: string - tag: string | null } export type YamlMapping = { [key in string]: JsonValue } diff --git a/src/services/cmds.ts b/src/services/cmds.ts index df37644ab..30530e851 100644 --- a/src/services/cmds.ts +++ b/src/services/cmds.ts @@ -424,7 +424,6 @@ export async function listWebDavBackup() { return (await commands.listWebdavBackup()).map((item) => ({ ...item, filename: item.href.split('/').pop() ?? '', - tag: item.tag, })) }