mirror of
https://github.com/WonderAliceUwU/OmniArr.git
synced 2026-11-22 11:35:56 +00:00
feature and fix: add library, fix season names and episode names language
This commit is contained in:
1 parent
51443d71f8
commit
103bdbb2cd
6 files changed
+729
-109
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user