Documentation
¶
Index ¶
- Constants
- Variables
- func ReaderDatlyType() reflect.Type
- type ReaderComponent
- type RunStepsInput
- func (input *RunStepsInput) SetCursorAfter(value string)
- func (input *RunStepsInput) SetCursorBefore(value string)
- func (input *RunStepsInput) SetFields(value []string)
- func (input *RunStepsInput) SetInternalMode(value bool)
- func (input *RunStepsInput) SetIteration(value int)
- func (input *RunStepsInput) SetLimit(value int)
- func (input *RunStepsInput) SetOffset(value int)
- func (input *RunStepsInput) SetOrderBy(value string)
- func (input *RunStepsInput) SetRunID(value string)
- func (input *RunStepsInput) SetStepTypes(value []string)
- func (input *RunStepsInput) SetVisibilitySubject(value *string)
- type RunStepsInputHas
- type RunStepsOutput
- type RunStepsView
Constants ¶
View Source
const ReaderDatlyResourceNamespace = "datly_runsteps_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 ReaderComponent ¶
type ReaderComponent struct {
Contract xdatly.Component[RunStepsInput, RunStepsOutput] "" /* 150-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
type RunStepsInput ¶
type RunStepsInput struct {
InternalMode bool `parameter:"InternalMode,kind=runaccess,in=internal,dataType=bool,required=true"`
VisibilitySubject *string `parameter:"VisibilitySubject,kind=visibility,in=subject,dataType=*string,required=true"`
RunID string `parameter:"RunID,kind=query,in=runId,dataType=string,required=false" predicate:"equal,run_steps,run_id"`
Iteration int `parameter:"Iteration,kind=query,in=iteration,dataType=int,required=false" predicate:"equal,run_steps,iteration"`
StepTypes []string `parameter:"StepTypes,kind=query,in=stepTypes,dataType=[]string,required=false" predicate:"in,run_steps,step_type"`
CursorBefore string `parameter:"CursorBefore,kind=query,in=cursorBefore,dataType=string,required=false" predicate:"expr,run_steps.message_id < ?"`
CursorAfter string `parameter:"CursorAfter,kind=query,in=cursorAfter,dataType=string,required=false" predicate:"expr,run_steps.message_id > ?"`
Fields []string `` /* 132-byte string literal not displayed */
Limit int `parameter:"Limit,kind=query,in=limit,dataType=int,required=false,cacheable=false" querySelector:"view=reader,property=limit"`
Offset int `` /* 127-byte string literal not displayed */
OrderBy string `` /* 133-byte string literal not displayed */
Has *RunStepsInputHas `setMarker:"true" typeName:"RunStepsInputHas" json:"-" sqlx:"-"`
}
RunStepsInput is the generated input scaffold for reader.
func (*RunStepsInput) SetCursorAfter ¶
func (input *RunStepsInput) SetCursorAfter(value string)
func (*RunStepsInput) SetCursorBefore ¶
func (input *RunStepsInput) SetCursorBefore(value string)
func (*RunStepsInput) SetFields ¶
func (input *RunStepsInput) SetFields(value []string)
func (*RunStepsInput) SetInternalMode ¶
func (input *RunStepsInput) SetInternalMode(value bool)
func (*RunStepsInput) SetIteration ¶
func (input *RunStepsInput) SetIteration(value int)
func (*RunStepsInput) SetLimit ¶
func (input *RunStepsInput) SetLimit(value int)
func (*RunStepsInput) SetOffset ¶
func (input *RunStepsInput) SetOffset(value int)
func (*RunStepsInput) SetOrderBy ¶
func (input *RunStepsInput) SetOrderBy(value string)
func (*RunStepsInput) SetRunID ¶
func (input *RunStepsInput) SetRunID(value string)
func (*RunStepsInput) SetStepTypes ¶
func (input *RunStepsInput) SetStepTypes(value []string)
func (*RunStepsInput) SetVisibilitySubject ¶
func (input *RunStepsInput) SetVisibilitySubject(value *string)
type RunStepsInputHas ¶
type RunStepsOutput ¶
type RunStepsOutput struct {
Data []*RunStepsView `` /* 241-byte string literal not displayed */
}
RunStepsOutput is the generated output scaffold for reader.
type RunStepsView ¶
type RunStepsView struct {
StepType string `sqlx:"step_type" json:"stepType"`
MessageId string `sqlx:"message_id" json:"messageId"`
Name string `sqlx:"name" json:"name"`
Status string `sqlx:"status" json:"status"`
RunId *string `sqlx:"run_id" json:"runId"`
ConversationId *string `sqlx:"conversation_id" json:"conversationId"`
Iteration *int `sqlx:"iteration" json:"iteration"`
StartedAt *time.Time `sqlx:"started_at" json:"startedAt"`
CompletedAt *time.Time `sqlx:"completed_at" json:"completedAt"`
LatencyMs *int `sqlx:"latency_ms" json:"latencyMs"`
ErrorMessage *string `sqlx:"error_message" json:"errorMessage"`
}
RunStepsView is generated canonical view metadata for reader.
Click to show internal directories.
Click to hide internal directories.