schema

package
v0.0.0-...-83e02d6 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	ent.Schema
}

Access holds the schema definition for the Access entity.

func (Access) Edges

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

Edges of the Access.

func (Access) Fields

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

Fields of the Access.

func (Access) Mixin

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

type EmailConfig

type EmailConfig struct {
	To string `json:"to"`
}

type History

type History struct {
	ent.Schema
}

History holds the schema definition for the History entity.

func (History) Edges

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

Edges of the History.

func (History) Fields

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

Fields of the History.

func (History) Mixin

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

type NotificationChannel

type NotificationChannel struct {
	ent.Schema
}

NotificationChannel holds the schema definition for the NotificationChannel entity.

func (NotificationChannel) Edges

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

Edges of the NotificationChannel.

func (NotificationChannel) Fields

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

Fields of the NotificationChannel.

func (NotificationChannel) Mixin

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

type Project

type Project struct {
	ent.Schema
}

Project holds the schema definition for the Project entity.

func (Project) Edges

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

Edges of the Project.

func (Project) Fields

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

Fields of the Project.

func (Project) Mixin

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

type Script

type Script struct {
	ent.Schema
}

Script holds the schema definition for the Script entity.

func (Script) Edges

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

Edges of the Script.

func (Script) Fields

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

Fields of the Script.

func (Script) Mixin

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

type ScriptInputOptions

type ScriptInputOptions struct {
	Name          string   `json:"name"`
	Description   string   `json:"description"`
	StrictOptions bool     `json:"strict_options"`
	Options       []string `json:"options,omitempty"`
	VariableType  string   `json:"-"`
}

type ScriptStats

type ScriptStats struct {
	ent.Schema
}

ScriptStats holds the schema definition for the ScriptStats entity.

func (ScriptStats) Edges

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

Edges of the ScriptStats.

func (ScriptStats) Fields

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

Fields of the ScriptStats.

type Secret

type Secret struct {
	ent.Schema
}

Secret holds the schema definition for the Secret entity.

func (Secret) Edges

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

Edges of the Secret.

func (Secret) Fields

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

Fields of the Secret.

func (Secret) Mixin

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

type SlackConfig

type SlackConfig struct {
	WebhookURL string `json:"webhook_url"`
}

type TimeMixin

type TimeMixin struct {
	// We embed the `mixin.Schema` to avoid
	// implementing the rest of the methods.
	mixin.Schema
}

TimeMixin implements the ent.Mixin for sharing time fields with package schemas.

func (TimeMixin) Fields

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

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) Mixin

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

type WebhookConfig

type WebhookConfig struct {
	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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