fix: 修复 webdav 文件格式以恢复 CI 检查
This commit is contained in:
parent
04021d39f8
commit
f3dfa3e1a7
|
|
@ -77,12 +77,7 @@ import { useConnectionStore } from "@/stores/connectionStore";
|
|||
import { useSavedSqlStore } from "@/stores/savedSqlStore";
|
||||
import { currentLocale, setLocale, type Locale } from "@/i18n";
|
||||
import { LOCALE_OPTIONS } from "@/lib/localeOptions";
|
||||
import {
|
||||
DEFAULT_WEB_DAV_AUTO_UPLOAD_INTERVAL_MINUTES,
|
||||
DEFAULT_WEB_DAV_REMOTE_PATH,
|
||||
normalizedWebDavAutoUploadInterval,
|
||||
writeWebDavAutoUploadFields,
|
||||
} from "@/lib/webdavAutoUploadConfig";
|
||||
import { DEFAULT_WEB_DAV_AUTO_UPLOAD_INTERVAL_MINUTES, DEFAULT_WEB_DAV_REMOTE_PATH, normalizedWebDavAutoUploadInterval, writeWebDavAutoUploadFields } from "@/lib/webdavAutoUploadConfig";
|
||||
|
||||
const { t } = useI18n();
|
||||
const settingsStore = useSettingsStore();
|
||||
|
|
|
|||
|
|
@ -1,13 +1,7 @@
|
|||
import type { WebDavConfig } from "@/lib/api";
|
||||
import { safeLocalStorageGet, safeLocalStorageSet } from "@/lib/safeStorage";
|
||||
|
||||
export const WEB_DAV_AUTO_UPLOAD_STORAGE_KEYS = [
|
||||
"dbx-webdav-endpoint",
|
||||
"dbx-webdav-username",
|
||||
"dbx-webdav-remote-path",
|
||||
"dbx-webdav-auto-upload-enabled",
|
||||
"dbx-webdav-auto-upload-interval-minutes",
|
||||
] as const;
|
||||
export const WEB_DAV_AUTO_UPLOAD_STORAGE_KEYS = ["dbx-webdav-endpoint", "dbx-webdav-username", "dbx-webdav-remote-path", "dbx-webdav-auto-upload-enabled", "dbx-webdav-auto-upload-interval-minutes"] as const;
|
||||
|
||||
export const DEFAULT_WEB_DAV_REMOTE_PATH = "DBX/sync/snapshot.json";
|
||||
export const DEFAULT_WEB_DAV_AUTO_UPLOAD_INTERVAL_MINUTES = 30;
|
||||
|
|
|
|||
Loading…
Reference in New Issue