schema

package
v0.95.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EditorMixin

type EditorMixin struct {
	mixin.Schema
}

EditorMixin adds created_by_id and updated_by_id fields representing the user who created or last modified the resource.

func (EditorMixin) Edges

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

func (EditorMixin) Fields

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

type IDMixin

type IDMixin struct {
	mixin.Schema
}

IDMixin mixes in an id field with a server generated default. All resource objects in the storage system should be identified by a uuid.

func (IDMixin) Fields

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

type Organization

type Organization struct {
	ent.Schema
}

Organization represents an organization account.

func (Organization) Edges

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

func (Organization) Fields

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

func (Organization) Mixin

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

type Platform

type Platform struct {
	ent.Schema
}

func (Platform) Edges

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

func (Platform) Fields

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

func (Platform) Indexes

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

func (Platform) Mixin

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

type TimestampMixin

type TimestampMixin struct {
	mixin.Schema
}

TimestampMixin adds created_at and updated_at fields.

func (TimestampMixin) Fields

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

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity, the internal representation and identity of a single human user. Users are scoped globally.

func (User) Edges

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

func (User) Fields

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

Fields of the User.

func (User) Indexes

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

func (User) Mixin

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

Jump to

Keyboard shortcuts

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