aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-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}