this repo has no description
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: sh.tangled.repo.pull
6
7import (
8 "github.com/bluesky-social/indigo/lex/util"
9)
10
11const (
12 RepoPullNSID = "sh.tangled.repo.pull"
13)
14
15func init() {
16 util.RegisterType("sh.tangled.repo.pull", &RepoPull{})
17} //
18// RECORDTYPE: RepoPull
19type RepoPull struct {
20 LexiconTypeID string `json:"$type,const=sh.tangled.repo.pull" cborgen:"$type,const=sh.tangled.repo.pull"`
21 Body *string `json:"body,omitempty" cborgen:"body,omitempty"`
22 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
23 Mentions []string `json:"mentions,omitempty" cborgen:"mentions,omitempty"`
24 // patch: (deprecated) use patchBlob instead
25 Patch *string `json:"patch,omitempty" cborgen:"patch,omitempty"`
26 // patchBlob: patch content
27 PatchBlob *util.LexBlob `json:"patchBlob" cborgen:"patchBlob"`
28 References []string `json:"references,omitempty" cborgen:"references,omitempty"`
29 Source *RepoPull_Source `json:"source,omitempty" cborgen:"source,omitempty"`
30 Target *RepoPull_Target `json:"target" cborgen:"target"`
31 Title string `json:"title" cborgen:"title"`
32}
33
34// RepoPull_Source is a "source" in the sh.tangled.repo.pull schema.
35type RepoPull_Source struct {
36 Branch string `json:"branch" cborgen:"branch"`
37 Repo *string `json:"repo,omitempty" cborgen:"repo,omitempty"`
38 Sha string `json:"sha" cborgen:"sha"`
39}
40
41// RepoPull_Target is a "target" in the sh.tangled.repo.pull schema.
42type RepoPull_Target struct {
43 Branch string `json:"branch" cborgen:"branch"`
44 Repo string `json:"repo" cborgen:"repo"`
45}