aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-16 15:22:39 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit20494f122186bb1bfd82f4c598c4744acea27b0c (patch)
tree097652a31ecf70491b970b6c8e06b22380ee004f /shared
parentefc32059d980c51793e8e9ac0fb6a885a8026f94 (diff)
downloadPeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.tar.gz
PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.tar.zst
PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.zip
Server shares user videos
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/activity.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/models/activitypub/activity.ts b/shared/models/activitypub/activity.ts
index b858bf759..f8e982fbb 100644
--- a/shared/models/activitypub/activity.ts
+++ b/shared/models/activitypub/activity.ts
@@ -24,6 +24,7 @@ export interface ActivityCreate extends BaseActivity {
24 24
25export interface ActivityAdd extends BaseActivity { 25export interface ActivityAdd extends BaseActivity {
26 type: 'Add' 26 type: 'Add'
27 target: string
27 object: VideoTorrentObject 28 object: VideoTorrentObject
28} 29}
29 30
@@ -52,5 +53,5 @@ export interface ActivityAccept extends BaseActivity {
52 53
53export interface ActivityAnnounce extends BaseActivity { 54export interface ActivityAnnounce extends BaseActivity {
54 type: 'Announce' 55 type: 'Announce'
55 object: VideoChannelObject | VideoTorrentObject 56 object: ActivityCreate | ActivityAdd
56} 57}