From 8fffe21a7bc96d08b229293d66ddba576e609790 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 May 2018 16:21:16 +0200 Subject: Refractor and optimize AP collections Only display urls in general object, and paginate video comments, shares, likes and dislikes --- shared/models/activitypub/objects/video-torrent-object.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shared') 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 { support: string icon: ActivityIconObject url: ActivityUrlObject[] - likes?: ActivityPubOrderedCollection - dislikes?: ActivityPubOrderedCollection - shares?: ActivityPubOrderedCollection - comments?: ActivityPubOrderedCollection + likes: string + dislikes: string + shares: string + comments: string attributedTo: ActivityPubAttributedTo[] to?: string[] cc?: string[] -- cgit v1.2.3