]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/objects/video-torrent-object.ts
Refractor and optimize AP collections
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / video-torrent-object.ts
index 5ccc80bcbfdbea8c6b732a2558afc51be975503c..767b6a2d015d08c2455d702c01a52e1db18b931e 100644 (file)
@@ -17,16 +17,20 @@ export interface VideoTorrentObject {
   licence: ActivityIdentifierObject
   language: ActivityIdentifierObject
   views: number
-  nsfw: boolean
+  sensitive: boolean
+  commentsEnabled: boolean
   published: string
   updated: string
   mediaType: 'text/markdown'
   content: string
+  support: string
   icon: ActivityIconObject
   url: ActivityUrlObject[]
-  likes?: ActivityPubOrderedCollection<string>
-  dislikes?: ActivityPubOrderedCollection<string>
-  shares?: ActivityPubOrderedCollection<string>
-  comments?: ActivityPubOrderedCollection<string>
+  likes: string
+  dislikes: string
+  shares: string
+  comments: string
   attributedTo: ActivityPubAttributedTo[]
+  to?: string[]
+  cc?: string[]
 }