Mirror of @tangled.org/core. Running on a Raspberry Pi Zero 2 (Please be gentle).

lexicons,api: add avatar field to profile lexicon

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>

authored by anirudh.fi and committed by tangled.org 1a682db3 ec529ddf

+7 -3
api/tangled/actorprofile.go

This is a binary file and will not be displayed.

api/tangled/cbor_gen.go

This is a binary file and will not be displayed.

+7 -3
lexicons/actor/profile.json
··· 8 8 "key": "literal:self", 9 9 "record": { 10 10 "type": "object", 11 - "required": [ 12 - "bluesky" 13 - ], 11 + "required": ["bluesky"], 14 12 "properties": { 13 + "avatar": { 14 + "type": "blob", 15 + "description": "Small image to be displayed next to posts from account. AKA, 'profile picture'", 16 + "accept": ["image/png", "image/jpeg"], 17 + "maxSize": 1000000 18 + }, 15 19 "description": { 16 20 "type": "string", 17 21 "description": "Free-form profile description text.",