1 import { ActivityIconObject, ActivityPubAttributedTo } from './objects/common-objects'
3 export type ActivityPubActorType = 'Person' | 'Application' | 'Group' | 'Service' | 'Organization'
5 export interface ActivityPubActor {
7 type: ActivityPubActorType
14 preferredUsername: string
21 attributedTo: ActivityPubAttributedTo[]
30 image?: ActivityIconObject | ActivityIconObject[]
32 icon?: ActivityIconObject | ActivityIconObject[]
33 // TODO: migrate to `icon`, introduced in 4.2
34 icons?: ActivityIconObject[]