+import { ActivityPubAttributedTo } from './objects/common-objects'
+
+export type ActivityPubActorType = 'Person' | 'Application' | 'Group'
+
export interface ActivityPubActor {
'@context': any[]
- type: 'Person' | 'Application'
+ type: ActivityPubActorType
id: string
following: string
followers: string
endpoints: {
sharedInbox: string
}
+ summary: string
+ attributedTo: ActivityPubAttributedTo[]
+ support?: string
uuid: string
publicKey: {
id: string
publicKeyPem: string
}
- // Not used
- // summary: string
- // icon: string[]
- // liked: string
+ icon: {
+ type: 'Image'
+ mediaType: 'image/png'
+ url: string
+ }
}