1 import { VideoAbusePredefinedReasonsString } from '@shared/models/videos'
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 ActivityVideoFileMetadataObject = {
35 rel: [ 'metadata', any ]
36 mediaType: 'application/json'
42 export type ActivityPlaylistInfohashesObject = {
47 export type ActivityPlaylistUrlObject = {
49 mediaType: 'application/x-mpegURL'
51 tag?: ActivityTagObject[]
54 export type ActivityBitTorrentUrlObject = {
56 mediaType: 'application/x-bittorrent' | 'application/x-bittorrent;x-scheme-handler/magnet'
61 export type ActivityMagnetUrlObject = {
63 mediaType: 'application/x-bittorrent;x-scheme-handler/magnet'
68 export type ActivityHtmlUrlObject = {
70 mediaType: 'text/html'
74 export interface ActivityHashTagObject {
80 export interface ActivityMentionObject {
86 export interface ActivityFlagReasonObject {
88 name: VideoAbusePredefinedReasonsString
91 export type ActivityTagObject =
92 ActivityPlaylistSegmentHashesObject
93 | ActivityPlaylistInfohashesObject
94 | ActivityVideoUrlObject
95 | ActivityHashTagObject
96 | ActivityMentionObject
97 | ActivityBitTorrentUrlObject
98 | ActivityMagnetUrlObject
99 | ActivityVideoFileMetadataObject
101 export type ActivityUrlObject =
102 ActivityVideoUrlObject
103 | ActivityPlaylistUrlObject
104 | ActivityBitTorrentUrlObject
105 | ActivityMagnetUrlObject
106 | ActivityHtmlUrlObject
107 | ActivityVideoFileMetadataObject
109 export interface ActivityPubAttributedTo {
110 type: 'Group' | 'Person'
114 export interface ActivityTombstoneObject {