Skip to content

Commit

Permalink
add suggestions recid codegen (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok authored Jan 16, 2025
2 parents 3c27339 + dcfb0de commit 7d0ca5d
Show file tree
Hide file tree
Showing 14 changed files with 169 additions and 5 deletions.
2 changes: 2 additions & 0 deletions api/atproto/servercreateSession.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions api/atproto/tempaddReservedHandle.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions api/bsky/actorgetSuggestions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion api/bsky/graphgetSuggestedFollowsByActor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions api/bsky/graphsearchStarterPacks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion api/bsky/notificationlistNotifications.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions api/bsky/unspecceddefs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions api/bsky/unspeccedgetSuggestionsSkeleton.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions api/bsky/unspeccedgetTrendingTopics.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions api/bsky/unspeccedsearchStarterPacksSkeleton.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api/chat/convodefs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/gosky/bsky.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ var bskyNotificationsCmd = &cli.Command{
return err
}

notifs, err := appbsky.NotificationListNotifications(ctx, xrpcc, "", 50, false, "")
notifs, err := appbsky.NotificationListNotifications(ctx, xrpcc, "", 50, false, nil, "")
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion fakedata/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func GenLikesRepostsReplies(xrpcc *xrpc.Client, acc *AccountContext, fracLike, f
func BrowseAccount(xrpcc *xrpc.Client, acc *AccountContext) error {
// fetch notifications
maxNotif := 50
resp, err := appbsky.NotificationListNotifications(context.TODO(), xrpcc, "", int64(maxNotif), false, "")
resp, err := appbsky.NotificationListNotifications(context.TODO(), xrpcc, "", int64(maxNotif), false, nil, "")
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion testing/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ func (u *TestUser) GetNotifs(t *testing.T) []*bsky.NotificationListNotifications
t.Helper()

ctx := context.TODO()
resp, err := bsky.NotificationListNotifications(ctx, u.client, "", 100, false, "")
resp, err := bsky.NotificationListNotifications(ctx, u.client, "", 100, false, nil, "")
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 7d0ca5d

Please sign in to comment.