mirror of
https://github.com/WonderAliceUwU/OmniArr.git
synced 2026-11-22 19:35:56 +00:00
⭐️ feature: add tv networks
This commit is contained in:
1 parent
7d9343ead3
commit
c5965802d0
10 files changed
+1473
-351
No files matched your search
+18
-1
@@ -3,6 +3,11 @@ export type AppRoute =
|
||||
| 'home'
|
||||
| 'anime'
|
||||
| 'dorama'
|
||||
| 'netflix'
|
||||
| 'primevideo'
|
||||
| 'hbo'
|
||||
| 'viki'
|
||||
| 'disney'
|
||||
| 'library'
|
||||
| 'downloads'
|
||||
| 'settings';
|
||||
@@ -89,11 +94,23 @@ export interface MediaCard {
|
||||
mediaType: 'movie' | 'tv' | 'episode' | 'series' | 'mixed';
|
||||
posterUrl: string;
|
||||
backdropUrl: string;
|
||||
logoUrl?: string;
|
||||
badge?: string;
|
||||
progress?: number;
|
||||
secondaryValue?: string;
|
||||
hoverLabel?: string;
|
||||
actionLabel?: string;
|
||||
accent?: string;
|
||||
popularity?: number;
|
||||
voteAverage?: number;
|
||||
voteCount?: number;
|
||||
originalLanguage?: string;
|
||||
releaseDate?: string;
|
||||
firstAirDate?: string;
|
||||
lastAirDate?: string;
|
||||
seasonCount?: number;
|
||||
mediaStatus?: string;
|
||||
genreIds?: number[];
|
||||
}
|
||||
|
||||
export interface DownloadItem {
|
||||
@@ -126,7 +143,7 @@ export interface HubSection {
|
||||
}
|
||||
|
||||
export interface HubPageResponse {
|
||||
page: 'stream' | 'home' | 'anime' | 'dorama' | 'library';
|
||||
page: 'stream' | 'home' | 'anime' | 'dorama' | 'netflix' | 'primevideo' | 'hbo' | 'viki' | 'disney' | 'library';
|
||||
hero: MediaCard[];
|
||||
continueWatching?: MediaCard[];
|
||||
sections: HubSection[];
|
||||
|
||||
Reference in new issue
Block a user