add yandex disk pro

This commit is contained in:
fyears
2024-06-11 00:01:36 +08:00
parent 5186dcb967
commit 2e09686675
25 changed files with 1638 additions and 44 deletions
+8 -3
View File
@@ -8,6 +8,7 @@ import type {
GoogleDriveConfig,
PCloudConfig,
ProConfig,
YandexDiskConfig,
} from "../pro/src/baseTypesPro";
import type { LangTypeAndAuto } from "./i18n";
@@ -21,7 +22,8 @@ export type SUPPORTED_SERVICES_TYPE =
| "webdis"
| "googledrive"
| "box"
| "pcloud";
| "pcloud"
| "yandexdisk";
export type SUPPORTED_SERVICES_TYPE_WITH_REMOTE_BASE_DIR =
| "webdav"
@@ -30,7 +32,8 @@ export type SUPPORTED_SERVICES_TYPE_WITH_REMOTE_BASE_DIR =
| "webdis"
| "googledrive"
| "box"
| "pcloud";
| "pcloud"
| "yandexdisk";
export interface S3Config {
s3Endpoint: string;
@@ -127,7 +130,8 @@ export type QRExportType =
| "webdis"
| "googledrive"
| "box"
| "pcloud";
| "pcloud"
| "yandexdisk";
export interface ProfilerConfig {
enablePrinting?: boolean;
@@ -143,6 +147,7 @@ export interface RemotelySavePluginSettings {
googledrive: GoogleDriveConfig;
box: BoxConfig;
pcloud: PCloudConfig;
yandexdisk: YandexDiskConfig;
password: string;
serviceType: SUPPORTED_SERVICES_TYPE;
currLogLevel?: string;