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.ci.trigger
6
7const ()
8
9// CiTrigger_Manual is a "manual" in the sh.tangled.ci.trigger schema.
10//
11// RECORDTYPE: CiTrigger_Manual
12type CiTrigger_Manual struct {
13 LexiconTypeID string `json:"$type,const=sh.tangled.ci.trigger#manual" cborgen:"$type,const=sh.tangled.ci.trigger#manual"`
14}
15
16// CiTrigger_PullRequest is a "pullRequest" in the sh.tangled.ci.trigger schema.
17//
18// TODO: reference PR record with strongRef instead of embedding raw values
19//
20// RECORDTYPE: CiTrigger_PullRequest
21type CiTrigger_PullRequest struct {
22 LexiconTypeID string `json:"$type,const=sh.tangled.ci.trigger#pullRequest" cborgen:"$type,const=sh.tangled.ci.trigger#pullRequest"`
23 Action string `json:"action" cborgen:"action"`
24 SourceBranch *string `json:"sourceBranch,omitempty" cborgen:"sourceBranch,omitempty"`
25 SourceSha string `json:"sourceSha" cborgen:"sourceSha"`
26 TargetBranch string `json:"targetBranch" cborgen:"targetBranch"`
27}
28
29// CiTrigger_Push is a "push" in the sh.tangled.ci.trigger schema.
30//
31// RECORDTYPE: CiTrigger_Push
32type CiTrigger_Push struct {
33 LexiconTypeID string `json:"$type,const=sh.tangled.ci.trigger#push" cborgen:"$type,const=sh.tangled.ci.trigger#push"`
34 NewSha string `json:"newSha" cborgen:"newSha"`
35 OldSha string `json:"oldSha" cborgen:"oldSha"`
36 Ref string `json:"ref" cborgen:"ref"`
37}