aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/blacklist/video-blacklist.model.ts
blob: 68d59e4892b4138ca63a698648c7c2d3a5a28739 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Video } from '../video.model'

export enum VideoBlacklistType {
  MANUAL = 1,
  AUTO_BEFORE_PUBLISHED = 2
}

export interface VideoBlacklist {
  id: number
  createdAt: Date
  updatedAt: Date
  unfederated: boolean
  reason?: string
  type: VideoBlacklistType

  video: Video
}