backend for xcvr appview
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix syntax and remove dummy

rachel-mp4 b9b2bd92 1eb7d51f

+1 -10
+1 -10
server/internal/lex/types.go
··· 2 2 3 3 import ( 4 4 "github.com/bluesky-social/indigo/lex/util" 5 - "io" 6 5 ) 7 6 8 - func init() { 9 - util.RegisterType("org.xcvr.actor.profile", &ProfileRecord{}) 10 - } 11 - 12 7 type ProfileRecord struct { 13 - LexiconTypeID string `json: "$type,const=org.xcvr.actor.profile" cborgen:"$type,const=org.xcvr.actor.profile"` 8 + LexiconTypeID string `json:"$type,const=org.xcvr.actor.profile" cborgen:"$type,const=org.xcvr.actor.profile"` 14 9 DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"` 15 10 DefaultNick *string `json:"defaultNick,omitempty" cborgen:"defaultNick,omitempty"` 16 11 Status *string `json:"status,omitempty" cborgen:"status,omitempty"` 17 12 Avatar *util.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"` 18 13 Color *uint64 `json:"color,omitempty" cborgen:"color,omitempty"` 19 14 } 20 - 21 - func (p *ProfileRecord) MarshalCBOR(w io.Writer) error { 22 - panic("run ./gen") 23 - }