aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-27 14:44:51 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:53 +0100
commit4e50b6a1c9a3eb261e04ede73241648e6edf21d6 (patch)
treee1c6c121d561ffc1cf2996daec03a1e7f27f0a25 /shared
parent74bb2cb8348d6794ed3a0e2ec94c8c9abdde82cf (diff)
downloadPeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.tar.gz
PeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.tar.zst
PeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.zip
Add shares forward and collection on videos/video channels
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/objects/video-channel-object.ts3
-rw-r--r--shared/models/activitypub/objects/video-torrent-object.ts1
2 files changed, 4 insertions, 0 deletions
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 @@
1import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection'
2
1export interface VideoChannelObject { 3export interface VideoChannelObject {
2 type: 'VideoChannel' 4 type: 'VideoChannel'
3 id: string 5 id: string
@@ -7,4 +9,5 @@ export interface VideoChannelObject {
7 published: string 9 published: string
8 updated: string 10 updated: string
9 actor?: string 11 actor?: string
12 shares?: ActivityPubOrderedCollection<string>
10} 13}
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 {
27 actor?: string 27 actor?: string
28 likes?: ActivityPubOrderedCollection<string> 28 likes?: ActivityPubOrderedCollection<string>
29 dislikes?: ActivityPubOrderedCollection<string> 29 dislikes?: ActivityPubOrderedCollection<string>
30 shares?: ActivityPubOrderedCollection<string>
30} 31}