]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/activitypub/activitypub-actor.ts
Fix tests
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / activitypub-actor.ts
CommitLineData
50d6de9c
C
1import { ActivityPubAttributedTo } from './objects/common-objects'
2
3export type ActivityPubActorType = 'Person' | 'Application' | 'Group'
4
e4f97bab
C
5export 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
C
21
22 uuid: string
23 publicKey: {
24 id: string
25 owner: string
26 publicKeyPem: string
27 }
28
29 // Not used
e4f97bab
C
30 // icon: string[]
31 // liked: string
32}