video-comment.model.ts 437 B

1234567891011121314151617181920212223
  1. import { Account } from '../actors'
  2. export interface VideoComment {
  3. id: number
  4. url: string
  5. text: string
  6. threadId: number
  7. inReplyToCommentId: number
  8. videoId: number
  9. createdAt: Date | string
  10. updatedAt: Date | string
  11. totalReplies: number
  12. account: Account
  13. }
  14. export interface VideoCommentThreadTree {
  15. comment: VideoComment
  16. children: VideoCommentThreadTree[]
  17. }
  18. export interface VideoCommentCreate {
  19. text: string
  20. }