1 export interface ActivityIdentifierObject {
6 export interface ActivityTagObject {
7 type: 'Hashtag' | 'Mention'
12 export interface ActivityIconObject {
15 mediaType: 'image/jpeg'
20 export type ActivityVideoUrlObject = {
22 // TODO: remove mimeType (backward compatibility, introduced in v1.1.0)
23 mimeType?: 'video/mp4' | 'video/webm' | 'video/ogg'
24 mediaType: 'video/mp4' | 'video/webm' | 'video/ogg'
31 export type ActivityUrlObject =
32 ActivityVideoUrlObject
36 // TODO: remove mimeType (backward compatibility, introduced in v1.1.0)
37 mimeType?: 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet'
38 mediaType: 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet'
45 // TODO: remove mimeType (backward compatibility, introduced in v1.1.0)
46 mimeType?: 'text/html'
47 mediaType: 'text/html'
51 export interface ActivityPubAttributedTo {
52 type: 'Group' | 'Person'