]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/activitypub-actor.ts
Translated using Weblate (Chinese (Traditional))
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / activitypub-actor.ts
index 5e30bf783b9b37bdc22b827c63e78df726da6b75..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[]
@@ -21,16 +21,14 @@ export interface ActivityPubActor {
   attributedTo: ActivityPubAttributedTo[]
 
   support?: string
-  uuid: string
   publicKey: {
     id: string
     owner: string
     publicKeyPem: string
   }
 
-  icon: {
-    type: 'Image'
-    mediaType: 'image/png'
-    url: string
-  }
+  icon?: ActivityIconObject
+  image?: ActivityIconObject
+
+  published?: string
 }