-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.d.ts
110 lines (105 loc) · 1.87 KB
/
index.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
type TImage = {
original: string
}
type TToast = {
id: number
content: string
}
type TChannel = TChannelLong | TChannelShort
type TChannelShort = {
type: string
id: number
created_at: string
updated_at: string
title: string
description: string
formatted_description: string
station_call_letters: string
parent_channel_id: number
urls: {
web_url: string
logo_image: TImage
banner_image: TImage
}
recommendation: {
position: number
category_id: number
default_follow: boolean
}
}
type TChannelLong = {
id: number
channel_id: number
stream_id: number
submission_style: string
channel_style: string
public_read: boolean
writable: boolean
parent_channel_id: number
created_at: string
updated_at: string
title: string
description: string
formatted_description: string
station_call_letters: string
urls: {
web_url: string
logo_image: TImage
banner_image: TImage
}
category: {
id: number
title: string
description: any
updated_at: string
priority: number
}
channel_clips_count: number
total_plays: any
}
type TEpisode = {
id: number
title: string
description: string
updated_at: string
user: {
id: number
username: string
urls: {
profile: string
image: string
profile_image: TImage
}
}
link_style: string
channel: {
id: number
title: string
urls: {
detail: string
logo_image: TImage
}
}
duration: number
mp3_filesize: number
uploaded_at: string
recorded_at: string
uploaded_at_ts: number
recorded_at_ts: number
can_comment: boolean
can_embed: boolean
category_id: number
counts: {
comments: number
likes: number
plays: number
}
urls: {
detail: string
high_mp3: string
image: string
post_image: TImage
wave_img: string
}
image_attachment: number
}