-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkpopnet.d.ts
49 lines (45 loc) · 935 Bytes
/
kpopnet.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
export interface Idol {
// required
id: string;
name: string;
name_original: string;
real_name: string;
real_name_original: string;
birth_date: string;
urls: string[];
// optional
name_alias: string | null;
debut_date: string | null;
height: number | null;
weight: number | null;
thumb_url: string | null;
// references
groups: string[];
}
export interface GroupMember {
idol_id: string;
current: boolean;
roles: string | null;
}
export interface Group {
// required
id: string;
name: string;
name_original: string;
agency_name: string;
urls: string[];
// optional
name_alias: string | null;
debut_date: string | null;
disband_date: string | null;
thumb_url: string | null;
// references
members: GroupMember[];
parent_id: string | null;
}
export interface Profiles {
groups: Group[];
idols: Idol[];
}
declare const profiles: Profiles;
export default profiles;