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>
17 torrentDownloadUrl: string
19 fileDownloadUrl: string
22 export interface Video {
25 createdAt: Date | string
26 updatedAt: Date | string
27 publishedAt: Date | string
28 category: VideoConstant<number>
29 licence: VideoConstant<number>
30 language: VideoConstant<string>
31 privacy: VideoConstant<VideoPrivacy>
65 export interface VideoDetails extends Video {
66 descriptionPath: string
72 commentsEnabled: boolean