feature: add search

This commit is contained in:
WonderAliceUwU committed 2026-07-08 18:49:30 +02:00
1 parent 7de5dcf00d
commit 36e2b559f0
6 files changed
+496 -53

No files matched your search

+7
View File
@@ -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[];