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

write

package
v0.1.58 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const WriterDatlyResourceNamespace = "datly_toolapprovalqueue_write_writer"

DatlyResourceNamespace identifies this package's generated resource filesystem.

Variables

View Source
var (
	LifecycleHooks = new(Lifecycle)
	LifecycleDatly = LifecycleDatlyType()
)
View Source
var WriterDatly = new(WriterComponent)

The public value supports explicit component wiring.

View Source
var WriterDatlyResources embed.FS

Functions

func LifecycleDatlyType

func LifecycleDatlyType() reflect.Type

func WriterDatlyType

func WriterDatlyType() reflect.Type

WriterDatlyType returns the public component type.

func WriterHandlerCurrentWriterIndexByApprovedAtKey

func WriterHandlerCurrentWriterIndexByApprovedAtKey(value *CurrentWriterView) (time.Time, bool)

func WriterHandlerCurrentWriterIndexByApprovedByUserIdKey

func WriterHandlerCurrentWriterIndexByApprovedByUserIdKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByCompletedAtKey

func WriterHandlerCurrentWriterIndexByCompletedAtKey(value *CurrentWriterView) (time.Time, bool)

func WriterHandlerCurrentWriterIndexByConversationIdKey

func WriterHandlerCurrentWriterIndexByConversationIdKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByCreatedAtKey

func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)

func WriterHandlerCurrentWriterIndexByDecisionKey

func WriterHandlerCurrentWriterIndexByDecisionKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByErrorMessageKey

func WriterHandlerCurrentWriterIndexByErrorMessageKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByExecutedAtKey

func WriterHandlerCurrentWriterIndexByExecutedAtKey(value *CurrentWriterView) (time.Time, bool)

func WriterHandlerCurrentWriterIndexByExpiresAtKey

func WriterHandlerCurrentWriterIndexByExpiresAtKey(value *CurrentWriterView) (time.Time, bool)

func WriterHandlerCurrentWriterIndexByIdKey

func WriterHandlerCurrentWriterIndexByIdKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByMessageIdKey

func WriterHandlerCurrentWriterIndexByMessageIdKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByStatusKey

func WriterHandlerCurrentWriterIndexByStatusKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByTimedOutAtKey

func WriterHandlerCurrentWriterIndexByTimedOutAtKey(value *CurrentWriterView) (time.Time, bool)

func WriterHandlerCurrentWriterIndexByTitleKey

func WriterHandlerCurrentWriterIndexByTitleKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByToolNameKey

func WriterHandlerCurrentWriterIndexByToolNameKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByTurnIdKey

func WriterHandlerCurrentWriterIndexByTurnIdKey(value *CurrentWriterView) (string, bool)

func WriterHandlerCurrentWriterIndexByUpdatedAtKey

func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)

func WriterHandlerCurrentWriterIndexByUserIdKey

func WriterHandlerCurrentWriterIndexByUserIdKey(value *CurrentWriterView) (string, bool)

Types

type CurrentWriterView

type CurrentWriterView struct {
	Id               string     `validate:"required" sqlx:"id,primaryKey" json:"id"`
	UserId           string     `validate:"required" json:"userId" sqlx:"user_id,required=true"`
	ToolName         string     `validate:"required" json:"toolName" sqlx:"tool_name,required=true"`
	Arguments        []byte     `validate:"required" json:"arguments" sqlx:"arguments,required=true"`
	Metadata         *[]byte    `sqlx:"metadata" json:"metadata,omitempty"`
	Status           string     `validate:"required" json:"status" sqlx:"status,required=true"`
	ConversationId   *string    `sqlx:"conversation_id,refTable=conversation,refColumn=id" json:"conversationId,omitempty"`
	TurnId           *string    `sqlx:"turn_id,refTable=turn,refColumn=id" json:"turnId,omitempty"`
	MessageId        *string    `sqlx:"message_id,refTable=message,refColumn=id" json:"messageId,omitempty"`
	Title            *string    `sqlx:"title" json:"title,omitempty"`
	Decision         *string    `sqlx:"decision" json:"decision,omitempty"`
	ExpiresAt        *time.Time `sqlx:"expires_at" json:"expiresAt,omitempty"`
	TimedOutAt       *time.Time `sqlx:"timed_out_at" json:"timedOutAt,omitempty"`
	ApprovedByUserId *string    `sqlx:"approved_by_user_id" json:"approvedByUserId,omitempty"`
	ApprovedAt       *time.Time `sqlx:"approved_at" json:"approvedAt,omitempty"`
	ExecutedAt       *time.Time `sqlx:"executed_at" json:"executedAt,omitempty"`
	ErrorMessage     *string    `sqlx:"error_message" json:"errorMessage,omitempty"`
	CreatedAt        *time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
	UpdatedAt        *time.Time `sqlx:"updated_at" json:"updatedAt,omitempty"`
	CompletedAt      *time.Time `sqlx:"completed_at" json:"completedAt,omitempty"`
}

CurrentWriterView is generated canonical view metadata for writer.

type Input

type Input struct {
	OrphanDetach  bool                 `parameter:"OrphanDetach,kind=orphandetach,in=enabledDetach,dataType=bool,required=false"`
	OrphanColumn  string               `parameter:"OrphanColumn,kind=orphandetach,in=column,dataType=string,required=false"`
	Queues        []*ToolApprovalQueue `` /* 237-byte string literal not displayed */
	WriterKeys    []WriterKeysRow      `` /* 140-byte string literal not displayed */
	CurrentWriter []*CurrentWriterView `` /* 186-byte string literal not displayed */

	Has *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
	// contains filtered or unexported fields
}

Input is the generated input scaffold for writer.

func (*Input) PrepareReadIndexes

func (input *Input) PrepareReadIndexes(ctx context.Context) error

func (*Input) ReadIndexes

func (input *Input) ReadIndexes(ctx context.Context) (*WriterHandlerReadIndexes, error)

func (*Input) SetCurrentWriter

func (input *Input) SetCurrentWriter(value []*CurrentWriterView)

func (*Input) SetOrphanColumn

func (input *Input) SetOrphanColumn(value string)

func (*Input) SetOrphanDetach

func (input *Input) SetOrphanDetach(value bool)

func (*Input) SetQueues

func (input *Input) SetQueues(value []*ToolApprovalQueue)

func (*Input) SetWriterKeys

func (input *Input) SetWriterKeys(value []WriterKeysRow)

type InputHas

type InputHas struct {
	OrphanDetach  bool
	OrphanColumn  bool
	Queues        bool
	WriterKeys    bool
	CurrentWriter bool
}

type Lifecycle

type Lifecycle struct {
	Input *Input `bind:"kind=input"`
	// contains filtered or unexported fields
}

Lifecycle customizes role Input.Queues.

func (*Lifecycle) AfterQueue

func (*Lifecycle) AfterSequence

func (*Lifecycle) Finalize

func (hooks *Lifecycle) Finalize(ctx context.Context, input *Input, output *Output, outcome xhandler.Outcome) error

func (*Lifecycle) Validate

type Output

type Output struct {
	Data []*ToolApprovalQueue `parameter:"Data,kind=output,in=body,dataType=[]*ToolApprovalQueue" json:"data,omitempty"`
}

Output is the generated output scaffold for writer.

type ToolApprovalQueue

type ToolApprovalQueue struct {
	ShouldDelete     bool                  `sqlx:"-" writer:"delete" json:"shouldDelete,omitempty"`
	Id               string                `validate:"required" sqlx:"id,primaryKey" json:"id"`
	UserId           string                `validate:"required" json:"userId" sqlx:"user_id,required=true"`
	ToolName         string                `validate:"required" json:"toolName" sqlx:"tool_name,required=true"`
	Arguments        []byte                `validate:"required" json:"arguments" sqlx:"arguments,required=true"`
	Metadata         *[]byte               `sqlx:"metadata" json:"metadata,omitempty"`
	Status           string                `validate:"required" json:"status" sqlx:"status,required=true"`
	ConversationId   *string               `sqlx:"conversation_id,refTable=conversation,refColumn=id" json:"conversationId,omitempty"`
	TurnId           *string               `sqlx:"turn_id,refTable=turn,refColumn=id" json:"turnId,omitempty"`
	MessageId        *string               `sqlx:"message_id,refTable=message,refColumn=id" json:"messageId,omitempty"`
	Title            *string               `sqlx:"title" json:"title,omitempty"`
	Decision         *string               `sqlx:"decision" json:"decision,omitempty"`
	ExpiresAt        *time.Time            `sqlx:"expires_at" json:"expiresAt,omitempty"`
	TimedOutAt       *time.Time            `sqlx:"timed_out_at" json:"timedOutAt,omitempty"`
	ApprovedByUserId *string               `sqlx:"approved_by_user_id" json:"approvedByUserId,omitempty"`
	ApprovedAt       *time.Time            `sqlx:"approved_at" json:"approvedAt,omitempty"`
	ExecutedAt       *time.Time            `sqlx:"executed_at" json:"executedAt,omitempty"`
	ErrorMessage     *string               `sqlx:"error_message" json:"errorMessage,omitempty"`
	CreatedAt        *time.Time            `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
	UpdatedAt        *time.Time            `sqlx:"updated_at" json:"updatedAt,omitempty"`
	CompletedAt      *time.Time            `sqlx:"completed_at" json:"completedAt,omitempty"`
	Has              *ToolApprovalQueueHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"ToolApprovalQueueHas"`
}

ToolApprovalQueue is generated canonical view metadata for writer.

func (*ToolApprovalQueue) GetApprovedAt

func (entity *ToolApprovalQueue) GetApprovedAt() *time.Time

func (*ToolApprovalQueue) GetApprovedByUserId

func (entity *ToolApprovalQueue) GetApprovedByUserId() *string

func (*ToolApprovalQueue) GetArguments

func (entity *ToolApprovalQueue) GetArguments() []byte

func (*ToolApprovalQueue) GetCompletedAt

func (entity *ToolApprovalQueue) GetCompletedAt() *time.Time

func (*ToolApprovalQueue) GetConversationId

func (entity *ToolApprovalQueue) GetConversationId() *string

func (*ToolApprovalQueue) GetCreatedAt

func (entity *ToolApprovalQueue) GetCreatedAt() *time.Time

func (*ToolApprovalQueue) GetDecision

func (entity *ToolApprovalQueue) GetDecision() *string

func (*ToolApprovalQueue) GetErrorMessage

func (entity *ToolApprovalQueue) GetErrorMessage() *string

func (*ToolApprovalQueue) GetExecutedAt

func (entity *ToolApprovalQueue) GetExecutedAt() *time.Time

func (*ToolApprovalQueue) GetExpiresAt

func (entity *ToolApprovalQueue) GetExpiresAt() *time.Time

func (*ToolApprovalQueue) GetId

func (entity *ToolApprovalQueue) GetId() string

func (*ToolApprovalQueue) GetMessageId

func (entity *ToolApprovalQueue) GetMessageId() *string

func (*ToolApprovalQueue) GetMetadata

func (entity *ToolApprovalQueue) GetMetadata() *[]byte

func (*ToolApprovalQueue) GetShouldDelete

func (entity *ToolApprovalQueue) GetShouldDelete() bool

func (*ToolApprovalQueue) GetStatus

func (entity *ToolApprovalQueue) GetStatus() string

func (*ToolApprovalQueue) GetTimedOutAt

func (entity *ToolApprovalQueue) GetTimedOutAt() *time.Time

func (*ToolApprovalQueue) GetTitle

func (entity *ToolApprovalQueue) GetTitle() *string

func (*ToolApprovalQueue) GetToolName

func (entity *ToolApprovalQueue) GetToolName() string

func (*ToolApprovalQueue) GetTurnId

func (entity *ToolApprovalQueue) GetTurnId() *string

func (*ToolApprovalQueue) GetUpdatedAt

func (entity *ToolApprovalQueue) GetUpdatedAt() *time.Time

func (*ToolApprovalQueue) GetUserId

func (entity *ToolApprovalQueue) GetUserId() string

func (*ToolApprovalQueue) SetApprovedAt

func (entity *ToolApprovalQueue) SetApprovedAt(value *time.Time)

func (*ToolApprovalQueue) SetApprovedByUserId

func (entity *ToolApprovalQueue) SetApprovedByUserId(value *string)

func (*ToolApprovalQueue) SetArguments

func (entity *ToolApprovalQueue) SetArguments(value []byte)

func (*ToolApprovalQueue) SetCompletedAt

func (entity *ToolApprovalQueue) SetCompletedAt(value *time.Time)

func (*ToolApprovalQueue) SetConversationId

func (entity *ToolApprovalQueue) SetConversationId(value *string)

func (*ToolApprovalQueue) SetCreatedAt

func (entity *ToolApprovalQueue) SetCreatedAt(value *time.Time)

func (*ToolApprovalQueue) SetDecision

func (entity *ToolApprovalQueue) SetDecision(value *string)

func (*ToolApprovalQueue) SetErrorMessage

func (entity *ToolApprovalQueue) SetErrorMessage(value *string)

func (*ToolApprovalQueue) SetExecutedAt

func (entity *ToolApprovalQueue) SetExecutedAt(value *time.Time)

func (*ToolApprovalQueue) SetExpiresAt

func (entity *ToolApprovalQueue) SetExpiresAt(value *time.Time)

func (*ToolApprovalQueue) SetId

func (entity *ToolApprovalQueue) SetId(value string)

func (*ToolApprovalQueue) SetMessageId

func (entity *ToolApprovalQueue) SetMessageId(value *string)

func (*ToolApprovalQueue) SetMetadata

func (entity *ToolApprovalQueue) SetMetadata(value *[]byte)

func (*ToolApprovalQueue) SetShouldDelete

func (entity *ToolApprovalQueue) SetShouldDelete(value bool)

func (*ToolApprovalQueue) SetStatus

func (entity *ToolApprovalQueue) SetStatus(value string)

func (*ToolApprovalQueue) SetTimedOutAt

func (entity *ToolApprovalQueue) SetTimedOutAt(value *time.Time)

func (*ToolApprovalQueue) SetTitle

func (entity *ToolApprovalQueue) SetTitle(value *string)

func (*ToolApprovalQueue) SetToolName

func (entity *ToolApprovalQueue) SetToolName(value string)

func (*ToolApprovalQueue) SetTurnId

func (entity *ToolApprovalQueue) SetTurnId(value *string)

func (*ToolApprovalQueue) SetUpdatedAt

func (entity *ToolApprovalQueue) SetUpdatedAt(value *time.Time)

func (*ToolApprovalQueue) SetUserId

func (entity *ToolApprovalQueue) SetUserId(value string)

type ToolApprovalQueueHas

type ToolApprovalQueueHas struct {
	ShouldDelete     bool
	Id               bool
	UserId           bool
	ToolName         bool
	Arguments        bool
	Metadata         bool
	Status           bool
	ConversationId   bool
	TurnId           bool
	MessageId        bool
	Title            bool
	Decision         bool
	ExpiresAt        bool
	TimedOutAt       bool
	ApprovedByUserId bool
	ApprovedAt       bool
	ExecutedAt       bool
	ErrorMessage     bool
	CreatedAt        bool
	UpdatedAt        bool
	CompletedAt      bool
}

type WriterComponent

type WriterComponent struct {
	Contract xdatly.Component[Input, Output] "" /* 174-byte string literal not displayed */
}

Component is the generated component scaffold for writer.

func (WriterComponent) EmbedFS

func (WriterComponent) EmbedFS() *embed.FS

func (WriterComponent) EmbedNamespace

func (WriterComponent) EmbedNamespace() string

type WriterHandlerCurrentWriterGroupedByApprovedAt

type WriterHandlerCurrentWriterGroupedByApprovedAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByApprovedAt) Has

type WriterHandlerCurrentWriterGroupedByApprovedByUserId

type WriterHandlerCurrentWriterGroupedByApprovedByUserId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByApprovedByUserId) Has

type WriterHandlerCurrentWriterGroupedByCompletedAt

type WriterHandlerCurrentWriterGroupedByCompletedAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByCompletedAt) Has

type WriterHandlerCurrentWriterGroupedByConversationId

type WriterHandlerCurrentWriterGroupedByConversationId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByConversationId) Has

type WriterHandlerCurrentWriterGroupedByCreatedAt

type WriterHandlerCurrentWriterGroupedByCreatedAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByCreatedAt) Has

type WriterHandlerCurrentWriterGroupedByDecision

type WriterHandlerCurrentWriterGroupedByDecision map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByDecision) Has

type WriterHandlerCurrentWriterGroupedByErrorMessage

type WriterHandlerCurrentWriterGroupedByErrorMessage map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByErrorMessage) Has

type WriterHandlerCurrentWriterGroupedByExecutedAt

type WriterHandlerCurrentWriterGroupedByExecutedAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByExecutedAt) Has

type WriterHandlerCurrentWriterGroupedByExpiresAt

type WriterHandlerCurrentWriterGroupedByExpiresAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByExpiresAt) Has

type WriterHandlerCurrentWriterGroupedById

type WriterHandlerCurrentWriterGroupedById map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedById) Has

type WriterHandlerCurrentWriterGroupedByMessageId

type WriterHandlerCurrentWriterGroupedByMessageId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByMessageId) Has

type WriterHandlerCurrentWriterGroupedByStatus

type WriterHandlerCurrentWriterGroupedByStatus map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByStatus) Has

type WriterHandlerCurrentWriterGroupedByTimedOutAt

type WriterHandlerCurrentWriterGroupedByTimedOutAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByTimedOutAt) Has

type WriterHandlerCurrentWriterGroupedByTitle

type WriterHandlerCurrentWriterGroupedByTitle map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByTitle) Has

type WriterHandlerCurrentWriterGroupedByToolName

type WriterHandlerCurrentWriterGroupedByToolName map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByToolName) Has

type WriterHandlerCurrentWriterGroupedByTurnId

type WriterHandlerCurrentWriterGroupedByTurnId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByTurnId) Has

type WriterHandlerCurrentWriterGroupedByUpdatedAt

type WriterHandlerCurrentWriterGroupedByUpdatedAt map[time.Time][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByUpdatedAt) Has

type WriterHandlerCurrentWriterGroupedByUserId

type WriterHandlerCurrentWriterGroupedByUserId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByUserId) Has

type WriterHandlerCurrentWriterIndexedByApprovedAt

type WriterHandlerCurrentWriterIndexedByApprovedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByApprovedAt) Has

type WriterHandlerCurrentWriterIndexedByApprovedByUserId

type WriterHandlerCurrentWriterIndexedByApprovedByUserId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByApprovedByUserId) Has

type WriterHandlerCurrentWriterIndexedByCompletedAt

type WriterHandlerCurrentWriterIndexedByCompletedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByCompletedAt) Has

type WriterHandlerCurrentWriterIndexedByConversationId

type WriterHandlerCurrentWriterIndexedByConversationId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByConversationId) Has

type WriterHandlerCurrentWriterIndexedByCreatedAt

type WriterHandlerCurrentWriterIndexedByCreatedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByCreatedAt) Has

type WriterHandlerCurrentWriterIndexedByDecision

type WriterHandlerCurrentWriterIndexedByDecision map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByDecision) Has

type WriterHandlerCurrentWriterIndexedByErrorMessage

type WriterHandlerCurrentWriterIndexedByErrorMessage map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByErrorMessage) Has

type WriterHandlerCurrentWriterIndexedByExecutedAt

type WriterHandlerCurrentWriterIndexedByExecutedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByExecutedAt) Has

type WriterHandlerCurrentWriterIndexedByExpiresAt

type WriterHandlerCurrentWriterIndexedByExpiresAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByExpiresAt) Has

type WriterHandlerCurrentWriterIndexedById

type WriterHandlerCurrentWriterIndexedById map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedById) Has

type WriterHandlerCurrentWriterIndexedByMessageId

type WriterHandlerCurrentWriterIndexedByMessageId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByMessageId) Has

type WriterHandlerCurrentWriterIndexedByStatus

type WriterHandlerCurrentWriterIndexedByStatus map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByStatus) Has

type WriterHandlerCurrentWriterIndexedByTimedOutAt

type WriterHandlerCurrentWriterIndexedByTimedOutAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByTimedOutAt) Has

type WriterHandlerCurrentWriterIndexedByTitle

type WriterHandlerCurrentWriterIndexedByTitle map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByTitle) Has

type WriterHandlerCurrentWriterIndexedByToolName

type WriterHandlerCurrentWriterIndexedByToolName map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByToolName) Has

type WriterHandlerCurrentWriterIndexedByTurnId

type WriterHandlerCurrentWriterIndexedByTurnId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByTurnId) Has

type WriterHandlerCurrentWriterIndexedByUpdatedAt

type WriterHandlerCurrentWriterIndexedByUpdatedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByUpdatedAt) Has

type WriterHandlerCurrentWriterIndexedByUserId

type WriterHandlerCurrentWriterIndexedByUserId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByUserId) Has

type WriterHandlerCurrentWriterSlice

type WriterHandlerCurrentWriterSlice []*CurrentWriterView

func (WriterHandlerCurrentWriterSlice) GroupByApprovedAt

func (WriterHandlerCurrentWriterSlice) GroupByApprovedByUserId

func (WriterHandlerCurrentWriterSlice) GroupByCompletedAt

func (WriterHandlerCurrentWriterSlice) GroupByConversationId

func (WriterHandlerCurrentWriterSlice) GroupByCreatedAt

func (WriterHandlerCurrentWriterSlice) GroupByDecision

func (WriterHandlerCurrentWriterSlice) GroupByErrorMessage

func (WriterHandlerCurrentWriterSlice) GroupByExecutedAt

func (WriterHandlerCurrentWriterSlice) GroupByExpiresAt

func (WriterHandlerCurrentWriterSlice) GroupById

func (WriterHandlerCurrentWriterSlice) GroupByMessageId

func (WriterHandlerCurrentWriterSlice) GroupByStatus

func (WriterHandlerCurrentWriterSlice) GroupByTimedOutAt

func (WriterHandlerCurrentWriterSlice) GroupByTitle

func (WriterHandlerCurrentWriterSlice) GroupByToolName

func (WriterHandlerCurrentWriterSlice) GroupByTurnId

func (WriterHandlerCurrentWriterSlice) GroupByUpdatedAt

func (WriterHandlerCurrentWriterSlice) GroupByUserId

func (WriterHandlerCurrentWriterSlice) IndexByApprovedAt

func (WriterHandlerCurrentWriterSlice) IndexByApprovedByUserId

func (WriterHandlerCurrentWriterSlice) IndexByCompletedAt

func (WriterHandlerCurrentWriterSlice) IndexByConversationId

func (WriterHandlerCurrentWriterSlice) IndexByCreatedAt

func (WriterHandlerCurrentWriterSlice) IndexByDecision

func (WriterHandlerCurrentWriterSlice) IndexByErrorMessage

func (WriterHandlerCurrentWriterSlice) IndexByExecutedAt

func (WriterHandlerCurrentWriterSlice) IndexByExpiresAt

func (WriterHandlerCurrentWriterSlice) IndexById

func (WriterHandlerCurrentWriterSlice) IndexByMessageId

func (WriterHandlerCurrentWriterSlice) IndexByStatus

func (WriterHandlerCurrentWriterSlice) IndexByTimedOutAt

func (WriterHandlerCurrentWriterSlice) IndexByTitle

func (WriterHandlerCurrentWriterSlice) IndexByToolName

func (WriterHandlerCurrentWriterSlice) IndexByTurnId

func (WriterHandlerCurrentWriterSlice) IndexByUpdatedAt

func (WriterHandlerCurrentWriterSlice) IndexByUserId

type WriterHandlerReadIndexes

type WriterHandlerReadIndexes struct {
	CurrentWriter     WriterHandlerCurrentWriterSlice
	CurrentWriterById WriterHandlerCurrentWriterIndexedById
}

func BuildWriterHandlerReadIndexes

func BuildWriterHandlerReadIndexes(ctx context.Context, input *Input) (*WriterHandlerReadIndexes, error)

type WriterKeysRow

type WriterKeysRow struct {
	Id string `sqlx:"id"`
}

Jump to

Keyboard shortcuts

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