// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. package tangled // schema: sh.tangled.string import ( "github.com/bluesky-social/indigo/lex/util" ) const ( StringNSID = "sh.tangled.string" ) func init() { util.RegisterType("sh.tangled.string", &String{}) } // // RECORDTYPE: String type String struct { LexiconTypeID string `json:"$type,const=sh.tangled.string" cborgen:"$type,const=sh.tangled.string"` // contents: DEPRECATED - use files[0].content instead Contents *string `json:"contents,omitempty" cborgen:"contents,omitempty"` CreatedAt string `json:"createdAt" cborgen:"createdAt"` Description *string `json:"description,omitempty" cborgen:"description,omitempty"` // filename: DEPRECATED - use title instead Filename *string `json:"filename,omitempty" cborgen:"filename,omitempty"` Files []*String_File `json:"files" cborgen:"files"` Title *string `json:"title,omitempty" cborgen:"title,omitempty"` } // String_File is a "file" in the sh.tangled.string schema. type String_File struct { // content: file content Content *util.LexBlob `json:"content" cborgen:"content"` // name: filename including extension Name string `json:"name" cborgen:"name"` }