mirror of
https://github.com/WonderAliceUwU/OmniArr.git
synced 2026-11-21 19:35:56 +00:00
feature: add search
This commit is contained in:
1 parent
7de5dcf00d
commit
36e2b559f0
6 files changed
+496
-53
No files matched your search
@@ -1,6 +1,7 @@
|
||||
export type AppRoute =
|
||||
| 'stream'
|
||||
| 'home'
|
||||
| 'search'
|
||||
| 'anime'
|
||||
| 'dorama'
|
||||
| 'netflix'
|
||||
@@ -90,6 +91,7 @@ export interface MediaCard {
|
||||
posterUrl: string;
|
||||
backdropUrl: string;
|
||||
logoUrl?: string;
|
||||
backdropLanguageFallback?: boolean;
|
||||
badge?: string;
|
||||
progress?: number;
|
||||
secondaryValue?: string;
|
||||
@@ -207,6 +209,11 @@ export interface CalendarResponse {
|
||||
items: CalendarEntry[];
|
||||
}
|
||||
|
||||
export interface SearchResponse {
|
||||
query: string;
|
||||
items: MediaCard[];
|
||||
}
|
||||
|
||||
export interface DashboardResponse {
|
||||
connections: ConnectionStatus[];
|
||||
hero: MediaCard[];
|
||||
|
||||
Reference in new issue
Block a user