]>
Commit | Line | Data |
---|---|---|
1 | export interface ActivityIdentifierObject { | |
2 | identifier: string | |
3 | name: string | |
4 | } | |
5 | ||
6 | export interface ActivityTagObject { | |
7 | type: 'Hashtag' | 'Mention' | |
8 | href?: string | |
9 | name: string | |
10 | } | |
11 | ||
12 | export interface ActivityIconObject { | |
13 | type: 'Image' | |
14 | url: string | |
15 | mediaType: 'image/jpeg' | |
16 | width: number | |
17 | height: number | |
18 | } | |
19 | ||
20 | export interface ActivityUrlObject { | |
21 | type: 'Link' | |
22 | mimeType: 'video/mp4' | 'video/webm' | 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet' | |
23 | href: string | |
24 | width: number | |
25 | size?: number | |
26 | } | |
27 | ||
28 | export interface ActivityPubAttributedTo { | |
29 | type: 'Group' | 'Person' | |
30 | id: string | |
31 | } |