feat: improve subscription and download cards

This commit is contained in:
ShukeBta
2026-05-28 23:27:34 +08:00
parent f457d0050e
commit c1b5dac784
20 changed files with 1239 additions and 204 deletions
+21 -2
View File
@@ -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
}