// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package org_tangled
// schema: org.tangled.embed.commit
import (
"github.com/bluesky-social/indigo/lex/util"
)
const (
EmbedCommitNSID = "org.tangled.embed.commit"
)
func init() {
util.RegisterType("org.tangled.embed.commit#main", &EmbedCommit{})
} // EmbedCommit is a "main" in the org.tangled.embed.commit schema.
// RECORDTYPE: EmbedCommit
type EmbedCommit struct {
LexiconTypeID string `json:"$type,const=org.tangled.embed.commit" cborgen:"$type,const=org.tangled.embed.commit"`
Commit *GitOid `json:"commit" cborgen:"commit"`
Repo string `json:"repo" cborgen:"repo"`
}
// EmbedCommit_View is a "view" in the org.tangled.embed.commit schema.
//
// RECORDTYPE: EmbedCommit_View
type EmbedCommit_View struct {
LexiconTypeID string `json:"$type,const=org.tangled.embed.commit#view" cborgen:"$type,const=org.tangled.embed.commit#view"`
Change *string `json:"change,omitempty" cborgen:"change,omitempty"`
Commit string `json:"commit" cborgen:"commit"`
Repo string `json:"repo" cborgen:"repo"`
}