From 50d6de9c286abcb34ff4234d56d9cbb803db7665 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Dec 2017 17:38:41 +0100 Subject: Begin moving video channel to actor --- shared/models/activitypub/activitypub-actor.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'shared/models/activitypub/activitypub-actor.ts') 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 @@ +import { ActivityPubAttributedTo } from './objects/common-objects' + +export type ActivityPubActorType = 'Person' | 'Application' | 'Group' + export interface ActivityPubActor { '@context': any[] - type: 'Person' | 'Application' | 'Group' + type: ActivityPubActorType id: string following: string followers: string @@ -12,6 +16,8 @@ export interface ActivityPubActor { endpoints: { sharedInbox: string } + summary: string + attributedTo: ActivityPubAttributedTo[] uuid: string publicKey: { @@ -21,7 +27,6 @@ export interface ActivityPubActor { } // Not used - // summary: string // icon: string[] // liked: string } -- cgit v1.2.3