forked from tangled.org/core
this repo has no description
at oauth 1.0 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.artifact 6 7import ( 8 "github.com/bluesky-social/indigo/lex/util" 9) 10 11const ( 12 RepoArtifactNSID = "sh.tangled.repo.artifact" 13) 14 15func init() { 16 util.RegisterType("sh.tangled.repo.artifact", &RepoArtifact{}) 17} // 18// RECORDTYPE: RepoArtifact 19type RepoArtifact struct { 20 LexiconTypeID string `json:"$type,const=sh.tangled.repo.artifact" cborgen:"$type,const=sh.tangled.repo.artifact"` 21 // artifact: the artifact 22 Artifact *util.LexBlob `json:"artifact" cborgen:"artifact"` 23 // createdAt: time of creation of this artifact 24 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 25 // name: name of the artifact 26 Name string `json:"name" cborgen:"name"` 27 // repo: repo that this artifact is being uploaded to 28 Repo string `json:"repo" cborgen:"repo"` 29 // tag: hash of the tag object that this artifact is attached to (only annotated tags are supported) 30 Tag util.LexBytes `json:"tag,omitempty" cborgen:"tag,omitempty"` 31}