X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=shared%2Fmodels%2Fvideos%2Fvideo.model.ts;h=e057b3e0699177aa49e50ff46ac1db5eb361e9b5;hb=bfbd912886eba17b4aa9a40dcef2fddc685d85bf;hp=6e7a6831ebf24969e136ad721af11c0d6a753bf6;hpb=418d092afa81e2c8fe8ac6838fc4b5eb0af6a782;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 6e7a6831e..e057b3e06 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts @@ -1,6 +1,5 @@ import { AccountSummary, VideoChannelSummary, VideoResolution, VideoState } from '../../index' import { Account } from '../actors' -import { Avatar } from '../avatars/avatar.model' import { VideoChannel } from './channel/video-channel.model' import { VideoPrivacy } from './video-privacy.enum' import { VideoScheduleUpdate } from './video-schedule-update.model' @@ -54,21 +53,15 @@ export interface Video { userHistory?: { currentTime: number } - - playlistElement?: { - position: number - startTimestamp: number - stopTimestamp: number - } } export interface VideoDetails extends Video { descriptionPath: string support: string channel: VideoChannel + account: Account tags: string[] files: VideoFile[] - account: Account commentsEnabled: boolean downloadEnabled: boolean