-export interface VideoBlacklist {
+import { Video } from '../video.model'
+
+export enum VideoBlockType {
+ MANUAL = 1,
+ AUTO_BEFORE_PUBLISHED = 2
+}
+
+export interface VideoBlocklist {
id: number
- createdAt: Date
- updatedAt: Date
unfederated: boolean
reason?: string
+ type: VideoBlockType
+
+ video: Video
- video: {
- id: number
- name: string
- uuid: string
- description: string
- duration: number
- views: number
- likes: number
- dislikes: number
- nsfw: boolean
- }
+ createdAt: Date
+ updatedAt: Date
}