aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/video-comment.model.ts
blob: bdeb30d28cdd1df5d0be87eb22cc228dad79c217 (plain) (tree)


















                                     
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
}