~james/core

core/api/org_tangled/eventpush.go -rw-r--r-- 1.0 KiB
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 15 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
// 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"`
}