1 import { Account } from '../actors'
2 import { Avatar } from '../avatars/avatar.model'
3 import { VideoChannel } from './video-channel.model'
4 import { VideoPrivacy } from './video-privacy.enum'
6 export interface VideoConstant <T> {
11 export interface VideoFile {
13 resolution: VideoConstant<number>
19 export interface Video {
22 createdAt: Date | string
23 updatedAt: Date | string
24 category: VideoConstant<number>
25 licence: VideoConstant<number>
26 language: VideoConstant<number>
48 export interface VideoDetails extends Video {
49 privacy: VideoConstant<VideoPrivacy>
50 descriptionPath: string
56 commentsEnabled: boolean