Documentation
¶
Index ¶
Constants ¶
View Source
const ReaderDatlyResourceNamespace = "reportingevidence_document_read_reader"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var ReaderDatly = new(ReaderComponent)
The public value supports explicit component wiring.
View Source
var ReaderDatlyResources embed.FS
Functions ¶
func ReaderDatlyType ¶
ReaderDatlyType returns the public component type.
Types ¶
type Document ¶
type Document struct {
InlineBody []byte `sqlx:"inline_body" json:"inlineBody"`
Id *string `sqlx:"id,primaryKey=true" json:"id"`
RunId *string `sqlx:"run_id,refTable=run,refColumn=id" json:"runId"`
Kind *string `sqlx:"kind,required=true" json:"kind"`
Subtype *string `sqlx:"subtype" json:"subtype"`
SchemaRef *string `sqlx:"schema_ref" json:"schemaRef"`
MimeType *string `sqlx:"mime_type,required=true" json:"mimeType"`
Storage *string `sqlx:"storage,required=true" json:"storage"`
Compression *string `sqlx:"compression,required=true" json:"compression"`
Digest *string `sqlx:"digest" json:"digest"`
SizeBytes *int `sqlx:"size_bytes,required=true" json:"sizeBytes"`
}
Document is generated canonical view metadata for reader.
type Input ¶
type Input struct {
Owner string `parameter:"Owner,kind=query,in=owner,dataType=string,required=true"`
ConversationID string `parameter:"ConversationID,kind=query,in=conversationId,dataType=string,required=true"`
TurnID string `parameter:"TurnID,kind=query,in=turnId,dataType=string,required=true"`
ID string `parameter:"ID,kind=query,in=id,dataType=string,required=true"`
RunID string `parameter:"RunID,kind=query,in=runId,dataType=string,required=true"`
Subtype string `parameter:"Subtype,kind=query,in=subtype,dataType=string,required=true"`
Has *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
}
Input is the generated input scaffold for reader.
func (*Input) SetConversationID ¶
func (*Input) SetSubtype ¶
type Output ¶
type Output struct {
Data []*Document `` /* 180-byte string literal not displayed */
}
Output is the generated output scaffold for reader.
type ReaderComponent ¶
type ReaderComponent struct {
Contract xdatly.Component[Input, Output] "" /* 168-byte string literal not displayed */
}
Component is the generated component scaffold for reader.
func (ReaderComponent) EmbedFS ¶
func (ReaderComponent) EmbedFS() *embed.FS
func (ReaderComponent) EmbedNamespace ¶
func (ReaderComponent) EmbedNamespace() string
Click to show internal directories.
Click to hide internal directories.