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

read

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ReaderDatlyResourceNamespace = "reporting_context_read_reader"

DatlyResourceNamespace identifies this package's generated resource filesystem.

Variables

View Source
var ReaderDatly = new(ReaderComponent)

The public value supports explicit component wiring.

View Source
var ReaderDatlyResources embed.FS

Functions

func ReaderDatlyType

func ReaderDatlyType() reflect.Type

ReaderDatlyType returns the public component type.

Types

type Context

type Context struct {
	OwnerId           string    `sqlx:"owner_id,refTable=report_run,refColumn=owner_id,required=true,primaryKey=true" json:"ownerId"`
	ConversationId    string    `sqlx:"conversation_id,refTable=conversation,refColumn=id,required=true,primaryKey=true" json:"conversationId"`
	ActiveReportRunId string    `sqlx:"active_report_run_id,refTable=report_run,refColumn=report_run_id,required=true" json:"activeReportRunId"`
	Revision          int64     `sqlx:"revision,required=true" json:"revision"`
	ActivationSource  string    `sqlx:"activation_source,required=true" json:"activationSource"`
	ActorId           string    `sqlx:"actor_id,required=true" json:"actorId"`
	UpdatedAt         time.Time `sqlx:"updated_at,required=true" json:"updatedAt"`
}

Context is generated canonical view metadata for reader.

type Input

type Input struct {
	Internal           bool      `parameter:"Internal,kind=reportaccess,in=internal,dataType=bool,required=true"`
	OwnerSubject       *string   `parameter:"OwnerSubject,kind=visibility,in=subject,dataType=*string,required=true"`
	OwnerID            string    `parameter:"OwnerID,kind=query,in=ownerId,dataType=string,required=false" predicate:"equal,c,owner_id"`
	ConversationID     string    `parameter:"ConversationID,kind=query,in=conversationId,dataType=string,required=false" predicate:"equal,c,conversation_id"`
	ConversationIDs    []string  `parameter:"ConversationIDs,kind=query,in=conversationIds,dataType=[]string,required=false" predicate:"in,c,conversation_id"`
	ActiveReportRunID  string    `` /* 133-byte string literal not displayed */
	ActiveReportRunIDs []string  `` /* 134-byte string literal not displayed */
	Has                *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
}

Input is the generated input scaffold for reader.

func (*Input) SetActiveReportRunID

func (input *Input) SetActiveReportRunID(value string)

func (*Input) SetActiveReportRunIDs

func (input *Input) SetActiveReportRunIDs(value []string)

func (*Input) SetConversationID

func (input *Input) SetConversationID(value string)

func (*Input) SetConversationIDs

func (input *Input) SetConversationIDs(value []string)

func (*Input) SetInternal

func (input *Input) SetInternal(value bool)

func (*Input) SetOwnerID

func (input *Input) SetOwnerID(value string)

func (*Input) SetOwnerSubject

func (input *Input) SetOwnerSubject(value *string)

type InputHas

type InputHas struct {
	Internal           bool
	OwnerSubject       bool
	OwnerID            bool
	ConversationID     bool
	ConversationIDs    bool
	ActiveReportRunID  bool
	ActiveReportRunIDs bool
}

type Output

type Output struct {
	Data []*Context `` /* 222-byte string literal not displayed */
}

Output is the generated output scaffold for reader.

type ReaderComponent

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

Jump to

Keyboard shortcuts

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