1
0
Fork 0
peertube/shared/models/videos/video-comment.model.ts
2017-12-22 11:29:12 +01:00

19 lines
350 B
TypeScript

export interface VideoComment {
id: number
url: string
text: string
threadId: number
inReplyToCommentId: number
videoId: number
createdAt: Date | string
updatedAt: Date | string
}
export interface VideoCommentThread {
comment: VideoComment
children: VideoCommentThread[]
}
export interface VideoCommentCreate {
text: string
}