schema

package
v0.0.0-...-7abf5e3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 39 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")
)

Functions

This section is empty.

Types

type APIToken

type APIToken struct {
	ent.Schema
}

APIToken holds the schema definition for the APIToken entity.

func (APIToken) Annotations

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

Annotations of the APIToken

func (APIToken) Edges

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

Edges of the APIToken

func (APIToken) Fields

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

Fields of the APIToken

func (APIToken) Hooks

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

Hooks of the APIToken

func (APIToken) Indexes

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

Indexes of the APIToken

func (APIToken) Interceptors

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

Interceptors of the APIToken

func (APIToken) Mixin

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

Mixin of the APIToken

func (APIToken) Policy

func (APIToken) Policy() ent.Policy

Policy of the APIToken

type DocumentData

type DocumentData struct {
	ent.Schema
}

DocumentData holds the schema definition for the DocumentData entity

func (DocumentData) Annotations

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

Annotations of the DocumentData

func (DocumentData) Edges

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

Edges of the DocumentData

func (DocumentData) Fields

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

Fields of the DocumentData

func (DocumentData) Mixin

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

Mixin of the DocumentData

type DocumentDataHistory

type DocumentDataHistory struct {
	ent.Schema
}

DocumentDataHistory holds the schema definition for the DocumentDataHistory entity.

func (DocumentDataHistory) Annotations

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

Annotations of the DocumentDataHistory.

func (DocumentDataHistory) Fields

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

Fields of the DocumentDataHistory.

func (DocumentDataHistory) Indexes

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

type EmailVerificationToken

type EmailVerificationToken struct {
	ent.Schema
}

EmailVerificationToken holds the schema definition for the EmailVerificationToken entity

func (EmailVerificationToken) Annotations

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

Annotations of the EmailVerificationToken

func (EmailVerificationToken) Edges

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

Edges of the EmailVerificationToken

func (EmailVerificationToken) Fields

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

Fields of the EmailVerificationToken

func (EmailVerificationToken) Hooks

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

Hooks of the EmailVerificationToken

func (EmailVerificationToken) Indexes

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

Indexes of the EmailVerificationToken

func (EmailVerificationToken) Mixin

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

Mixin of the EmailVerificationToken

func (EmailVerificationToken) Policy

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

type EntitlementHistory struct {
	ent.Schema
}

EntitlementHistory holds the schema definition for the EntitlementHistory entity.

func (EntitlementHistory) Annotations

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

Annotations of the EntitlementHistory.

func (EntitlementHistory) Fields

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

Fields of the EntitlementHistory.

func (EntitlementHistory) Indexes

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

type Event

type Event struct {
	ent.Schema
}

func (Event) Annotations

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

Annotations of the Event

func (Event) Edges

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

Edges of the Event

func (Event) Fields

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

Fields of the TicketEvent.

func (Event) Mixin

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

Mixin of the Event

type EventHistory

type EventHistory struct {
	ent.Schema
}

EventHistory holds the schema definition for the EventHistory entity.

func (EventHistory) Annotations

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

Annotations of the EventHistory.

func (EventHistory) Fields

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

Fields of the EventHistory.

func (EventHistory) Indexes

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

type Feature

type Feature struct {
	ent.Schema
}

Feature defines the feature schema

func (Feature) Annotations

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

Annotations of the Feature

func (Feature) Edges

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

Edges returns feature edges

func (Feature) Fields

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

Fields returns feature fields

func (Feature) Mixin

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

Mixin of the Feature

type FeatureHistory

type FeatureHistory struct {
	ent.Schema
}

FeatureHistory holds the schema definition for the FeatureHistory entity.

func (FeatureHistory) Annotations

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

Annotations of the FeatureHistory.

func (FeatureHistory) Fields

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

Fields of the FeatureHistory.

func (FeatureHistory) Indexes

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

type File

type File struct {
	ent.Schema
}

File defines the file schema.

func (File) Annotations

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

Annotations of the File

func (File) Edges

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

Edges of the File

func (File) Fields

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

Fields returns file fields.

func (File) Mixin

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

Mixin of the File

type FileHistory

type FileHistory struct {
	ent.Schema
}

FileHistory holds the schema definition for the FileHistory entity.

func (FileHistory) Annotations

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

Annotations of the FileHistory.

func (FileHistory) Fields

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

Fields of the FileHistory.

func (FileHistory) Indexes

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

type GroupHistory struct {
	ent.Schema
}

GroupHistory holds the schema definition for the GroupHistory entity.

func (GroupHistory) Annotations

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

Annotations of the GroupHistory.

func (GroupHistory) Fields

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

Fields of the GroupHistory.

func (GroupHistory) Indexes

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

type GroupMembership

type GroupMembership struct {
	ent.Schema
}

GroupMembership holds the schema definition for the GroupMembership entity

func (GroupMembership) Annotations

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

Annotations of the GroupMembership

func (GroupMembership) Edges

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

Edges of the GroupMembership

func (GroupMembership) Fields

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

Fields of the GroupMembership

func (GroupMembership) Hooks

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

Hooks of the GroupMembership

func (GroupMembership) Indexes

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

Indexes of the GroupMembership

func (GroupMembership) Mixin

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

Mixin of the GroupMembership

func (GroupMembership) Policy

func (GroupMembership) Policy() ent.Policy

Policy of the GroupMembership

type GroupMembershipHistory

type GroupMembershipHistory struct {
	ent.Schema
}

GroupMembershipHistory holds the schema definition for the GroupMembershipHistory entity.

func (GroupMembershipHistory) Annotations

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

Annotations of the GroupMembershipHistory.

func (GroupMembershipHistory) Fields

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

Fields of the GroupMembershipHistory.

func (GroupMembershipHistory) Indexes

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

func (GroupSetting) Policy() ent.Policy

Policy defines the privacy policy of the GroupSetting

type GroupSettingHistory

type GroupSettingHistory struct {
	ent.Schema
}

GroupSettingHistory holds the schema definition for the GroupSettingHistory entity.

func (GroupSettingHistory) Annotations

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

Annotations of the GroupSettingHistory.

func (GroupSettingHistory) Fields

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

Fields of the GroupSettingHistory.

func (GroupSettingHistory) Indexes

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

type Hush

type Hush struct {
	ent.Schema
}

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

func (Hush) Annotations

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

Annotations of the Hushhh

func (Hush) Edges

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

Edges of the Hush

func (Hush) Fields

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

Fields of the Hush

func (Hush) Hooks

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

Hooks of the Hush

func (Hush) Interceptors

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

Interceptors of the Hush

func (Hush) Mixin

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

Mixin of the Hush shhhh

type HushHistory

type HushHistory struct {
	ent.Schema
}

HushHistory holds the schema definition for the HushHistory entity.

func (HushHistory) Annotations

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

Annotations of the HushHistory.

func (HushHistory) Fields

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

Fields of the HushHistory.

func (HushHistory) Indexes

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

func (Integration) Policy() ent.Policy

Policy of the Integration

type IntegrationHistory

type IntegrationHistory struct {
	ent.Schema
}

IntegrationHistory holds the schema definition for the IntegrationHistory entity.

func (IntegrationHistory) Annotations

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

Annotations of the IntegrationHistory.

func (IntegrationHistory) Fields

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

Fields of the IntegrationHistory.

func (IntegrationHistory) Indexes

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

type Invite

type Invite struct {
	ent.Schema
}

Invite holds the schema definition for the Invite entity

func (Invite) Annotations

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

Annotations of the Invite

func (Invite) Edges

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

Edges of the Invite

func (Invite) Fields

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

Fields of the Invite

func (Invite) Hooks

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

Hooks of the Invite

func (Invite) Indexes

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

Indexes of the Invite

func (Invite) Mixin

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

Mixin of the Invite

func (Invite) Policy

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

type OauthProviderHistory struct {
	ent.Schema
}

OauthProviderHistory holds the schema definition for the OauthProviderHistory entity.

func (OauthProviderHistory) Annotations

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

Annotations of the OauthProviderHistory.

func (OauthProviderHistory) Fields

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

Fields of the OauthProviderHistory.

func (OauthProviderHistory) Indexes

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

type OrgMembership struct {
	ent.Schema
}

OrgMembership holds the schema definition for the OrgMembership entity

func (OrgMembership) Annotations

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

Annotations of the OrgMembership

func (OrgMembership) Edges

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

Edges of the OrgMembership

func (OrgMembership) Fields

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

Fields of the OrgMembership

func (OrgMembership) Hooks

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

Hooks of the OrgMembership

func (OrgMembership) Indexes

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

func (OrgMembership) Mixin

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

Mixin of the OrgMembership

func (OrgMembership) Policy

func (OrgMembership) Policy() ent.Policy

Policy of the OrgMembership

type OrgMembershipHistory

type OrgMembershipHistory struct {
	ent.Schema
}

OrgMembershipHistory holds the schema definition for the OrgMembershipHistory entity.

func (OrgMembershipHistory) Annotations

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

Annotations of the OrgMembershipHistory.

func (OrgMembershipHistory) Fields

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

Fields of the OrgMembershipHistory.

func (OrgMembershipHistory) Indexes

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

type OrgOwnerMixin

type OrgOwnerMixin struct {
	mixin.Schema
	// Ref table for the id
	Ref string
	// Optional makes the owner id field not required
	Optional 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

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

Edges of the OrgOwnerMixin

func (OrgOwnerMixin) Fields

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

Fields of the OrgOwnerMixin

func (OrgOwnerMixin) Interceptors

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

func (OrgOwnerMixin) P

func (orgOwned OrgOwnerMixin) P(w interface{ WhereP(...func(*sql.Selector)) }, orgID 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

type OrganizationHistory struct {
	ent.Schema
}

OrganizationHistory holds the schema definition for the OrganizationHistory entity.

func (OrganizationHistory) Annotations

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

Annotations of the OrganizationHistory.

func (OrganizationHistory) Fields

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

Fields of the OrganizationHistory.

func (OrganizationHistory) Indexes

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

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

Interceptors of the OrganizationSetting

func (OrganizationSetting) Mixin

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

Mixin of the OrganizationSetting

func (OrganizationSetting) Policy

func (OrganizationSetting) Policy() ent.Policy

Policy defines the privacy policy of the OrganizationSetting

type OrganizationSettingHistory

type OrganizationSettingHistory struct {
	ent.Schema
}

OrganizationSettingHistory holds the schema definition for the OrganizationSettingHistory entity.

func (OrganizationSettingHistory) Annotations

Annotations of the OrganizationSettingHistory.

func (OrganizationSettingHistory) Fields

Fields of the OrganizationSettingHistory.

func (OrganizationSettingHistory) Indexes

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

type PasswordResetToken

type PasswordResetToken struct {
	ent.Schema
}

PasswordResetToken holds the schema definition for the PasswordResetToken entity

func (PasswordResetToken) Annotations

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

Annotations of the PasswordResetToken

func (PasswordResetToken) Edges

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

Edges of the PasswordResetToken

func (PasswordResetToken) Fields

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

Fields of the PasswordResetToken

func (PasswordResetToken) Hooks

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

Hooks of the PasswordResetToken

func (PasswordResetToken) Indexes

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

Indexes of the PasswordResetToken

func (PasswordResetToken) Mixin

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

Mixin of the PasswordResetToken

func (PasswordResetToken) Policy

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

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

Interceptors of the PersonalAccessToken

func (PersonalAccessToken) Mixin

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

Mixin of the PersonalAccessToken

func (PersonalAccessToken) Policy

func (PersonalAccessToken) Policy() ent.Policy

Policy of the PersonalAccessToken

type Subscriber

type Subscriber struct {
	ent.Schema
}

Subscriber holds the schema definition for the Subscriber entity

func (Subscriber) Annotations

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

Annotations of the Subscriber

func (Subscriber) Edges

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

Edges of the Subscriber

func (Subscriber) Fields

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

Fields of the Subscriber

func (Subscriber) Hooks

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

func (Subscriber) Indexes

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

Indexes of the Subscriber

func (Subscriber) Interceptors

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

Interceptors of the Subscriber

func (Subscriber) Mixin

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

Mixin of the Subscriber

func (Subscriber) Policy

func (Subscriber) Policy() ent.Policy

Policy of the Subscriber

type TFASetting

type TFASetting struct {
	ent.Schema
}

TFASetting holds the schema definition for the TFASetting entity

func (TFASetting) Annotations

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

Annotations of the TFASetting

func (TFASetting) Fields

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

Fields of the TFASetting

func (TFASetting) Hooks

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

Hooks of the TFASetting

func (TFASetting) Mixin

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

Mixin of the TFASetting

type Template

type Template struct {
	ent.Schema
}

Template holds the schema definition for the Template entity

func (Template) Annotations

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

Annotations of the Template

func (Template) Edges

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

Edges of the Template

func (Template) Fields

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

Fields of the Template

func (Template) Indexes

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

Indexes of the Template

func (Template) Mixin

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

Mixin of the Template

type TemplateHistory

type TemplateHistory struct {
	ent.Schema
}

TemplateHistory holds the schema definition for the TemplateHistory entity.

func (TemplateHistory) Annotations

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

Annotations of the TemplateHistory.

func (TemplateHistory) Fields

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

Fields of the TemplateHistory.

func (TemplateHistory) Indexes

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

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

type UserHistory struct {
	ent.Schema
}

UserHistory holds the schema definition for the UserHistory entity.

func (UserHistory) Annotations

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

Annotations of the UserHistory.

func (UserHistory) Fields

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

Fields of the UserHistory.

func (UserHistory) Indexes

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

type UserOwnedMixin

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

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

Edges of the UserOwnedMixin

func (UserOwnedMixin) Fields

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

Fields of the UserOwnedMixin

func (UserOwnedMixin) Indexes

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

Indexes of the UserOwnedMixin

func (UserOwnedMixin) Interceptors

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

func (UserOwnedMixin) P

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

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

Hooks of the UserSetting.

func (UserSetting) Interceptors

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

func (UserSetting) Policy() ent.Policy

type UserSettingHistory

type UserSettingHistory struct {
	ent.Schema
}

UserSettingHistory holds the schema definition for the UserSettingHistory entity.

func (UserSettingHistory) Annotations

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

Annotations of the UserSettingHistory.

func (UserSettingHistory) Fields

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

Fields of the UserSettingHistory.

func (UserSettingHistory) Indexes

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

type Webauthn

type Webauthn struct {
	ent.Schema
}

Webauthn holds the schema definition for the Webauthn entity

func (Webauthn) Annotations

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

Annotations of the Webauthn

func (Webauthn) Edges

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

Edges of the Webauthn

func (Webauthn) Fields

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

Fields of the Webauthn

func (Webauthn) Mixin

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

Mixin of the Webauthn

type Webhook

type Webhook struct {
	ent.Schema
}

Webhook holds the schema definition for the Webhook entity

func (Webhook) Annotations

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

Annotations of the Webhook

func (Webhook) Edges

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

Edges of the Webhook

func (Webhook) Fields

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

Fields of the Webhook

func (Webhook) Indexes

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

Indexes of the Webhook

func (Webhook) Mixin

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

Mixin of the Webhook

type WebhookHistory

type WebhookHistory struct {
	ent.Schema
}

WebhookHistory holds the schema definition for the WebhookHistory entity.

func (WebhookHistory) Annotations

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

Annotations of the WebhookHistory.

func (WebhookHistory) Fields

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

Fields of the WebhookHistory.

func (WebhookHistory) Indexes

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

Jump to

Keyboard shortcuts

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