5 import { ActivityPubSignature } from './activitypub-signature'
7 export type Activity = ActivityCreate | ActivityAdd | ActivityUpdate | ActivityFlag
9 // Flag -> report abuse
10 export type ActivityType = 'Create' | 'Add' | 'Update' | 'Flag'
12 export interface BaseActivity {
18 signature: ActivityPubSignature
21 export interface ActivityCreate extends BaseActivity {
23 object: VideoChannelObject
26 export interface ActivityAdd extends BaseActivity {
28 object: VideoTorrentObject
31 export interface ActivityUpdate extends BaseActivity {
33 object: VideoTorrentObject | VideoChannelObject
36 export interface ActivityFlag extends BaseActivity {