]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/video-comment.model.ts
Add author indicator to the comment replies loader
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-comment.model.ts
1 import { Account } from '../actors'
2
3 export interface VideoComment {
4 id: number
5 url: string
6 text: string
7 threadId: number
8 inReplyToCommentId: number
9 videoId: number
10 createdAt: Date | string
11 updatedAt: Date | string
12 deletedAt: Date | string
13 isDeleted: boolean
14 totalRepliesFromVideoAuthor: number
15 totalReplies: number
16 account: Account
17 }
18
19 export interface VideoCommentThreadTree {
20 comment: VideoComment
21 children: VideoCommentThreadTree[]
22 }
23
24 export interface VideoCommentCreate {
25 text: string
26 }