mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-30 19:46:38 +08:00
feat: improve subscription and download cards
This commit is contained in:
+21
-2
@@ -178,11 +178,16 @@ export interface Subscription {
|
||||
save_path?: string
|
||||
search_mode?: string
|
||||
imdb_id?: string
|
||||
source?: string
|
||||
poster_url?: string
|
||||
backdrop_url?: string
|
||||
overview?: string
|
||||
resolution?: string
|
||||
quality?: string
|
||||
effects?: string
|
||||
release_groups?: string
|
||||
exclude_words?: string
|
||||
wash_enabled?: boolean
|
||||
wash_priority?: string
|
||||
priority?: number
|
||||
enabled: boolean
|
||||
@@ -193,12 +198,21 @@ export interface Subscription {
|
||||
|
||||
export interface DownloadTask {
|
||||
id: string
|
||||
user_id: string
|
||||
source: string
|
||||
url: 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
|
||||
}
|
||||
@@ -206,6 +220,10 @@ export interface DownloadTask {
|
||||
export interface QBitTorrent {
|
||||
hash: string
|
||||
name: string
|
||||
title: string
|
||||
poster_url?: string
|
||||
backdrop_url?: string
|
||||
overview?: string
|
||||
state: string
|
||||
progress: number
|
||||
dlspeed: number
|
||||
@@ -213,6 +231,7 @@ export interface QBitTorrent {
|
||||
num_seeds: number
|
||||
num_leechs: number
|
||||
size: number
|
||||
downloaded: number
|
||||
save_path: string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user