From 4e50b6a1c9a3eb261e04ede73241648e6edf21d6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Nov 2017 14:44:51 +0100 Subject: Add shares forward and collection on videos/video channels --- shared/models/activitypub/objects/video-channel-object.ts | 3 +++ shared/models/activitypub/objects/video-torrent-object.ts | 1 + 2 files changed, 4 insertions(+) (limited to 'shared') diff --git a/shared/models/activitypub/objects/video-channel-object.ts b/shared/models/activitypub/objects/video-channel-object.ts index c9325b5df..dcce8696b 100644 --- a/shared/models/activitypub/objects/video-channel-object.ts +++ b/shared/models/activitypub/objects/video-channel-object.ts @@ -1,3 +1,5 @@ +import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' + export interface VideoChannelObject { type: 'VideoChannel' id: string @@ -7,4 +9,5 @@ export interface VideoChannelObject { published: string updated: string actor?: string + shares?: ActivityPubOrderedCollection } diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index a4e032d04..a15ec7142 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts @@ -27,4 +27,5 @@ export interface VideoTorrentObject { actor?: string likes?: ActivityPubOrderedCollection dislikes?: ActivityPubOrderedCollection + shares?: ActivityPubOrderedCollection } -- cgit v1.2.3