···2929 OwnerDid *string `json:"ownerDid,omitempty" cborgen:"ownerDid,omitempty"`
3030 // ref: Ref being updated
3131 Ref string `json:"ref" cborgen:"ref"`
3232- // repoDid: DID of the repo itself
3333- RepoDid *string `json:"repoDid,omitempty" cborgen:"repoDid,omitempty"`
3434- // repoName: name of the repo
3535- RepoName string `json:"repoName" cborgen:"repoName"`
3232+ // repo: DID of the repo itself
3333+ Repo string `json:"repo" cborgen:"repo"`
3634}
37353836// GitRefUpdate_CommitCountBreakdown is a "commitCountBreakdown" in the sh.tangled.git.refUpdate schema.
+3-4
api/tangled/repocollaborator.go
···1919type RepoCollaborator struct {
2020 LexiconTypeID string `json:"$type,const=sh.tangled.repo.collaborator" cborgen:"$type,const=sh.tangled.repo.collaborator"`
2121 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
2222- // repo: repo to add this user to
2323- Repo *string `json:"repo,omitempty" cborgen:"repo,omitempty"`
2424- RepoDid *string `json:"repoDid,omitempty" cborgen:"repoDid,omitempty"`
2525- Subject string `json:"subject" cborgen:"subject"`
2222+ // repo: repo DID to add this user to
2323+ Repo string `json:"repo" cborgen:"repo"`
2424+ Subject string `json:"subject" cborgen:"subject"`
2625}
···39394040// RepoPull_Source is a "source" in the sh.tangled.repo.pull schema.
4141type RepoPull_Source struct {
4242- Branch string `json:"branch" cborgen:"branch"`
4343- Repo *string `json:"repo,omitempty" cborgen:"repo,omitempty"`
4444- RepoDid *string `json:"repoDid,omitempty" cborgen:"repoDid,omitempty"`
4242+ Branch string `json:"branch" cborgen:"branch"`
4343+ Repo *string `json:"repo,omitempty" cborgen:"repo,omitempty"`
4544}
46454746// RepoPull_Target is a "target" in the sh.tangled.repo.pull schema.
4847type RepoPull_Target struct {
4949- Branch string `json:"branch" cborgen:"branch"`
5050- Repo *string `json:"repo,omitempty" cborgen:"repo,omitempty"`
5151- RepoDid *string `json:"repoDid,omitempty" cborgen:"repoDid,omitempty"`
4848+ Branch string `json:"branch" cborgen:"branch"`
4949+ Repo string `json:"repo" cborgen:"repo"`
5250}
+2-2
api/tangled/tangledrepo.go
···2424 Knot string `json:"knot" cborgen:"knot"`
2525 // labels: List of labels that this repo subscribes to
2626 Labels []string `json:"labels,omitempty" cborgen:"labels,omitempty"`
2727- // name: name of the repo
2828- Name string `json:"name" cborgen:"name"`
2727+ // name: Cosmetic name of the repo.
2828+ Name *string `json:"name,omitempty" cborgen:"name,omitempty"`
2929 // repoDid: DID of the repo itself, if assigned
3030 RepoDid *string `json:"repoDid,omitempty" cborgen:"repoDid,omitempty"`
3131 // source: source of the repo