47581df073
That don't have a shared inbox, or a URL
35 lines
695 B
TypeScript
35 lines
695 B
TypeScript
import { ActivityPubAttributedTo } from './objects/common-objects'
|
|
|
|
export type ActivityPubActorType = 'Person' | 'Application' | 'Group' | 'Service' | 'Organization'
|
|
|
|
export interface ActivityPubActor {
|
|
'@context': any[]
|
|
type: ActivityPubActorType
|
|
id: string
|
|
following: string
|
|
followers: string
|
|
playlists?: string
|
|
inbox: string
|
|
outbox: string
|
|
preferredUsername: string
|
|
url: string
|
|
name: string
|
|
endpoints: {
|
|
sharedInbox: string
|
|
}
|
|
summary: string
|
|
attributedTo: ActivityPubAttributedTo[]
|
|
|
|
support?: string
|
|
publicKey: {
|
|
id: string
|
|
owner: string
|
|
publicKeyPem: string
|
|
}
|
|
|
|
icon: {
|
|
type: 'Image'
|
|
mediaType: 'image/png'
|
|
url: string
|
|
}
|
|
}
|