export enum MovieStatus {
|
|
Rumored = "Rumored",
|
|
Planned = "Planned",
|
|
InProduction = "InProduction",
|
|
PostProduction = "PostProduction",
|
|
Released = "Released",
|
|
Canceled = "Canceled"
|
|
}
|
|
|
|
export interface IMovieLanguage {
|
|
iso_639_1: string,
|
|
name : string
|
|
}
|
|
|
|
export interface IMovie {
|
|
backdropPath : string | null,
|
|
originalLanguage: string,
|
|
originalTitle : string,
|
|
overview : string | null,
|
|
posterPath : string | null,
|
|
releaseDate : string,
|
|
title : string,
|
|
tmdbId : number,
|
|
voteAverage : number,
|
|
voteCount : number
|
|
}
|
|
|
|
export interface IMovieDetails extends IMovie {
|
|
imdbId : string | null,
|
|
runtime : number | null,
|
|
spokenLanguages: IMovieLanguage[],
|
|
status : MovieStatus,
|
|
tagline : string | null
|
|
}
|
|
|
|
export interface IPaginatedResponse {
|
|
page : number,
|
|
results : IMovie[],
|
|
totalResults: number,
|
|
totalPages : number
|
|
}
|