Factorize video display in table for moderation components, apply it to blacklisted videos as well

This commit is contained in:
Rigel Kent
2020-04-19 10:20:08 +02:00
committed by Rigel Kent
parent 5fd4ca0051
commit aeb1bed983
6 changed files with 102 additions and 85 deletions

View File

@@ -7,11 +7,12 @@ export enum VideoBlacklistType {
export interface VideoBlacklist {
id: number
createdAt: Date
updatedAt: Date
unfederated: boolean
reason?: string
type: VideoBlacklistType
video: Video
createdAt: Date
updatedAt: Date
}