fix remaining build errors
This commit is contained in:
+16
-6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user