]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video.model.ts
Fix broken playlist api
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video.model.ts
index 6e7a6831ebf24969e136ad721af11c0d6a753bf6..e057b3e0699177aa49e50ff46ac1db5eb361e9b5 100644 (file)
@@ -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