Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
Go
at license-meta
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.git.refUpdate
import ( "github.com/bluesky-social/indigo/lex/util")
const ( GitRefUpdateNSID = "sh.tangled.git.refUpdate")
func init() { util.RegisterType("sh.tangled.git.refUpdate", &GitRefUpdate{})} //// RECORDTYPE: GitRefUpdatetype GitRefUpdate struct { LexiconTypeID string `json:"$type,const=sh.tangled.git.refUpdate" cborgen:"$type,const=sh.tangled.git.refUpdate"` // committerDid: did of the user that pushed this ref CommitterDid string `json:"committerDid" cborgen:"committerDid"` Meta *GitRefUpdate_Meta `json:"meta" cborgen:"meta"` // newSha: new SHA of this ref NewSha string `json:"newSha" cborgen:"newSha"` // oldSha: old SHA of this ref OldSha string `json:"oldSha" cborgen:"oldSha"` // ownerDid: did of the owner of the repo OwnerDid *string `json:"ownerDid,omitempty" cborgen:"ownerDid,omitempty"` // ref: Ref being updated Ref string `json:"ref" cborgen:"ref"` // repoDid: DID of the repo itself RepoDid *string `json:"repoDid,omitempty" cborgen:"repoDid,omitempty"` // repoName: name of the repo RepoName string `json:"repoName" cborgen:"repoName"`}
// GitRefUpdate_CommitCountBreakdown is a "commitCountBreakdown" in the sh.tangled.git.refUpdate schema.type GitRefUpdate_CommitCountBreakdown struct { ByEmail []*GitRefUpdate_IndividualEmailCommitCount `json:"byEmail,omitempty" cborgen:"byEmail,omitempty"`}
// GitRefUpdate_IndividualEmailCommitCount is a "individualEmailCommitCount" in the sh.tangled.git.refUpdate schema.type GitRefUpdate_IndividualEmailCommitCount struct { Count int64 `json:"count" cborgen:"count"` Email string `json:"email" cborgen:"email"`}
// GitRefUpdate_IndividualLanguageSize is a "individualLanguageSize" in the sh.tangled.git.refUpdate schema.type GitRefUpdate_IndividualLanguageSize struct { Lang string `json:"lang" cborgen:"lang"` Size int64 `json:"size" cborgen:"size"`}
// GitRefUpdate_LangBreakdown is a "langBreakdown" in the sh.tangled.git.refUpdate schema.type GitRefUpdate_LangBreakdown struct { Inputs []*GitRefUpdate_IndividualLanguageSize `json:"inputs,omitempty" cborgen:"inputs,omitempty"`}
// GitRefUpdate_LicenseInfo is a "licenseInfo" in the sh.tangled.git.refUpdate schema.type GitRefUpdate_LicenseInfo struct { // confidence: Match confidence as a percentage (0-100) Confidence *int64 `json:"confidence,omitempty" cborgen:"confidence,omitempty"` // path: Path to the license file in the repo, relative to root Path string `json:"path" cborgen:"path"` // spdxId: SPDX identifier of the detected license (e.g. 'MIT', 'Apache-2.0') SpdxId string `json:"spdxId" cborgen:"spdxId"`}
// GitRefUpdate_Meta is a "meta" in the sh.tangled.git.refUpdate schema.type GitRefUpdate_Meta struct { CommitCount *GitRefUpdate_CommitCountBreakdown `json:"commitCount" cborgen:"commitCount"` IsDefaultRef bool `json:"isDefaultRef" cborgen:"isDefaultRef"` LangBreakdown *GitRefUpdate_LangBreakdown `json:"langBreakdown,omitempty" cborgen:"langBreakdown,omitempty"` LicenseInfo *GitRefUpdate_LicenseInfo `json:"licenseInfo,omitempty" cborgen:"licenseInfo,omitempty"`}