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