PeerTube/shared/models/videos/blacklist/video-blacklist.model.ts

19 lines
288 B
TypeScript
Raw Normal View History

import { Video } from '../video.model'
export enum VideoBlacklistType {
MANUAL = 1,
AUTO_BEFORE_PUBLISHED = 2
}
2018-08-14 09:08:47 +02:00
export interface VideoBlacklist {
2017-06-10 22:15:25 +02:00
id: number
unfederated: boolean
2018-08-13 16:57:13 +02:00
reason?: string
type: VideoBlacklistType
2018-08-13 16:57:13 +02:00
video: Video
createdAt: Date
updatedAt: Date
2017-06-10 22:15:25 +02:00
}