diff options
Diffstat (limited to 'shared/models/activitypub/objects')
-rw-r--r-- | shared/models/activitypub/objects/common-objects.ts | 3 | ||||
-rw-r--r-- | shared/models/activitypub/objects/video-comment-object.ts | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/shared/models/activitypub/objects/common-objects.ts b/shared/models/activitypub/objects/common-objects.ts index ea5a503ac..aef728b82 100644 --- a/shared/models/activitypub/objects/common-objects.ts +++ b/shared/models/activitypub/objects/common-objects.ts | |||
@@ -4,7 +4,8 @@ export interface ActivityIdentifierObject { | |||
4 | } | 4 | } |
5 | 5 | ||
6 | export interface ActivityTagObject { | 6 | export interface ActivityTagObject { |
7 | type: 'Hashtag' | 7 | type: 'Hashtag' | 'Mention' |
8 | href?: string | ||
8 | name: string | 9 | name: string |
9 | } | 10 | } |
10 | 11 | ||
diff --git a/shared/models/activitypub/objects/video-comment-object.ts b/shared/models/activitypub/objects/video-comment-object.ts index 785fbbc0d..1c058b86c 100644 --- a/shared/models/activitypub/objects/video-comment-object.ts +++ b/shared/models/activitypub/objects/video-comment-object.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { ActivityTagObject } from './common-objects' | ||
2 | |||
1 | export interface VideoCommentObject { | 3 | export interface VideoCommentObject { |
2 | type: 'Note' | 4 | type: 'Note' |
3 | id: string | 5 | id: string |
@@ -7,4 +9,5 @@ export interface VideoCommentObject { | |||
7 | updated: string | 9 | updated: string |
8 | url: string | 10 | url: string |
9 | attributedTo: string | 11 | attributedTo: string |
12 | tag: ActivityTagObject[] | ||
10 | } | 13 | } |