-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.ts
53 lines (50 loc) · 980 Bytes
/
types.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
export interface Track {
name: string;
artist: string;
album: string;
image: string;
deezer: DeezerTrack;
type: string;
}
export interface DeezerTrack {
id: number;
readable: boolean;
title: string;
title_short: string;
title_version: string;
link: string;
duration: number;
rank: number;
explicit_lyrics: boolean;
explicit_content_lyrics: number;
explicit_content_cover: number;
preview: string;
md5_image: string;
artist: DeezerArtist;
album: DeezerAlbum;
type: string;
}
export interface DeezerArtist {
id: number;
name: string;
link: string;
picture: string;
picture_small: string;
picture_medium: string;
picture_big: string;
picture_xl: string;
tracklist: string;
type: string;
}
export interface DeezerAlbum {
id: number;
title: string;
cover: string;
cover_small: string;
cover_medium: string;
cover_big: string;
cover_xl: string;
md5_image: string;
tracklist: string;
type: string;
}