]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/objects/video-torrent-object.ts
Add shares forward and collection on videos/video channels
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
index 5685a43e0a367d4a301e68d24ca730a057e44494..a15ec7142323030b0b10180061976223106ff314 100644 (file)
@@ -4,6 +4,7 @@ import {
   ActivityTagObject,
   ActivityUrlObject
 } from './common-objects'
+import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
 
 export interface VideoTorrentObject {
   type: 'Video'
@@ -17,10 +18,14 @@ export interface VideoTorrentObject {
   language: ActivityIdentifierObject
   views: number
   nsfw: boolean
-  published: Date
-  updated: Date
+  published: string
+  updated: string
   mediaType: 'text/markdown'
   content: string
   icon: ActivityIconObject
   url: ActivityUrlObject[]
+  actor?: string
+  likes?: ActivityPubOrderedCollection<string>
+  dislikes?: ActivityPubOrderedCollection<string>
+  shares?: ActivityPubOrderedCollection<string>
 }