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 | null, originalTitle : string | null, overview : string | null, posterPath : string | null, releaseDate : string | null, title : string, tmdbId : 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 : T[], totalResults: number, totalPages : number }