]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/video-comment.model.ts
Soft delete video comments instead of detroy
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-comment.model.ts
CommitLineData
cf117aaa
C
1import { Account } from '../actors'
2
bf1f6508
C
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
69222afa
JM
12 deletedAt: Date | string
13 isDeleted: boolean
4635f59d 14 totalReplies: number
cf117aaa 15 account: Account
bf1f6508
C
16}
17
d3ea8975 18export interface VideoCommentThreadTree {
bf1f6508 19 comment: VideoComment
d3ea8975 20 children: VideoCommentThreadTree[]
bf1f6508
C
21}
22
23export interface VideoCommentCreate {
24 text: string
25}