]>
Commit | Line | Data |
---|---|---|
50d6de9c C |
1 | import { ActivityPubAttributedTo } from './objects/common-objects' |
2 | ||
3 | export type ActivityPubActorType = 'Person' | 'Application' | 'Group' | |
4 | ||
e4f97bab C |
5 | export interface ActivityPubActor { |
6 | '@context': any[] | |
50d6de9c | 7 | type: ActivityPubActorType |
e4f97bab C |
8 | id: string |
9 | following: string | |
10 | followers: string | |
11 | inbox: string | |
12 | outbox: string | |
13 | preferredUsername: string | |
14 | url: string | |
15 | name: string | |
16 | endpoints: { | |
17 | sharedInbox: string | |
18 | } | |
50d6de9c C |
19 | summary: string |
20 | attributedTo: ActivityPubAttributedTo[] | |
e4f97bab | 21 | |
2422c46b | 22 | support?: string |
e4f97bab C |
23 | uuid: string |
24 | publicKey: { | |
25 | id: string | |
26 | owner: string | |
27 | publicKeyPem: string | |
28 | } | |
29 | ||
c5911fd3 C |
30 | icon: { |
31 | type: 'Image' | |
32 | mediaType: 'image/png' | |
33 | url: string | |
34 | } | |
e4f97bab | 35 | } |