mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-04 04:26:38 +08:00
清理qBittorrent接入残留:删除死schema分组与前端下载类型,下载器保存目录键改为downloader.savepath并兼容旧键
This commit is contained in:
@@ -1,60 +0,0 @@
|
||||
export interface DownloadTask {
|
||||
id: string
|
||||
source: string
|
||||
download_client_id?: string
|
||||
external_id?: string
|
||||
title: string
|
||||
poster_url?: string
|
||||
backdrop_url?: string
|
||||
overview?: string
|
||||
save_path: string
|
||||
status: string
|
||||
progress: number
|
||||
state?: string
|
||||
dlspeed?: number
|
||||
upspeed?: number
|
||||
num_seeds?: number
|
||||
num_leechs?: number
|
||||
size?: number
|
||||
downloaded?: number
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
export interface QBitTorrent {
|
||||
hash: string
|
||||
client_id: string
|
||||
source: 'qbittorrent' | 'transmission' | 'aria2'
|
||||
name: string
|
||||
title: string
|
||||
poster_url?: string
|
||||
backdrop_url?: string
|
||||
overview?: string
|
||||
state: string
|
||||
progress: number
|
||||
dlspeed: number
|
||||
upspeed: number
|
||||
num_seeds: number
|
||||
num_leechs: number
|
||||
size: number
|
||||
downloaded: number
|
||||
save_path: string
|
||||
}
|
||||
|
||||
export interface DownloadClient {
|
||||
id: string
|
||||
name: string
|
||||
type: 'qbittorrent' | 'transmission' | 'aria2'
|
||||
host: string
|
||||
username: string
|
||||
is_default: boolean
|
||||
enabled: boolean
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
export interface DownloadClientTypeInfo {
|
||||
type: string
|
||||
name: string
|
||||
description: string
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
export * from './api'
|
||||
export * from './auth'
|
||||
export * from './downloads'
|
||||
export * from './events'
|
||||
export * from './history'
|
||||
export * from './library'
|
||||
|
||||
Reference in New Issue
Block a user