This repository 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 Blobs []*util.LexBlob `json:"blobs,omitempty" cborgen:"blobs,omitempty"`
22 Body *string `json:"body,omitempty" cborgen:"body,omitempty"`
23 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
24 DependentOn *string `json:"dependentOn,omitempty" cborgen:"dependentOn,omitempty"`
25 Mentions []string `json:"mentions,omitempty" cborgen:"mentions,omitempty"`
26 References []string `json:"references,omitempty" cborgen:"references,omitempty"`
27 Rounds []*RepoPull_Round `json:"rounds" cborgen:"rounds"`
28 Source *RepoPull_Source `json:"source,omitempty" cborgen:"source,omitempty"`
29 Target *RepoPull_Target `json:"target" cborgen:"target"`
30 Title string `json:"title" cborgen:"title"`
31}
32
33// RepoPull_Round is a "round" in the sh.tangled.repo.pull schema.
34//
35// revisions of this pull request, newer rounds are appended to this array. appviews may reject records do not treat this field as append-only. the blob format is gzipped text-based git-format-patches.
36type RepoPull_Round struct {
37 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
38 PatchBlob *util.LexBlob `json:"patchBlob" cborgen:"patchBlob"`
39}
40
41// RepoPull_Source is a "source" in the sh.tangled.repo.pull schema.
42type RepoPull_Source struct {
43 Branch string `json:"branch" cborgen:"branch"`
44 Repo *string `json:"repo,omitempty" cborgen:"repo,omitempty"`
45}
46
47// RepoPull_Target is a "target" in the sh.tangled.repo.pull schema.
48type RepoPull_Target struct {
49 Branch string `json:"branch" cborgen:"branch"`
50 Repo string `json:"repo" cborgen:"repo"`
51}