-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[]
id: string
following: string
followers: string
+ playlists?: string
inbox: string
outbox: string
preferredUsername: string
summary: string
attributedTo: ActivityPubAttributedTo[]
- uuid: string
+ support?: string
publicKey: {
id: string
owner: string
publicKeyPem: string
}
- // Not used
- icon: {
- type: 'Image'
- mediaType: 'image/png'
- url: string
- }
- // liked: string
+ icon?: ActivityIconObject
+ image?: ActivityIconObject
}