]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/activitypub-actor.ts
Fix live update error
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / activitypub-actor.ts
index 53ec579bcccafdac02815e105ea890362ea789eb..09d4f7402ef2194b403a79320f2c55c035368b10 100644 (file)
@@ -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,8 @@ export interface ActivityPubActor {
     publicKeyPem: string
   }
 
-  icon: {
-    type: 'Image'
-    mediaType: 'image/png'
-    url: string
-  }
+  icon?: ActivityIconObject
+  image?: ActivityIconObject
+
+  published?: string
 }