aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-29 19:10:13 +0100
committerChocobozzz <me@florianbigard.com>2017-12-29 19:10:13 +0100
commitc5911fd347c76e8bdc05ea9f3ee9efed4a58c236 (patch)
treeb8d287daca6c45305090cbec9da97d1155f275bd /shared
parent8b0d42ee372de6589796be26b83e5bffb1b69cdf (diff)
downloadPeerTube-c5911fd347c76e8bdc05ea9f3ee9efed4a58c236.tar.gz
PeerTube-c5911fd347c76e8bdc05ea9f3ee9efed4a58c236.tar.zst
PeerTube-c5911fd347c76e8bdc05ea9f3ee9efed4a58c236.zip
Begin to add avatar to actors
Diffstat (limited to 'shared')
-rw-r--r--shared/models/activitypub/activitypub-actor.ts6
-rw-r--r--shared/models/actors/account.model.ts1
2 files changed, 6 insertions, 1 deletions
diff --git a/shared/models/activitypub/activitypub-actor.ts b/shared/models/activitypub/activitypub-actor.ts
index d9f80b94c..78256e9be 100644
--- a/shared/models/activitypub/activitypub-actor.ts
+++ b/shared/models/activitypub/activitypub-actor.ts
@@ -27,6 +27,10 @@ export interface ActivityPubActor {
27 } 27 }
28 28
29 // Not used 29 // Not used
30 // icon: string[] 30 icon: {
31 type: 'Image'
32 mediaType: 'image/png'
33 url: string
34 }
31 // liked: string 35 // liked: string
32} 36}
diff --git a/shared/models/actors/account.model.ts b/shared/models/actors/account.model.ts
index d14701317..ef6fca539 100644
--- a/shared/models/actors/account.model.ts
+++ b/shared/models/actors/account.model.ts
@@ -4,6 +4,7 @@ export interface Account {
4 id: number 4 id: number
5 uuid: string 5 uuid: string
6 name: string 6 name: string
7 displayName: string
7 host: string 8 host: string
8 followingCount: number 9 followingCount: number
9 followersCount: number 10 followersCount: number