added certifactions and configurations, util function for constructing image paths
This commit is contained in:
38
src/types/credits.ts
Normal file
38
src/types/credits.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import { Person } from './';
|
||||
|
||||
export interface CreditSeason {
|
||||
air_date?: string;
|
||||
poster_path?: string;
|
||||
season_number?: number;
|
||||
}
|
||||
|
||||
|
||||
export interface Media{
|
||||
i?: number;
|
||||
name?:string;
|
||||
first_air_date?: string;
|
||||
vote_count?: number;
|
||||
overview?: string;
|
||||
vote_average?: number;
|
||||
backdrop_path?: string;
|
||||
genre_ids?: number[];
|
||||
original_name?: string;
|
||||
origin_country?: string[];
|
||||
poster_path?: string;
|
||||
original_language?: string;
|
||||
popularity?: number;
|
||||
character?: string;
|
||||
episodes?: string[];
|
||||
seasons?: CreditSeason[];
|
||||
}
|
||||
|
||||
export interface CreditResponse {
|
||||
credit_type?: string;
|
||||
department?: string;
|
||||
job?: string;
|
||||
media?: Media;
|
||||
media_type?: string;
|
||||
id?: string;
|
||||
person?: Person;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user