aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-comment.model.ts
blob: bdeb30d28cdd1df5d0be87eb22cc228dad79c217 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}