-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathactorprofile.go
More file actions
39 lines (33 loc) · 1.87 KB
/
Copy pathactorprofile.go
File metadata and controls
39 lines (33 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package teal
// schema: fm.teal.actor.profile
import (
appbskytypes "github.com/bluesky-social/indigo/api/bsky"
"github.com/bluesky-social/indigo/lex/util"
)
// RECORDTYPE: ActorProfile
type ActorProfile struct {
LexiconTypeID string `json:"$type,const=fm.teal.actor.profile" cborgen:"$type,const=fm.teal.actor.profile"`
// avatar: Small image to be displayed next to posts from account. AKA, 'profile picture'
Avatar *util.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
// banner: Larger horizontal image to display behind profile view.
Banner *util.LexBlob `json:"banner,omitempty" cborgen:"banner,omitempty"`
CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"`
// description: Free-form profile description text.
Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
// descriptionFacets: Annotations of text in the profile description (mentions, URLs, hashtags, etc).
DescriptionFacets []*appbskytypes.RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"`
DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"`
// featuredItem: The user's most recent item featured on their profile.
FeaturedItem *ActorProfile_FeaturedItem `json:"featuredItem,omitempty" cborgen:"featuredItem,omitempty"`
}
// ActorProfile_FeaturedItem is a "featuredItem" in the fm.teal.actor.profile schema.
type ActorProfile_FeaturedItem struct {
// mbid: The MusicBrainz ID URI of the item, formatted as mbid:<uuid>
Mbid string `json:"mbid" cborgen:"mbid"`
// type: The type of the item. Must be a valid Musicbrainz type, e.g. album, track, recording, etc.
Type string `json:"type" cborgen:"type"`
}
func init() {
util.RegisterType("fm.teal.actor.profile", &ActorProfile{})
}