WebDAV sync: make config per-vault so switching vaults no longer cross-contaminates remotes; migrate existing global config

to the active vault
This commit is contained in:
Yuri Karamian
2026-06-27 01:08:02 +02:00
parent ffd9ebad7e
commit a43bf05bf0
5 changed files with 116 additions and 28 deletions
+9
View File
@@ -44,6 +44,15 @@ export interface NoteContent {
export interface VaultConfig {
path: string;
name: string;
// Per-vault WebDAV sync (moved off the global AppConfig).
sync_provider?: string | null;
webdav_url?: string | null;
webdav_username?: string | null;
webdav_password?: string | null;
sync_on_open?: boolean;
sync_on_change?: boolean;
sync_interval_minutes?: number;
last_sync_time?: string | null;
}
export interface CustomThemeColors {