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:
parent
2890b615f3
commit
d7e70384a3
11 changed files with 111 additions and 17 deletions
|
@ -4,7 +4,8 @@ export interface ActivityIdentifierObject {
|
|||
}
|
||||
|
||||
export interface ActivityTagObject {
|
||||
type: 'Hashtag'
|
||||
type: 'Hashtag' | 'Mention'
|
||||
href?: string
|
||||
name: string
|
||||
}
|
||||
|
||||
|
|
|
@ -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[]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue