diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-06 17:01:35 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-04-08 10:07:53 +0200 |
commit | 2cb03dc1f4e01ba491c36caff30c33fe9c5bad89 (patch) | |
tree | 08a8706d105ea1e280339c02b9e2b1dc1edb0ff9 /shared/models/activitypub | |
parent | f479685678406a5df864d89615b33d29085ebfc6 (diff) | |
download | PeerTube-2cb03dc1f4e01ba491c36caff30c33fe9c5bad89.tar.gz PeerTube-2cb03dc1f4e01ba491c36caff30c33fe9c5bad89.tar.zst PeerTube-2cb03dc1f4e01ba491c36caff30c33fe9c5bad89.zip |
Add banners support
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r-- | shared/models/activitypub/activitypub-actor.ts | 3 | ||||
-rw-r--r-- | shared/models/activitypub/objects/common-objects.ts | 2 |
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 { | |||
9 | export interface ActivityIconObject { | 9 | export 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 | } |