Begin moving video channel to actor
[oweals/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 }
26
27 export interface ActivityPubAttributedTo {
28   type: 'Group' | 'Person'
29   id: string
30 }