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_conversation_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 WriterHandlerCurrentWriterIndexByAgentIdKey

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

func WriterHandlerCurrentWriterIndexByConversationParentIdKey

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

func WriterHandlerCurrentWriterIndexByConversationParentTurnIdKey

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

func WriterHandlerCurrentWriterIndexByCreatedAtKey

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

func WriterHandlerCurrentWriterIndexByCreatedByUserIdKey

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

func WriterHandlerCurrentWriterIndexByDefaultModelKey

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

func WriterHandlerCurrentWriterIndexByDefaultModelParamsKey

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

func WriterHandlerCurrentWriterIndexByDefaultModelProviderKey

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

func WriterHandlerCurrentWriterIndexByExternalTaskRefKey

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

func WriterHandlerCurrentWriterIndexByIdKey

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

func WriterHandlerCurrentWriterIndexByLastActivityKey

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

func WriterHandlerCurrentWriterIndexByMetadataKey

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

func WriterHandlerCurrentWriterIndexByProtocolMessagesJsonKey

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

func WriterHandlerCurrentWriterIndexByProtocolOnlyKey

func WriterHandlerCurrentWriterIndexByProtocolOnlyKey(value *CurrentWriterView) (int, bool)

func WriterHandlerCurrentWriterIndexByProtocolPrincipalKey

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

func WriterHandlerCurrentWriterIndexByProtocolRevisionKey

func WriterHandlerCurrentWriterIndexByProtocolRevisionKey(value *CurrentWriterView) (int, bool)

func WriterHandlerCurrentWriterIndexByProtocolStateJsonKey

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

func WriterHandlerCurrentWriterIndexByProtocolThreadIdKey

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

func WriterHandlerCurrentWriterIndexByProtocolThreadKeyKey

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

func WriterHandlerCurrentWriterIndexByScheduleCronExprKey

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

func WriterHandlerCurrentWriterIndexByScheduleIdKey

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

func WriterHandlerCurrentWriterIndexByScheduleKindKey

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

func WriterHandlerCurrentWriterIndexByScheduleRunIdKey

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

func WriterHandlerCurrentWriterIndexByScheduleTimezoneKey

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

func WriterHandlerCurrentWriterIndexByScheduledKey

func WriterHandlerCurrentWriterIndexByScheduledKey(value *CurrentWriterView) (int, bool)

func WriterHandlerCurrentWriterIndexByShareableKey

func WriterHandlerCurrentWriterIndexByShareableKey(value *CurrentWriterView) (int, bool)

func WriterHandlerCurrentWriterIndexByStatusKey

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

func WriterHandlerCurrentWriterIndexBySummaryKey

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

func WriterHandlerCurrentWriterIndexByTitleKey

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

func WriterHandlerCurrentWriterIndexByUpdatedAtKey

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

func WriterHandlerCurrentWriterIndexByUsageEmbeddingTokensKey

func WriterHandlerCurrentWriterIndexByUsageEmbeddingTokensKey(value *CurrentWriterView) (int, bool)

func WriterHandlerCurrentWriterIndexByUsageInputTokensKey

func WriterHandlerCurrentWriterIndexByUsageInputTokensKey(value *CurrentWriterView) (int, bool)

func WriterHandlerCurrentWriterIndexByUsageOutputTokensKey

func WriterHandlerCurrentWriterIndexByUsageOutputTokensKey(value *CurrentWriterView) (int, bool)

func WriterHandlerCurrentWriterIndexByVisibilityKey

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

Types

type CurrentWriterView

type CurrentWriterView struct {
	Id                       string     `validate:"required" sqlx:"id,primaryKey" json:"id"`
	Shareable                int        `sqlx:"shareable,required=true" json:"shareable,omitempty"`
	ProtocolOnly             *int       `sqlx:"protocol_only,required=true" json:"protocolOnly,omitempty"`
	ProtocolThreadKey        *string    `sqlx:"protocol_thread_key" json:"protocolThreadKey,omitempty"`
	ProtocolThreadId         *string    `sqlx:"protocol_thread_id" json:"protocolThreadId,omitempty"`
	ProtocolPrincipal        *string    `sqlx:"protocol_principal" json:"protocolPrincipal,omitempty"`
	ProtocolRevision         *int       `sqlx:"protocol_revision,required=true" json:"protocolRevision,omitempty"`
	ProtocolStateJson        *string    `sqlx:"protocol_state_json" json:"protocolStateJson,omitempty"`
	ProtocolMessagesJson     *string    `sqlx:"protocol_messages_json" json:"protocolMessagesJson,omitempty"`
	Summary                  *string    `sqlx:"summary" json:"summary,omitempty"`
	LastActivity             *time.Time `sqlx:"last_activity" json:"lastActivity,omitempty"`
	UsageInputTokens         *int       `sqlx:"usage_input_tokens" json:"usageInputTokens,omitempty"`
	UsageOutputTokens        *int       `sqlx:"usage_output_tokens" json:"usageOutputTokens,omitempty"`
	UsageEmbeddingTokens     *int       `sqlx:"usage_embedding_tokens" json:"usageEmbeddingTokens,omitempty"`
	CreatedAt                *time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
	UpdatedAt                *time.Time `sqlx:"updated_at" json:"updatedAt,omitempty"`
	CreatedByUserId          *string    `sqlx:"created_by_user_id" json:"createdByUserId,omitempty"`
	AgentId                  *string    `sqlx:"agent_id" json:"agentId,omitempty"`
	DefaultModelProvider     *string    `sqlx:"default_model_provider" json:"defaultModelProvider,omitempty"`
	DefaultModel             *string    `sqlx:"default_model" json:"defaultModel,omitempty"`
	DefaultModelParams       *string    `sqlx:"default_model_params" json:"defaultModelParams,omitempty"`
	Title                    *string    `sqlx:"title" json:"title,omitempty"`
	ConversationParentId     *string    `sqlx:"conversation_parent_id" json:"conversationParentId,omitempty"`
	ConversationParentTurnId *string    `sqlx:"conversation_parent_turn_id" json:"conversationParentTurnId,omitempty"`
	Metadata                 *string    `sqlx:"metadata" json:"metadata,omitempty"`
	Visibility               *string    `sqlx:"visibility,required=true" json:"visibility,omitempty"`
	Status                   *string    `sqlx:"status" json:"status,omitempty"`
	Scheduled                *int       `sqlx:"scheduled" json:"scheduled,omitempty"`
	ScheduleId               *string    `sqlx:"schedule_id" json:"scheduleId,omitempty"`
	ScheduleRunId            *string    `sqlx:"schedule_run_id" json:"scheduleRunId,omitempty"`
	ScheduleKind             *string    `sqlx:"schedule_kind" json:"scheduleKind,omitempty"`
	ScheduleTimezone         *string    `sqlx:"schedule_timezone" json:"scheduleTimezone,omitempty"`
	ScheduleCronExpr         *string    `sqlx:"schedule_cron_expr" json:"scheduleCronExpr,omitempty"`
	ExternalTaskRef          *string    `sqlx:"external_task_ref" json:"externalTaskRef,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"`
	Conversations []*MutableConversationView `` /* 244-byte string literal not displayed */
	WriterKeys    []WriterKeysRow            `` /* 142-byte string literal not displayed */
	CurrentWriter []*CurrentWriterView       `` /* 174-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) SetConversations

func (input *Input) SetConversations(value []*MutableConversationView)

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) SetWriterKeys

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

type InputHas

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

type Lifecycle

type Lifecycle struct {
	Input *Input `bind:"kind=input"`
}

Lifecycle customizes role Input.Conversations.

func (*Lifecycle) Finalize

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

type MutableConversationView

type MutableConversationView struct {
	ShouldDelete             bool                        `sqlx:"-" writer:"delete" json:"shouldDelete,omitempty"`
	Id                       string                      `validate:"required" sqlx:"id,primaryKey" json:"id"`
	Shareable                int                         `sqlx:"shareable,required=true" json:"shareable,omitempty"`
	ProtocolOnly             *int                        `sqlx:"protocol_only,required=true" json:"protocolOnly,omitempty"`
	ProtocolThreadKey        *string                     `sqlx:"protocol_thread_key" json:"protocolThreadKey,omitempty"`
	ProtocolThreadId         *string                     `sqlx:"protocol_thread_id" json:"protocolThreadId,omitempty"`
	ProtocolPrincipal        *string                     `sqlx:"protocol_principal" json:"protocolPrincipal,omitempty"`
	ProtocolRevision         *int                        `sqlx:"protocol_revision,required=true" json:"protocolRevision,omitempty"`
	ProtocolStateJson        *string                     `sqlx:"protocol_state_json" json:"protocolStateJson,omitempty"`
	ProtocolMessagesJson     *string                     `sqlx:"protocol_messages_json" json:"protocolMessagesJson,omitempty"`
	Summary                  *string                     `sqlx:"summary" json:"summary,omitempty"`
	LastActivity             *time.Time                  `sqlx:"last_activity" json:"lastActivity,omitempty"`
	UsageInputTokens         *int                        `sqlx:"usage_input_tokens" json:"usageInputTokens,omitempty"`
	UsageOutputTokens        *int                        `sqlx:"usage_output_tokens" json:"usageOutputTokens,omitempty"`
	UsageEmbeddingTokens     *int                        `sqlx:"usage_embedding_tokens" json:"usageEmbeddingTokens,omitempty"`
	CreatedAt                *time.Time                  `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
	UpdatedAt                *time.Time                  `sqlx:"updated_at" json:"updatedAt,omitempty"`
	CreatedByUserId          *string                     `sqlx:"created_by_user_id" json:"createdByUserId,omitempty"`
	AgentId                  *string                     `sqlx:"agent_id" json:"agentId,omitempty"`
	DefaultModelProvider     *string                     `sqlx:"default_model_provider" json:"defaultModelProvider,omitempty"`
	DefaultModel             *string                     `sqlx:"default_model" json:"defaultModel,omitempty"`
	DefaultModelParams       *string                     `sqlx:"default_model_params" json:"defaultModelParams,omitempty"`
	Title                    *string                     `sqlx:"title" json:"title,omitempty"`
	ConversationParentId     *string                     `sqlx:"conversation_parent_id" json:"conversationParentId,omitempty"`
	ConversationParentTurnId *string                     `sqlx:"conversation_parent_turn_id" json:"conversationParentTurnId,omitempty"`
	Metadata                 *string                     `sqlx:"metadata" json:"metadata,omitempty"`
	Visibility               *string                     `sqlx:"visibility,required=true" json:"visibility,omitempty"`
	Status                   *string                     `sqlx:"status" json:"status,omitempty"`
	Scheduled                *int                        `sqlx:"scheduled" json:"scheduled,omitempty"`
	ScheduleId               *string                     `sqlx:"schedule_id" json:"scheduleId,omitempty"`
	ScheduleRunId            *string                     `sqlx:"schedule_run_id" json:"scheduleRunId,omitempty"`
	ScheduleKind             *string                     `sqlx:"schedule_kind" json:"scheduleKind,omitempty"`
	ScheduleTimezone         *string                     `sqlx:"schedule_timezone" json:"scheduleTimezone,omitempty"`
	ScheduleCronExpr         *string                     `sqlx:"schedule_cron_expr" json:"scheduleCronExpr,omitempty"`
	ExternalTaskRef          *string                     `sqlx:"external_task_ref" json:"externalTaskRef,omitempty"`
	Has                      *MutableConversationViewHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"MutableConversationViewHas"`
}

MutableConversationView is generated canonical view metadata for writer.

func (*MutableConversationView) GetAgentId

func (entity *MutableConversationView) GetAgentId() *string

func (*MutableConversationView) GetConversationParentId

func (entity *MutableConversationView) GetConversationParentId() *string

func (*MutableConversationView) GetConversationParentTurnId

func (entity *MutableConversationView) GetConversationParentTurnId() *string

func (*MutableConversationView) GetCreatedAt

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

func (*MutableConversationView) GetCreatedByUserId

func (entity *MutableConversationView) GetCreatedByUserId() *string

func (*MutableConversationView) GetDefaultModel

func (entity *MutableConversationView) GetDefaultModel() *string

func (*MutableConversationView) GetDefaultModelParams

func (entity *MutableConversationView) GetDefaultModelParams() *string

func (*MutableConversationView) GetDefaultModelProvider

func (entity *MutableConversationView) GetDefaultModelProvider() *string

func (*MutableConversationView) GetExternalTaskRef

func (entity *MutableConversationView) GetExternalTaskRef() *string

func (*MutableConversationView) GetId

func (entity *MutableConversationView) GetId() string

func (*MutableConversationView) GetLastActivity

func (entity *MutableConversationView) GetLastActivity() *time.Time

func (*MutableConversationView) GetMetadata

func (entity *MutableConversationView) GetMetadata() *string

func (*MutableConversationView) GetProtocolMessagesJson

func (entity *MutableConversationView) GetProtocolMessagesJson() *string

func (*MutableConversationView) GetProtocolOnly

func (entity *MutableConversationView) GetProtocolOnly() *int

func (*MutableConversationView) GetProtocolPrincipal

func (entity *MutableConversationView) GetProtocolPrincipal() *string

func (*MutableConversationView) GetProtocolRevision

func (entity *MutableConversationView) GetProtocolRevision() *int

func (*MutableConversationView) GetProtocolStateJson

func (entity *MutableConversationView) GetProtocolStateJson() *string

func (*MutableConversationView) GetProtocolThreadId

func (entity *MutableConversationView) GetProtocolThreadId() *string

func (*MutableConversationView) GetProtocolThreadKey

func (entity *MutableConversationView) GetProtocolThreadKey() *string

func (*MutableConversationView) GetScheduleCronExpr

func (entity *MutableConversationView) GetScheduleCronExpr() *string

func (*MutableConversationView) GetScheduleId

func (entity *MutableConversationView) GetScheduleId() *string

func (*MutableConversationView) GetScheduleKind

func (entity *MutableConversationView) GetScheduleKind() *string

func (*MutableConversationView) GetScheduleRunId

func (entity *MutableConversationView) GetScheduleRunId() *string

func (*MutableConversationView) GetScheduleTimezone

func (entity *MutableConversationView) GetScheduleTimezone() *string

func (*MutableConversationView) GetScheduled

func (entity *MutableConversationView) GetScheduled() *int

func (*MutableConversationView) GetShareable

func (entity *MutableConversationView) GetShareable() int

func (*MutableConversationView) GetShouldDelete

func (entity *MutableConversationView) GetShouldDelete() bool

func (*MutableConversationView) GetStatus

func (entity *MutableConversationView) GetStatus() *string

func (*MutableConversationView) GetSummary

func (entity *MutableConversationView) GetSummary() *string

func (*MutableConversationView) GetTitle

func (entity *MutableConversationView) GetTitle() *string

func (*MutableConversationView) GetUpdatedAt

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

func (*MutableConversationView) GetUsageEmbeddingTokens

func (entity *MutableConversationView) GetUsageEmbeddingTokens() *int

func (*MutableConversationView) GetUsageInputTokens

func (entity *MutableConversationView) GetUsageInputTokens() *int

func (*MutableConversationView) GetUsageOutputTokens

func (entity *MutableConversationView) GetUsageOutputTokens() *int

func (*MutableConversationView) GetVisibility

func (entity *MutableConversationView) GetVisibility() *string

func (*MutableConversationView) SetAgentId

func (entity *MutableConversationView) SetAgentId(value *string)

func (*MutableConversationView) SetConversationParentId

func (entity *MutableConversationView) SetConversationParentId(value *string)

func (*MutableConversationView) SetConversationParentTurnId

func (entity *MutableConversationView) SetConversationParentTurnId(value *string)

func (*MutableConversationView) SetCreatedAt

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

func (*MutableConversationView) SetCreatedByUserId

func (entity *MutableConversationView) SetCreatedByUserId(value *string)

func (*MutableConversationView) SetDefaultModel

func (entity *MutableConversationView) SetDefaultModel(value *string)

func (*MutableConversationView) SetDefaultModelParams

func (entity *MutableConversationView) SetDefaultModelParams(value *string)

func (*MutableConversationView) SetDefaultModelProvider

func (entity *MutableConversationView) SetDefaultModelProvider(value *string)

func (*MutableConversationView) SetExternalTaskRef

func (entity *MutableConversationView) SetExternalTaskRef(value *string)

func (*MutableConversationView) SetId

func (entity *MutableConversationView) SetId(value string)

func (*MutableConversationView) SetLastActivity

func (entity *MutableConversationView) SetLastActivity(value *time.Time)

func (*MutableConversationView) SetMetadata

func (entity *MutableConversationView) SetMetadata(value *string)

func (*MutableConversationView) SetProtocolMessagesJson

func (entity *MutableConversationView) SetProtocolMessagesJson(value *string)

func (*MutableConversationView) SetProtocolOnly

func (entity *MutableConversationView) SetProtocolOnly(value *int)

func (*MutableConversationView) SetProtocolPrincipal

func (entity *MutableConversationView) SetProtocolPrincipal(value *string)

func (*MutableConversationView) SetProtocolRevision

func (entity *MutableConversationView) SetProtocolRevision(value *int)

func (*MutableConversationView) SetProtocolStateJson

func (entity *MutableConversationView) SetProtocolStateJson(value *string)

func (*MutableConversationView) SetProtocolThreadId

func (entity *MutableConversationView) SetProtocolThreadId(value *string)

func (*MutableConversationView) SetProtocolThreadKey

func (entity *MutableConversationView) SetProtocolThreadKey(value *string)

func (*MutableConversationView) SetScheduleCronExpr

func (entity *MutableConversationView) SetScheduleCronExpr(value *string)

func (*MutableConversationView) SetScheduleId

func (entity *MutableConversationView) SetScheduleId(value *string)

func (*MutableConversationView) SetScheduleKind

func (entity *MutableConversationView) SetScheduleKind(value *string)

func (*MutableConversationView) SetScheduleRunId

func (entity *MutableConversationView) SetScheduleRunId(value *string)

func (*MutableConversationView) SetScheduleTimezone

func (entity *MutableConversationView) SetScheduleTimezone(value *string)

func (*MutableConversationView) SetScheduled

func (entity *MutableConversationView) SetScheduled(value *int)

func (*MutableConversationView) SetShareable

func (entity *MutableConversationView) SetShareable(value int)

func (*MutableConversationView) SetShouldDelete

func (entity *MutableConversationView) SetShouldDelete(value bool)

func (*MutableConversationView) SetStatus

func (entity *MutableConversationView) SetStatus(value *string)

func (*MutableConversationView) SetSummary

func (entity *MutableConversationView) SetSummary(value *string)

func (*MutableConversationView) SetTitle

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

func (*MutableConversationView) SetUpdatedAt

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

func (*MutableConversationView) SetUsageEmbeddingTokens

func (entity *MutableConversationView) SetUsageEmbeddingTokens(value *int)

func (*MutableConversationView) SetUsageInputTokens

func (entity *MutableConversationView) SetUsageInputTokens(value *int)

func (*MutableConversationView) SetUsageOutputTokens

func (entity *MutableConversationView) SetUsageOutputTokens(value *int)

func (*MutableConversationView) SetVisibility

func (entity *MutableConversationView) SetVisibility(value *string)

type MutableConversationViewHas

type MutableConversationViewHas struct {
	ShouldDelete             bool
	Id                       bool
	Shareable                bool
	ProtocolOnly             bool
	ProtocolThreadKey        bool
	ProtocolThreadId         bool
	ProtocolPrincipal        bool
	ProtocolRevision         bool
	ProtocolStateJson        bool
	ProtocolMessagesJson     bool
	Summary                  bool
	LastActivity             bool
	UsageInputTokens         bool
	UsageOutputTokens        bool
	UsageEmbeddingTokens     bool
	CreatedAt                bool
	UpdatedAt                bool
	CreatedByUserId          bool
	AgentId                  bool
	DefaultModelProvider     bool
	DefaultModel             bool
	DefaultModelParams       bool
	Title                    bool
	ConversationParentId     bool
	ConversationParentTurnId bool
	Metadata                 bool
	Visibility               bool
	Status                   bool
	Scheduled                bool
	ScheduleId               bool
	ScheduleRunId            bool
	ScheduleKind             bool
	ScheduleTimezone         bool
	ScheduleCronExpr         bool
	ExternalTaskRef          bool
}

type Output

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

Output is the generated output scaffold for writer.

type WriterComponent

type WriterComponent struct {
	Contract xdatly.Component[Input, Output] "" /* 169-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 WriterHandlerCurrentWriterGroupedByAgentId

type WriterHandlerCurrentWriterGroupedByAgentId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByAgentId) Has

type WriterHandlerCurrentWriterGroupedByConversationParentId

type WriterHandlerCurrentWriterGroupedByConversationParentId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByConversationParentId) Has

type WriterHandlerCurrentWriterGroupedByConversationParentTurnId

type WriterHandlerCurrentWriterGroupedByConversationParentTurnId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByConversationParentTurnId) Has

type WriterHandlerCurrentWriterGroupedByCreatedAt

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

func (WriterHandlerCurrentWriterGroupedByCreatedAt) Has

type WriterHandlerCurrentWriterGroupedByCreatedByUserId

type WriterHandlerCurrentWriterGroupedByCreatedByUserId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByCreatedByUserId) Has

type WriterHandlerCurrentWriterGroupedByDefaultModel

type WriterHandlerCurrentWriterGroupedByDefaultModel map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByDefaultModel) Has

type WriterHandlerCurrentWriterGroupedByDefaultModelParams

type WriterHandlerCurrentWriterGroupedByDefaultModelParams map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByDefaultModelParams) Has

type WriterHandlerCurrentWriterGroupedByDefaultModelProvider

type WriterHandlerCurrentWriterGroupedByDefaultModelProvider map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByDefaultModelProvider) Has

type WriterHandlerCurrentWriterGroupedByExternalTaskRef

type WriterHandlerCurrentWriterGroupedByExternalTaskRef map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByExternalTaskRef) Has

type WriterHandlerCurrentWriterGroupedById

type WriterHandlerCurrentWriterGroupedById map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedById) Has

type WriterHandlerCurrentWriterGroupedByLastActivity

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

func (WriterHandlerCurrentWriterGroupedByLastActivity) Has

type WriterHandlerCurrentWriterGroupedByMetadata

type WriterHandlerCurrentWriterGroupedByMetadata map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByMetadata) Has

type WriterHandlerCurrentWriterGroupedByProtocolMessagesJson

type WriterHandlerCurrentWriterGroupedByProtocolMessagesJson map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByProtocolMessagesJson) Has

type WriterHandlerCurrentWriterGroupedByProtocolOnly

type WriterHandlerCurrentWriterGroupedByProtocolOnly map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByProtocolOnly) Has

type WriterHandlerCurrentWriterGroupedByProtocolPrincipal

type WriterHandlerCurrentWriterGroupedByProtocolPrincipal map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByProtocolPrincipal) Has

type WriterHandlerCurrentWriterGroupedByProtocolRevision

type WriterHandlerCurrentWriterGroupedByProtocolRevision map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByProtocolRevision) Has

type WriterHandlerCurrentWriterGroupedByProtocolStateJson

type WriterHandlerCurrentWriterGroupedByProtocolStateJson map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByProtocolStateJson) Has

type WriterHandlerCurrentWriterGroupedByProtocolThreadId

type WriterHandlerCurrentWriterGroupedByProtocolThreadId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByProtocolThreadId) Has

type WriterHandlerCurrentWriterGroupedByProtocolThreadKey

type WriterHandlerCurrentWriterGroupedByProtocolThreadKey map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByProtocolThreadKey) Has

type WriterHandlerCurrentWriterGroupedByScheduleCronExpr

type WriterHandlerCurrentWriterGroupedByScheduleCronExpr map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByScheduleCronExpr) Has

type WriterHandlerCurrentWriterGroupedByScheduleId

type WriterHandlerCurrentWriterGroupedByScheduleId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByScheduleId) Has

type WriterHandlerCurrentWriterGroupedByScheduleKind

type WriterHandlerCurrentWriterGroupedByScheduleKind map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByScheduleKind) Has

type WriterHandlerCurrentWriterGroupedByScheduleRunId

type WriterHandlerCurrentWriterGroupedByScheduleRunId map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByScheduleRunId) Has

type WriterHandlerCurrentWriterGroupedByScheduleTimezone

type WriterHandlerCurrentWriterGroupedByScheduleTimezone map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByScheduleTimezone) Has

type WriterHandlerCurrentWriterGroupedByScheduled

type WriterHandlerCurrentWriterGroupedByScheduled map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByScheduled) Has

type WriterHandlerCurrentWriterGroupedByShareable

type WriterHandlerCurrentWriterGroupedByShareable map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByShareable) Has

type WriterHandlerCurrentWriterGroupedByStatus

type WriterHandlerCurrentWriterGroupedByStatus map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByStatus) Has

type WriterHandlerCurrentWriterGroupedBySummary

type WriterHandlerCurrentWriterGroupedBySummary map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedBySummary) Has

type WriterHandlerCurrentWriterGroupedByTitle

type WriterHandlerCurrentWriterGroupedByTitle map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByTitle) Has

type WriterHandlerCurrentWriterGroupedByUpdatedAt

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

func (WriterHandlerCurrentWriterGroupedByUpdatedAt) Has

type WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens

type WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens) Has

type WriterHandlerCurrentWriterGroupedByUsageInputTokens

type WriterHandlerCurrentWriterGroupedByUsageInputTokens map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByUsageInputTokens) Has

type WriterHandlerCurrentWriterGroupedByUsageOutputTokens

type WriterHandlerCurrentWriterGroupedByUsageOutputTokens map[int][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByUsageOutputTokens) Has

type WriterHandlerCurrentWriterGroupedByVisibility

type WriterHandlerCurrentWriterGroupedByVisibility map[string][]*CurrentWriterView

func (WriterHandlerCurrentWriterGroupedByVisibility) Has

type WriterHandlerCurrentWriterIndexedByAgentId

type WriterHandlerCurrentWriterIndexedByAgentId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByAgentId) Has

type WriterHandlerCurrentWriterIndexedByConversationParentId

type WriterHandlerCurrentWriterIndexedByConversationParentId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByConversationParentId) Has

type WriterHandlerCurrentWriterIndexedByConversationParentTurnId

type WriterHandlerCurrentWriterIndexedByConversationParentTurnId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByConversationParentTurnId) Has

type WriterHandlerCurrentWriterIndexedByCreatedAt

type WriterHandlerCurrentWriterIndexedByCreatedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByCreatedAt) Has

type WriterHandlerCurrentWriterIndexedByCreatedByUserId

type WriterHandlerCurrentWriterIndexedByCreatedByUserId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByCreatedByUserId) Has

type WriterHandlerCurrentWriterIndexedByDefaultModel

type WriterHandlerCurrentWriterIndexedByDefaultModel map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByDefaultModel) Has

type WriterHandlerCurrentWriterIndexedByDefaultModelParams

type WriterHandlerCurrentWriterIndexedByDefaultModelParams map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByDefaultModelParams) Has

type WriterHandlerCurrentWriterIndexedByDefaultModelProvider

type WriterHandlerCurrentWriterIndexedByDefaultModelProvider map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByDefaultModelProvider) Has

type WriterHandlerCurrentWriterIndexedByExternalTaskRef

type WriterHandlerCurrentWriterIndexedByExternalTaskRef map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByExternalTaskRef) Has

type WriterHandlerCurrentWriterIndexedById

type WriterHandlerCurrentWriterIndexedById map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedById) Has

type WriterHandlerCurrentWriterIndexedByLastActivity

type WriterHandlerCurrentWriterIndexedByLastActivity map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByLastActivity) Has

type WriterHandlerCurrentWriterIndexedByMetadata

type WriterHandlerCurrentWriterIndexedByMetadata map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByMetadata) Has

type WriterHandlerCurrentWriterIndexedByProtocolMessagesJson

type WriterHandlerCurrentWriterIndexedByProtocolMessagesJson map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByProtocolMessagesJson) Has

type WriterHandlerCurrentWriterIndexedByProtocolOnly

type WriterHandlerCurrentWriterIndexedByProtocolOnly map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByProtocolOnly) Has

type WriterHandlerCurrentWriterIndexedByProtocolPrincipal

type WriterHandlerCurrentWriterIndexedByProtocolPrincipal map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByProtocolPrincipal) Has

type WriterHandlerCurrentWriterIndexedByProtocolRevision

type WriterHandlerCurrentWriterIndexedByProtocolRevision map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByProtocolRevision) Has

type WriterHandlerCurrentWriterIndexedByProtocolStateJson

type WriterHandlerCurrentWriterIndexedByProtocolStateJson map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByProtocolStateJson) Has

type WriterHandlerCurrentWriterIndexedByProtocolThreadId

type WriterHandlerCurrentWriterIndexedByProtocolThreadId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByProtocolThreadId) Has

type WriterHandlerCurrentWriterIndexedByProtocolThreadKey

type WriterHandlerCurrentWriterIndexedByProtocolThreadKey map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByProtocolThreadKey) Has

type WriterHandlerCurrentWriterIndexedByScheduleCronExpr

type WriterHandlerCurrentWriterIndexedByScheduleCronExpr map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByScheduleCronExpr) Has

type WriterHandlerCurrentWriterIndexedByScheduleId

type WriterHandlerCurrentWriterIndexedByScheduleId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByScheduleId) Has

type WriterHandlerCurrentWriterIndexedByScheduleKind

type WriterHandlerCurrentWriterIndexedByScheduleKind map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByScheduleKind) Has

type WriterHandlerCurrentWriterIndexedByScheduleRunId

type WriterHandlerCurrentWriterIndexedByScheduleRunId map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByScheduleRunId) Has

type WriterHandlerCurrentWriterIndexedByScheduleTimezone

type WriterHandlerCurrentWriterIndexedByScheduleTimezone map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByScheduleTimezone) Has

type WriterHandlerCurrentWriterIndexedByScheduled

type WriterHandlerCurrentWriterIndexedByScheduled map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByScheduled) Has

type WriterHandlerCurrentWriterIndexedByShareable

type WriterHandlerCurrentWriterIndexedByShareable map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByShareable) Has

type WriterHandlerCurrentWriterIndexedByStatus

type WriterHandlerCurrentWriterIndexedByStatus map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByStatus) Has

type WriterHandlerCurrentWriterIndexedBySummary

type WriterHandlerCurrentWriterIndexedBySummary map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedBySummary) Has

type WriterHandlerCurrentWriterIndexedByTitle

type WriterHandlerCurrentWriterIndexedByTitle map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByTitle) Has

type WriterHandlerCurrentWriterIndexedByUpdatedAt

type WriterHandlerCurrentWriterIndexedByUpdatedAt map[time.Time]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByUpdatedAt) Has

type WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens

type WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens) Has

type WriterHandlerCurrentWriterIndexedByUsageInputTokens

type WriterHandlerCurrentWriterIndexedByUsageInputTokens map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByUsageInputTokens) Has

type WriterHandlerCurrentWriterIndexedByUsageOutputTokens

type WriterHandlerCurrentWriterIndexedByUsageOutputTokens map[int]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByUsageOutputTokens) Has

type WriterHandlerCurrentWriterIndexedByVisibility

type WriterHandlerCurrentWriterIndexedByVisibility map[string]*CurrentWriterView

func (WriterHandlerCurrentWriterIndexedByVisibility) Has

type WriterHandlerCurrentWriterSlice

type WriterHandlerCurrentWriterSlice []*CurrentWriterView

func (WriterHandlerCurrentWriterSlice) GroupByAgentId

func (WriterHandlerCurrentWriterSlice) GroupByConversationParentId

func (WriterHandlerCurrentWriterSlice) GroupByConversationParentTurnId

func (WriterHandlerCurrentWriterSlice) GroupByCreatedAt

func (WriterHandlerCurrentWriterSlice) GroupByCreatedByUserId

func (WriterHandlerCurrentWriterSlice) GroupByDefaultModel

func (WriterHandlerCurrentWriterSlice) GroupByDefaultModelParams

func (WriterHandlerCurrentWriterSlice) GroupByDefaultModelProvider

func (WriterHandlerCurrentWriterSlice) GroupByExternalTaskRef

func (WriterHandlerCurrentWriterSlice) GroupById

func (WriterHandlerCurrentWriterSlice) GroupByLastActivity

func (WriterHandlerCurrentWriterSlice) GroupByMetadata

func (WriterHandlerCurrentWriterSlice) GroupByProtocolMessagesJson

func (WriterHandlerCurrentWriterSlice) GroupByProtocolOnly

func (WriterHandlerCurrentWriterSlice) GroupByProtocolPrincipal

func (WriterHandlerCurrentWriterSlice) GroupByProtocolRevision

func (WriterHandlerCurrentWriterSlice) GroupByProtocolStateJson

func (WriterHandlerCurrentWriterSlice) GroupByProtocolThreadId

func (WriterHandlerCurrentWriterSlice) GroupByProtocolThreadKey

func (WriterHandlerCurrentWriterSlice) GroupByScheduleCronExpr

func (WriterHandlerCurrentWriterSlice) GroupByScheduleId

func (WriterHandlerCurrentWriterSlice) GroupByScheduleKind

func (WriterHandlerCurrentWriterSlice) GroupByScheduleRunId

func (WriterHandlerCurrentWriterSlice) GroupByScheduleTimezone

func (WriterHandlerCurrentWriterSlice) GroupByScheduled

func (WriterHandlerCurrentWriterSlice) GroupByShareable

func (WriterHandlerCurrentWriterSlice) GroupByStatus

func (WriterHandlerCurrentWriterSlice) GroupBySummary

func (WriterHandlerCurrentWriterSlice) GroupByTitle

func (WriterHandlerCurrentWriterSlice) GroupByUpdatedAt

func (WriterHandlerCurrentWriterSlice) GroupByUsageEmbeddingTokens

func (WriterHandlerCurrentWriterSlice) GroupByUsageInputTokens

func (WriterHandlerCurrentWriterSlice) GroupByUsageOutputTokens

func (WriterHandlerCurrentWriterSlice) GroupByVisibility

func (WriterHandlerCurrentWriterSlice) IndexByAgentId

func (WriterHandlerCurrentWriterSlice) IndexByConversationParentId

func (WriterHandlerCurrentWriterSlice) IndexByConversationParentTurnId

func (WriterHandlerCurrentWriterSlice) IndexByCreatedAt

func (WriterHandlerCurrentWriterSlice) IndexByCreatedByUserId

func (WriterHandlerCurrentWriterSlice) IndexByDefaultModel

func (WriterHandlerCurrentWriterSlice) IndexByDefaultModelParams

func (WriterHandlerCurrentWriterSlice) IndexByDefaultModelProvider

func (WriterHandlerCurrentWriterSlice) IndexByExternalTaskRef

func (WriterHandlerCurrentWriterSlice) IndexById

func (WriterHandlerCurrentWriterSlice) IndexByLastActivity

func (WriterHandlerCurrentWriterSlice) IndexByMetadata

func (WriterHandlerCurrentWriterSlice) IndexByProtocolMessagesJson

func (WriterHandlerCurrentWriterSlice) IndexByProtocolOnly

func (WriterHandlerCurrentWriterSlice) IndexByProtocolPrincipal

func (WriterHandlerCurrentWriterSlice) IndexByProtocolRevision

func (WriterHandlerCurrentWriterSlice) IndexByProtocolStateJson

func (WriterHandlerCurrentWriterSlice) IndexByProtocolThreadId

func (WriterHandlerCurrentWriterSlice) IndexByProtocolThreadKey

func (WriterHandlerCurrentWriterSlice) IndexByScheduleCronExpr

func (WriterHandlerCurrentWriterSlice) IndexByScheduleId

func (WriterHandlerCurrentWriterSlice) IndexByScheduleKind

func (WriterHandlerCurrentWriterSlice) IndexByScheduleRunId

func (WriterHandlerCurrentWriterSlice) IndexByScheduleTimezone

func (WriterHandlerCurrentWriterSlice) IndexByScheduled

func (WriterHandlerCurrentWriterSlice) IndexByShareable

func (WriterHandlerCurrentWriterSlice) IndexByStatus

func (WriterHandlerCurrentWriterSlice) IndexBySummary

func (WriterHandlerCurrentWriterSlice) IndexByTitle

func (WriterHandlerCurrentWriterSlice) IndexByUpdatedAt

func (WriterHandlerCurrentWriterSlice) IndexByUsageEmbeddingTokens

func (WriterHandlerCurrentWriterSlice) IndexByUsageInputTokens

func (WriterHandlerCurrentWriterSlice) IndexByUsageOutputTokens

func (WriterHandlerCurrentWriterSlice) IndexByVisibility

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