Files
PeerTube/shared/models/videos/blacklist/video-blacklist.model.ts
Rigel Kent 5baee5fca4 rename blacklist to block/blocklist, merge block and auto-block views
- also replace whitelist with allowlist
- add advanced filters for video-block-list view
- move icons in video-block-list and video-abuse-list to left side
for visibility
- add robot icon to depict automated nature of a block in
video-block-list

resolves #2790
2020-06-10 21:12:05 +02:00

19 lines
280 B
TypeScript

import { Video } from '../video.model'
export enum VideoBlockType {
MANUAL = 1,
AUTO_BEFORE_PUBLISHED = 2
}
export interface VideoBlocklist {
id: number
unfederated: boolean
reason?: string
type: VideoBlockType
video: Video
createdAt: Date
updatedAt: Date
}