File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* eslint-disable camelcase */
2
+ type WhyHidden = 'ADULT_CONTENT' | 'SOCIAL_CONTENT' | 'REPORTED_CONTENT' | 'BLOCKED_USER_CONTENT'
3
+ type Attachment = 'NONE' | 'IMAGE' | 'NON_IMAGE' | 'BOTH'
4
+
5
+ export type Post = {
6
+ attachment_type : Attachment ,
7
+ can_override_hidden : boolean ,
8
+ comment_count : number ,
9
+ commented_at : string ,
10
+ communication_article_status : 0 | 1 | 2 ,
11
+ content_updated_at : string ,
12
+ created_at : string ,
13
+ created_by : {
14
+ id : string ,
15
+ profile : {
16
+ nickname : string ,
17
+ picture : string ,
18
+ user : string
19
+ } ,
20
+ username : string
21
+ } ,
22
+ days_left : number ,
23
+ deleted_at : string ,
24
+ hidden_at : string ,
25
+ hit_count : number ,
26
+ id : number ,
27
+ name_type : number ,
28
+ is_content_sexual : boolean ,
29
+ is_content_social : boolean ,
30
+ is_hidden : boolean ,
31
+ negative_vote_count : number
32
+ parent_board : any ,
33
+ parent_topic : any ,
34
+ positive_vote_count : number ,
35
+ read_status : string ,
36
+ report_count : number ,
37
+ title : string ,
38
+ updated_at : string ,
39
+ url : string ,
40
+ why_hidden : WhyHidden [ ]
41
+ }
You can’t perform that action at this time.
0 commit comments