X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factivitypub%2Factivitypub-actor.ts;h=f022f3d02bba69e60ed954c1f71631c48491407c;hb=bb4ba6d94c5051fdd665ebe63fffcc105778b8be;hp=53ec579bcccafdac02815e105ea890362ea789eb;hpb=57cfff78858b2360d9e038e2a504b761cb51da47;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts index 53ec579bc..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[] @@ -27,9 +27,5 @@ export interface ActivityPubActor { publicKeyPem: string } - icon: { - type: 'Image' - mediaType: 'image/png' - url: string - } + icon: ActivityIconObject }