diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 14:44:51 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:53 +0100 |
commit | 4e50b6a1c9a3eb261e04ede73241648e6edf21d6 (patch) | |
tree | e1c6c121d561ffc1cf2996daec03a1e7f27f0a25 /shared/models/activitypub | |
parent | 74bb2cb8348d6794ed3a0e2ec94c8c9abdde82cf (diff) | |
download | PeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.tar.gz PeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.tar.zst PeerTube-4e50b6a1c9a3eb261e04ede73241648e6edf21d6.zip |
Add shares forward and collection on videos/video channels
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r-- | shared/models/activitypub/objects/video-channel-object.ts | 3 | ||||
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 1 |
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 @@ | |||
1 | import { ActivityPubOrderedCollection } from '../activitypub-ordered-collection' | ||
2 | |||
1 | export interface VideoChannelObject { | 3 | export 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 | } |