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

toolapprovalqueue

package
v0.1.56 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QueueTotalFS embed.FS
View Source
var QueueTotalPathURI = "/v1/api/agently/toolapprovalqueue/count/count"

Functions

func DefineQueueTotalComponent

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

Types

type QueueTotalInput

type QueueTotalInput 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            *QueueTotalInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}

func (*QueueTotalInput) EmbedFS

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

type QueueTotalInputHas

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

type QueueTotalOutput

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

type QueueTotalView

type QueueTotalView struct {
	TotalCount int `sqlx:"total_count"`
}

Jump to

Keyboard shortcuts

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