schema

package
v0.0.7-alpha Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	ent.Schema
}

Comment holds the schema definition for the Comment entity.

func (Comment) Annotations

func (Comment) Annotations() []schema.Annotation

func (Comment) Edges

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

Edges of the Comment.

func (Comment) Fields

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

Fields of the Comment.

func (Comment) Mixin

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

type File

type File struct {
	ent.Schema
}

File holds the schema definition for the File entity.

func (File) Annotations

func (File) Annotations() []schema.Annotation

func (File) Edges

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

Edges of the File.

func (File) Fields

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

Fields of the File.

func (File) Indexes

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

func (File) Mixin

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

type Page

type Page struct {
	ent.Schema
}

Page holds the schema definition for the Page entity.

func (Page) Annotations

func (Page) Annotations() []schema.Annotation

func (Page) Edges

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

Edges of the Page.

func (Page) Fields

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

Fields of the Page.

func (Page) Indexes

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

func (Page) Mixin

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

type Permission

type Permission struct {
	ent.Schema
}

Permission holds the schema definition for the Permission entity.

func (Permission) Annotations

func (Permission) Annotations() []schema.Annotation

func (Permission) Edges

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

Edges of the Permission.

func (Permission) Fields

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

Fields of the Permission.

func (Permission) Indexes

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

func (Permission) Mixin

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

type Post

type Post struct {
	ent.Schema
}

Post holds the schema definition for the Post entity.

func (Post) Annotations

func (Post) Annotations() []schema.Annotation

func (Post) Edges

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

Edges of the Post.

func (Post) Fields

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

Fields of the Post.

func (Post) Indexes

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

func (Post) Mixin

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

type Role

type Role struct {
	ent.Schema
}

Role holds the schema definition for the Role entity.

func (Role) Annotations

func (Role) Annotations() []schema.Annotation

func (Role) Edges

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

Edges of the Role.

func (Role) Fields

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

Fields of the Role.

func (Role) Mixin

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

type Setting

type Setting struct {
	ent.Schema
}

Setting holds the schema definition for the Setting entity.

func (Setting) Annotations

func (Setting) Annotations() []schema.Annotation

func (Setting) Fields

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

Fields of the Setting.

func (Setting) Indexes

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

func (Setting) Mixin

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

Edges of the Setting.

type TimeStamp

type TimeStamp struct {
	mixin.Schema
}

func (TimeStamp) Fields

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

type Topic

type Topic struct {
	ent.Schema
}

Topic holds the schema definition for the Topic entity.

func (Topic) Annotations

func (Topic) Annotations() []schema.Annotation

func (Topic) Edges

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

Edges of the Topic.

func (Topic) Fields

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

Fields of the Topic.

func (Topic) Mixin

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

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

func (User) Annotations() []schema.Annotation

func (User) Edges

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

Edges of the User.

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