schema

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Code generated by enthistory, DO NOT EDIT.

Package schema contains the ent schema

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Code generated by enthistory, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidTokenSize is returned when session token size is invalid
	ErrInvalidTokenSize = errors.New("invalid token size")

	// ErrContainsSpaces is returned when field contains spaces
	ErrContainsSpaces = errors.New("field should not contain spaces")

	// ErrPermissionDenied is returned when the user is not authorized to perform the requested query or mutation
	ErrPermissionDenied = errors.New("you are not authorized to perform this action")

	// ErrUnexpectedMutationType is returned when an unexpected mutation type is encountered
	ErrUnexpectedMutationType = errors.New("unexpected mutation type")
)

Functions

This section is empty.

Types

type APIToken added in v0.5.0

type APIToken struct {
	ent.Schema
}

APIToken holds the schema definition for the APIToken entity.

func (APIToken) Annotations added in v0.5.0

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

Annotations of the APIToken

func (APIToken) Edges added in v0.5.0

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

Edges of the APIToken

func (APIToken) Fields added in v0.5.0

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

Fields of the APIToken

func (APIToken) Hooks added in v0.5.0

func (APIToken) Hooks() []ent.Hook

Hooks of the APIToken

func (APIToken) Indexes added in v0.5.0

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

Indexes of the APIToken

func (APIToken) Interceptors added in v0.5.0

func (APIToken) Interceptors() []ent.Interceptor

Interceptors of the APIToken

func (APIToken) Mixin added in v0.5.0

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

Mixin of the APIToken

func (APIToken) Policy added in v0.5.0

func (APIToken) Policy() ent.Policy

Policy of the APIToken

type Contact added in v0.7.4

type Contact struct {
	ent.Schema
}

Contact holds the schema definition for the Contact entity

func (Contact) Annotations added in v0.7.4

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

Annotations of the Contact

func (Contact) Edges added in v0.7.4

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

Edges of the Contact

func (Contact) Fields added in v0.7.4

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

Fields of the Contact

func (Contact) Hooks added in v0.7.4

func (Contact) Hooks() []ent.Hook

Hooks of the Contact

func (Contact) Indexes added in v0.7.4

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

Indexes of the Contact

func (Contact) Interceptors added in v0.7.4

func (Contact) Interceptors() []ent.Interceptor

Interceptors of the Contact

func (Contact) Mixin added in v0.7.4

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

Mixin of the Contact

func (Contact) Policy added in v0.7.4

func (Contact) Policy() ent.Policy

Policy of the Contact

type ContactHistory added in v0.7.4

type ContactHistory struct {
	ent.Schema
}

ContactHistory holds the schema definition for the ContactHistory entity.

func (ContactHistory) Annotations added in v0.7.4

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

Annotations of the ContactHistory.

func (ContactHistory) Fields added in v0.7.4

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

Fields of the ContactHistory.

func (ContactHistory) Indexes added in v0.7.4

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

type DocumentData added in v0.4.4

type DocumentData struct {
	ent.Schema
}

DocumentData holds the schema definition for the DocumentData entity

func (DocumentData) Annotations added in v0.4.4

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

Annotations of the DocumentData

func (DocumentData) Edges added in v0.4.4

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

Edges of the DocumentData

func (DocumentData) Fields added in v0.4.4

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

Fields of the DocumentData

func (DocumentData) Mixin added in v0.4.4

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

Mixin of the DocumentData

func (DocumentData) Policy added in v0.6.1

func (DocumentData) Policy() ent.Policy

Policy of the DocumentData

type DocumentDataHistory added in v0.4.5

type DocumentDataHistory struct {
	ent.Schema
}

DocumentDataHistory holds the schema definition for the DocumentDataHistory entity.

func (DocumentDataHistory) Annotations added in v0.4.5

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

Annotations of the DocumentDataHistory.

func (DocumentDataHistory) Fields added in v0.4.5

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

Fields of the DocumentDataHistory.

func (DocumentDataHistory) Indexes added in v0.4.5

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

type EmailVerificationToken added in v0.2.2

type EmailVerificationToken struct {
	ent.Schema
}

EmailVerificationToken holds the schema definition for the EmailVerificationToken entity

func (EmailVerificationToken) Annotations added in v0.2.2

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

Annotations of the EmailVerificationToken

func (EmailVerificationToken) Edges added in v0.2.2

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

Edges of the EmailVerificationToken

func (EmailVerificationToken) Fields added in v0.2.2

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

Fields of the EmailVerificationToken

func (EmailVerificationToken) Hooks added in v0.2.2

func (EmailVerificationToken) Hooks() []ent.Hook

Hooks of the EmailVerificationToken

func (EmailVerificationToken) Indexes added in v0.2.2

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

Indexes of the EmailVerificationToken

func (EmailVerificationToken) Mixin added in v0.2.2

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

Mixin of the EmailVerificationToken

func (EmailVerificationToken) Policy added in v0.2.4

Policy of the EmailVerificationToken

type Entitlement

type Entitlement struct {
	ent.Schema
}

Entitlement holds the schema definition for the Entitlement entity.

func (Entitlement) Annotations

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

Annotations of the Entitlement

func (Entitlement) Edges

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

Edges of the Entitlement

func (Entitlement) Fields

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

Fields of the Entitlement.

func (Entitlement) Hooks added in v0.7.0

func (Entitlement) Hooks() []ent.Hook

Hooks of the Entitlement

func (Entitlement) Indexes added in v0.7.0

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

Indexes of the Entitlement

func (Entitlement) Mixin

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

Mixin of the Entitlement

func (Entitlement) Policy added in v0.6.1

func (Entitlement) Policy() ent.Policy

Policy of the Entitlement

type EntitlementHistory added in v0.4.5

type EntitlementHistory struct {
	ent.Schema
}

EntitlementHistory holds the schema definition for the EntitlementHistory entity.

func (EntitlementHistory) Annotations added in v0.4.5

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

Annotations of the EntitlementHistory.

func (EntitlementHistory) Fields added in v0.4.5

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

Fields of the EntitlementHistory.

func (EntitlementHistory) Indexes added in v0.4.5

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

type EntitlementPlan added in v0.7.0

type EntitlementPlan struct {
	ent.Schema
}

EntitlementPlan holds the schema definition for the EntitlementPlan entity

func (EntitlementPlan) Annotations added in v0.7.0

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

Annotations of the EntitlementPlan

func (EntitlementPlan) Edges added in v0.7.0

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

Edges of the EntitlementPlan

func (EntitlementPlan) Fields added in v0.7.0

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

Fields of the EntitlementPlan

func (EntitlementPlan) Hooks added in v0.7.0

func (EntitlementPlan) Hooks() []ent.Hook

Hooks of the EntitlementPlan

func (EntitlementPlan) Indexes added in v0.7.0

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

Indexes of the EntitlementPlan

func (EntitlementPlan) Interceptors added in v0.7.0

func (EntitlementPlan) Interceptors() []ent.Interceptor

Interceptors of the EntitlementPlan

func (EntitlementPlan) Mixin added in v0.7.0

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

Mixin of the EntitlementPlan

func (EntitlementPlan) Policy added in v0.7.0

func (EntitlementPlan) Policy() ent.Policy

Policy of the EntitlementPlan

type EntitlementPlanFeature added in v0.7.0

type EntitlementPlanFeature struct {
	ent.Schema
}

EntitlementPlanFeature holds the schema definition for the EntitlementPlanFeature entity

func (EntitlementPlanFeature) Annotations added in v0.7.0

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

Annotations of the EntitlementPlanFeature

func (EntitlementPlanFeature) Edges added in v0.7.0

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

Edges of the EntitlementPlanFeature

func (EntitlementPlanFeature) Fields added in v0.7.0

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

Fields of the EntitlementPlanFeature

func (EntitlementPlanFeature) Hooks added in v0.7.0

func (EntitlementPlanFeature) Hooks() []ent.Hook

Hooks of the EntitlementPlanFeature

func (EntitlementPlanFeature) Indexes added in v0.7.0

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

Indexes of the EntitlementPlanFeature

func (EntitlementPlanFeature) Interceptors added in v0.7.0

func (EntitlementPlanFeature) Interceptors() []ent.Interceptor

Interceptors of the EntitlementPlanFeature

func (EntitlementPlanFeature) Mixin added in v0.7.0

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

Mixin of the EntitlementPlanFeature

func (EntitlementPlanFeature) Policy added in v0.7.0

Policy of the EntitlementPlan

type EntitlementPlanFeatureHistory added in v0.7.0

type EntitlementPlanFeatureHistory struct {
	ent.Schema
}

EntitlementPlanFeatureHistory holds the schema definition for the EntitlementPlanFeatureHistory entity.

func (EntitlementPlanFeatureHistory) Annotations added in v0.7.0

Annotations of the EntitlementPlanFeatureHistory.

func (EntitlementPlanFeatureHistory) Fields added in v0.7.0

Fields of the EntitlementPlanFeatureHistory.

func (EntitlementPlanFeatureHistory) Indexes added in v0.7.0

type EntitlementPlanHistory added in v0.7.0

type EntitlementPlanHistory struct {
	ent.Schema
}

EntitlementPlanHistory holds the schema definition for the EntitlementPlanHistory entity.

func (EntitlementPlanHistory) Annotations added in v0.7.0

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

Annotations of the EntitlementPlanHistory.

func (EntitlementPlanHistory) Fields added in v0.7.0

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

Fields of the EntitlementPlanHistory.

func (EntitlementPlanHistory) Indexes added in v0.7.0

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

type Entity added in v0.7.4

type Entity struct {
	ent.Schema
}

Entity holds the schema definition for the Entity entity

func (Entity) Annotations added in v0.7.4

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

Annotations of the Entity

func (Entity) Edges added in v0.7.4

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

Edges of the Entity

func (Entity) Fields added in v0.7.4

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

Fields of the Entity

func (Entity) Hooks added in v0.7.4

func (Entity) Hooks() []ent.Hook

Hooks of the Entity

func (Entity) Indexes added in v0.7.4

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

Indexes of the Entity

func (Entity) Interceptors added in v0.7.4

func (Entity) Interceptors() []ent.Interceptor

Interceptors of the Entity

func (Entity) Mixin added in v0.7.4

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

Mixin of the Entity

func (Entity) Policy added in v0.7.4

func (Entity) Policy() ent.Policy

Policy of the Entity

type EntityHistory added in v0.7.4

type EntityHistory struct {
	ent.Schema
}

EntityHistory holds the schema definition for the EntityHistory entity.

func (EntityHistory) Annotations added in v0.7.4

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

Annotations of the EntityHistory.

func (EntityHistory) Fields added in v0.7.4

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

Fields of the EntityHistory.

func (EntityHistory) Indexes added in v0.7.4

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

type EntityType added in v0.7.4

type EntityType struct {
	ent.Schema
}

EntityType holds the schema definition for the EntityType entity

func (EntityType) Annotations added in v0.7.4

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

Annotations of the EntityType

func (EntityType) Edges added in v0.7.4

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

Edges of the EntityType

func (EntityType) Fields added in v0.7.4

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

Fields of the EntityType

func (EntityType) Hooks added in v0.7.4

func (EntityType) Hooks() []ent.Hook

Hooks of the EntityType

func (EntityType) Indexes added in v0.7.4

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

Indexes of the EntityType

func (EntityType) Interceptors added in v0.7.4

func (EntityType) Interceptors() []ent.Interceptor

Interceptors of the EntityType

func (EntityType) Mixin added in v0.7.4

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

Mixin of the EntityType

func (EntityType) Policy added in v0.7.4

func (EntityType) Policy() ent.Policy

Policy of the EntityType

type EntityTypeHistory added in v0.7.4

type EntityTypeHistory struct {
	ent.Schema
}

EntityTypeHistory holds the schema definition for the EntityTypeHistory entity.

func (EntityTypeHistory) Annotations added in v0.7.4

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

Annotations of the EntityTypeHistory.

func (EntityTypeHistory) Fields added in v0.7.4

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

Fields of the EntityTypeHistory.

func (EntityTypeHistory) Indexes added in v0.7.4

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

type Event added in v0.5.0

type Event struct {
	ent.Schema
}

func (Event) Annotations added in v0.5.0

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

Annotations of the Event

func (Event) Edges added in v0.5.0

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

Edges of the Event

func (Event) Fields added in v0.5.0

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

Fields of the TicketEvent.

func (Event) Mixin added in v0.5.0

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

Mixin of the Event

type EventHistory added in v0.5.0

type EventHistory struct {
	ent.Schema
}

EventHistory holds the schema definition for the EventHistory entity.

func (EventHistory) Annotations added in v0.5.0

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

Annotations of the EventHistory.

func (EventHistory) Fields added in v0.5.0

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

Fields of the EventHistory.

func (EventHistory) Indexes added in v0.5.0

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

type Feature added in v0.5.0

type Feature struct {
	ent.Schema
}

Feature defines the feature schema

func (Feature) Annotations added in v0.5.0

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

Annotations of the Feature

func (Feature) Edges added in v0.5.0

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

Edges returns feature edges

func (Feature) Fields added in v0.5.0

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

Fields returns feature fields

func (Feature) Hooks added in v0.7.0

func (Feature) Hooks() []ent.Hook

Hooks of the Feature

func (Feature) Indexes added in v0.7.0

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

func (Feature) Interceptors added in v0.7.0

func (Feature) Interceptors() []ent.Interceptor

Interceptors of the Feature

func (Feature) Mixin added in v0.5.0

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

Mixin of the Feature

func (Feature) Policy added in v0.7.0

func (Feature) Policy() ent.Policy

Policy of the Feature

type FeatureHistory added in v0.5.0

type FeatureHistory struct {
	ent.Schema
}

FeatureHistory holds the schema definition for the FeatureHistory entity.

func (FeatureHistory) Annotations added in v0.5.0

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

Annotations of the FeatureHistory.

func (FeatureHistory) Fields added in v0.5.0

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

Fields of the FeatureHistory.

func (FeatureHistory) Indexes added in v0.5.0

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

type File added in v0.5.0

type File struct {
	ent.Schema
}

File defines the file schema.

func (File) Annotations added in v0.5.0

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

Annotations of the File

func (File) Edges added in v0.5.0

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

Edges of the File

func (File) Fields added in v0.5.0

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

Fields returns file fields.

func (File) Mixin added in v0.5.0

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

Mixin of the File

type FileHistory added in v0.5.0

type FileHistory struct {
	ent.Schema
}

FileHistory holds the schema definition for the FileHistory entity.

func (FileHistory) Annotations added in v0.5.0

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

Annotations of the FileHistory.

func (FileHistory) Fields added in v0.5.0

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

Fields of the FileHistory.

func (FileHistory) Indexes added in v0.5.0

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

type Group

type Group struct {
	ent.Schema
}

Group holds the schema definition for the Group entity

func (Group) Annotations

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

Annotations of the Group

func (Group) Edges

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

Edges of the Group

func (Group) Fields

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

Fields of the Group

func (Group) Hooks

func (Group) Hooks() []ent.Hook

Hooks of the Group

func (Group) Indexes

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

Indexes of the Group

func (Group) Interceptors

func (Group) Interceptors() []ent.Interceptor

Interceptors of the Group

func (Group) Mixin

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

Mixin of the Group

func (Group) Policy

func (Group) Policy() ent.Policy

Policy of the group

type GroupHistory added in v0.4.5

type GroupHistory struct {
	ent.Schema
}

GroupHistory holds the schema definition for the GroupHistory entity.

func (GroupHistory) Annotations added in v0.4.5

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

Annotations of the GroupHistory.

func (GroupHistory) Fields added in v0.4.5

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

Fields of the GroupHistory.

func (GroupHistory) Indexes added in v0.4.5

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

type GroupMembership added in v0.2.4

type GroupMembership struct {
	ent.Schema
}

GroupMembership holds the schema definition for the GroupMembership entity

func (GroupMembership) Annotations added in v0.2.4

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

Annotations of the GroupMembership

func (GroupMembership) Edges added in v0.2.4

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

Edges of the GroupMembership

func (GroupMembership) Fields added in v0.2.4

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

Fields of the GroupMembership

func (GroupMembership) Hooks added in v0.2.5

func (GroupMembership) Hooks() []ent.Hook

Hooks of the GroupMembership

func (GroupMembership) Indexes added in v0.2.5

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

Indexes of the GroupMembership

func (GroupMembership) Mixin added in v0.2.4

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

Mixin of the GroupMembership

func (GroupMembership) Policy added in v0.3.2

func (GroupMembership) Policy() ent.Policy

Policy of the GroupMembership

type GroupMembershipHistory added in v0.4.5

type GroupMembershipHistory struct {
	ent.Schema
}

GroupMembershipHistory holds the schema definition for the GroupMembershipHistory entity.

func (GroupMembershipHistory) Annotations added in v0.4.5

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

Annotations of the GroupMembershipHistory.

func (GroupMembershipHistory) Fields added in v0.4.5

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

Fields of the GroupMembershipHistory.

func (GroupMembershipHistory) Indexes added in v0.4.5

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

type GroupSetting

type GroupSetting struct {
	ent.Schema
}

GroupSetting holds the schema definition for the GroupSetting entity

func (GroupSetting) Annotations

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

Annotations of the GroupSetting

func (GroupSetting) Edges

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

Edges of the GroupSetting

func (GroupSetting) Fields

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

Fields of the GroupSetting.

func (GroupSetting) Mixin

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

Mixin of the GroupSetting

func (GroupSetting) Policy added in v0.3.5

func (GroupSetting) Policy() ent.Policy

Policy defines the privacy policy of the GroupSetting

type GroupSettingHistory added in v0.4.5

type GroupSettingHistory struct {
	ent.Schema
}

GroupSettingHistory holds the schema definition for the GroupSettingHistory entity.

func (GroupSettingHistory) Annotations added in v0.4.5

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

Annotations of the GroupSettingHistory.

func (GroupSettingHistory) Fields added in v0.4.5

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

Fields of the GroupSettingHistory.

func (GroupSettingHistory) Indexes added in v0.4.5

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

type Hush added in v0.5.0

type Hush struct {
	ent.Schema
}

Hush maps configured integrations (github, slack, etc.) to organizations

func (Hush) Annotations added in v0.5.0

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

Annotations of the Hushhh

func (Hush) Edges added in v0.5.0

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

Edges of the Hush

func (Hush) Fields added in v0.5.0

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

Fields of the Hush

func (Hush) Hooks added in v0.5.0

func (Hush) Hooks() []ent.Hook

Hooks of the Hush

func (Hush) Interceptors added in v0.5.0

func (Hush) Interceptors() []ent.Interceptor

Interceptors of the Hush

func (Hush) Mixin added in v0.5.0

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

Mixin of the Hush shhhh

type HushHistory added in v0.5.0

type HushHistory struct {
	ent.Schema
}

HushHistory holds the schema definition for the HushHistory entity.

func (HushHistory) Annotations added in v0.5.0

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

Annotations of the HushHistory.

func (HushHistory) Fields added in v0.5.0

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

Fields of the HushHistory.

func (HushHistory) Indexes added in v0.5.0

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

type Integration

type Integration struct {
	ent.Schema
}

Integration maps configured integrations (github, slack, etc.) to organizations

func (Integration) Annotations

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

Annotations of the Integration

func (Integration) Edges

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

Edges of the Integration

func (Integration) Fields

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

Fields of the Integration

func (Integration) Mixin

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

Mixin of the Integration

func (Integration) Policy added in v0.3.6

func (Integration) Policy() ent.Policy

Policy of the Integration

type IntegrationHistory added in v0.4.5

type IntegrationHistory struct {
	ent.Schema
}

IntegrationHistory holds the schema definition for the IntegrationHistory entity.

func (IntegrationHistory) Annotations added in v0.4.5

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

Annotations of the IntegrationHistory.

func (IntegrationHistory) Fields added in v0.4.5

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

Fields of the IntegrationHistory.

func (IntegrationHistory) Indexes added in v0.4.5

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

type Invite added in v0.2.6

type Invite struct {
	ent.Schema
}

Invite holds the schema definition for the Invite entity

func (Invite) Annotations added in v0.2.6

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

Annotations of the Invite

func (Invite) Edges added in v0.2.6

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

Edges of the Invite

func (Invite) Fields added in v0.2.6

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

Fields of the Invite

func (Invite) Hooks added in v0.2.6

func (Invite) Hooks() []ent.Hook

Hooks of the Invite

func (Invite) Indexes added in v0.2.6

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

Indexes of the Invite

func (Invite) Mixin added in v0.2.6

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

Mixin of the Invite

func (Invite) Policy added in v0.2.6

func (Invite) Policy() ent.Policy

Policy of the Invite

type OauthProvider

type OauthProvider struct {
	ent.Schema
}

OauthProvider holds the schema definition for the OauthProvider entity

func (OauthProvider) Annotations

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

Annotations of the OauthProvider

func (OauthProvider) Edges

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

Edges of the OauthProvider

func (OauthProvider) Fields

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

Fields of the OauthProvider

func (OauthProvider) Mixin

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

Mixin of the OauthProvider

func (OauthProvider) Policy added in v0.6.1

func (OauthProvider) Policy() ent.Policy

Policy of the OauthProvider

type OauthProviderHistory added in v0.4.5

type OauthProviderHistory struct {
	ent.Schema
}

OauthProviderHistory holds the schema definition for the OauthProviderHistory entity.

func (OauthProviderHistory) Annotations added in v0.4.5

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

Annotations of the OauthProviderHistory.

func (OauthProviderHistory) Fields added in v0.4.5

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

Fields of the OauthProviderHistory.

func (OauthProviderHistory) Indexes added in v0.4.5

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

type OhAuthTooToken

type OhAuthTooToken struct {
	ent.Schema
}

OhAuthTooToken holds the schema definition for the OhAuthTooToken entity

func (OhAuthTooToken) Annotations

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

Annotations of the OhAuthTooToken

func (OhAuthTooToken) Edges

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

Edges of the OhAuthTooToken

func (OhAuthTooToken) Fields

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

Fields of the OhAuthTooToken

func (OhAuthTooToken) Mixin

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

Mixin of the OhAuthTooToken

type OrgMembership added in v0.2.4

type OrgMembership struct {
	ent.Schema
}

OrgMembership holds the schema definition for the OrgMembership entity

func (OrgMembership) Annotations added in v0.2.4

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

Annotations of the OrgMembership

func (OrgMembership) Edges added in v0.2.4

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

Edges of the OrgMembership

func (OrgMembership) Fields added in v0.2.4

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

Fields of the OrgMembership

func (OrgMembership) Hooks added in v0.2.5

func (OrgMembership) Hooks() []ent.Hook

Hooks of the OrgMembership

func (OrgMembership) Indexes added in v0.2.5

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

func (OrgMembership) Interceptors added in v0.5.2

func (OrgMembership) Interceptors() []ent.Interceptor

Interceptors of the OrgMembership

func (OrgMembership) Mixin added in v0.2.4

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

Mixin of the OrgMembership

func (OrgMembership) Policy added in v0.3.2

func (OrgMembership) Policy() ent.Policy

Policy of the OrgMembership

type OrgMembershipHistory added in v0.4.5

type OrgMembershipHistory struct {
	ent.Schema
}

OrgMembershipHistory holds the schema definition for the OrgMembershipHistory entity.

func (OrgMembershipHistory) Annotations added in v0.4.5

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

Annotations of the OrgMembershipHistory.

func (OrgMembershipHistory) Fields added in v0.4.5

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

Fields of the OrgMembershipHistory.

func (OrgMembershipHistory) Indexes added in v0.4.5

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

type OrgOwnerMixin added in v0.2.4

type OrgOwnerMixin struct {
	mixin.Schema
	// Ref table for the id
	Ref string
	// Required makes the owner id field required as input
	Required bool
	// AllowEmpty allows the owner id field to be empty
	AllowEmpty bool
	// SkipOASGeneration skips open api spec generation for the field
	SkipOASGeneration bool
	// SkipInterceptor skips the interceptor for that schema for all queries, or specific types,
	// this is useful for tokens, etc
	SkipInterceptor interceptors.SkipMode
	// SkipTokenType skips the traverser or hook if the token type is found in the context
	SkipTokenType []token.PrivacyToken
}

OrgOwnerMixin is a mixin for organization owned entities that adds an owner field to the schema and automatically sets the owner id on mutations and filters by owner on queries. In some cases, the owner ID may not be wanted on a query or hook (e.g. before the user is authenticated) In these cases, the SkipTokenType field can be used to skip the traverser or hook if the token type is found in the context or the SkipInterceptor field can be used to skip the interceptor for that schema for all queries, or specific types

func (OrgOwnerMixin) Edges added in v0.2.4

func (orgOwned OrgOwnerMixin) Edges() []ent.Edge

Edges of the OrgOwnerMixin

func (OrgOwnerMixin) Fields added in v0.2.4

func (orgOwned OrgOwnerMixin) Fields() []ent.Field

Fields of the OrgOwnerMixin

func (OrgOwnerMixin) Hooks added in v0.5.0

func (orgOwned OrgOwnerMixin) Hooks() []ent.Hook

Hooks of the OrgOwnerMixin

func (OrgOwnerMixin) Interceptors added in v0.5.0

func (orgOwned OrgOwnerMixin) Interceptors() []ent.Interceptor

Interceptors of the OrgOwnerMixin

func (OrgOwnerMixin) P added in v0.5.0

func (orgOwned OrgOwnerMixin) P(w interface{ WhereP(...func(*sql.Selector)) }, orgIDs []string)

P adds a storage-level predicate to the queries and mutations.

type Organization

type Organization struct {
	ent.Schema
}

Organization holds the schema definition for the Organization entity - organizations are the top level tenancy construct in the system

func (Organization) Annotations

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

Annotations of the Organization

func (Organization) Edges

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

Edges of the Organization

func (Organization) Fields

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

Fields of the Organization

func (Organization) Hooks

func (Organization) Hooks() []ent.Hook

Hooks of the Organization

func (Organization) Indexes

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

func (Organization) Interceptors

func (Organization) Interceptors() []ent.Interceptor

Interceptors of the Organization

func (Organization) Mixin

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

Mixin of the Organization

func (Organization) Policy

func (Organization) Policy() ent.Policy

Policy defines the privacy policy of the Organization.

type OrganizationHistory added in v0.4.3

type OrganizationHistory struct {
	ent.Schema
}

OrganizationHistory holds the schema definition for the OrganizationHistory entity.

func (OrganizationHistory) Annotations added in v0.4.3

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

Annotations of the OrganizationHistory.

func (OrganizationHistory) Fields added in v0.4.3

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

Fields of the OrganizationHistory.

func (OrganizationHistory) Indexes added in v0.4.3

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

type OrganizationSetting

type OrganizationSetting struct {
	ent.Schema
}

OrganizationSetting holds the schema definition for the OrganizationSetting entity

func (OrganizationSetting) Annotations

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

Annotations of the OrganizationSetting

func (OrganizationSetting) Edges

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

Edges of the OrganizationSetting

func (OrganizationSetting) Fields

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

Fields of the OrganizationSetting

func (OrganizationSetting) Interceptors added in v0.5.0

func (OrganizationSetting) Interceptors() []ent.Interceptor

Interceptors of the OrganizationSetting

func (OrganizationSetting) Mixin

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

Mixin of the OrganizationSetting

func (OrganizationSetting) Policy added in v0.3.5

func (OrganizationSetting) Policy() ent.Policy

Policy defines the privacy policy of the OrganizationSetting

type OrganizationSettingHistory added in v0.4.3

type OrganizationSettingHistory struct {
	ent.Schema
}

OrganizationSettingHistory holds the schema definition for the OrganizationSettingHistory entity.

func (OrganizationSettingHistory) Annotations added in v0.4.3

Annotations of the OrganizationSettingHistory.

func (OrganizationSettingHistory) Fields added in v0.4.3

Fields of the OrganizationSettingHistory.

func (OrganizationSettingHistory) Indexes added in v0.4.3

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

type PasswordResetToken added in v0.2.3

type PasswordResetToken struct {
	ent.Schema
}

PasswordResetToken holds the schema definition for the PasswordResetToken entity

func (PasswordResetToken) Annotations added in v0.2.3

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

Annotations of the PasswordResetToken

func (PasswordResetToken) Edges added in v0.2.3

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

Edges of the PasswordResetToken

func (PasswordResetToken) Fields added in v0.2.3

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

Fields of the PasswordResetToken

func (PasswordResetToken) Hooks added in v0.2.3

func (PasswordResetToken) Hooks() []ent.Hook

Hooks of the PasswordResetToken

func (PasswordResetToken) Indexes added in v0.2.3

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

Indexes of the PasswordResetToken

func (PasswordResetToken) Mixin added in v0.2.3

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

Mixin of the PasswordResetToken

func (PasswordResetToken) Policy added in v0.2.4

func (PasswordResetToken) Policy() ent.Policy

Policy of the PasswordResetToken

type PersonalAccessToken

type PersonalAccessToken struct {
	ent.Schema
}

PersonalAccessToken holds the schema definition for the PersonalAccessToken entity.

func (PersonalAccessToken) Annotations

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

Annotations of the PersonalAccessToken

func (PersonalAccessToken) Edges

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

Edges of the PersonalAccessToken

func (PersonalAccessToken) Fields

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

Fields of the PersonalAccessToken

func (PersonalAccessToken) Hooks

func (PersonalAccessToken) Hooks() []ent.Hook

Hooks of the PersonalAccessToken

func (PersonalAccessToken) Indexes

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

Indexes of the PersonalAccessToken

func (PersonalAccessToken) Interceptors added in v0.3.3

func (PersonalAccessToken) Interceptors() []ent.Interceptor

Interceptors of the PersonalAccessToken

func (PersonalAccessToken) Mixin

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

Mixin of the PersonalAccessToken

func (PersonalAccessToken) Policy added in v0.3.3

func (PersonalAccessToken) Policy() ent.Policy

Policy of the PersonalAccessToken

type Subscriber added in v0.3.6

type Subscriber struct {
	ent.Schema
}

Subscriber holds the schema definition for the Subscriber entity

func (Subscriber) Annotations added in v0.3.6

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

Annotations of the Subscriber

func (Subscriber) Edges added in v0.3.6

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

Edges of the Subscriber

func (Subscriber) Fields added in v0.3.6

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

Fields of the Subscriber

func (Subscriber) Hooks added in v0.3.6

func (Subscriber) Hooks() []ent.Hook

func (Subscriber) Indexes added in v0.3.6

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

Indexes of the Subscriber

func (Subscriber) Mixin added in v0.3.6

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

Mixin of the Subscriber

func (Subscriber) Policy added in v0.3.6

func (Subscriber) Policy() ent.Policy

Policy of the Subscriber

type TFASetting added in v0.4.4

type TFASetting struct {
	ent.Schema
}

TFASetting holds the schema definition for the TFASetting entity

func (TFASetting) Annotations added in v0.4.4

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

Annotations of the TFASetting

func (TFASetting) Fields added in v0.4.4

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

Fields of the TFASetting

func (TFASetting) Hooks added in v0.4.4

func (TFASetting) Hooks() []ent.Hook

Hooks of the TFASetting

func (TFASetting) Mixin added in v0.4.4

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

Mixin of the TFASetting

type Template added in v0.4.3

type Template struct {
	ent.Schema
}

Template holds the schema definition for the Template entity

func (Template) Annotations added in v0.4.3

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

Annotations of the Template

func (Template) Edges added in v0.4.3

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

Edges of the Template

func (Template) Fields added in v0.4.3

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

Fields of the Template

func (Template) Indexes added in v0.4.3

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

Indexes of the Template

func (Template) Mixin added in v0.4.3

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

Mixin of the Template

func (Template) Policy added in v0.6.1

func (Template) Policy() ent.Policy

Policy of the Template

type TemplateHistory added in v0.4.5

type TemplateHistory struct {
	ent.Schema
}

TemplateHistory holds the schema definition for the TemplateHistory entity.

func (TemplateHistory) Annotations added in v0.4.5

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

Annotations of the TemplateHistory.

func (TemplateHistory) Fields added in v0.4.5

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

Fields of the TemplateHistory.

func (TemplateHistory) Indexes added in v0.4.5

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

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Annotations

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

Annotations of the User

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

func (User) Hooks() []ent.Hook

func (User) Indexes

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

Indexes of the User

func (User) Interceptors added in v0.2.4

func (d User) Interceptors() []ent.Interceptor

Interceptors of the User.

func (User) Mixin

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

Mixin of the User

func (User) Policy

func (User) Policy() ent.Policy

Policy of the User

type UserHistory added in v0.4.5

type UserHistory struct {
	ent.Schema
}

UserHistory holds the schema definition for the UserHistory entity.

func (UserHistory) Annotations added in v0.4.5

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

Annotations of the UserHistory.

func (UserHistory) Fields added in v0.4.5

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

Fields of the UserHistory.

func (UserHistory) Indexes added in v0.4.5

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

type UserOwnedMixin added in v0.2.4

type UserOwnedMixin struct {
	mixin.Schema
	// Ref table for the id
	Ref string
	// Optional makes the owner id field not required
	Optional bool
	// AllowUpdate allows the owner id field to be updated
	AllowUpdate bool
	// SkipOASGeneration skips open api spec generation for the field
	SkipOASGeneration bool
	// SoftDeleteIndex creates a unique index on the owner id field where deleted_at is null
	SoftDeleteIndex bool
	// AllowWhere includes the owner_id field in gql generated fields
	AllowWhere bool
	// SkipInterceptor skips the interceptor for that schema for all queries, or specific types,
	// this is useful for tokens, etc
	SkipInterceptor interceptors.SkipMode
	// SkipTokenType skips the traverser or hook if the token type is found in the context
	SkipTokenType []token.PrivacyToken
}

func (UserOwnedMixin) Edges added in v0.2.4

func (userOwned UserOwnedMixin) Edges() []ent.Edge

Edges of the UserOwnedMixin

func (UserOwnedMixin) Fields added in v0.2.4

func (userOwned UserOwnedMixin) Fields() []ent.Field

Fields of the UserOwnedMixin

func (UserOwnedMixin) Hooks added in v0.7.5

func (userOwned UserOwnedMixin) Hooks() []ent.Hook

Hooks of the UserOwnedMixin

func (UserOwnedMixin) Indexes added in v0.3.6

func (userOwned UserOwnedMixin) Indexes() []ent.Index

Indexes of the UserOwnedMixin

func (UserOwnedMixin) Interceptors added in v0.5.0

func (userOwned UserOwnedMixin) Interceptors() []ent.Interceptor

func (UserOwnedMixin) P added in v0.5.0

func (userOwned UserOwnedMixin) P(w interface{ WhereP(...func(*sql.Selector)) }, userID string)

P adds a storage-level predicate to the queries and mutations.

type UserSetting

type UserSetting struct {
	ent.Schema
}

UserSetting holds the schema definition for the User entity.

func (UserSetting) Annotations

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

Annotations of the UserSetting

func (UserSetting) Edges

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

Edges of the UserSetting

func (UserSetting) Fields

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

Fields of the UserSetting

func (UserSetting) Hooks added in v0.3.4

func (UserSetting) Hooks() []ent.Hook

Hooks of the UserSetting.

func (UserSetting) Interceptors added in v0.3.4

func (d UserSetting) Interceptors() []ent.Interceptor

Interceptors of the UserSetting.

func (UserSetting) Mixin

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

Mixin of the UserSetting

func (UserSetting) Policy added in v0.3.4

func (UserSetting) Policy() ent.Policy

type UserSettingHistory added in v0.4.5

type UserSettingHistory struct {
	ent.Schema
}

UserSettingHistory holds the schema definition for the UserSettingHistory entity.

func (UserSettingHistory) Annotations added in v0.4.5

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

Annotations of the UserSettingHistory.

func (UserSettingHistory) Fields added in v0.4.5

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

Fields of the UserSettingHistory.

func (UserSettingHistory) Indexes added in v0.4.5

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

type Webauthn added in v0.3.0

type Webauthn struct {
	ent.Schema
}

Webauthn holds the schema definition for the Webauthn entity

func (Webauthn) Annotations added in v0.3.0

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

Annotations of the Webauthn

func (Webauthn) Edges added in v0.3.0

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

Edges of the Webauthn

func (Webauthn) Fields added in v0.3.0

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

Fields of the Webauthn

func (Webauthn) Mixin added in v0.3.0

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

Mixin of the Webauthn

type Webhook added in v0.5.0

type Webhook struct {
	ent.Schema
}

Webhook holds the schema definition for the Webhook entity

func (Webhook) Annotations added in v0.5.0

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

Annotations of the Webhook

func (Webhook) Edges added in v0.5.0

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

Edges of the Webhook

func (Webhook) Fields added in v0.5.0

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

Fields of the Webhook

func (Webhook) Indexes added in v0.5.0

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

Indexes of the Webhook

func (Webhook) Mixin added in v0.5.0

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

Mixin of the Webhook

type WebhookHistory added in v0.5.0

type WebhookHistory struct {
	ent.Schema
}

WebhookHistory holds the schema definition for the WebhookHistory entity.

func (WebhookHistory) Annotations added in v0.5.0

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

Annotations of the WebhookHistory.

func (WebhookHistory) Fields added in v0.5.0

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

Fields of the WebhookHistory.

func (WebhookHistory) Indexes added in v0.5.0

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

Jump to

Keyboard shortcuts

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