// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package org_tangled
// schema: org.tangled.event.push
import (
"github.com/bluesky-social/indigo/lex/util"
)
const (
EventPushNSID = "org.tangled.event.push"
)
func init() {
util.RegisterType("org.tangled.event.push#main", &EventPush{})
} // EventPush is a "main" in the org.tangled.event.push schema.
// When a repository ref is updated.
//
// RECORDTYPE: EventPush
type EventPush struct {
LexiconTypeID string `json:"$type,const=org.tangled.event.push" cborgen:"$type,const=org.tangled.event.push"`
// actor: The account that pushed.
Actor *string `json:"actor,omitempty" cborgen:"actor,omitempty"`
NewSha string `json:"newSha" cborgen:"newSha"`
OldSha string `json:"oldSha" cborgen:"oldSha"`
// pushOptions: The push options sent with the push, omitted when there were none.
PushOptions []string `json:"pushOptions,omitempty" cborgen:"pushOptions,omitempty"`
Ref string `json:"ref" cborgen:"ref"`
Repo string `json:"repo" cborgen:"repo"`
}