schema

package
v0.0.0-...-02ad720 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUsernameInvalid = errors.New("username must match ^[a-z0-9_-]+$")
)

Functions

func ValidateURI

func ValidateURI(s string) error

func ValidateUsername

func ValidateUsername(username string) error

Types

type Attachment

type Attachment struct{ ent.Schema }

func (Attachment) Edges

func (Attachment) Edges() []ent.Edge

func (Attachment) Fields

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

func (Attachment) Mixin

func (Attachment) Mixin() []ent.Mixin

type Follow

type Follow struct{ ent.Schema }

func (Follow) Edges

func (Follow) Edges() []ent.Edge

func (Follow) Fields

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

func (Follow) Indexes

func (Follow) Indexes() []ent.Index

func (Follow) Mixin

func (Follow) Mixin() []ent.Mixin

type Image

type Image struct{ ent.Schema }

func (Image) Edges

func (Image) Edges() []ent.Edge

func (Image) Fields

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

type InstanceMetadata

type InstanceMetadata struct{ ent.Schema }

func (InstanceMetadata) Edges

func (InstanceMetadata) Edges() []ent.Edge

func (InstanceMetadata) Fields

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

func (InstanceMetadata) Mixin

func (InstanceMetadata) Mixin() []ent.Mixin

type Note

type Note struct{ ent.Schema }

func (Note) Edges

func (Note) Edges() []ent.Edge

func (Note) Fields

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

func (Note) Mixin

func (Note) Mixin() []ent.Mixin

type User

type User struct{ ent.Schema }

func (User) Edges

func (User) Edges() []ent.Edge

func (User) Fields

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

func (User) Mixin

func (User) Mixin() []ent.Mixin

type VersiaEntityMixin

type VersiaEntityMixin struct{ mixin.Schema }

func (VersiaEntityMixin) Fields

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

Jump to

Keyboard shortcuts

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