]>
Commit | Line | Data |
---|---|---|
e4f97bab C |
1 | export interface ActivityIdentifierObject { |
2 | identifier: string | |
3 | name: string | |
4 | } | |
5 | ||
6 | export interface ActivityTagObject { | |
d7e70384 C |
7 | type: 'Hashtag' | 'Mention' |
8 | href?: string | |
e4f97bab C |
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 | ||
c48e82b5 | 20 | export type ActivityVideoUrlObject = { |
e4f97bab | 21 | type: 'Link' |
c48e82b5 | 22 | mimeType: 'video/mp4' | 'video/webm' | 'video/ogg' |
9fb3abfd | 23 | href: string |
965c4b22 | 24 | height: number |
c48e82b5 C |
25 | size: number |
26 | fps: number | |
e4f97bab | 27 | } |
50d6de9c | 28 | |
c48e82b5 C |
29 | export type ActivityUrlObject = |
30 | ActivityVideoUrlObject | |
31 | | | |
32 | { | |
33 | type: 'Link' | |
34 | mimeType: 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet' | |
35 | href: string | |
36 | height: number | |
37 | } | |
38 | | | |
39 | { | |
40 | type: 'Link' | |
41 | mimeType: 'text/html' | |
42 | href: string | |
43 | } | |
44 | ||
50d6de9c C |
45 | export interface ActivityPubAttributedTo { |
46 | type: 'Group' | 'Person' | |
47 | id: string | |
48 | } |