schema

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachedFile added in v0.11.8

type AttachedFile struct {
	ent.Schema
}

AttachedFile holds the edge schema definition of the File relationship.

func (AttachedFile) Edges added in v0.11.8

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

Edges of the AttachedFile.

func (AttachedFile) Fields added in v0.11.8

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

Fields of the AttachedFile.

type File added in v0.11.8

type File struct {
	ent.Schema
}

File holds the edge schema definition of the File relationship.

func (File) Edges added in v0.11.8

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

Edges of the File.

func (File) Fields added in v0.11.8

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

Fields of the File.

type Friendship

type Friendship struct {
	ent.Schema
}

Friendship holds the edge schema definition of the Friendship relationship.

func (Friendship) Edges

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

Edges of the Friendship.

func (Friendship) Fields

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

Fields of the Friendship.

func (Friendship) Indexes

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

Indexes of the Friendship.

type Group

type Group struct {
	ent.Schema
}

Group holds the schema definition for the Group entity.

func (Group) Edges

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

Edges of the Group.

func (Group) Fields

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

Fields of the Group.

type GroupTag added in v0.11.5

type GroupTag struct {
	ent.Schema
}

GroupTag holds the schema definition for the GroupTag entity.

func (GroupTag) Edges added in v0.11.5

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

Edges of the GroupTag.

func (GroupTag) Fields added in v0.11.5

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

Fields of the GroupTag.

type Process added in v0.11.8

type Process struct {
	ent.Schema
}

Process holds the edge schema definition of the Process relationship.

func (Process) Edges added in v0.11.8

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

Edges of the Process.

type Relationship

type Relationship struct {
	ent.Schema
}

Relationship holds the schema definition for the Relationship entity.

func (Relationship) Annotations

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

func (Relationship) Edges

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

Edges of the Relationship.

func (Relationship) Fields

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

Fields of the Relationship.

func (Relationship) Indexes

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

Indexes of the Relationship.

func (Relationship) Policy added in v0.11.5

func (Relationship) Policy() ent.Policy

Policy defines the privacy policy of the Relationship.

type RelationshipInfo

type RelationshipInfo struct {
	ent.Schema
}

RelationshipInfo holds the schema definition for the RelationshipInfo entity.

func (RelationshipInfo) Fields

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

Fields of the RelationshipInfo.

type Role added in v0.11.1

type Role struct {
	ent.Schema
}

Role holds the schema definition for the Role entity.

func (Role) Edges added in v0.11.1

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

Edges of the Role.

func (Role) Fields added in v0.11.1

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

Fields of the Role.

type RoleUser added in v0.11.1

type RoleUser struct {
	ent.Schema
}

RoleUser holds the schema definition for the RoleUser entity.

func (RoleUser) Annotations added in v0.11.1

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

func (RoleUser) Edges added in v0.11.1

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

Edges of the RoleUser.

func (RoleUser) Fields added in v0.11.1

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

Fields of the RoleUser.

type Tag

type Tag struct {
	ent.Schema
}

Tag holds the schema definition for the Tag entity.

func (Tag) Edges

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

Edges of the Tag.

func (Tag) Fields

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

Fields of the Tag.

type Tweet

type Tweet struct {
	ent.Schema
}

Tweet holds the schema definition for the Tweet entity.

func (Tweet) Edges

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

Edges of the Tweet.

func (Tweet) Fields

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

Fields of the Tweet.

type TweetLike

type TweetLike struct {
	ent.Schema
}

TweetLike holds the schema definition for the TweetLike entity.

func (TweetLike) Annotations

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

func (TweetLike) Edges

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

Edges of the TweetLike.

func (TweetLike) Fields

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

Fields of the TweetLike.

func (TweetLike) Policy

func (TweetLike) Policy() ent.Policy

Policy defines the privacy policy of the TweetLike.

type TweetTag

type TweetTag struct {
	ent.Schema
}

TweetTag holds the schema definition for the TweetTag entity.

func (TweetTag) Edges

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

Edges of the TweetTag.

func (TweetTag) Fields

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

Fields of the TweetTag.

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

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) Policy added in v0.11.1

func (User) Policy() ent.Policy

Policy defines the privacy policy of the User.

type UserGroup

type UserGroup struct {
	ent.Schema
}

UserGroup holds the schema definition for the UserGroup entity.

func (UserGroup) Edges

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

Edges of the UserGroup.

func (UserGroup) Fields

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

Fields of the UserGroup.

type UserTweet

type UserTweet struct {
	ent.Schema
}

UserTweet holds the schema definition for the UserTweet entity.

func (UserTweet) Edges

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

Edges of the UserTweet.

func (UserTweet) Fields

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

Fields of the UserTweet.

func (UserTweet) Indexes

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

Indexes of the UserTweet.

Jump to

Keyboard shortcuts

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