1
0
Fork 0
peertube/shared/models/videos/blacklist/video-blacklist.model.ts

19 lines
294 B
TypeScript
Raw Normal View History

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