aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r--shared/models/activitypub/activitypub-actor.ts3
-rw-r--r--shared/models/activitypub/objects/common-objects.ts2
2 files changed, 3 insertions, 2 deletions
diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts
index f022f3d02..c59be3f3b 100644
--- a/shared/models/activitypub/activitypub-actor.ts
+++ b/shared/models/activitypub/activitypub-actor.ts
@@ -27,5 +27,6 @@ export interface ActivityPubActor {
27 publicKeyPem: string 27 publicKeyPem: string
28 } 28 }
29 29
30 icon: ActivityIconObject 30 icon?: ActivityIconObject
31 image?: ActivityIconObject
31} 32}
diff --git a/shared/models/activitypub/objects/common-objects.ts b/shared/models/activitypub/objects/common-objects.ts
index 76f0e3bcf..43d7f7f74 100644
--- a/shared/models/activitypub/objects/common-objects.ts
+++ b/shared/models/activitypub/objects/common-objects.ts
@@ -9,7 +9,7 @@ export interface ActivityIdentifierObject {
9export interface ActivityIconObject { 9export interface ActivityIconObject {
10 type: 'Image' 10 type: 'Image'
11 url: string 11 url: string
12 mediaType: 'image/jpeg' | 'image/png' 12 mediaType: string
13 width?: number 13 width?: number
14 height?: number 14 height?: number
15} 15}