video-blacklist.model.ts 287 B

1234567891011121314151617
  1. import { Video } from '../video.model'
  2. export enum VideoBlacklistType {
  3. MANUAL = 1,
  4. AUTO_BEFORE_PUBLISHED = 2
  5. }
  6. export interface VideoBlacklist {
  7. id: number
  8. createdAt: Date
  9. updatedAt: Date
  10. unfederated: boolean
  11. reason?: string
  12. type: VideoBlacklistType
  13. video: Video
  14. }