Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
Go
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.pull.defs
const ()
// PullDefs_PatchView is a "patchView" in the sh.tangled.pull.defs schema.type PullDefs_PatchView struct { Base string `json:"base" cborgen:"base"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Head string `json:"head" cborgen:"head"`}
// PullDefs_PullView is a "pullView" in the sh.tangled.pull.defs schema.type PullDefs_PullView struct { Author *ActorDefs_ProfileViewBasic `json:"author" cborgen:"author"` Cid string `json:"cid" cborgen:"cid"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Repo *RepoDefs_RepoViewBasic `json:"repo" cborgen:"repo"` State *string `json:"state,omitempty" cborgen:"state,omitempty"` TargetBranch string `json:"targetBranch" cborgen:"targetBranch"` Title string `json:"title" cborgen:"title"` Uri string `json:"uri" cborgen:"uri"`}
// PullDefs_PullViewDetailed is a "pullViewDetailed" in the sh.tangled.pull.defs schema.type PullDefs_PullViewDetailed struct { Author *ActorDefs_ProfileViewBasic `json:"author" cborgen:"author"` Body *MarkupMarkdown `json:"body,omitempty" cborgen:"body,omitempty"` Cid string `json:"cid" cborgen:"cid"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Repo *RepoDefs_RepoViewBasic `json:"repo" cborgen:"repo"` Source *PullDefs_Source `json:"source,omitempty" cborgen:"source,omitempty"` State *string `json:"state,omitempty" cborgen:"state,omitempty"` TargetBranch string `json:"targetBranch" cborgen:"targetBranch"` Title string `json:"title" cborgen:"title"` Uri string `json:"uri" cborgen:"uri"` // versions: TODO: this should be paginated maybe even as a separate `listPatches` method Versions []*PullDefs_PatchView `json:"versions" cborgen:"versions"`}
// PullDefs_Source is a "source" in the sh.tangled.pull.defs schema.type PullDefs_Source struct { Branch string `json:"branch" cborgen:"branch"` Repo *RepoDefs_RepoViewBasic `json:"repo,omitempty" cborgen:"repo,omitempty"`}