diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-22 09:14:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-22 09:14:50 +0100 |
commit | 6d8524702874120a4667269a81a61e3c7c5e300d (patch) | |
tree | a462d95c56b558a4cfc42db08ec1cb66b1f99680 /shared/models/activitypub/activity.ts | |
parent | fb4fd623d5e5adcfdc9ecf3dffef702b3786f486 (diff) | |
download | PeerTube-6d8524702874120a4667269a81a61e3c7c5e300d.tar.gz PeerTube-6d8524702874120a4667269a81a61e3c7c5e300d.tar.zst PeerTube-6d8524702874120a4667269a81a61e3c7c5e300d.zip |
Create comment on replied mastodon statutes
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 { |