Monorepo for Tangled
at 236adc1d7e37e187263ca0c255e7367b592321ca 38 lines 1.4 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 6 7import ( 8 "github.com/bluesky-social/indigo/lex/util" 9) 10 11const ( 12 RepoNSID = "sh.tangled.repo" 13) 14 15func init() { 16 util.RegisterType("sh.tangled.repo", &Repo{}) 17} // 18// RECORDTYPE: Repo 19type Repo struct { 20 LexiconTypeID string `json:"$type,const=sh.tangled.repo" cborgen:"$type,const=sh.tangled.repo"` 21 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 22 Description *string `json:"description,omitempty" cborgen:"description,omitempty"` 23 // knot: knot where the repo was created 24 Knot string `json:"knot" cborgen:"knot"` 25 // labels: List of labels that this repo subscribes to 26 Labels []string `json:"labels,omitempty" cborgen:"labels,omitempty"` 27 // name: name of the repo 28 Name string `json:"name" cborgen:"name"` 29 RepoDid *string `json:"repoDid,omitempty" cborgen:"repoDid,omitempty"` 30 // source: source of the repo 31 Source *string `json:"source,omitempty" cborgen:"source,omitempty"` 32 // spindle: CI runner to send jobs to and receive results from 33 Spindle *string `json:"spindle,omitempty" cborgen:"spindle,omitempty"` 34 // topics: Topics related to the repo 35 Topics []string `json:"topics,omitempty" cborgen:"topics,omitempty"` 36 // website: Any URI related to the repo 37 Website *string `json:"website,omitempty" cborgen:"website,omitempty"` 38}