schema

package
v0.5.2 Latest Latest
Warning

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

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

Documentation

Overview

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.

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

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

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

Mixin 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 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) Mixin added in v0.5.0

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

Mixin 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

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
	// 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
}

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

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
}

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