Add mentions to comments

This commit is contained in:
Chocobozzz
2018-01-05 11:19:25 +01:00
parent 2890b615f3
commit d7e70384a3
11 changed files with 111 additions and 17 deletions

View File

@@ -4,7 +4,8 @@ export interface ActivityIdentifierObject {
}
export interface ActivityTagObject {
type: 'Hashtag'
type: 'Hashtag' | 'Mention'
href?: string
name: string
}

View File

@@ -1,3 +1,5 @@
import { ActivityTagObject } from './common-objects'
export interface VideoCommentObject {
type: 'Note'
id: string
@@ -7,4 +9,5 @@ export interface VideoCommentObject {
updated: string
url: string
attributedTo: string
tag: ActivityTagObject[]
}