]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/video-comment.model.ts
04496263324ae8f347b4752afa337a3b78ae86ba
[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 totalReplies: number
15 account: Account
16 }
17
18 export interface VideoCommentThreadTree {
19 comment: VideoComment
20 children: VideoCommentThreadTree[]
21 }
22
23 export interface VideoCommentCreate {
24 text: string
25 }