A vibe coded tangled fork which supports pijul.
at master 32 lines 1.2 kB view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package tangled 4 5// schema: sh.tangled.repo.discussion 6 7import ( 8 "github.com/bluesky-social/indigo/lex/util" 9) 10 11const ( 12 RepoDiscussionNSID = "sh.tangled.repo.discussion" 13) 14 15func init() { 16 util.RegisterType("sh.tangled.repo.discussion", &RepoDiscussion{}) 17} // 18// RECORDTYPE: RepoDiscussion 19type RepoDiscussion struct { 20 LexiconTypeID string `json:"$type,const=sh.tangled.repo.discussion" cborgen:"$type,const=sh.tangled.repo.discussion"` 21 // body: Discussion body/description 22 Body *string `json:"body,omitempty" cborgen:"body,omitempty"` 23 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 24 Mentions []string `json:"mentions,omitempty" cborgen:"mentions,omitempty"` 25 References []string `json:"references,omitempty" cborgen:"references,omitempty"` 26 // repo: The repository this discussion belongs to 27 Repo string `json:"repo" cborgen:"repo"` 28 // targetChannel: Target Pijul channel for merging patches 29 TargetChannel *string `json:"targetChannel,omitempty" cborgen:"targetChannel,omitempty"` 30 // title: Discussion title 31 Title string `json:"title" cborgen:"title"` 32}