1
0
Fork 0
peertube/shared/models/videos/video-comment.model.ts
2018-01-03 17:35:00 +01:00

23 lines
437 B
TypeScript

import { Account } from '../actors'
export interface VideoComment {
id: number
url: string
text: string
threadId: number
inReplyToCommentId: number
videoId: number
createdAt: Date | string
updatedAt: Date | string
totalReplies: number
account: Account
}
export interface VideoCommentThreadTree {
comment: VideoComment
children: VideoCommentThreadTree[]
}
export interface VideoCommentCreate {
text: string
}