fix remaining build errors

This commit is contained in:
2026-05-01 08:30:36 +03:00
parent 8886abf589
commit 2c317fb0ec
24 changed files with 90 additions and 64 deletions
+16 -6
View File
@@ -461,12 +461,22 @@ export interface TmdbSearchMultiResult extends TmdbMovie {
known_for?: any[]
}
/** TMDB discover result - union of movie and tv with optional media_type. */
export type TmdbDiscoverItem =
| TmdbMovie
| TmdbTvShow
| (TmdbMovie & { media_type: string })
| (TmdbTvShow & { media_type: string })
/** TMDB discover result - permissive interface for movie / tv / multi. */
export interface TmdbDiscoverItem {
id: number
title?: string
name?: string
overview?: string
poster_path?: string | null
backdrop_path?: string | null
release_date?: string
first_air_date?: string
vote_average?: number
vote_count?: number
adult?: boolean
original_language?: string
media_type?: string
}
/* ────────────────────────────────────────────────────────────── */
/* Fetcher */