7ccddd7b52
* add quarantine videos feature * increase Notification settings test timeout to 20000ms. was completing 7000 locally but timing out after 10000 on travis * fix quarantine video test issues -propagate misspelling -remove skip from server/tests/client.ts * WIP use blacklist for moderator video approval instead of video.quarantine boolean * finish auto-blacklist feature
17 lines
287 B
TypeScript
17 lines
287 B
TypeScript
import { Video } from '../video.model'
|
|
|
|
export enum VideoBlacklistType {
|
|
MANUAL = 1,
|
|
AUTO_BEFORE_PUBLISHED = 2
|
|
}
|
|
|
|
export interface VideoBlacklist {
|
|
id: number
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
unfederated: boolean
|
|
reason?: string
|
|
type: VideoBlacklistType
|
|
|
|
video: Video
|
|
}
|