]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/objects/common-objects.ts
Use sensitive instead of nsfw in activitypub
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / common-objects.ts
CommitLineData
e4f97bab
C
1export interface ActivityIdentifierObject {
2 identifier: string
3 name: string
4}
5
6export interface ActivityTagObject {
d7e70384
C
7 type: 'Hashtag' | 'Mention'
8 href?: string
e4f97bab
C
9 name: string
10}
11
12export interface ActivityIconObject {
13 type: 'Image'
14 url: string
15 mediaType: 'image/jpeg'
16 width: number
17 height: number
18}
19
20export interface ActivityUrlObject {
21 type: 'Link'
22 mimeType: 'video/mp4' | 'video/webm' | 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet'
9fb3abfd 23 href: string
e4f97bab
C
24 width: number
25 size?: number
26}
50d6de9c
C
27
28export interface ActivityPubAttributedTo {
29 type: 'Group' | 'Person'
30 id: string
31}