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