]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/blacklist/video-blacklist.model.ts
Add ability to filter out public videos from admin
[github/Chocobozzz/PeerTube.git] / shared / models / videos / blacklist / video-blacklist.model.ts
CommitLineData
7ccddd7b
JM
1import { Video } from '../video.model'
2
bd45d503 3export const enum VideoBlacklistType {
7ccddd7b
JM
4 MANUAL = 1,
5 AUTO_BEFORE_PUBLISHED = 2
6}
7
191764f3 8export interface VideoBlacklist {
69818c93 9 id: number
5abb9fbb 10 unfederated: boolean
26b7305a 11 reason?: string
7ccddd7b 12 type: VideoBlacklistType
26b7305a 13
7ccddd7b 14 video: Video
aeb1bed9
RK
15
16 createdAt: Date
17 updatedAt: Date
69818c93 18}