aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-25 16:21:16 +0200
committerChocobozzz <me@florianbigard.com>2018-05-25 16:21:16 +0200
commit8fffe21a7bc96d08b229293d66ddba576e609790 (patch)
tree5ebd5f5198a59084c5338ce197d7e836b39200a4 /shared
parente251f170b00b2014ac4e823113c6ff40e3fb1471 (diff)
downloadPeerTube-8fffe21a7bc96d08b229293d66ddba576e609790.tar.gz
PeerTube-8fffe21a7bc96d08b229293d66ddba576e609790.tar.zst
PeerTube-8fffe21a7bc96d08b229293d66ddba576e609790.zip
Refractor and optimize AP collections
Only display urls in general object, and paginate video comments, shares, likes and dislikes
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/objects/video-torrent-object.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts
index 02820a4cb..767b6a2d0 100644
--- a/shared/models/activitypub/objects/video-torrent-object.ts
+++ b/shared/models/activitypub/objects/video-torrent-object.ts
@@ -26,10 +26,10 @@ export interface VideoTorrentObject {
26 support: string 26 support: string
27 icon: ActivityIconObject 27 icon: ActivityIconObject
28 url: ActivityUrlObject[] 28 url: ActivityUrlObject[]
29 likes?: ActivityPubOrderedCollection<string> 29 likes: string
30 dislikes?: ActivityPubOrderedCollection<string> 30 dislikes: string
31 shares?: ActivityPubOrderedCollection<string> 31 shares: string
32 comments?: ActivityPubOrderedCollection<string> 32 comments: string
33 attributedTo: ActivityPubAttributedTo[] 33 attributedTo: ActivityPubAttributedTo[]
34 to?: string[] 34 to?: string[]
35 cc?: string[] 35 cc?: string[]