forked from
tangled.org/core
fork
Configure Feed
Select the types of activity you want to include in your feed.
this repo has no description
fork
Configure Feed
Select the types of activity you want to include in your feed.
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: sh.tangled.git.refUpdate
6
7import (
8 "github.com/bluesky-social/indigo/lex/util"
9)
10
11const (
12 GitRefUpdateNSID = "sh.tangled.git.refUpdate"
13)
14
15func init() {
16 util.RegisterType("sh.tangled.git.refUpdate", &GitRefUpdate{})
17} //
18// RECORDTYPE: GitRefUpdate
19type GitRefUpdate struct {
20 LexiconTypeID string `json:"$type,const=sh.tangled.git.refUpdate" cborgen:"$type,const=sh.tangled.git.refUpdate"`
21 // committerDid: did of the user that pushed this ref
22 CommitterDid string `json:"committerDid" cborgen:"committerDid"`
23 Meta *GitRefUpdate_Meta `json:"meta" cborgen:"meta"`
24 // newSha: new SHA of this ref
25 NewSha string `json:"newSha" cborgen:"newSha"`
26 // oldSha: old SHA of this ref
27 OldSha string `json:"oldSha" cborgen:"oldSha"`
28 // ref: Ref being updated
29 Ref string `json:"ref" cborgen:"ref"`
30 // repoDid: did of the owner of the repo
31 RepoDid string `json:"repoDid" cborgen:"repoDid"`
32 // repoName: name of the repo
33 RepoName string `json:"repoName" cborgen:"repoName"`
34}
35
36type GitRefUpdate_Meta struct {
37 CommitCount *GitRefUpdate_Meta_CommitCount `json:"commitCount" cborgen:"commitCount"`
38 IsDefaultRef bool `json:"isDefaultRef" cborgen:"isDefaultRef"`
39}
40
41type GitRefUpdate_Meta_CommitCount struct {
42 ByEmail []*GitRefUpdate_Meta_CommitCount_ByEmail_Elem `json:"byEmail,omitempty" cborgen:"byEmail,omitempty"`
43}
44
45type GitRefUpdate_Meta_CommitCount_ByEmail_Elem struct {
46 Count int64 `json:"count" cborgen:"count"`
47 Email string `json:"email" cborgen:"email"`
48}