]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/objects/common-objects.ts
Handle announces in inbox
[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 {
7 type: 'Hashtag'
8 name: string
9}
10
11export interface ActivityIconObject {
12 type: 'Image'
13 url: string
14 mediaType: 'image/jpeg'
15 width: number
16 height: number
17}
18
19export interface ActivityUrlObject {
20 type: 'Link'
21 mimeType: 'video/mp4' | 'video/webm' | 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet'
22 url: string
23 width: number
24 size?: number
25}