X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factivitypub%2Factivitypub-actor.ts;h=f022f3d02bba69e60ed954c1f71631c48491407c;hb=bb4ba6d94c5051fdd665ebe63fffcc105778b8be;hp=d9f80b94c88694ee2656813e5a87a3def8070900;hpb=50d6de9c286abcb34ff4234d56d9cbb803db7665;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts index d9f80b94c..f022f3d02 100644 --- a/shared/models/activitypub/activitypub-actor.ts +++ b/shared/models/activitypub/activitypub-actor.ts @@ -1,6 +1,6 @@ -import { ActivityPubAttributedTo } from './objects/common-objects' +import { ActivityIconObject, ActivityPubAttributedTo } from './objects/common-objects' -export type ActivityPubActorType = 'Person' | 'Application' | 'Group' +export type ActivityPubActorType = 'Person' | 'Application' | 'Group' | 'Service' | 'Organization' export interface ActivityPubActor { '@context': any[] @@ -8,6 +8,7 @@ export interface ActivityPubActor { id: string following: string followers: string + playlists?: string inbox: string outbox: string preferredUsername: string @@ -19,14 +20,12 @@ export interface ActivityPubActor { summary: string attributedTo: ActivityPubAttributedTo[] - uuid: string + support?: string publicKey: { id: string owner: string publicKeyPem: string } - // Not used - // icon: string[] - // liked: string + icon: ActivityIconObject }