Versions in this module Expand all Collapse all v1 v1.11.1 Jul 29, 2026 Changes in this version + const MappingManyToMany + const MappingOneToMany + const MappingOneToOne + func ValidMapping(mapping string) bool + type Attribute struct + Builtin bool + Display bool + FieldName string + FieldType string + FieldUid string + GroupId int64 + ID int64 + Index int64 + Link bool + ModelUid string + Option interface{} + Required bool + Secure bool + SortKey int64 + Version int64 + func (a *Attribute) GetConstraintDescription() string + func (a *Attribute) GetOptionStrings() []string + func (a *Attribute) IsSelectType() bool + func (a *Attribute) NeedsValidation() bool + func (a *Attribute) ToExcelRow() []interface{} + func (a Attribute) GetID() int64 + func (a Attribute) GetSortKey() int64 + func (a Attribute) ValidateForCreate() error + type AttributeGroup struct + ID int64 + ModelUid string + Name string + SortKey int64 + func (ag AttributeGroup) GetID() int64 + func (ag AttributeGroup) GetSortKey() int64 + type AttributeGroupSortItem struct + ID int64 + SortKey int64 + type AttributePipeline struct + Attributes []Attribute + GroupId int64 + Total int + type AttributeSortItem struct + GroupId int64 + ID int64 + SortKey int64 + type Builder struct + func NewBuilder(sheetName string) *Builder + func (b *Builder) AddRow(data ...interface{}) *Builder + func (b *Builder) AddRows(rows [][]interface{}) *Builder + func (b *Builder) Build() error + func (b *Builder) Close() error + func (b *Builder) ToBytes() ([]byte, error) + func (b *Builder) With3RowHeaders(row1, row2, row3 []string) *Builder + func (b *Builder) WithColumnWidths(widths map[int]float64) *Builder + func (b *Builder) WithHeaders(headers ...string) *Builder + func (b *Builder) WithStyle(style *StyleSet) *Builder + func (b *Builder) WithValidation(colIdx int, options []string, startRow, endRow int) *Builder + type Condition struct + Condition string + Input string + Name string + type EnumOption struct + Label string + Value string + type FieldDelete struct + FieldUid string + ModelUid string + TriggerTime int64 + type FieldSecureAttrChange struct + FieldUid string + ModelUid string + Secure bool + TiggerTime int64 + type FilterCondition struct + FieldUID string + Operator Operator + Value interface{} + type FilterGroup struct + Filters []FilterCondition + type Model struct + Builtin bool + Ctime time.Time + GroupId int64 + ID int64 + Icon string + Name string + UID string + Utime time.Time + func (m *Model) EnsureDeletable() error + func (m *Model) SheetName() string + type ModelDiagram struct + ID int64 + RelationTypeUid string + SourceModelUid string + TargetModelUid string + type ModelGroup struct + ID int64 + Name string + type ModelRelation struct + Ctime time.Time + ID int64 + Mapping string + RelationName string + RelationTypeUID string + SourceModelUID string + TargetModelUID string + Utime time.Time + func (m *ModelRelation) BelongsTo(modelUid string) bool + func (m *ModelRelation) IsSource(modelUid string) bool + func (m *ModelRelation) IsTarget(modelUid string) bool + func (m *ModelRelation) RM() string + func (m *ModelRelation) Validate() error + type Operator string + const OperatorContains + const OperatorEq + const OperatorGt + const OperatorLt + const OperatorNe + type Plugin = plugin.Plugin + type PluginActionSpec = plugin.ActionSpec + type PluginBinding = plugin.Binding + type PluginBindingDetail struct + Enabled bool + Graph *pluginx.BindingGraph + GroupName string + ID int64 + ModelIcon string + ModelName string + ModelUID string + PluginID string + UID string + type PluginBoundModel struct + Builtin bool + GroupName string + Icon string + Name string + UID string + type PluginDetail struct + Bindings []PluginBindingDetail + Plugin pluginx.Plugin + type PluginFilter = plugin.Filter + type PluginListItem struct + ActionCount int + Actions []pluginx.ActionSpec + BindingCount int + BoundModels []PluginBoundModel + ID int64 + Name string + Type string + UID string + UpdatedAt int64 + Version string + type PluginManagementEnums struct + Cardinalities []EnumOption + Directions []EnumOption + Mappings []EnumOption + Models []PluginModelVM + Placements []EnumOption + RelationTypes []EnumOption + Types []string + type PluginModelVM struct + Builtin bool + GroupName string + Icon string + Name string + UID string + type PluginResolvedInput = plugin.ResolvedInput + type PluginResolvedResource = plugin.ResolvedResource + type PluginResourceAction = plugin.ResourceAction + type PluginResourceSpec = plugin.ResourceSpec + type RelationType struct + Ctime time.Time + ID int64 + Name string + SourceDescribe string + TargetDescribe string + UID string + Utime time.Time + func (r *RelationType) Validate() error + type Resource struct + Data mongox.MapStr + ID int64 + ModelUID string + Name string + type ResourceAggregatedAssets struct + ModelUid string + RelationName string + ResourceIds []int64 + Total int + type ResourceDiagram struct + DST []ResourceRelation + SRC []ResourceRelation + type ResourceRelation struct + ID int64 + RelationName string + RelationTypeUID string + SourceModelUID string + SourceResourceID int64 + TargetModelUID string + TargetResourceID int64 + func (r *ResourceRelation) ValidateAndComplete(mr ModelRelation) error + type SavePluginBindings struct + Bindings []pluginx.Binding + PluginID string + type SearchResource struct + Data []mongox.MapStr + ModelUid string + Total int + type StyleSet struct + EvenRow int + Header int + Header2 int + Header3 int + OddRow int