aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-03 16:38:50 +0100
committerChocobozzz <me@florianbigard.com>2018-01-03 16:38:50 +0100
commit265ba139ebf56bbdc1c65f6ea4f367774c691fc0 (patch)
treec7c52d1ae48a35b8f9aa06a9fa2335a6ba502fd1 /shared/models/activitypub
parent9bce811268cd74b402176ae9fcd8b77ac887576e (diff)
downloadPeerTube-265ba139ebf56bbdc1c65f6ea4f367774c691fc0.tar.gz
PeerTube-265ba139ebf56bbdc1c65f6ea4f367774c691fc0.tar.zst
PeerTube-265ba139ebf56bbdc1c65f6ea4f367774c691fc0.zip
Send account activitypub update events
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 {