-import {
- UserRight,
- VideoChannel,
- VideoDetails as VideoDetailsServerModel,
- VideoFile,
- VideoPrivacy
-} from '../../../../../shared'
+import { UserRight, VideoChannel, VideoDetails as VideoDetailsServerModel, VideoFile } from '../../../../../shared'
import { Account } from '../../../../../shared/models/actors'
-import { VideoConstant } from '../../../../../shared/models/videos/video.model'
import { AuthUser } from '../../core'
import { Video } from '../../shared/video/video.model'
export class VideoDetails extends Video implements VideoDetailsServerModel {
- privacy: VideoConstant<VideoPrivacy>
descriptionPath: string
support: string
channel: VideoChannel
constructor (hash: VideoDetailsServerModel) {
super(hash)
- this.privacy = hash.privacy
this.descriptionPath = hash.descriptionPath
this.files = hash.files
this.channel = hash.channel