mirror of
https://github.com/WonderAliceUwU/OmniArr.git
synced 2026-11-19 11:35:56 +00:00
feature: add calendar
This commit is contained in:
1 parent
7953a258d4
commit
eaa0ede2ec
6 files changed
+621
-12
No files matched your search
@@ -9,6 +9,7 @@ export type AppRoute =
|
||||
| 'viki'
|
||||
| 'disney'
|
||||
| 'library'
|
||||
| 'calendar'
|
||||
| 'downloads'
|
||||
| 'settings';
|
||||
|
||||
@@ -189,6 +190,23 @@ export interface DownloadItem {
|
||||
mediaType?: 'movie' | 'tv' | 'series';
|
||||
}
|
||||
|
||||
export interface CalendarEntry {
|
||||
id: string;
|
||||
source: 'sonarr' | 'radarr';
|
||||
kind: 'episode' | 'movie';
|
||||
startsAt: string;
|
||||
title: string;
|
||||
subtitle: string;
|
||||
detail: string;
|
||||
imageUrl?: string;
|
||||
stateLabel?: string;
|
||||
card: MediaCard;
|
||||
}
|
||||
|
||||
export interface CalendarResponse {
|
||||
items: CalendarEntry[];
|
||||
}
|
||||
|
||||
export interface DashboardResponse {
|
||||
connections: ConnectionStatus[];
|
||||
hero: MediaCard[];
|
||||
|
||||
Reference in new issue
Block a user