// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package org_tangled
// schema: org.tangled.repo.defs
const ()
// RepoDefs_Language is a "language" in the org.tangled.repo.defs schema.
type RepoDefs_Language struct {
Name string `json:"name" cborgen:"name"`
// size: Total size of files in this language, in bytes.
Size int64 `json:"size" cborgen:"size"`
}
// RepoDefs_RepoViewBasic is a "repoViewBasic" in the org.tangled.repo.defs schema.
type RepoDefs_RepoViewBasic struct {
CreatedAt string `json:"createdAt" cborgen:"createdAt"`
Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
Did string `json:"did" cborgen:"did"`
ForkCount *int64 `json:"forkCount,omitempty" cborgen:"forkCount,omitempty"`
IsStarred *bool `json:"isStarred,omitempty" cborgen:"isStarred,omitempty"`
OpenIssueCount *int64 `json:"openIssueCount,omitempty" cborgen:"openIssueCount,omitempty"`
OpenPullCount *int64 `json:"openPullCount,omitempty" cborgen:"openPullCount,omitempty"`
Owner *ActorDefs_ProfileViewBasic `json:"owner" cborgen:"owner"`
// primaryLanguage: Largest language on the default branch, by bytes.
PrimaryLanguage *string `json:"primaryLanguage,omitempty" cborgen:"primaryLanguage,omitempty"`
Slug string `json:"slug" cborgen:"slug"`
StarCount *int64 `json:"starCount,omitempty" cborgen:"starCount,omitempty"`
Viewer *RepoDefs_ViewerState `json:"viewer,omitempty" cborgen:"viewer,omitempty"`
}
// RepoDefs_SourceExternal is a "sourceExternal" in the org.tangled.repo.defs schema.
//
// RECORDTYPE: RepoDefs_SourceExternal
type RepoDefs_SourceExternal struct {
LexiconTypeID string `json:"$type,const=org.tangled.repo.defs#sourceExternal" cborgen:"$type,const=org.tangled.repo.defs#sourceExternal"`
// uri: git-clone uri of the repo
Uri string `json:"uri" cborgen:"uri"`
}
// RepoDefs_SourceTangled is a "sourceTangled" in the org.tangled.repo.defs schema.
//
// RECORDTYPE: RepoDefs_SourceTangled
type RepoDefs_SourceTangled struct {
LexiconTypeID string `json:"$type,const=org.tangled.repo.defs#sourceTangled" cborgen:"$type,const=org.tangled.repo.defs#sourceTangled"`
// did: DID of the repo identity
Did string `json:"did" cborgen:"did"`
}
// RepoDefs_ViewerState is a "viewerState" in the org.tangled.repo.defs schema.
//
// Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.
type RepoDefs_ViewerState struct {
Fork *string `json:"fork,omitempty" cborgen:"fork,omitempty"`
Star *string `json:"star,omitempty" cborgen:"star,omitempty"`
}