]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/blacklist/video-blacklist.model.ts
a6e0ef175a59d0dca83ebe3112a311ea48e5af64
[github/Chocobozzz/PeerTube.git] / shared / models / videos / blacklist / video-blacklist.model.ts
1 import { Video } from '../video.model'
2
3 export enum VideoBlacklistType {
4 MANUAL = 1,
5 AUTO_BEFORE_PUBLISHED = 2
6 }
7
8 export interface VideoBlacklist {
9 id: number
10 unfederated: boolean
11 reason?: string
12 type: VideoBlacklistType
13
14 video: Video
15
16 createdAt: Date
17 updatedAt: Date
18 }