feature and fix: add library, fix season names and episode names language

This commit is contained in:
WonderAliceUwU committed 2026-08-02 09:39:16 +02:00
1 parent 51443d71f8
commit 103bdbb2cd
6 files changed
+729 -109

No files matched your search

+33
View File
@@ -200,6 +200,37 @@ export interface DownloadItem {
mediaType?: 'movie' | 'tv' | 'series';
}
export interface ProcessingItem {
id: string;
source: 'sonarr' | 'radarr';
title: string;
subtitle?: string;
posterUrl?: string;
backdropUrl?: string;
tmdbId?: number;
mediaType?: 'movie' | 'tv' | 'series';
user: string;
createdAt: string;
}
export interface CompletedDownloadItem {
id: string;
source: 'sonarr' | 'radarr';
title: string;
subtitle?: string;
posterUrl?: string;
backdropUrl?: string;
tmdbId?: number;
mediaType?: 'movie' | 'tv' | 'series';
completedAt: string;
}
export interface DownloadsResponse {
processing: ProcessingItem[];
downloading: DownloadItem[];
completed: CompletedDownloadItem[];
}
export interface CalendarEntry {
id: string;
source: 'sonarr' | 'radarr';
@@ -230,6 +261,8 @@ export interface DashboardResponse {
recommendations: MediaCard[];
trendingSeries: MediaCard[];
downloads: DownloadItem[];
processing: ProcessingItem[];
completedDownloads: CompletedDownloadItem[];
}
export interface TitleDetailsRequest {