You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
960 B

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
}