this repo has no description
0
fork

Configure Feed

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

update labeling refs, and run cborgen

+6 -6
+2 -2
atproto/atdata/cbor_gen.go
··· 264 264 return err 265 265 } 266 266 267 - // t.Ref (data.CIDLink) (struct) 267 + // t.Ref (atdata.CIDLink) (struct) 268 268 if len("ref") > 1000000 { 269 269 return xerrors.Errorf("Value in field \"ref\" was too long") 270 270 } ··· 387 387 } 388 388 389 389 switch string(nameBuf[:nameLen]) { 390 - // t.Ref (data.CIDLink) (struct) 390 + // t.Ref (atdata.CIDLink) (struct) 391 391 case "ref": 392 392 393 393 {
+2 -2
atproto/labeling/cbor_gen.go
··· 159 159 } 160 160 } 161 161 162 - // t.Sig (data.Bytes) (slice) 162 + // t.Sig (atdata.Bytes) (slice) 163 163 if t.Sig != nil { 164 164 165 165 if len("sig") > 1000000 { ··· 408 408 t.Negated = &val 409 409 } 410 410 } 411 - // t.Sig (data.Bytes) (slice) 411 + // t.Sig (atdata.Bytes) (slice) 412 412 case "sig": 413 413 414 414 maj, extra, err = cr.ReadHeader()
+2 -2
gen/main.go
··· 7 7 bsky "github.com/bluesky-social/indigo/api/bsky" 8 8 chat "github.com/bluesky-social/indigo/api/chat" 9 9 "github.com/bluesky-social/indigo/atproto/atdata" 10 - "github.com/bluesky-social/indigo/atproto/label" 10 + "github.com/bluesky-social/indigo/atproto/labeling" 11 11 atrepo "github.com/bluesky-social/indigo/atproto/repo" 12 12 atmst "github.com/bluesky-social/indigo/atproto/repo/mst" 13 13 "github.com/bluesky-social/indigo/events" ··· 134 134 panic(err) 135 135 } 136 136 137 - if err := genCfg.WriteMapEncodersToFile("atproto/label/cbor_gen.go", "label", label.Label{}); err != nil { 137 + if err := genCfg.WriteMapEncodersToFile("atproto/labeling/cbor_gen.go", "labeling", labeling.Label{}); err != nil { 138 138 panic(err) 139 139 } 140 140 }