]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/objects/video-torrent-object.ts
Add downloadingEnabled property to video model
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
index ae8f807c8a4f7af49a08319c7858b35d13d1188e..beb2f519ec9ce7123af553572dc9700018e85313 100644 (file)
@@ -1,9 +1,11 @@
 import {
   ActivityIconObject,
   ActivityIdentifierObject,
+  ActivityPubAttributedTo,
   ActivityTagObject,
   ActivityUrlObject
 } from './common-objects'
+import { VideoState } from '../../videos'
 
 export interface VideoTorrentObject {
   type: 'Video'
@@ -15,13 +17,25 @@ export interface VideoTorrentObject {
   category: ActivityIdentifierObject
   licence: ActivityIdentifierObject
   language: ActivityIdentifierObject
+  subtitleLanguage: ActivityIdentifierObject[]
   views: number
-  nsfw: boolean
+  sensitive: boolean
+  commentsEnabled: boolean,
+  downloadingEnabled: boolean,
+  waitTranscoding: boolean
+  state: VideoState
   published: string
   updated: string
   mediaType: 'text/markdown'
   content: string
+  support: string
   icon: ActivityIconObject
   url: ActivityUrlObject[]
-  actor?: string
+  likes: string
+  dislikes: string
+  shares: string
+  comments: string
+  attributedTo: ActivityPubAttributedTo[]
+  to?: string[]
+  cc?: string[]
 }