diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-16 15:22:39 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 20494f122186bb1bfd82f4c598c4744acea27b0c (patch) | |
tree | 097652a31ecf70491b970b6c8e06b22380ee004f /shared/models | |
parent | efc32059d980c51793e8e9ac0fb6a885a8026f94 (diff) | |
download | PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.tar.gz PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.tar.zst PeerTube-20494f122186bb1bfd82f4c598c4744acea27b0c.zip |
Server shares user videos
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/activitypub/activity.ts | 3 |
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 | ||
25 | export interface ActivityAdd extends BaseActivity { | 25 | export 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 | ||
53 | export interface ActivityAnnounce extends BaseActivity { | 54 | export interface ActivityAnnounce extends BaseActivity { |
54 | type: 'Announce' | 55 | type: 'Announce' |
55 | object: VideoChannelObject | VideoTorrentObject | 56 | object: ActivityCreate | ActivityAdd |
56 | } | 57 | } |