aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub/activity.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/activitypub/activity.ts')
-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 d5359eba1..48b52d2cb 100644
--- a/shared/models/activitypub/activity.ts
+++ b/shared/models/activitypub/activity.ts
@@ -2,6 +2,7 @@ import { ActivityPubSignature } from './activitypub-signature'
2import { VideoTorrentObject } from './objects' 2import { VideoTorrentObject } from './objects'
3import { DislikeObject } from './objects/dislike-object' 3import { DislikeObject } from './objects/dislike-object'
4import { VideoAbuseObject } from './objects/video-abuse-object' 4import { VideoAbuseObject } from './objects/video-abuse-object'
5import { VideoCommentObject } from './objects/video-comment-object'
5import { ViewObject } from './objects/view-object' 6import { ViewObject } from './objects/view-object'
6 7
7export type Activity = ActivityCreate | ActivityUpdate | 8export type Activity = ActivityCreate | ActivityUpdate |
@@ -27,7 +28,7 @@ export interface BaseActivity {
27 28
28export interface ActivityCreate extends BaseActivity { 29export interface ActivityCreate extends BaseActivity {
29 type: 'Create' 30 type: 'Create'
30 object: VideoTorrentObject | VideoAbuseObject | ViewObject | DislikeObject 31 object: VideoTorrentObject | VideoAbuseObject | ViewObject | DislikeObject | VideoCommentObject
31} 32}
32 33
33export interface ActivityUpdate extends BaseActivity { 34export interface ActivityUpdate extends BaseActivity {