~james/core

core/api/org_tangled/embedcommit.go -rw-r--r-- 1.1 KiB
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 14 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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"`
}