this repo has no description
0
fork

Configure Feed

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

remove declaration CID from models, etc

This is a change to database schema. Hopefully safe (just removal), but
should get review on this.

-10
-1
bgs/bgs.go
··· 509 509 Handle: handle, 510 510 DisplayName: "", //*profile.DisplayName, 511 511 Did: did, 512 - DeclRefCid: "", // profile.Declaration.Cid, 513 512 Type: "", 514 513 PDS: peering.ID, 515 514 }
-1
indexer/indexer.go
··· 760 760 Handle: ai.Handle, 761 761 Did: ai.Did, 762 762 DisplayName: ai.DisplayName, 763 - DeclRefCid: ai.DeclRefCid, 764 763 Type: ai.Type, 765 764 PDS: evt.PDS, 766 765 }).Error; err != nil {
-1
models/models.go
··· 43 43 Following int64 44 44 Followers int64 45 45 Posts int64 46 - DeclRefCid string 47 46 Type string 48 47 PDS uint 49 48 }
-2
pds/auth.go
··· 12 12 "github.com/lestrrat-go/jwx/v2/jwt" 13 13 ) 14 14 15 - const actorUserDeclarationCid = "bafyreid27zk7lbis4zw5fz4podbvbs4fc5ivwji3dmrwa6zggnj4bnd57u" 16 - 17 15 func makeToken(subject string, scope string, exp time.Time) jwt.Token { 18 16 tok := jwt.New() 19 17 tok.Set("scope", scope)
-4
repomgr/repomgr.go
··· 66 66 Did string 67 67 Handle string 68 68 DisplayName string 69 - DeclRefCid string 70 69 Type string 71 70 } 72 71 ··· 430 429 Did: did, 431 430 Handle: handle, 432 431 DisplayName: displayname, 433 - DeclRefCid: declcid, 434 432 Type: actortype, 435 433 }, 436 434 }}, ··· 571 569 Did: ai.Did, 572 570 Handle: ai.Handle, 573 571 DisplayName: ai.DisplayName, 574 - DeclRefCid: ai.DeclRefCid, 575 572 Type: ai.Type, 576 573 }, 577 574 }) ··· 610 607 Did: ai.Did, 611 608 Handle: ai.Handle, 612 609 DisplayName: ai.DisplayName, 613 - DeclRefCid: ai.DeclRefCid, 614 610 Type: ai.Type, 615 611 }, 616 612 })
-1
xrpc/xrpc.go
··· 36 36 RefreshJwt string `json:"refreshJwt"` 37 37 Handle string `json:"handle"` 38 38 Did string `json:"did"` 39 - DeclarationCid string `json:"declarationCid"` 40 39 } 41 40 42 41 const (