this repo has no description
0
fork

Configure Feed

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

cleanups from lexgen changes, everything builds

+11 -11
+6 -6
cmd/fakermaker/main.go
··· 446 446 Repo: acc.Auth.Did, 447 447 Collection: "app.bsky.actor.profile", 448 448 Rkey: "self", 449 - Record: lexutil.LexiconTypeDecoder{&appbsky.ActorProfile{ 449 + Record: &lexutil.LexiconTypeDecoder{&appbsky.ActorProfile{ 450 450 Description: &desc, 451 451 DisplayName: &name, 452 452 Avatar: avatar, ··· 566 566 if _, err := comatproto.RepoCreateRecord(ctx, xrpcc, &comatproto.RepoCreateRecord_Input{ 567 567 Collection: "app.bsky.feed.post", 568 568 Repo: acc.Auth.Did, 569 - Record: lexutil.LexiconTypeDecoder{&post}, 569 + Record: &lexutil.LexiconTypeDecoder{&post}, 570 570 }); err != nil { 571 571 return err 572 572 } ··· 583 583 _, err := comatproto.RepoCreateRecord(context.TODO(), xrpcc, &comatproto.RepoCreateRecord_Input{ 584 584 Collection: "app.bsky.graph.follow", 585 585 Repo: xrpcc.Auth.Did, 586 - Record: lexutil.LexiconTypeDecoder{follow}, 586 + Record: &lexutil.LexiconTypeDecoder{follow}, 587 587 }) 588 588 return err 589 589 } ··· 601 601 _, err := comatproto.RepoCreateRecord(ctx, xrpcc, &comatproto.RepoCreateRecord_Input{ 602 602 Collection: "app.bsky.feed.like", 603 603 Repo: xrpcc.Auth.Did, 604 - Record: lexutil.LexiconTypeDecoder{&like}, 604 + Record: &lexutil.LexiconTypeDecoder{&like}, 605 605 }) 606 606 return err 607 607 } ··· 617 617 _, err := comatproto.RepoCreateRecord(context.TODO(), xrpcc, &comatproto.RepoCreateRecord_Input{ 618 618 Collection: "app.bsky.feed.repost", 619 619 Repo: xrpcc.Auth.Did, 620 - Record: lexutil.LexiconTypeDecoder{repost}, 620 + Record: &lexutil.LexiconTypeDecoder{repost}, 621 621 }) 622 622 return err 623 623 } ··· 649 649 _, err := comatproto.RepoCreateRecord(context.TODO(), xrpcc, &comatproto.RepoCreateRecord_Input{ 650 650 Collection: "app.bsky.feed.post", 651 651 Repo: xrpcc.Auth.Did, 652 - Record: lexutil.LexiconTypeDecoder{replyPost}, 652 + Record: &lexutil.LexiconTypeDecoder{replyPost}, 653 653 }) 654 654 return err 655 655 }
+3 -3
cmd/gosky/main.go
··· 168 168 resp, err := comatproto.RepoCreateRecord(context.TODO(), xrpcc, &comatproto.RepoCreateRecord_Input{ 169 169 Collection: "app.bsky.feed.post", 170 170 Repo: auth.Did, 171 - Record: lexutil.LexiconTypeDecoder{&appbsky.FeedPost{ 171 + Record: &lexutil.LexiconTypeDecoder{&appbsky.FeedPost{ 172 172 Text: text, 173 173 CreatedAt: time.Now().Format("2006-01-02T15:04:05.000Z"), 174 174 }}, ··· 509 509 LexiconTypeID: "com.atproto.feed.like", 510 510 Collection: "com.atproto.feed.like", 511 511 Repo: did, 512 - Record: lexutil.LexiconTypeDecoder{ 512 + Record: &lexutil.LexiconTypeDecoder{ 513 513 Val: &appbsky.FeedLike{ 514 514 CreatedAt: time.Now().Format(util.ISO8601), 515 515 Subject: &comatproto.RepoStrongRef{Uri: resp.Uri, Cid: *resp.Cid}, ··· 729 729 resp, err := comatproto.RepoCreateRecord(context.TODO(), xrpcc, &comatproto.RepoCreateRecord_Input{ 730 730 Collection: "app.bsky.graph.follow", 731 731 Repo: xrpcc.Auth.Did, 732 - Record: lexutil.LexiconTypeDecoder{&follow}, 732 + Record: &lexutil.LexiconTypeDecoder{&follow}, 733 733 }) 734 734 if err != nil { 735 735 return err
+1 -1
cmd/stress/main.go
··· 132 132 res, err := comatproto.RepoCreateRecord(context.TODO(), xrpcc, &comatproto.RepoCreateRecord_Input{ 133 133 Collection: "app.bsky.feed.post", 134 134 Repo: xrpcc.Auth.Did, 135 - Record: lexutil.LexiconTypeDecoder{&appbsky.FeedPost{ 135 + Record: &lexutil.LexiconTypeDecoder{&appbsky.FeedPost{ 136 136 Text: hex.EncodeToString(buf), 137 137 CreatedAt: time.Now().Format(time.RFC3339), 138 138 }},
+1 -1
labeling/xrpc_handlers.go
··· 95 95 return &atproto.RepoGetRecord_Output{ 96 96 Cid: &ccstr, 97 97 Uri: "at://" + s.user.Did + "/" + collection + "/" + rkey, 98 - Value: lexutil.LexiconTypeDecoder{rec}, 98 + Value: &lexutil.LexiconTypeDecoder{rec}, 99 99 }, nil 100 100 } 101 101