diff options
Diffstat (limited to 'shared/models/activitypub/activitypub-actor.ts')
-rw-r--r-- | shared/models/activitypub/activitypub-actor.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts index 05b911d81..d9f80b94c 100644 --- a/shared/models/activitypub/activitypub-actor.ts +++ b/shared/models/activitypub/activitypub-actor.ts | |||
@@ -1,6 +1,10 @@ | |||
1 | import { ActivityPubAttributedTo } from './objects/common-objects' | ||
2 | |||
3 | export type ActivityPubActorType = 'Person' | 'Application' | 'Group' | ||
4 | |||
1 | export interface ActivityPubActor { | 5 | export interface ActivityPubActor { |
2 | '@context': any[] | 6 | '@context': any[] |
3 | type: 'Person' | 'Application' | 'Group' | 7 | type: ActivityPubActorType |
4 | id: string | 8 | id: string |
5 | following: string | 9 | following: string |
6 | followers: string | 10 | followers: string |
@@ -12,6 +16,8 @@ export interface ActivityPubActor { | |||
12 | endpoints: { | 16 | endpoints: { |
13 | sharedInbox: string | 17 | sharedInbox: string |
14 | } | 18 | } |
19 | summary: string | ||
20 | attributedTo: ActivityPubAttributedTo[] | ||
15 | 21 | ||
16 | uuid: string | 22 | uuid: string |
17 | publicKey: { | 23 | publicKey: { |
@@ -21,7 +27,6 @@ export interface ActivityPubActor { | |||
21 | } | 27 | } |
22 | 28 | ||
23 | // Not used | 29 | // Not used |
24 | // summary: string | ||
25 | // icon: string[] | 30 | // icon: string[] |
26 | // liked: string | 31 | // liked: string |
27 | } | 32 | } |