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

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

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

  video: Video

  createdAt: Date
  updatedAt: Date
}