Help us shape the future of Go! Take the 2026 Go Developer Survey

read

package
v0.1.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QueueRowsFS embed.FS
View Source
var QueueRowsPathURI = "/v1/api/agently/toolapprovalqueue/list"

Functions

func DefineQueueRowsComponent

func DefineQueueRowsComponent(ctx context.Context, srv *datly.Service) error

Types

type QueueRowView

type QueueRowView struct {
	Id               string     `sqlx:"id"`
	UserId           string     `sqlx:"user_id"`
	ConversationId   *string    `sqlx:"conversation_id"`
	TurnId           *string    `sqlx:"turn_id"`
	MessageId        *string    `sqlx:"message_id"`
	ToolName         string     `sqlx:"tool_name"`
	Title            *string    `sqlx:"title"`
	Arguments        []byte     `sqlx:"arguments"`
	Metadata         *[]byte    `sqlx:"metadata"`
	Status           string     `sqlx:"status"`
	Decision         *string    `sqlx:"decision"`
	ExpiresAt        *time.Time `sqlx:"expires_at"`
	TimedOutAt       *time.Time `sqlx:"timed_out_at"`
	ApprovedByUserId *string    `sqlx:"approved_by_user_id"`
	ApprovedAt       *time.Time `sqlx:"approved_at"`
	ExecutedAt       *time.Time `sqlx:"executed_at"`
	ErrorMessage     *string    `sqlx:"error_message"`
	CreatedAt        time.Time  `sqlx:"created_at"`
	UpdatedAt        *time.Time `sqlx:"updated_at"`
}

type QueueRowsInput

type QueueRowsInput struct {
	Id             string             `parameter:",kind=query,in=id" predicate:"equal,group=0,q,id"`
	UserId         string             `parameter:",kind=query,in=userId" predicate:"equal,group=0,q,user_id"`
	ConversationId string             `parameter:",kind=query,in=conversationId" predicate:"equal,group=0,q,conversation_id"`
	TurnId         string             `parameter:",kind=query,in=turnId" predicate:"equal,group=0,q,turn_id"`
	MessageId      string             `parameter:",kind=query,in=messageId" predicate:"equal,group=0,q,message_id"`
	ToolName       string             `parameter:",kind=query,in=toolName" predicate:"equal,group=0,q,tool_name"`
	QueueStatus    string             `parameter:",kind=query,in=status" predicate:"equal,group=0,q,status"`
	Has            *QueueRowsInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}

func (*QueueRowsInput) EmbedFS

func (i *QueueRowsInput) EmbedFS() *embed.FS

type QueueRowsInputHas

type QueueRowsInputHas struct {
	Id             bool
	UserId         bool
	ConversationId bool
	TurnId         bool
	MessageId      bool
	ToolName       bool
	QueueStatus    bool
}

type QueueRowsOutput

type QueueRowsOutput struct {
	response.Status `parameter:",kind=output,in=apiStatus" json:",omitempty"`
	Data            []*QueueRowView  `parameter:",kind=output,in=view" view:"queue_rows,batch=1000,relationalConcurrency=1" sql:"uri=queue_rows/queue_rows.sql"`
	Metrics         response.Metrics `parameter:",kind=output,in=metrics"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL