]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/videos/video-comment.model.ts
Correctly handle video import errors
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-comment.model.ts
... / ...
CommitLineData
1import { Account } from '../actors'
2
3export 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
16export interface VideoCommentThreadTree {
17 comment: VideoComment
18 children: VideoCommentThreadTree[]
19}
20
21export interface VideoCommentCreate {
22 text: string
23}