]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/video-comment.model.ts
Add video comment components
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-comment.model.ts
CommitLineData
bf1f6508
C
1export interface VideoComment {
2 id: number
3 url: string
4 text: string
5 threadId: number
6 inReplyToCommentId: number
7 videoId: number
8 createdAt: Date | string
9 updatedAt: Date | string
4635f59d 10 totalReplies: number
d3ea8975
C
11 account: {
12 name: string
4635f59d 13 host: string
d3ea8975 14 }
bf1f6508
C
15}
16
d3ea8975 17export interface VideoCommentThreadTree {
bf1f6508 18 comment: VideoComment
d3ea8975 19 children: VideoCommentThreadTree[]
bf1f6508
C
20}
21
22export interface VideoCommentCreate {
23 text: string
24}