]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/video-comment.model.ts
Begin unit tests
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-comment.model.ts
CommitLineData
bf1f6508
C
1export interface VideoComment {
2 id: number
3 url: string
4 text: string
5 threadId: number
6 inReplyToCommentId: number
7 videoId: number
8 createdAt: Date | string
9 updatedAt: Date | string
d3ea8975
C
10 account: {
11 name: string
12 }
bf1f6508
C
13}
14
d3ea8975 15export interface VideoCommentThreadTree {
bf1f6508 16 comment: VideoComment
d3ea8975 17 children: VideoCommentThreadTree[]
bf1f6508
C
18}
19
20export interface VideoCommentCreate {
21 text: string
22}