schema

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Guild

type Guild struct {
	ent.Schema
}

Guild holds the schema definition for the Guild entity.

func (Guild) Edges

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

Edges of the Guild.

func (Guild) Fields

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

Fields of the Guild.

type Member

type Member struct {
	ent.Schema
}

Member holds the schema definition for the Member entity.

func (Member) Edges

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

Edges of the Member.

func (Member) Fields

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

Fields of the Member.

type MessagePin

type MessagePin struct {
	ent.Schema
}

MessagePin holds the schema definition for the MessagePin entity.

func (MessagePin) Edges

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

Edges of the MessagePin.

func (MessagePin) Fields

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

Fields of the MessagePin.

type MessageRemind

type MessageRemind struct {
	ent.Schema
}

MessageRemind holds the schema definition for the MessageRemind entity.

func (MessageRemind) Edges

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

Edges of the MessageRemind.

func (MessageRemind) Fields

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

Fields of the MessageRemind.

type RateLimit

type RateLimit struct {
	// contains filtered or unexported fields
}

func (*RateLimit) CheckLimit

func (r *RateLimit) CheckLimit() bool

func (RateLimit) MarshalJSON

func (r RateLimit) MarshalJSON() ([]byte, error)

func (*RateLimit) UnmarshalJSON

func (r *RateLimit) UnmarshalJSON(b []byte) error

type Role

type Role struct {
	ID    snowflake.ID            `json:"id"`
	Name  string                  `json:"name"`
	Emoji *discord.ComponentEmoji `json:"emoji"`
}

type RolePanel

type RolePanel struct {
	ent.Schema
}

RolePanel holds the schema definition for the RolePanel entity.

func (RolePanel) Edges

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

Edges of the RolePanel.

func (RolePanel) Fields

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

Fields of the RolePanel.

type RolePanelEdit

type RolePanelEdit struct {
	ent.Schema
}

RolePanelEdit holds the schema definition for the RolePanelEdit entity.

func (RolePanelEdit) Edges

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

Edges of the RolePanelEdit.

func (RolePanelEdit) Fields

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

Fields of the RolePanelEdit.

type RolePanelPlaced

type RolePanelPlaced struct {
	ent.Schema
}

RolePanelPlaced holds the schema definition for the RolePanelPlaced entity.

func (RolePanelPlaced) Edges

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

Edges of the RolePanelPlaced.

func (RolePanelPlaced) Fields

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

Fields of the RolePanelPlaced.

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.

type WordSuffix

type WordSuffix struct {
	ent.Schema
}

WordSuffix holds the schema definition for the WordSuffix entity.

func (WordSuffix) Edges

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

Edges of the WordSuffix.

func (WordSuffix) Fields

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

Fields of the WordSuffix.

Jump to

Keyboard shortcuts

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