aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-19 10:20:08 +0200
committerRigel Kent <par@rigelk.eu>2020-05-01 16:41:02 +0200
commitaeb1bed9835b3b092832160245080d4023c14d91 (patch)
tree366cdf113afe748ca59f1bc40ce589cac781cc3c /shared/models
parent5fd4ca0051c7e7f3f8c47bcbde5cab0c56532e64 (diff)
downloadPeerTube-aeb1bed9835b3b092832160245080d4023c14d91.tar.gz
PeerTube-aeb1bed9835b3b092832160245080d4023c14d91.tar.zst
PeerTube-aeb1bed9835b3b092832160245080d4023c14d91.zip
Factorize video display in table for moderation components, apply it to blacklisted videos as well
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/blacklist/video-blacklist.model.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/shared/models/videos/blacklist/video-blacklist.model.ts b/shared/models/videos/blacklist/video-blacklist.model.ts
index 68d59e489..a6e0ef175 100644
--- a/shared/models/videos/blacklist/video-blacklist.model.ts
+++ b/shared/models/videos/blacklist/video-blacklist.model.ts
@@ -7,11 +7,12 @@ export enum VideoBlacklistType {
7 7
8export interface VideoBlacklist { 8export interface VideoBlacklist {
9 id: number 9 id: number
10 createdAt: Date
11 updatedAt: Date
12 unfederated: boolean 10 unfederated: boolean
13 reason?: string 11 reason?: string
14 type: VideoBlacklistType 12 type: VideoBlacklistType
15 13
16 video: Video 14 video: Video
15
16 createdAt: Date
17 updatedAt: Date
17} 18}