type BaseMixin struct { mixin.Schema }
BaseMixin for all schemas.
func (BaseMixin) Policy() ent.Policy
Shared policy for all schemas.
type Task struct { ent.Schema }
Task defines the schema of a task.
func (Task) Edges() []ent.Edge
Edges of the task.
func (Task) Fields() []ent.Field
Fields of the task.
func (Task) Hooks() []ent.Hook
Hooks for the task.
func (Task) Mixin() []ent.Mixin
Mixin list of schemas to the task.
func (Task) Policy() ent.Policy
Policy of the task.
type Team struct { ent.Schema }
Team defines the schema of a team.
func (Team) Edges() []ent.Edge
Edges of the team.
func (Team) Fields() []ent.Field
Fields of the team.
func (Team) Mixin() []ent.Mixin
Mixin list of schemas to the team.
func (Team) Policy() ent.Policy
Policy of the team.
type TeamMixin struct { mixin.Schema }
TeamMixin shared between task and user.
func (TeamMixin) Edges() []ent.Edge
Edges of the team-mixin.
func (TeamMixin) Policy() ent.Policy
Policy of the team-mixin.
type User struct { ent.Schema }
User defines the schema of a user.
func (User) Edges() []ent.Edge
Edges of the user.
func (User) Fields() []ent.Field
Fields of the user.
func (User) Mixin() []ent.Mixin
Mixin list of schemas to the user.
func (User) Policy() ent.Policy
Policy of the user.