Documentation
¶
Index ¶
- Constants
- Variables
- func ReaderDatlyType() reflect.Type
- type Input
- func (input *Input) Init(context.Context) error
- func (input *Input) SetConversationIDs(value []string)
- func (input *Input) SetIDs(value []string)
- func (input *Input) SetLinkedConversationIDs(value []string)
- func (input *Input) SetParentMessageIDs(value []string)
- func (input *Input) SetSupersededByIDs(value []string)
- func (input *Input) SetTrusted(value bool)
- type InputHas
- type Message
- type Output
- type ReaderComponent
Constants ¶
View Source
const ReaderDatlyResourceNamespace = "message_cleanup_read_reader"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var ReaderDatly = new(ReaderComponent)
The package-level value keeps this real component type reachable for runtime discovery.
View Source
var ReaderDatlyResources embed.FS
Functions ¶
func ReaderDatlyType ¶
ReaderDatlyType returns the public component type.
Types ¶
type Input ¶
type Input struct {
Trusted bool `parameter:"Trusted,kind=messagecleanupscope,in=internal,dataType=bool,required=true"`
IDs []string `parameter:"IDs,kind=query,in=iDs,dataType=[]string,required=false" predicate:"in,t,id"`
ConversationIDs []string `parameter:"ConversationIDs,kind=query,in=conversationIDs,dataType=[]string,required=false" predicate:"in,t,conversation_id"`
LinkedConversationIDs []string `` /* 142-byte string literal not displayed */
ParentMessageIDs []string `` /* 127-byte string literal not displayed */
SupersededByIDs []string `parameter:"SupersededByIDs,kind=query,in=supersededByIDs,dataType=[]string,required=false" predicate:"in,t,superseded_by"`
Has *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
}
Input is the generated input scaffold for reader.
func (*Input) SetConversationIDs ¶
func (*Input) SetLinkedConversationIDs ¶
func (*Input) SetParentMessageIDs ¶
func (*Input) SetSupersededByIDs ¶
func (*Input) SetTrusted ¶
type Message ¶
type Message struct {
Id string `sqlx:"id,primaryKey=true" json:"id"`
ConversationId string `sqlx:"conversation_id,refTable=conversation,refColumn=id,required=true" json:"conversationId"`
LinkedConversationId *string `sqlx:"linked_conversation_id" json:"linkedConversationId"`
ParentMessageId *string `sqlx:"parent_message_id" json:"parentMessageId"`
SupersededBy *string `sqlx:"superseded_by" json:"supersededBy"`
AttachmentPayloadId *string `sqlx:"attachment_payload_id,refTable=call_payload,refColumn=id" json:"attachmentPayloadId"`
ElicitationPayloadId *string `sqlx:"elicitation_payload_id,refTable=call_payload,refColumn=id" json:"elicitationPayloadId"`
}
Message is generated canonical view metadata for reader.
type Output ¶
type Output struct {
Data []*Message `` /* 207-byte string literal not displayed */
}
Output is the generated output scaffold for reader.
type ReaderComponent ¶
type ReaderComponent struct {
Contract xdatly.Component[Input, Output] "" /* 156-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.