schema

package
v0.0.0-...-6aa0337 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultNonce

func DefaultNonce() string

DefaultNonce generates a secure random nonce

func ID

func ID(prefix string) ent.Field

ID generates the id field with a given prefix

Types

type APIAudit

type APIAudit struct {
	ent.Schema
}

APIAudit holds the schema definition for the APIAudit entity.

func (APIAudit) Edges

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

Edges of the APIAudit.

func (APIAudit) Fields

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

Fields of the APIAudit.

func (APIAudit) Indexes

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

Indexes of the APIAudit

func (APIAudit) Mixin

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

Mixin of the APIAudit

type BaseMixin

type BaseMixin struct {
	mixin.Schema
}

BaseMixin is the base entity mixin

func (BaseMixin) Fields

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

Fields of the BaseMixin.

func (BaseMixin) Indexes

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

Indexes of the BaseMixin

type Fact

type Fact struct {
	ent.Schema
}

Fact holds the schema definition for the Fact entity.

func (Fact) Edges

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

Edges of the Fact.

func (Fact) Fields

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

Fields of the Fact.

func (Fact) Indexes

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

Indexes of the Fact

func (Fact) Mixin

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

Mixin of the Fact

type Grant

type Grant struct {
	ent.Schema
}

Grant holds the schema definition for the Grant entity.

func (Grant) Fields

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

Fields of the Grant.

func (Grant) Indexes

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

Indexes of the Grant

func (Grant) Mixin

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

Mixin of the Grant

type Scope

type Scope struct {
	ent.Schema
}

Scope holds the schema definition for the Scope entity.

func (Scope) Edges

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

Edges of the Scope.

func (Scope) Fields

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

Fields of the Scope.

func (Scope) Indexes

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

Indexes of the Scope

func (Scope) Mixin

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

Mixin of the Scope

Jump to

Keyboard shortcuts

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