-
Notifications
You must be signed in to change notification settings - Fork 0
/
typings.d.ts
61 lines (55 loc) · 1.16 KB
/
typings.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
export type Movie = {
adult: boolean;
backdrop_path: string;
genre_ids: number[];
id: number;
media_type: string;
original_language: string;
original_title: string;
overview: string;
popularity: number;
poster_path: string;
release_date: string;
title: string;
video: boolean;
vote_average: number;
vote_count: number;
};
export type TvShow = {
adult: boolean;
backdrop_path: string;
genre_ids: number[];
id: number;
media_type: string;
original_language: string;
original_name: string;
overview: string;
popularity: number;
poster_path: string;
first_air_date: string;
name: string;
origin_country: string[];
vote_average: number;
vote_count: number;
};
export type MovieOrTvShow = {
adult: boolean;
backdrop_path: string;
genre_ids: number[];
id: number;
media_type: string;
original_language: string;
overview: string;
popularity: number;
poster_path: string;
vote_average: number;
vote_count: number;
title?: string;
name?: string;
original_title?: string;
original_name?: string;
release_date?: string;
first_air_date?: string;
video?: boolean;
origin_country?: string[];
};