A vibe coded tangled fork which supports pijul.
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 DependentOn *string `json:"dependentOn,omitempty" cborgen:"dependentOn,omitempty"`
24 Mentions []string `json:"mentions,omitempty" cborgen:"mentions,omitempty"`
25 References []string `json:"references,omitempty" cborgen:"references,omitempty"`
26 Rounds []*RepoPull_Round `json:"rounds,omitempty" cborgen:"rounds,omitempty"`
27 Source *RepoPull_Source `json:"source,omitempty" cborgen:"source,omitempty"`
28 Target *RepoPull_Target `json:"target" cborgen:"target"`
29 Title string `json:"title" cborgen:"title"`
30}
31
32// RepoPull_Round is a "round" in the sh.tangled.repo.pull schema.
33//
34// 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.
35type RepoPull_Round struct {
36 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
37 PatchBlob *util.LexBlob `json:"patchBlob" cborgen:"patchBlob"`
38}
39
40// RepoPull_Source is a "source" in the sh.tangled.repo.pull schema.
41type RepoPull_Source struct {
42 Branch string `json:"branch" cborgen:"branch"`
43 Repo *string `json:"repo,omitempty" cborgen:"repo,omitempty"`
44}
45
46// RepoPull_Target is a "target" in the sh.tangled.repo.pull schema.
47type RepoPull_Target struct {
48 Branch string `json:"branch" cborgen:"branch"`
49 Repo string `json:"repo" cborgen:"repo"`
50}