Documentation
¶
Index ¶
- Constants
- Variables
- func ReaderDatlyType() reflect.Type
- type ApprovalRowsInput
- func (input *ApprovalRowsInput) Init(context.Context) error
- func (input *ApprovalRowsInput) SetConversationId(value string)
- func (input *ApprovalRowsInput) SetConversationIds(value []string)
- func (input *ApprovalRowsInput) SetFields(value []string)
- func (input *ApprovalRowsInput) SetId(value string)
- func (input *ApprovalRowsInput) SetInternal(value bool)
- func (input *ApprovalRowsInput) SetLimit(value int)
- func (input *ApprovalRowsInput) SetMessageId(value string)
- func (input *ApprovalRowsInput) SetMessageIds(value []string)
- func (input *ApprovalRowsInput) SetOffset(value int)
- func (input *ApprovalRowsInput) SetOrderBy(value string)
- func (input *ApprovalRowsInput) SetQueueStatus(value string)
- func (input *ApprovalRowsInput) SetReadMode(value string)
- func (input *ApprovalRowsInput) SetSince(value time.Time)
- func (input *ApprovalRowsInput) SetToolName(value string)
- func (input *ApprovalRowsInput) SetTurnId(value string)
- func (input *ApprovalRowsInput) SetTurnIds(value []string)
- func (input *ApprovalRowsInput) SetUntil(value time.Time)
- func (input *ApprovalRowsInput) SetUserId(value string)
- func (input *ApprovalRowsInput) SetVisibilitySubject(value *string)
- type ApprovalRowsInputHas
- type ApprovalRowsOutput
- type ApprovalView
- type ReaderComponent
Constants ¶
View Source
const ReaderDatlyResourceNamespace = "datly_toolapprovalqueue_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 ApprovalRowsInput ¶
type ApprovalRowsInput struct {
Id string `parameter:"Id,kind=query,in=id,dataType=string,required=false" predicate:"equal,q,id"`
UserId string `parameter:"UserId,kind=query,in=userId,dataType=string,required=false" predicate:"equal,q,user_id"`
ConversationId string `parameter:"ConversationId,kind=query,in=conversationId,dataType=string,required=false" predicate:"equal,q,conversation_id"`
TurnId string `parameter:"TurnId,kind=query,in=turnId,dataType=string,required=false" predicate:"equal,q,turn_id"`
MessageId string `parameter:"MessageId,kind=query,in=messageId,dataType=string,required=false" predicate:"equal,q,message_id"`
ConversationIds []string `parameter:"ConversationIds,kind=query,in=conversationIds,dataType=[]string,required=false" predicate:"in,q,conversation_id"`
TurnIds []string `parameter:"TurnIds,kind=query,in=turnIds,dataType=[]string,required=false" predicate:"in,q,turn_id"`
MessageIds []string `parameter:"MessageIds,kind=query,in=messageIds,dataType=[]string,required=false" predicate:"in,q,message_id"`
ToolName string `parameter:"ToolName,kind=query,in=toolName,dataType=string,required=false" predicate:"equal,q,tool_name"`
QueueStatus string `parameter:"QueueStatus,kind=query,in=status,dataType=string,required=false" predicate:"equal,q,status"`
Internal bool `parameter:"Internal,kind=approvalaccess,in=internal,dataType=bool,required=true"`
ReadMode string `parameter:"ReadMode,kind=approvalaccess,in=mode,dataType=string,required=true"`
VisibilitySubject *string `parameter:"VisibilitySubject,kind=visibility,in=subject,dataType=*string,required=true"`
Since time.Time `parameter:"Since,kind=query,in=since,dataType=time.Time,required=false" predicate:"expr,q.transition_at > ?"`
Until time.Time `parameter:"Until,kind=query,in=until,dataType=time.Time,required=false" predicate:"expr,'q.transition_at <= ?'"`
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 *ApprovalRowsInputHas `setMarker:"true" typeName:"ApprovalRowsInputHas" json:"-" sqlx:"-"`
}
ApprovalRowsInput is the generated input scaffold for reader.
func (*ApprovalRowsInput) SetConversationId ¶
func (input *ApprovalRowsInput) SetConversationId(value string)
func (*ApprovalRowsInput) SetConversationIds ¶
func (input *ApprovalRowsInput) SetConversationIds(value []string)
func (*ApprovalRowsInput) SetFields ¶
func (input *ApprovalRowsInput) SetFields(value []string)
func (*ApprovalRowsInput) SetId ¶
func (input *ApprovalRowsInput) SetId(value string)
func (*ApprovalRowsInput) SetInternal ¶
func (input *ApprovalRowsInput) SetInternal(value bool)
func (*ApprovalRowsInput) SetLimit ¶
func (input *ApprovalRowsInput) SetLimit(value int)
func (*ApprovalRowsInput) SetMessageId ¶
func (input *ApprovalRowsInput) SetMessageId(value string)
func (*ApprovalRowsInput) SetMessageIds ¶
func (input *ApprovalRowsInput) SetMessageIds(value []string)
func (*ApprovalRowsInput) SetOffset ¶
func (input *ApprovalRowsInput) SetOffset(value int)
func (*ApprovalRowsInput) SetOrderBy ¶
func (input *ApprovalRowsInput) SetOrderBy(value string)
func (*ApprovalRowsInput) SetQueueStatus ¶
func (input *ApprovalRowsInput) SetQueueStatus(value string)
func (*ApprovalRowsInput) SetReadMode ¶
func (input *ApprovalRowsInput) SetReadMode(value string)
func (*ApprovalRowsInput) SetSince ¶
func (input *ApprovalRowsInput) SetSince(value time.Time)
func (*ApprovalRowsInput) SetToolName ¶
func (input *ApprovalRowsInput) SetToolName(value string)
func (*ApprovalRowsInput) SetTurnId ¶
func (input *ApprovalRowsInput) SetTurnId(value string)
func (*ApprovalRowsInput) SetTurnIds ¶
func (input *ApprovalRowsInput) SetTurnIds(value []string)
func (*ApprovalRowsInput) SetUntil ¶
func (input *ApprovalRowsInput) SetUntil(value time.Time)
func (*ApprovalRowsInput) SetUserId ¶
func (input *ApprovalRowsInput) SetUserId(value string)
func (*ApprovalRowsInput) SetVisibilitySubject ¶
func (input *ApprovalRowsInput) SetVisibilitySubject(value *string)
type ApprovalRowsInputHas ¶
type ApprovalRowsInputHas struct {
Id bool
UserId bool
ConversationId bool
TurnId bool
MessageId bool
ConversationIds bool
TurnIds bool
MessageIds bool
ToolName bool
QueueStatus bool
Internal bool
ReadMode bool
VisibilitySubject bool
Since bool
Until bool
Fields bool
Limit bool
Offset bool
OrderBy bool
}
type ApprovalRowsOutput ¶
type ApprovalRowsOutput struct {
Data []*ApprovalView `` /* 306-byte string literal not displayed */
}
ApprovalRowsOutput is the generated output scaffold for reader.
type ApprovalView ¶
type ApprovalView struct {
TransitionAt *string `sqlx:"transition_at" json:"transitionAt"`
CompletedAt *time.Time `sqlx:"completed_at" json:"completedAt"`
Id string `sqlx:"id,primaryKey=true" json:"id"`
UserId string `sqlx:"user_id,required=true" json:"userId"`
ToolName string `sqlx:"tool_name,required=true" json:"toolName"`
Arguments []byte `sqlx:"arguments,required=true" json:"arguments"`
Metadata *[]byte `sqlx:"metadata" json:"metadata"`
Status string `sqlx:"status,required=true" json:"status"`
CreatedAt time.Time `sqlx:"created_at,required=true" json:"createdAt"`
ConversationId *string `sqlx:"conversation_id,refTable=conversation,refColumn=id" json:"conversationId"`
TurnId *string `sqlx:"turn_id,refTable=turn,refColumn=id" json:"turnId"`
MessageId *string `sqlx:"message_id,refTable=message,refColumn=id" json:"messageId"`
Title *string `sqlx:"title" json:"title"`
Decision *string `sqlx:"decision" json:"decision"`
ApprovedByUserId *string `sqlx:"approved_by_user_id" json:"approvedByUserId"`
ApprovedAt *time.Time `sqlx:"approved_at" json:"approvedAt"`
ExecutedAt *time.Time `sqlx:"executed_at" json:"executedAt"`
ErrorMessage *string `sqlx:"error_message" json:"errorMessage"`
UpdatedAt *time.Time `sqlx:"updated_at" json:"updatedAt"`
ExpiresAt *time.Time `sqlx:"expires_at" json:"expiresAt"`
TimedOutAt *time.Time `sqlx:"timed_out_at" json:"timedOutAt"`
}
ApprovalView is generated canonical view metadata for reader.
type ReaderComponent ¶
type ReaderComponent struct {
Contract xdatly.Component[ApprovalRowsInput, ApprovalRowsOutput] "" /* 154-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.