mixin

package
v1.1.59 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMixin

type BaseMixin struct {
	mixin.Schema
}

BaseMixin implements the ent.Mixin for sharing base fields with package schemas.

func (BaseMixin) Fields

func (BaseMixin) Fields() []ent.Field

Fields of the BaseMixin.

func (BaseMixin) Hooks

func (BaseMixin) Hooks() []ent.Hook

Hooks of the BaseMixin.

type EnvironmentMixin

type EnvironmentMixin struct {
	mixin.Schema
}

EnvironmentMixin implements the ent.Mixin for sharing environment_id field with package schemas.

func (EnvironmentMixin) Fields

func (EnvironmentMixin) Fields() []ent.Field

Fields of the EnvironmentMixin.

func (EnvironmentMixin) Hooks

func (EnvironmentMixin) Hooks() []ent.Hook

Hooks of the EnvironmentMixin.

type MetadataMixin added in v1.0.22

type MetadataMixin struct {
	mixin.Schema
}

MetadataMixin implements the ent.Mixin for sharing metadata field with package schemas.

func (MetadataMixin) Fields added in v1.0.22

func (MetadataMixin) Fields() []ent.Field

Fields of the MetadataMixin.

func (MetadataMixin) Hooks added in v1.0.22

func (MetadataMixin) Hooks() []ent.Hook

Hooks of the MetadataMixin.

Jump to

Keyboard shortcuts

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