aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/activitypub')
-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 48b52d2cb..a87afc548 100644
--- a/shared/models/activitypub/activity.ts
+++ b/shared/models/activitypub/activity.ts
@@ -1,3 +1,4 @@
1import { ActivityPubActor } from './activitypub-actor'
1import { ActivityPubSignature } from './activitypub-signature' 2import { ActivityPubSignature } from './activitypub-signature'
2import { VideoTorrentObject } from './objects' 3import { VideoTorrentObject } from './objects'
3import { DislikeObject } from './objects/dislike-object' 4import { DislikeObject } from './objects/dislike-object'
@@ -33,7 +34,7 @@ export interface ActivityCreate extends BaseActivity {
33 34
34export interface ActivityUpdate extends BaseActivity { 35export interface ActivityUpdate extends BaseActivity {
35 type: 'Update' 36 type: 'Update'
36 object: VideoTorrentObject 37 object: VideoTorrentObject | ActivityPubActor
37} 38}
38 39
39export interface ActivityDelete extends BaseActivity { 40export interface ActivityDelete extends BaseActivity {