1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Add mentions to comments

This commit is contained in:
Chocobozzz 2018-01-05 11:19:25 +01:00
parent 2890b615f3
commit d7e70384a3
No known key found for this signature in database
GPG key ID: 583A612D890159BE
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[]
}