Monorepo for Tangled tangled.org
at sl/spindle-adapters 35 lines 1.4 kB view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3// Lexicon schema: sh.tangled.actor.profile 4 5package tangled 6 7import ( 8 lexutil "github.com/bluesky-social/indigo/lex/util" 9) 10 11const ( 12 ActorProfileNSID = "sh.tangled.actor.profile" 13) 14 15func init() { 16 lexutil.RegisterType("sh.tangled.actor.profile", &ActorProfile{}) 17} 18 19type ActorProfile struct { 20 LexiconTypeID string `json:"$type" cborgen:"$type,const=sh.tangled.actor.profile"` 21 // avatar: Small image to be displayed next to posts from account. AKA, 'profile picture' 22 Avatar *lexutil.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"` 23 // bluesky: Include link to this account on Bluesky. 24 Bluesky bool `json:"bluesky" cborgen:"bluesky"` 25 // description: Free-form profile description text. 26 Description *string `json:"description,omitempty" cborgen:"description,omitempty"` 27 Links []string `json:"links,omitempty" cborgen:"links,omitempty"` 28 // location: Free-form location text. 29 Location *string `json:"location,omitempty" cborgen:"location,omitempty"` 30 // pinnedRepositories: Any ATURI, it is up to appviews to validate these fields. 31 PinnedRepositories []string `json:"pinnedRepositories,omitempty" cborgen:"pinnedRepositories,omitempty"` 32 // pronouns: Preferred gender pronouns. 33 Pronouns *string `json:"pronouns,omitempty" cborgen:"pronouns,omitempty"` 34 Stats []string `json:"stats,omitempty" cborgen:"stats,omitempty"` 35}