]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/blacklist/video-blacklist.model.ts
rename blacklist to block/blocklist, merge block and auto-block views
[github/Chocobozzz/PeerTube.git] / shared / models / videos / blacklist / video-blacklist.model.ts
index 68d59e4892b4138ca63a698648c7c2d3a5a28739..e6090b1e93adc631080d6a9ac99f62802d1d794c 100644 (file)
@@ -1,17 +1,18 @@
 import { Video } from '../video.model'
 
-export enum VideoBlacklistType {
+export enum VideoBlockType {
   MANUAL = 1,
   AUTO_BEFORE_PUBLISHED = 2
 }
 
-export interface VideoBlacklist {
+export interface VideoBlocklist {
   id: number
-  createdAt: Date
-  updatedAt: Date
   unfederated: boolean
   reason?: string
-  type: VideoBlacklistType
+  type: VideoBlockType
 
   video: Video
+
+  createdAt: Date
+  updatedAt: Date
 }