]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/activitypub/objects/common-objects.ts
Add shares forward and collection on videos/video channels
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / objects / common-objects.ts
1 export interface ActivityIdentifierObject {
2 identifier: string
3 name: string
4 }
5
6 export interface ActivityTagObject {
7 type: 'Hashtag'
8 name: string
9 }
10
11 export interface ActivityIconObject {
12 type: 'Image'
13 url: string
14 mediaType: 'image/jpeg'
15 width: number
16 height: number
17 }
18
19 export 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 }