2017-12-22 04:50:07 -05:00
|
|
|
export interface VideoComment {
|
|
|
|
id: number
|
|
|
|
url: string
|
|
|
|
text: string
|
|
|
|
threadId: number
|
|
|
|
inReplyToCommentId: number
|
|
|
|
videoId: number
|
|
|
|
createdAt: Date | string
|
|
|
|
updatedAt: Date | string
|
2017-12-22 06:10:40 -05:00
|
|
|
account: {
|
|
|
|
name: string
|
|
|
|
}
|
2017-12-22 04:50:07 -05:00
|
|
|
}
|
|
|
|
|
2017-12-22 06:10:40 -05:00
|
|
|
export interface VideoCommentThreadTree {
|
2017-12-22 04:50:07 -05:00
|
|
|
comment: VideoComment
|
2017-12-22 06:10:40 -05:00
|
|
|
children: VideoCommentThreadTree[]
|
2017-12-22 04:50:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface VideoCommentCreate {
|
|
|
|
text: string
|
|
|
|
}
|