]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/videos/video-comment.model.ts
Add video comment components
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-comment.model.ts
... / ...
CommitLineData
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
10 totalReplies: number
11 account: {
12 name: string
13 host: string
14 }
15}
16
17export interface VideoCommentThreadTree {
18 comment: VideoComment
19 children: VideoCommentThreadTree[]
20}
21
22export interface VideoCommentCreate {
23 text: string
24}