feat(api): tv details endpoint

This commit is contained in:
sct
2020-09-16 06:11:29 +00:00
parent b1761484cb
commit a3beeede7e
8 changed files with 342 additions and 24 deletions

View File

@@ -1,12 +1,6 @@
import { TmdbMovieDetails } from '../api/themoviedb';
import { MediaRequest } from '../entity/MediaRequest';
interface ProductionCompany {
id: number;
logoPath?: string;
originCountry: string;
name: string;
}
import { ProductionCompany, Genre } from './common';
export interface MovieDetails {
id: number;
@@ -14,10 +8,7 @@ export interface MovieDetails {
adult: boolean;
backdropPath?: string;
budget: number;
genres: {
id: number;
name: string;
}[];
genres: Genre[];
homepage?: string;
originalLanguage: string;
originalTitle: string;