1 import { VideoResolution } from '../../index'
2 import { Account } from '../actors'
3 import { Avatar } from '../avatars/avatar.model'
4 import { VideoChannel } from './video-channel.model'
5 import { VideoPrivacy } from './video-privacy.enum'
7 export interface VideoConstant <T> {
12 export interface VideoFile {
14 resolution: VideoConstant<VideoResolution>
20 export interface Video {
23 createdAt: Date | string
24 updatedAt: Date | string
25 publishedAt: Date | string
26 category: VideoConstant<number>
27 licence: VideoConstant<number>
28 language: VideoConstant<number>
29 privacy: VideoConstant<VideoPrivacy>
51 export interface VideoDetails extends Video {
52 descriptionPath: string
58 commentsEnabled: boolean