Monorepo for Tangled
tangled.org
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: sh.tangled.git.temp.defs
6
7import (
8 "github.com/bluesky-social/indigo/lex/util"
9)
10
11const ()
12
13// GitTempDefs_Branch is a "branch" in the sh.tangled.git.temp.defs schema.
14type GitTempDefs_Branch struct {
15 // commit: hydrated commit object
16 Commit *GitTempDefs_Commit `json:"commit" cborgen:"commit"`
17 // name: branch name
18 Name string `json:"name" cborgen:"name"`
19}
20
21// GitTempDefs_Commit is a "commit" in the sh.tangled.git.temp.defs schema.
22type GitTempDefs_Commit struct {
23 Author *GitTempDefs_Signature `json:"author" cborgen:"author"`
24 Committer *GitTempDefs_Signature `json:"committer" cborgen:"committer"`
25 Hash *string `json:"hash" cborgen:"hash"`
26 Message string `json:"message" cborgen:"message"`
27 Tree *string `json:"tree" cborgen:"tree"`
28}
29
30// GitTempDefs_Signature is a "signature" in the sh.tangled.git.temp.defs schema.
31type GitTempDefs_Signature struct {
32 // email: Person email
33 Email string `json:"email" cborgen:"email"`
34 // name: Person name
35 Name string `json:"name" cborgen:"name"`
36 // when: Timestamp of the signature
37 When string `json:"when" cborgen:"when"`
38}
39
40// GitTempDefs_Submodule is a "submodule" in the sh.tangled.git.temp.defs schema.
41type GitTempDefs_Submodule struct {
42 // branch: Branch to track in the submodule
43 Branch *string `json:"branch,omitempty" cborgen:"branch,omitempty"`
44 // name: Submodule name
45 Name string `json:"name" cborgen:"name"`
46 // url: Submodule repository URL
47 Url string `json:"url" cborgen:"url"`
48}
49
50// GitTempDefs_Tag is a "tag" in the sh.tangled.git.temp.defs schema.
51type GitTempDefs_Tag struct {
52 Message *string `json:"message,omitempty" cborgen:"message,omitempty"`
53 // name: tag name
54 Name string `json:"name" cborgen:"name"`
55 Tagger *GitTempDefs_Signature `json:"tagger" cborgen:"tagger"`
56 Target *util.LexiconTypeDecoder `json:"target" cborgen:"target"`
57}