1 import { AbusePredefinedReasonsString } from '../../moderation/abuse/abuse-reason.model'
3 export interface ActivityIdentifierObject {
9 export interface ActivityIconObject {
12 mediaType: 'image/jpeg' | 'image/png'
17 export type ActivityVideoUrlObject = {
19 mediaType: 'video/mp4' | 'video/webm' | 'video/ogg'
26 export type ActivityPlaylistSegmentHashesObject = {
29 mediaType: 'application/json'
33 export type ActivityVideoFileMetadataUrlObject = {
35 rel: [ 'metadata', any ]
36 mediaType: 'application/json'
42 export type ActivityTrackerUrlObject = {
44 rel: [ 'tracker', 'websocket' | 'http' ]
49 export type ActivityPlaylistInfohashesObject = {
54 export type ActivityPlaylistUrlObject = {
56 mediaType: 'application/x-mpegURL'
58 tag?: ActivityTagObject[]
61 export type ActivityBitTorrentUrlObject = {
63 mediaType: 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet'
68 export type ActivityMagnetUrlObject = {
70 mediaType: 'application/x-bittorrent;x-scheme-handler/magnet'
75 export type ActivityHtmlUrlObject = {
77 mediaType: 'text/html'
81 export interface ActivityHashTagObject {
87 export interface ActivityMentionObject {
93 export interface ActivityFlagReasonObject {
95 name: AbusePredefinedReasonsString
98 export type ActivityTagObject =
99 ActivityPlaylistSegmentHashesObject
100 | ActivityPlaylistInfohashesObject
101 | ActivityVideoUrlObject
102 | ActivityHashTagObject
103 | ActivityMentionObject
104 | ActivityBitTorrentUrlObject
105 | ActivityMagnetUrlObject
106 | ActivityVideoFileMetadataUrlObject
108 export type ActivityUrlObject =
109 ActivityVideoUrlObject
110 | ActivityPlaylistUrlObject
111 | ActivityBitTorrentUrlObject
112 | ActivityMagnetUrlObject
113 | ActivityHtmlUrlObject
114 | ActivityVideoFileMetadataUrlObject
115 | ActivityTrackerUrlObject
117 export interface ActivityPubAttributedTo {
118 type: 'Group' | 'Person'
122 export interface ActivityTombstoneObject {