aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/video-comment.model.ts
blob: d572927c27f414ba0d17299c7c11211cc6250dae (plain) (tree)
1
2
3
4
5
6
7
8
9








                               
                      

                
                
   

 
                                         
                       
                                    




                                     
export interface VideoComment {
  id: number
  url: string
  text: string
  threadId: number
  inReplyToCommentId: number
  videoId: number
  createdAt: Date | string
  updatedAt: Date | string
  totalReplies: number
  account: {
    name: string
    host: string
  }
}

export interface VideoCommentThreadTree {
  comment: VideoComment
  children: VideoCommentThreadTree[]
}

export interface VideoCommentCreate {
  text: string
}