1
0
Fork 0
peertube/shared/models/videos/video-comment.model.ts

27 lines
523 B
TypeScript
Raw Normal View History

2018-01-03 11:25:47 -05:00
import { Account } from '../actors'
2017-12-22 04:50:07 -05:00
export interface VideoComment {
id: number
url: string
text: string
threadId: number
inReplyToCommentId: number
videoId: number
createdAt: Date | string
updatedAt: Date | string
deletedAt: Date | string
isDeleted: boolean
totalRepliesFromVideoAuthor: number
2017-12-27 10:11:53 -05:00
totalReplies: number
2018-01-03 11:25:47 -05:00
account: Account
2017-12-22 04:50:07 -05:00
}
2017-12-22 06:10:40 -05:00
export interface VideoCommentThreadTree {
2017-12-22 04:50:07 -05:00
comment: VideoComment
2017-12-22 06:10:40 -05:00
children: VideoCommentThreadTree[]
2017-12-22 04:50:07 -05:00
}
export interface VideoCommentCreate {
text: string
}