]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/activitypub-actor.ts
Move to eslint
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / activitypub-actor.ts
index b8a2dc92515c2fb0d3f68eb5a6ec1d1e0ee89a5c..f022f3d02bba69e60ed954c1f71631c48491407c 100644 (file)
@@ -1,4 +1,4 @@
-import { ActivityPubAttributedTo } from './objects/common-objects'
+import { ActivityIconObject, ActivityPubAttributedTo } from './objects/common-objects'
 
 export type ActivityPubActorType = 'Person' | 'Application' | 'Group' | 'Service' | 'Organization'
 
@@ -27,9 +27,5 @@ export interface ActivityPubActor {
     publicKeyPem: string
   }
 
-  icon: {
-    type: 'Image'
-    mediaType: 'image/png'
-    url: string
-  }
+  icon: ActivityIconObject
 }