aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub/activitypub-actor.ts
blob: 05b911d81b760eafe7e46e3761e6d00721736c42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export interface ActivityPubActor {
  '@context': any[]
  type: 'Person' | 'Application' | 'Group'
  id: string
  following: string
  followers: string
  inbox: string
  outbox: string
  preferredUsername: string
  url: string
  name: string
  endpoints: {
    sharedInbox: string
  }

  uuid: string
  publicKey: {
    id: string
    owner: string
    publicKeyPem: string
  }

  // Not used
  // summary: string
  // icon: string[]
  // liked: string
}