···3636//
3737// Declares a label value and its expected interpertations and behaviors.
3838type LabelDefs_LabelValueDefinition struct {
3939+ // adultOnly: Does the user need to have adult content enabled in order to configure this label?
4040+ AdultOnly *bool `json:"adultOnly,omitempty" cborgen:"adultOnly,omitempty"`
3941 // blurs: What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.
4042 Blurs string `json:"blurs" cborgen:"blurs"`
4343+ // defaultSetting: The default setting for this label.
4444+ DefaultSetting *string `json:"defaultSetting,omitempty" cborgen:"defaultSetting,omitempty"`
4145 // identifier: The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).
4246 Identifier string `json:"identifier" cborgen:"identifier"`
4347 Locales []*LabelDefs_LabelValueDefinitionStrings `json:"locales" cborgen:"locales"`
+8-1
api/atproto/serverdescribeServer.go
···1010 "github.com/bluesky-social/indigo/xrpc"
1111)
12121313+// ServerDescribeServer_Contact is a "contact" in the com.atproto.server.describeServer schema.
1414+type ServerDescribeServer_Contact struct {
1515+ Email *string `json:"email,omitempty" cborgen:"email,omitempty"`
1616+}
1717+1318// ServerDescribeServer_Links is a "links" in the com.atproto.server.describeServer schema.
1419type ServerDescribeServer_Links struct {
1520 PrivacyPolicy *string `json:"privacyPolicy,omitempty" cborgen:"privacyPolicy,omitempty"`
···2025type ServerDescribeServer_Output struct {
2126 // availableUserDomains: List of domain suffixes that can be used in account handles.
2227 AvailableUserDomains []string `json:"availableUserDomains" cborgen:"availableUserDomains"`
2323- Did string `json:"did" cborgen:"did"`
2828+ // contact: Contact information
2929+ Contact *ServerDescribeServer_Contact `json:"contact,omitempty" cborgen:"contact,omitempty"`
3030+ Did string `json:"did" cborgen:"did"`
2431 // inviteCodeRequired: If true, an invite code must be supplied to create an account on this instance.
2532 InviteCodeRequired *bool `json:"inviteCodeRequired,omitempty" cborgen:"inviteCodeRequired,omitempty"`
2633 // links: URLs of service policy documents.
+1-1
api/atproto/syncgetRecord.go
···13131414// SyncGetRecord calls the XRPC method "com.atproto.sync.getRecord".
1515//
1616-// commit: An optional past commit CID.
1616+// commit: DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit
1717// did: The DID of the repo.
1818// rkey: Record Key
1919func SyncGetRecord(ctx context.Context, c *xrpc.Client, collection string, commit string, did string, rkey string) ([]byte, error) {
+7-5
api/bsky/actordefs.go
···6868 Tags []string `json:"tags" cborgen:"tags"`
6969}
70707171-// ActorDefs_ModPrefItem is a "modPrefItem" in the app.bsky.actor.defs schema.
7272-type ActorDefs_ModPrefItem struct {
7171+// ActorDefs_LabelerPrefItem is a "labelerPrefItem" in the app.bsky.actor.defs schema.
7272+type ActorDefs_LabelerPrefItem struct {
7373 Did string `json:"did" cborgen:"did"`
7474}
75757676-// ActorDefs_ModsPref is a "modsPref" in the app.bsky.actor.defs schema.
7777-type ActorDefs_ModsPref struct {
7878- Mods []*ActorDefs_ModPrefItem `json:"mods" cborgen:"mods"`
7676+// ActorDefs_LabelersPref is a "labelersPref" in the app.bsky.actor.defs schema.
7777+type ActorDefs_LabelersPref struct {
7878+ Labelers []*ActorDefs_LabelerPrefItem `json:"labelers" cborgen:"labelers"`
7979}
80808181// ActorDefs_MutedWord is a "mutedWord" in the app.bsky.actor.defs schema.
···206206207207// ActorDefs_ProfileView is a "profileView" in the app.bsky.actor.defs schema.
208208type ActorDefs_ProfileView struct {
209209+ Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"`
209210 Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
210211 Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
211212 Did string `json:"did" cborgen:"did"`
···218219219220// ActorDefs_ProfileViewBasic is a "profileViewBasic" in the app.bsky.actor.defs schema.
220221type ActorDefs_ProfileViewBasic struct {
222222+ Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"`
221223 Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
222224 Did string `json:"did" cborgen:"did"`
223225 DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"`
+3
api/bsky/embedrecord.go
···5858 Embeds []*EmbedRecord_ViewRecord_Embeds_Elem `json:"embeds,omitempty" cborgen:"embeds,omitempty"`
5959 IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
6060 Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
6161+ LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"`
6262+ ReplyCount *int64 `json:"replyCount,omitempty" cborgen:"replyCount,omitempty"`
6363+ RepostCount *int64 `json:"repostCount,omitempty" cborgen:"repostCount,omitempty"`
6164 Uri string `json:"uri" cborgen:"uri"`
6265 // value: The record data itself.
6366 Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"`
+31-17
api/bsky/feeddefs.go
···30303131// FeedDefs_FeedViewPost is a "feedViewPost" in the app.bsky.feed.defs schema.
3232type FeedDefs_FeedViewPost struct {
3333- Post *FeedDefs_PostView `json:"post" cborgen:"post"`
3434- Reason *FeedDefs_FeedViewPost_Reason `json:"reason,omitempty" cborgen:"reason,omitempty"`
3535- Reply *FeedDefs_ReplyRef `json:"reply,omitempty" cborgen:"reply,omitempty"`
3333+ // feedContext: Context provided by feed generator that may be passed back alongside interactions.
3434+ FeedContext *string `json:"feedContext,omitempty" cborgen:"feedContext,omitempty"`
3535+ Post *FeedDefs_PostView `json:"post" cborgen:"post"`
3636+ Reason *FeedDefs_FeedViewPost_Reason `json:"reason,omitempty" cborgen:"reason,omitempty"`
3737+ Reply *FeedDefs_ReplyRef `json:"reply,omitempty" cborgen:"reply,omitempty"`
3638}
37393840type FeedDefs_FeedViewPost_Reason struct {
···6668//
6769// RECORDTYPE: FeedDefs_GeneratorView
6870type FeedDefs_GeneratorView struct {
6969- LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#generatorView" cborgen:"$type,const=app.bsky.feed.defs#generatorView"`
7070- Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
7171- Cid string `json:"cid" cborgen:"cid"`
7272- Creator *ActorDefs_ProfileView `json:"creator" cborgen:"creator"`
7373- Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
7474- DescriptionFacets []*RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"`
7575- Did string `json:"did" cborgen:"did"`
7676- DisplayName string `json:"displayName" cborgen:"displayName"`
7777- IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
7878- LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"`
7979- Uri string `json:"uri" cborgen:"uri"`
8080- Viewer *FeedDefs_GeneratorViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
7171+ LexiconTypeID string `json:"$type,const=app.bsky.feed.defs#generatorView" cborgen:"$type,const=app.bsky.feed.defs#generatorView"`
7272+ AcceptsInteractions *bool `json:"acceptsInteractions,omitempty" cborgen:"acceptsInteractions,omitempty"`
7373+ Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
7474+ Cid string `json:"cid" cborgen:"cid"`
7575+ Creator *ActorDefs_ProfileView `json:"creator" cborgen:"creator"`
7676+ Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
7777+ DescriptionFacets []*RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"`
7878+ Did string `json:"did" cborgen:"did"`
7979+ DisplayName string `json:"displayName" cborgen:"displayName"`
8080+ IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
8181+ Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
8282+ LikeCount *int64 `json:"likeCount,omitempty" cborgen:"likeCount,omitempty"`
8383+ Uri string `json:"uri" cborgen:"uri"`
8484+ Viewer *FeedDefs_GeneratorViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
8185}
82868387// FeedDefs_GeneratorViewerState is a "generatorViewerState" in the app.bsky.feed.defs schema.
8488type FeedDefs_GeneratorViewerState struct {
8589 Like *string `json:"like,omitempty" cborgen:"like,omitempty"`
9090+}
9191+9292+// FeedDefs_Interaction is a "interaction" in the app.bsky.feed.defs schema.
9393+type FeedDefs_Interaction struct {
9494+ Event *string `json:"event,omitempty" cborgen:"event,omitempty"`
9595+ // feedContext: Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton.
9696+ FeedContext *string `json:"feedContext,omitempty" cborgen:"feedContext,omitempty"`
9797+ Item *string `json:"item,omitempty" cborgen:"item,omitempty"`
8698}
879988100// FeedDefs_NotFoundPost is a "notFoundPost" in the app.bsky.feed.defs schema.
···267279268280// FeedDefs_SkeletonFeedPost is a "skeletonFeedPost" in the app.bsky.feed.defs schema.
269281type FeedDefs_SkeletonFeedPost struct {
270270- Post string `json:"post" cborgen:"post"`
271271- Reason *FeedDefs_SkeletonFeedPost_Reason `json:"reason,omitempty" cborgen:"reason,omitempty"`
282282+ // feedContext: Context that will be passed through to client and may be passed to feed generator back alongside interactions.
283283+ FeedContext *string `json:"feedContext,omitempty" cborgen:"feedContext,omitempty"`
284284+ Post string `json:"post" cborgen:"post"`
285285+ Reason *FeedDefs_SkeletonFeedPost_Reason `json:"reason,omitempty" cborgen:"reason,omitempty"`
272286}
273287274288type FeedDefs_SkeletonFeedPost_Reason struct {