diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-14 17:38:41 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-19 10:53:16 +0100 |
commit | 50d6de9c286abcb34ff4234d56d9cbb803db7665 (patch) | |
tree | f1732b27edcd05c7877a8358b8312f1e38c287ed /shared/models/activitypub/activitypub-actor.ts | |
parent | fadf619ad61a016c1c7fc53de5a8f398a4f77519 (diff) | |
download | PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.gz PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.zst PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.zip |
Begin moving video channel to actor
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 | } |