mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
- 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
19 lines
280 B
TypeScript
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
|
|
}
|