]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/video-comment.model.ts
Add comments controller
[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
10}
11
12export interface VideoCommentThread {
13 comment: VideoComment
14 children: VideoCommentThread[]
15}
16
17export interface VideoCommentCreate {
18 text: string
19}