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