···12121313// ServerCreateAppPassword_AppPassword is a "appPassword" in the com.atproto.server.createAppPassword schema.
1414type ServerCreateAppPassword_AppPassword struct {
1515- CreatedAt string `json:"createdAt" cborgen:"createdAt"`
1616- Name string `json:"name" cborgen:"name"`
1717- Password string `json:"password" cborgen:"password"`
1515+ CreatedAt string `json:"createdAt" cborgen:"createdAt"`
1616+ Name string `json:"name" cborgen:"name"`
1717+ Password string `json:"password" cborgen:"password"`
1818+ Privileged *bool `json:"privileged,omitempty" cborgen:"privileged,omitempty"`
1819}
19202021// ServerCreateAppPassword_Input is the input argument to a com.atproto.server.createAppPassword call.
2122type ServerCreateAppPassword_Input struct {
2223 // name: A short name for the App Password, to help distinguish them.
2324 Name string `json:"name" cborgen:"name"`
2525+ // privileged: If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients.
2626+ Privileged *bool `json:"privileged,omitempty" cborgen:"privileged,omitempty"`
2427}
25282629// ServerCreateAppPassword calls the XRPC method "com.atproto.server.createAppPassword".
+3
api/atproto/servercreateSession.go
···2121// ServerCreateSession_Output is the output of a com.atproto.server.createSession call.
2222type ServerCreateSession_Output struct {
2323 AccessJwt string `json:"accessJwt" cborgen:"accessJwt"`
2424+ Active *bool `json:"active,omitempty" cborgen:"active,omitempty"`
2425 Did string `json:"did" cborgen:"did"`
2526 DidDoc *interface{} `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"`
2627 Email *string `json:"email,omitempty" cborgen:"email,omitempty"`
···2829 EmailConfirmed *bool `json:"emailConfirmed,omitempty" cborgen:"emailConfirmed,omitempty"`
2930 Handle string `json:"handle" cborgen:"handle"`
3031 RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"`
3232+ // status: If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
3333+ Status *string `json:"status,omitempty" cborgen:"status,omitempty"`
3134}
32353336// ServerCreateSession calls the XRPC method "com.atproto.server.createSession".
+3
api/atproto/servergetSession.go
···12121313// ServerGetSession_Output is the output of a com.atproto.server.getSession call.
1414type ServerGetSession_Output struct {
1515+ Active *bool `json:"active,omitempty" cborgen:"active,omitempty"`
1516 Did string `json:"did" cborgen:"did"`
1617 DidDoc *interface{} `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"`
1718 Email *string `json:"email,omitempty" cborgen:"email,omitempty"`
1819 EmailAuthFactor *bool `json:"emailAuthFactor,omitempty" cborgen:"emailAuthFactor,omitempty"`
1920 EmailConfirmed *bool `json:"emailConfirmed,omitempty" cborgen:"emailConfirmed,omitempty"`
2021 Handle string `json:"handle" cborgen:"handle"`
2222+ // status: If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
2323+ Status *string `json:"status,omitempty" cborgen:"status,omitempty"`
2124}
22252326// ServerGetSession calls the XRPC method "com.atproto.server.getSession".
+3-2
api/atproto/serverlistAppPasswords.go
···12121313// ServerListAppPasswords_AppPassword is a "appPassword" in the com.atproto.server.listAppPasswords schema.
1414type ServerListAppPasswords_AppPassword struct {
1515- CreatedAt string `json:"createdAt" cborgen:"createdAt"`
1616- Name string `json:"name" cborgen:"name"`
1515+ CreatedAt string `json:"createdAt" cborgen:"createdAt"`
1616+ Name string `json:"name" cborgen:"name"`
1717+ Privileged *bool `json:"privileged,omitempty" cborgen:"privileged,omitempty"`
1718}
18191920// ServerListAppPasswords_Output is the output of a com.atproto.server.listAppPasswords call.
+3
api/atproto/serverrefreshSession.go
···1313// ServerRefreshSession_Output is the output of a com.atproto.server.refreshSession call.
1414type ServerRefreshSession_Output struct {
1515 AccessJwt string `json:"accessJwt" cborgen:"accessJwt"`
1616+ Active *bool `json:"active,omitempty" cborgen:"active,omitempty"`
1617 Did string `json:"did" cborgen:"did"`
1718 DidDoc *interface{} `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"`
1819 Handle string `json:"handle" cborgen:"handle"`
1920 RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"`
2121+ // status: Hosting status of the account. If not specified, then assume 'active'.
2222+ Status *string `json:"status,omitempty" cborgen:"status,omitempty"`
2023}
21242225// ServerRefreshSession calls the XRPC method "com.atproto.server.refreshSession".
+65-26
api/bsky/actordefs.go
···6868 Tags []string `json:"tags" cborgen:"tags"`
6969}
70707171+// ActorDefs_KnownFollowers is a "knownFollowers" in the app.bsky.actor.defs schema.
7272+//
7373+// The subject's followers whom you also follow
7474+type ActorDefs_KnownFollowers struct {
7575+ Count int64 `json:"count" cborgen:"count"`
7676+ Followers []*ActorDefs_ProfileViewBasic `json:"followers" cborgen:"followers"`
7777+}
7878+7179// ActorDefs_LabelerPrefItem is a "labelerPrefItem" in the app.bsky.actor.defs schema.
7280type ActorDefs_LabelerPrefItem struct {
7381 Did string `json:"did" cborgen:"did"`
···110118 ActorDefs_AdultContentPref *ActorDefs_AdultContentPref
111119 ActorDefs_ContentLabelPref *ActorDefs_ContentLabelPref
112120 ActorDefs_SavedFeedsPref *ActorDefs_SavedFeedsPref
121121+ ActorDefs_SavedFeedsPrefV2 *ActorDefs_SavedFeedsPrefV2
113122 ActorDefs_PersonalDetailsPref *ActorDefs_PersonalDetailsPref
114123 ActorDefs_FeedViewPref *ActorDefs_FeedViewPref
115124 ActorDefs_ThreadViewPref *ActorDefs_ThreadViewPref
···131140 t.ActorDefs_SavedFeedsPref.LexiconTypeID = "app.bsky.actor.defs#savedFeedsPref"
132141 return json.Marshal(t.ActorDefs_SavedFeedsPref)
133142 }
143143+ if t.ActorDefs_SavedFeedsPrefV2 != nil {
144144+ t.ActorDefs_SavedFeedsPrefV2.LexiconTypeID = "app.bsky.actor.defs#savedFeedsPrefV2"
145145+ return json.Marshal(t.ActorDefs_SavedFeedsPrefV2)
146146+ }
134147 if t.ActorDefs_PersonalDetailsPref != nil {
135148 t.ActorDefs_PersonalDetailsPref.LexiconTypeID = "app.bsky.actor.defs#personalDetailsPref"
136149 return json.Marshal(t.ActorDefs_PersonalDetailsPref)
···173186 case "app.bsky.actor.defs#savedFeedsPref":
174187 t.ActorDefs_SavedFeedsPref = new(ActorDefs_SavedFeedsPref)
175188 return json.Unmarshal(b, t.ActorDefs_SavedFeedsPref)
189189+ case "app.bsky.actor.defs#savedFeedsPrefV2":
190190+ t.ActorDefs_SavedFeedsPrefV2 = new(ActorDefs_SavedFeedsPrefV2)
191191+ return json.Unmarshal(b, t.ActorDefs_SavedFeedsPrefV2)
176192 case "app.bsky.actor.defs#personalDetailsPref":
177193 t.ActorDefs_PersonalDetailsPref = new(ActorDefs_PersonalDetailsPref)
178194 return json.Unmarshal(b, t.ActorDefs_PersonalDetailsPref)
···199215200216// ActorDefs_ProfileAssociated is a "profileAssociated" in the app.bsky.actor.defs schema.
201217type ActorDefs_ProfileAssociated struct {
202202- Feedgens *int64 `json:"feedgens,omitempty" cborgen:"feedgens,omitempty"`
203203- Labeler *bool `json:"labeler,omitempty" cborgen:"labeler,omitempty"`
204204- Lists *int64 `json:"lists,omitempty" cborgen:"lists,omitempty"`
218218+ Chat *ActorDefs_ProfileAssociatedChat `json:"chat,omitempty" cborgen:"chat,omitempty"`
219219+ Feedgens *int64 `json:"feedgens,omitempty" cborgen:"feedgens,omitempty"`
220220+ Labeler *bool `json:"labeler,omitempty" cborgen:"labeler,omitempty"`
221221+ Lists *int64 `json:"lists,omitempty" cborgen:"lists,omitempty"`
222222+ StarterPacks *int64 `json:"starterPacks,omitempty" cborgen:"starterPacks,omitempty"`
223223+}
224224+225225+// ActorDefs_ProfileAssociatedChat is a "profileAssociatedChat" in the app.bsky.actor.defs schema.
226226+type ActorDefs_ProfileAssociatedChat struct {
227227+ AllowIncoming string `json:"allowIncoming" cborgen:"allowIncoming"`
205228}
206229207230// ActorDefs_ProfileView is a "profileView" in the app.bsky.actor.defs schema.
208231type ActorDefs_ProfileView struct {
209232 Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"`
210233 Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
234234+ CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"`
211235 Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
212236 Did string `json:"did" cborgen:"did"`
213237 DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"`
···221245type ActorDefs_ProfileViewBasic struct {
222246 Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"`
223247 Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
248248+ CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"`
224249 Did string `json:"did" cborgen:"did"`
225250 DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"`
226251 Handle string `json:"handle" cborgen:"handle"`
···230255231256// ActorDefs_ProfileViewDetailed is a "profileViewDetailed" in the app.bsky.actor.defs schema.
232257type ActorDefs_ProfileViewDetailed struct {
233233- Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"`
234234- Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
235235- Banner *string `json:"banner,omitempty" cborgen:"banner,omitempty"`
236236- Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
237237- Did string `json:"did" cborgen:"did"`
238238- DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"`
239239- FollowersCount *int64 `json:"followersCount,omitempty" cborgen:"followersCount,omitempty"`
240240- FollowsCount *int64 `json:"followsCount,omitempty" cborgen:"followsCount,omitempty"`
241241- Handle string `json:"handle" cborgen:"handle"`
242242- IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt,omitempty"`
243243- Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
244244- PostsCount *int64 `json:"postsCount,omitempty" cborgen:"postsCount,omitempty"`
245245- Viewer *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
258258+ Associated *ActorDefs_ProfileAssociated `json:"associated,omitempty" cborgen:"associated,omitempty"`
259259+ Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
260260+ Banner *string `json:"banner,omitempty" cborgen:"banner,omitempty"`
261261+ CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"`
262262+ Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
263263+ Did string `json:"did" cborgen:"did"`
264264+ DisplayName *string `json:"displayName,omitempty" cborgen:"displayName,omitempty"`
265265+ FollowersCount *int64 `json:"followersCount,omitempty" cborgen:"followersCount,omitempty"`
266266+ FollowsCount *int64 `json:"followsCount,omitempty" cborgen:"followsCount,omitempty"`
267267+ Handle string `json:"handle" cborgen:"handle"`
268268+ IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt,omitempty"`
269269+ JoinedViaStarterPack *GraphDefs_StarterPackViewBasic `json:"joinedViaStarterPack,omitempty" cborgen:"joinedViaStarterPack,omitempty"`
270270+ Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
271271+ PostsCount *int64 `json:"postsCount,omitempty" cborgen:"postsCount,omitempty"`
272272+ Viewer *ActorDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
273273+}
274274+275275+// ActorDefs_SavedFeed is a "savedFeed" in the app.bsky.actor.defs schema.
276276+type ActorDefs_SavedFeed struct {
277277+ Id string `json:"id" cborgen:"id"`
278278+ Pinned bool `json:"pinned" cborgen:"pinned"`
279279+ Type string `json:"type" cborgen:"type"`
280280+ Value string `json:"value" cborgen:"value"`
246281}
247282248283// ActorDefs_SavedFeedsPref is a "savedFeedsPref" in the app.bsky.actor.defs schema.
···255290 TimelineIndex *int64 `json:"timelineIndex,omitempty" cborgen:"timelineIndex,omitempty"`
256291}
257292258258-// ActorDefs_SkeletonActor is a "skeletonActor" in the app.bsky.actor.defs schema.
259259-type ActorDefs_SkeletonActor struct {
260260- Did string `json:"did" cborgen:"did"`
293293+// ActorDefs_SavedFeedsPrefV2 is a "savedFeedsPrefV2" in the app.bsky.actor.defs schema.
294294+//
295295+// RECORDTYPE: ActorDefs_SavedFeedsPrefV2
296296+type ActorDefs_SavedFeedsPrefV2 struct {
297297+ LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#savedFeedsPrefV2" cborgen:"$type,const=app.bsky.actor.defs#savedFeedsPrefV2"`
298298+ Items []*ActorDefs_SavedFeed `json:"items" cborgen:"items"`
261299}
262300263301// ActorDefs_ThreadViewPref is a "threadViewPref" in the app.bsky.actor.defs schema.
···275313//
276314// Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.
277315type ActorDefs_ViewerState struct {
278278- BlockedBy *bool `json:"blockedBy,omitempty" cborgen:"blockedBy,omitempty"`
279279- Blocking *string `json:"blocking,omitempty" cborgen:"blocking,omitempty"`
280280- BlockingByList *GraphDefs_ListViewBasic `json:"blockingByList,omitempty" cborgen:"blockingByList,omitempty"`
281281- FollowedBy *string `json:"followedBy,omitempty" cborgen:"followedBy,omitempty"`
282282- Following *string `json:"following,omitempty" cborgen:"following,omitempty"`
283283- Muted *bool `json:"muted,omitempty" cborgen:"muted,omitempty"`
284284- MutedByList *GraphDefs_ListViewBasic `json:"mutedByList,omitempty" cborgen:"mutedByList,omitempty"`
316316+ BlockedBy *bool `json:"blockedBy,omitempty" cborgen:"blockedBy,omitempty"`
317317+ Blocking *string `json:"blocking,omitempty" cborgen:"blocking,omitempty"`
318318+ BlockingByList *GraphDefs_ListViewBasic `json:"blockingByList,omitempty" cborgen:"blockingByList,omitempty"`
319319+ FollowedBy *string `json:"followedBy,omitempty" cborgen:"followedBy,omitempty"`
320320+ Following *string `json:"following,omitempty" cborgen:"following,omitempty"`
321321+ KnownFollowers *ActorDefs_KnownFollowers `json:"knownFollowers,omitempty" cborgen:"knownFollowers,omitempty"`
322322+ Muted *bool `json:"muted,omitempty" cborgen:"muted,omitempty"`
323323+ MutedByList *GraphDefs_ListViewBasic `json:"mutedByList,omitempty" cborgen:"mutedByList,omitempty"`
285324}
-35
api/bsky/actorgetSuggestionsSkeleton.go
···11-// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22-33-package bsky
44-55-// schema: app.bsky.actor.getSuggestionsSkeleton
66-77-import (
88- "context"
99-1010- "github.com/bluesky-social/indigo/xrpc"
1111-)
1212-1313-// ActorGetSuggestionsSkeleton_Output is the output of a app.bsky.actor.getSuggestionsSkeleton call.
1414-type ActorGetSuggestionsSkeleton_Output struct {
1515- Actors []*ActorDefs_SkeletonActor `json:"actors" cborgen:"actors"`
1616- Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
1717-}
1818-1919-// ActorGetSuggestionsSkeleton calls the XRPC method "app.bsky.actor.getSuggestionsSkeleton".
2020-//
2121-// viewer: DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.
2222-func ActorGetSuggestionsSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64, viewer string) (*ActorGetSuggestionsSkeleton_Output, error) {
2323- var out ActorGetSuggestionsSkeleton_Output
2424-2525- params := map[string]interface{}{
2626- "cursor": cursor,
2727- "limit": limit,
2828- "viewer": viewer,
2929- }
3030- if err := c.Do(ctx, xrpc.Query, "", "app.bsky.actor.getSuggestionsSkeleton", params, nil, &out); err != nil {
3131- return nil, err
3232- }
3333-3434- return &out, nil
3535-}
+4-6
api/bsky/actorsearchActorsTypeahead.go
···1919//
2020// q: Search query prefix; not a full query string.
2121// term: DEPRECATED: use 'q' instead.
2222-// viewer: DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.
2323-func ActorSearchActorsTypeahead(ctx context.Context, c *xrpc.Client, limit int64, q string, term string, viewer string) (*ActorSearchActorsTypeahead_Output, error) {
2222+func ActorSearchActorsTypeahead(ctx context.Context, c *xrpc.Client, limit int64, q string, term string) (*ActorSearchActorsTypeahead_Output, error) {
2423 var out ActorSearchActorsTypeahead_Output
25242625 params := map[string]interface{}{
2727- "limit": limit,
2828- "q": q,
2929- "term": term,
3030- "viewer": viewer,
2626+ "limit": limit,
2727+ "q": q,
2828+ "term": term,
3129 }
3230 if err := c.Do(ctx, xrpc.Query, "", "app.bsky.actor.searchActorsTypeahead", params, nil, &out); err != nil {
3331 return nil, err
+5-2
api/bsky/feeddefs.go
···187187188188// FeedDefs_ReplyRef is a "replyRef" in the app.bsky.feed.defs schema.
189189type FeedDefs_ReplyRef struct {
190190- Parent *FeedDefs_ReplyRef_Parent `json:"parent" cborgen:"parent"`
191191- Root *FeedDefs_ReplyRef_Root `json:"root" cborgen:"root"`
190190+ // grandparentAuthor: When parent is a reply to another post, this is the author of that post.
191191+ GrandparentAuthor *ActorDefs_ProfileViewBasic `json:"grandparentAuthor,omitempty" cborgen:"grandparentAuthor,omitempty"`
192192+ Parent *FeedDefs_ReplyRef_Parent `json:"parent" cborgen:"parent"`
193193+ Root *FeedDefs_ReplyRef_Root `json:"root" cborgen:"root"`
192194}
193195194196type FeedDefs_ReplyRef_Parent struct {
···431433 Like *string `json:"like,omitempty" cborgen:"like,omitempty"`
432434 ReplyDisabled *bool `json:"replyDisabled,omitempty" cborgen:"replyDisabled,omitempty"`
433435 Repost *string `json:"repost,omitempty" cborgen:"repost,omitempty"`
436436+ ThreadMuted *bool `json:"threadMuted,omitempty" cborgen:"threadMuted,omitempty"`
434437}
+39-8
api/bsky/graphdefs.go
···6677import (
88 comatprototypes "github.com/bluesky-social/indigo/api/atproto"
99+ "github.com/bluesky-social/indigo/lex/util"
910)
10111112// GraphDefs_ListItemView is a "listItemView" in the app.bsky.graph.defs schema.
···2627 DescriptionFacets []*RichtextFacet `json:"descriptionFacets,omitempty" cborgen:"descriptionFacets,omitempty"`
2728 IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
2829 Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
3030+ ListItemCount *int64 `json:"listItemCount,omitempty" cborgen:"listItemCount,omitempty"`
2931 Name string `json:"name" cborgen:"name"`
3032 Purpose *string `json:"purpose" cborgen:"purpose"`
3133 Uri string `json:"uri" cborgen:"uri"`
···34363537// GraphDefs_ListViewBasic is a "listViewBasic" in the app.bsky.graph.defs schema.
3638type GraphDefs_ListViewBasic struct {
3737- Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
3838- Cid string `json:"cid" cborgen:"cid"`
3939- IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt,omitempty"`
4040- Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
4141- Name string `json:"name" cborgen:"name"`
4242- Purpose *string `json:"purpose" cborgen:"purpose"`
4343- Uri string `json:"uri" cborgen:"uri"`
4444- Viewer *GraphDefs_ListViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
3939+ Avatar *string `json:"avatar,omitempty" cborgen:"avatar,omitempty"`
4040+ Cid string `json:"cid" cborgen:"cid"`
4141+ IndexedAt *string `json:"indexedAt,omitempty" cborgen:"indexedAt,omitempty"`
4242+ Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
4343+ ListItemCount *int64 `json:"listItemCount,omitempty" cborgen:"listItemCount,omitempty"`
4444+ Name string `json:"name" cborgen:"name"`
4545+ Purpose *string `json:"purpose" cborgen:"purpose"`
4646+ Uri string `json:"uri" cborgen:"uri"`
4747+ Viewer *GraphDefs_ListViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
4548}
46494750// GraphDefs_ListViewerState is a "listViewerState" in the app.bsky.graph.defs schema.
···7477 // following: if the actor follows this DID, this is the AT-URI of the follow record
7578 Following *string `json:"following,omitempty" cborgen:"following,omitempty"`
7679}
8080+8181+// GraphDefs_StarterPackView is a "starterPackView" in the app.bsky.graph.defs schema.
8282+type GraphDefs_StarterPackView struct {
8383+ Cid string `json:"cid" cborgen:"cid"`
8484+ Creator *ActorDefs_ProfileViewBasic `json:"creator" cborgen:"creator"`
8585+ Feeds []*FeedDefs_GeneratorView `json:"feeds,omitempty" cborgen:"feeds,omitempty"`
8686+ IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
8787+ JoinedAllTimeCount *int64 `json:"joinedAllTimeCount,omitempty" cborgen:"joinedAllTimeCount,omitempty"`
8888+ JoinedWeekCount *int64 `json:"joinedWeekCount,omitempty" cborgen:"joinedWeekCount,omitempty"`
8989+ Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
9090+ List *GraphDefs_ListViewBasic `json:"list,omitempty" cborgen:"list,omitempty"`
9191+ ListItemsSample []*GraphDefs_ListItemView `json:"listItemsSample,omitempty" cborgen:"listItemsSample,omitempty"`
9292+ Record *util.LexiconTypeDecoder `json:"record" cborgen:"record"`
9393+ Uri string `json:"uri" cborgen:"uri"`
9494+}
9595+9696+// GraphDefs_StarterPackViewBasic is a "starterPackViewBasic" in the app.bsky.graph.defs schema.
9797+type GraphDefs_StarterPackViewBasic struct {
9898+ Cid string `json:"cid" cborgen:"cid"`
9999+ Creator *ActorDefs_ProfileViewBasic `json:"creator" cborgen:"creator"`
100100+ IndexedAt string `json:"indexedAt" cborgen:"indexedAt"`
101101+ JoinedAllTimeCount *int64 `json:"joinedAllTimeCount,omitempty" cborgen:"joinedAllTimeCount,omitempty"`
102102+ JoinedWeekCount *int64 `json:"joinedWeekCount,omitempty" cborgen:"joinedWeekCount,omitempty"`
103103+ Labels []*comatprototypes.LabelDefs_Label `json:"labels,omitempty" cborgen:"labels,omitempty"`
104104+ ListItemCount *int64 `json:"listItemCount,omitempty" cborgen:"listItemCount,omitempty"`
105105+ Record *util.LexiconTypeDecoder `json:"record" cborgen:"record"`
106106+ Uri string `json:"uri" cborgen:"uri"`
107107+}
+33
api/bsky/graphgetActorStarterPacks.go
···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package bsky
44+55+// schema: app.bsky.graph.getActorStarterPacks
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/xrpc"
1111+)
1212+1313+// GraphGetActorStarterPacks_Output is the output of a app.bsky.graph.getActorStarterPacks call.
1414+type GraphGetActorStarterPacks_Output struct {
1515+ Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
1616+ StarterPacks []*GraphDefs_StarterPackViewBasic `json:"starterPacks" cborgen:"starterPacks"`
1717+}
1818+1919+// GraphGetActorStarterPacks calls the XRPC method "app.bsky.graph.getActorStarterPacks".
2020+func GraphGetActorStarterPacks(ctx context.Context, c *xrpc.Client, actor string, cursor string, limit int64) (*GraphGetActorStarterPacks_Output, error) {
2121+ var out GraphGetActorStarterPacks_Output
2222+2323+ params := map[string]interface{}{
2424+ "actor": actor,
2525+ "cursor": cursor,
2626+ "limit": limit,
2727+ }
2828+ if err := c.Do(ctx, xrpc.Query, "", "app.bsky.graph.getActorStarterPacks", params, nil, &out); err != nil {
2929+ return nil, err
3030+ }
3131+3232+ return &out, nil
3333+}
+34
api/bsky/graphgetKnownFollowers.go
···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package bsky
44+55+// schema: app.bsky.graph.getKnownFollowers
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/xrpc"
1111+)
1212+1313+// GraphGetKnownFollowers_Output is the output of a app.bsky.graph.getKnownFollowers call.
1414+type GraphGetKnownFollowers_Output struct {
1515+ Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"`
1616+ Followers []*ActorDefs_ProfileView `json:"followers" cborgen:"followers"`
1717+ Subject *ActorDefs_ProfileView `json:"subject" cborgen:"subject"`
1818+}
1919+2020+// GraphGetKnownFollowers calls the XRPC method "app.bsky.graph.getKnownFollowers".
2121+func GraphGetKnownFollowers(ctx context.Context, c *xrpc.Client, actor string, cursor string, limit int64) (*GraphGetKnownFollowers_Output, error) {
2222+ var out GraphGetKnownFollowers_Output
2323+2424+ params := map[string]interface{}{
2525+ "actor": actor,
2626+ "cursor": cursor,
2727+ "limit": limit,
2828+ }
2929+ if err := c.Do(ctx, xrpc.Query, "", "app.bsky.graph.getKnownFollowers", params, nil, &out); err != nil {
3030+ return nil, err
3131+ }
3232+3333+ return &out, nil
3434+}
+32
api/bsky/graphgetStarterPack.go
···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package bsky
44+55+// schema: app.bsky.graph.getStarterPack
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/xrpc"
1111+)
1212+1313+// GraphGetStarterPack_Output is the output of a app.bsky.graph.getStarterPack call.
1414+type GraphGetStarterPack_Output struct {
1515+ StarterPack *GraphDefs_StarterPackView `json:"starterPack" cborgen:"starterPack"`
1616+}
1717+1818+// GraphGetStarterPack calls the XRPC method "app.bsky.graph.getStarterPack".
1919+//
2020+// starterPack: Reference (AT-URI) of the starter pack record.
2121+func GraphGetStarterPack(ctx context.Context, c *xrpc.Client, starterPack string) (*GraphGetStarterPack_Output, error) {
2222+ var out GraphGetStarterPack_Output
2323+2424+ params := map[string]interface{}{
2525+ "starterPack": starterPack,
2626+ }
2727+ if err := c.Do(ctx, xrpc.Query, "", "app.bsky.graph.getStarterPack", params, nil, &out); err != nil {
2828+ return nil, err
2929+ }
3030+3131+ return &out, nil
3232+}
+30
api/bsky/graphgetStarterPacks.go
···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package bsky
44+55+// schema: app.bsky.graph.getStarterPacks
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/xrpc"
1111+)
1212+1313+// GraphGetStarterPacks_Output is the output of a app.bsky.graph.getStarterPacks call.
1414+type GraphGetStarterPacks_Output struct {
1515+ StarterPacks []*GraphDefs_StarterPackViewBasic `json:"starterPacks" cborgen:"starterPacks"`
1616+}
1717+1818+// GraphGetStarterPacks calls the XRPC method "app.bsky.graph.getStarterPacks".
1919+func GraphGetStarterPacks(ctx context.Context, c *xrpc.Client, uris []string) (*GraphGetStarterPacks_Output, error) {
2020+ var out GraphGetStarterPacks_Output
2121+2222+ params := map[string]interface{}{
2323+ "uris": uris,
2424+ }
2525+ if err := c.Do(ctx, xrpc.Query, "", "app.bsky.graph.getStarterPacks", params, nil, &out); err != nil {
2626+ return nil, err
2727+ }
2828+2929+ return &out, nil
3030+}
+25
api/bsky/graphmuteThread.go
···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package bsky
44+55+// schema: app.bsky.graph.muteThread
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/xrpc"
1111+)
1212+1313+// GraphMuteThread_Input is the input argument to a app.bsky.graph.muteThread call.
1414+type GraphMuteThread_Input struct {
1515+ Root string `json:"root" cborgen:"root"`
1616+}
1717+1818+// GraphMuteThread calls the XRPC method "app.bsky.graph.muteThread".
1919+func GraphMuteThread(ctx context.Context, c *xrpc.Client, input *GraphMuteThread_Input) error {
2020+ if err := c.Do(ctx, xrpc.Procedure, "application/json", "app.bsky.graph.muteThread", nil, input, nil); err != nil {
2121+ return err
2222+ }
2323+2424+ return nil
2525+}
+25
api/bsky/graphunmuteThread.go
···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package bsky
44+55+// schema: app.bsky.graph.unmuteThread
66+77+import (
88+ "context"
99+1010+ "github.com/bluesky-social/indigo/xrpc"
1111+)
1212+1313+// GraphUnmuteThread_Input is the input argument to a app.bsky.graph.unmuteThread call.
1414+type GraphUnmuteThread_Input struct {
1515+ Root string `json:"root" cborgen:"root"`
1616+}
1717+1818+// GraphUnmuteThread calls the XRPC method "app.bsky.graph.unmuteThread".
1919+func GraphUnmuteThread(ctx context.Context, c *xrpc.Client, input *GraphUnmuteThread_Input) error {
2020+ if err := c.Do(ctx, xrpc.Procedure, "application/json", "app.bsky.graph.unmuteThread", nil, input, nil); err != nil {
2121+ return err
2222+ }
2323+2424+ return nil
2525+}