X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factivitypub%2Factivitypub-actor.ts;h=f022f3d02bba69e60ed954c1f71631c48491407c;hb=bb4ba6d94c5051fdd665ebe63fffcc105778b8be;hp=78256e9be57fd1b6f63e29c21367a6205f88061f;hpb=c5911fd347c76e8bdc05ea9f3ee9efed4a58c236;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts index 78256e9be..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,18 +20,12 @@ export interface ActivityPubActor { summary: string attributedTo: ActivityPubAttributedTo[] - uuid: string + support?: string publicKey: { id: string owner: string publicKeyPem: string } - // Not used - icon: { - type: 'Image' - mediaType: 'image/png' - url: string - } - // liked: string + icon: ActivityIconObject }