diff options
Diffstat (limited to 'shared/models/activitypub/activitypub-actor.ts')
-rw-r--r-- | shared/models/activitypub/activitypub-actor.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts new file mode 100644 index 000000000..77489135c --- /dev/null +++ b/shared/models/activitypub/activitypub-actor.ts | |||
@@ -0,0 +1,27 @@ | |||
1 | export interface ActivityPubActor { | ||
2 | '@context': any[] | ||
3 | type: 'Person' | 'Application' | ||
4 | id: string | ||
5 | following: string | ||
6 | followers: string | ||
7 | inbox: string | ||
8 | outbox: string | ||
9 | preferredUsername: string | ||
10 | url: string | ||
11 | name: string | ||
12 | endpoints: { | ||
13 | sharedInbox: string | ||
14 | } | ||
15 | |||
16 | uuid: string | ||
17 | publicKey: { | ||
18 | id: string | ||
19 | owner: string | ||
20 | publicKeyPem: string | ||
21 | } | ||
22 | |||
23 | // Not used | ||
24 | // summary: string | ||
25 | // icon: string[] | ||
26 | // liked: string | ||
27 | } | ||