mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Refractor and optimize AP collections
Only display urls in general object, and paginate video comments, shares, likes and dislikes
This commit is contained in:
@@ -26,10 +26,10 @@ export interface VideoTorrentObject {
|
||||
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[]
|
||||
|
||||
Reference in New Issue
Block a user