-import { ActivityPubAttributedTo } from './objects/common-objects'
+import { ActivityIconObject, ActivityPubAttributedTo } from './objects/common-objects'
-export type ActivityPubActorType = 'Person' | 'Application' | 'Group'
+export type ActivityPubActorType = 'Person' | 'Application' | 'Group' | 'Service' | 'Organization'
export interface ActivityPubActor {
'@context': any[]
attributedTo: ActivityPubAttributedTo[]
support?: string
- uuid: string
publicKey: {
id: string
owner: string
publicKeyPem: string
}
- icon: {
- type: 'Image'
- mediaType: 'image/png'
- url: string
- }
+ icon?: ActivityIconObject
+ image?: ActivityIconObject
}