This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / api / tangled / repopull.go
2.4 kB 61 lines
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: DEPRECATED: always empty 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 Versions []*RepoPull_Version `json:"versions" cborgen:"versions"` 32} 33 34// RepoPull_Round is a "round" in the sh.tangled.repo.pull schema. 35// 36// DEPRECATED: 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. 37type RepoPull_Round struct { 38 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 39 PatchBlob *util.LexBlob `json:"patchBlob" cborgen:"patchBlob"` 40} 41 42// RepoPull_Source is a "source" in the sh.tangled.repo.pull schema. 43type RepoPull_Source struct { 44 Branch string `json:"branch" cborgen:"branch"` 45 Repo *string `json:"repo,omitempty" cborgen:"repo,omitempty"` 46} 47 48// RepoPull_Target is a "target" in the sh.tangled.repo.pull schema. 49type RepoPull_Target struct { 50 Branch string `json:"branch" cborgen:"branch"` 51 Repo string `json:"repo" cborgen:"repo"` 52} 53 54// RepoPull_Version is a "version" in the sh.tangled.repo.pull schema. 55type RepoPull_Version struct { 56 // base: merge-base commit ID for combined interdiff 57 Base *string `json:"base,omitempty" cborgen:"base,omitempty"` 58 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 59 // head: HEAD commit ID 60 Head string `json:"head" cborgen:"head"` 61}