2019-04-02 11:26:47 +02:00
|
|
|
import { Video } from '../video.model'
|
|
|
|
|
2020-08-06 14:58:01 +02:00
|
|
|
export const enum VideoBlacklistType {
|
2019-04-02 11:26:47 +02:00
|
|
|
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
|
2019-01-10 15:39:51 +01:00
|
|
|
unfederated: boolean
|
2018-08-13 16:57:13 +02:00
|
|
|
reason?: string
|
2019-04-02 11:26:47 +02:00
|
|
|
type: VideoBlacklistType
|
2018-08-13 16:57:13 +02:00
|
|
|
|
2019-04-02 11:26:47 +02:00
|
|
|
video: Video
|
2020-04-19 10:20:08 +02:00
|
|
|
|
|
|
|
createdAt: Date
|
|
|
|
updatedAt: Date
|
2017-06-10 22:15:25 +02:00
|
|
|
}
|