diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-23 16:55:13 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:53 +0100 |
commit | 16b90975941b78d01d7202d441bf731a10048c16 (patch) | |
tree | 11709f51ec79785f32282dfbdd33277af483b2e6 /shared/models/activitypub/objects | |
parent | d8553faa4939889fa7b7ef7329aa474a81cbbdb9 (diff) | |
download | PeerTube-16b90975941b78d01d7202d441bf731a10048c16.tar.gz PeerTube-16b90975941b78d01d7202d441bf731a10048c16.tar.zst PeerTube-16b90975941b78d01d7202d441bf731a10048c16.zip |
Fetch video likes/dislikes too
Diffstat (limited to 'shared/models/activitypub/objects')
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index ae8f807c8..a4e032d04 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -4,6 +4,7 @@ import { | |||
4 | ActivityTagObject, | 4 | ActivityTagObject, |
5 | ActivityUrlObject | 5 | ActivityUrlObject |
6 | } from './common-objects' | 6 | } from './common-objects' |
7 | import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' | ||
7 | 8 | ||
8 | export interface VideoTorrentObject { | 9 | export interface VideoTorrentObject { |
9 | type: 'Video' | 10 | type: 'Video' |
@@ -24,4 +25,6 @@ export interface VideoTorrentObject { | |||
24 | icon: ActivityIconObject | 25 | icon: ActivityIconObject |
25 | url: ActivityUrlObject[] | 26 | url: ActivityUrlObject[] |
26 | actor?: string | 27 | actor?: string |
28 | likes?: ActivityPubOrderedCollection<string> | ||
29 | dislikes?: ActivityPubOrderedCollection<string> | ||
27 | } | 30 | } |