aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/blacklist/video-blacklist.model.ts
blob: 982a34592dc47d360c9994c27d8bc3e48b2d1c9c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                      
                                      



                           
                                 
            
                      
                 
                          
 
              


                 
 
import { Video } from '../video.model'

export const enum VideoBlacklistType {
  MANUAL = 1,
  AUTO_BEFORE_PUBLISHED = 2
}

export interface VideoBlacklist {
  id: number
  unfederated: boolean
  reason?: string
  type: VideoBlacklistType

  video: Video

  createdAt: Date
  updatedAt: Date
}