]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video.model.ts
Add http tracker in torrent too
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video.model.ts
index 2f4ee246273d61283b98d9afd4fbcf46804f2031..39d1edc061253f6182ed11a161fb2551fb5e7276 100644 (file)
@@ -1,3 +1,4 @@
+import { Account } from '../actors'
 import { VideoChannel } from './video-channel.model'
 import { VideoPrivacy } from './video-privacy.enum'
 
@@ -13,7 +14,7 @@ export interface VideoFile {
 export interface Video {
   id: number
   uuid: string
-  author: string
+  accountName: string
   createdAt: Date | string
   updatedAt: Date | string
   categoryLabel: string
@@ -26,8 +27,7 @@ export interface Video {
   duration: number
   isLocal: boolean
   name: string
-  podHost: string
-  tags: string[]
+  serverHost: string
   thumbnailPath: string
   previewPath: string
   embedPath: string
@@ -42,5 +42,8 @@ export interface VideoDetails extends Video {
   privacyLabel: string
   descriptionPath: string
   channel: VideoChannel
+  tags: string[]
   files: VideoFile[]
+  account: Account
+  commentsEnabled: boolean
 }