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/activitypub-ordered-collection.ts | |
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/activitypub-ordered-collection.ts')
-rw-r--r-- | shared/models/activitypub/activitypub-ordered-collection.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/models/activitypub/activitypub-ordered-collection.ts b/shared/models/activitypub/activitypub-ordered-collection.ts index 4080fd740..487d8cee0 100644 --- a/shared/models/activitypub/activitypub-ordered-collection.ts +++ b/shared/models/activitypub/activitypub-ordered-collection.ts | |||
@@ -1,9 +1,9 @@ | |||
1 | import { Activity } from './activity' | 1 | import { Activity } from './activity' |
2 | 2 | ||
3 | export interface ActivityPubOrderedCollection { | 3 | export interface ActivityPubOrderedCollection<T> { |
4 | '@context': string[] | 4 | '@context': string[] |
5 | type: 'OrderedCollection' | 'OrderedCollectionPage' | 5 | type: 'OrderedCollection' | 'OrderedCollectionPage' |
6 | totalItems: number | 6 | totalItems: number |
7 | partOf?: string | 7 | partOf?: string |
8 | orderedItems: Activity[] | 8 | orderedItems: T[] |
9 | } | 9 | } |