]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/blacklist/video-blacklist.model.ts
Merge branch 'release/4.1.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / videos / blacklist / video-blacklist.model.ts
index 68d59e4892b4138ca63a698648c7c2d3a5a28739..982a34592dc47d360c9994c27d8bc3e48b2d1c9c 100644 (file)
@@ -1,17 +1,18 @@
 import { Video } from '../video.model'
 
-export enum VideoBlacklistType {
+export const 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
+
+  createdAt: Date
+  updatedAt: Date
 }