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 ¶
- Variables
- type APIToken
- func (APIToken) Annotations() []schema.Annotation
- func (APIToken) Edges() []ent.Edge
- func (APIToken) Fields() []ent.Field
- func (APIToken) Hooks() []ent.Hook
- func (APIToken) Indexes() []ent.Index
- func (APIToken) Interceptors() []ent.Interceptor
- func (APIToken) Mixin() []ent.Mixin
- func (APIToken) Policy() ent.Policy
- type DocumentData
- type DocumentDataHistory
- type EmailVerificationToken
- func (EmailVerificationToken) Annotations() []schema.Annotation
- func (EmailVerificationToken) Edges() []ent.Edge
- func (EmailVerificationToken) Fields() []ent.Field
- func (EmailVerificationToken) Hooks() []ent.Hook
- func (EmailVerificationToken) Indexes() []ent.Index
- func (EmailVerificationToken) Mixin() []ent.Mixin
- func (EmailVerificationToken) Policy() ent.Policy
- type Entitlement
- type EntitlementHistory
- type Event
- type EventHistory
- type Feature
- type FeatureHistory
- type File
- type FileHistory
- type Group
- type GroupHistory
- type GroupMembership
- func (GroupMembership) Annotations() []schema.Annotation
- func (GroupMembership) Edges() []ent.Edge
- func (GroupMembership) Fields() []ent.Field
- func (GroupMembership) Hooks() []ent.Hook
- func (GroupMembership) Indexes() []ent.Index
- func (GroupMembership) Mixin() []ent.Mixin
- func (GroupMembership) Policy() ent.Policy
- type GroupMembershipHistory
- type GroupSetting
- type GroupSettingHistory
- type Hush
- type HushHistory
- type Integration
- type IntegrationHistory
- type Invite
- type OauthProvider
- type OauthProviderHistory
- type OhAuthTooToken
- type OrgMembership
- func (OrgMembership) Annotations() []schema.Annotation
- func (OrgMembership) Edges() []ent.Edge
- func (OrgMembership) Fields() []ent.Field
- func (OrgMembership) Hooks() []ent.Hook
- func (OrgMembership) Indexes() []ent.Index
- func (OrgMembership) Interceptors() []ent.Interceptor
- func (OrgMembership) Mixin() []ent.Mixin
- func (OrgMembership) Policy() ent.Policy
- type OrgMembershipHistory
- type OrgOwnerMixin
- type Organization
- func (Organization) Annotations() []schema.Annotation
- func (Organization) Edges() []ent.Edge
- func (Organization) Fields() []ent.Field
- func (Organization) Hooks() []ent.Hook
- func (Organization) Indexes() []ent.Index
- func (Organization) Interceptors() []ent.Interceptor
- func (Organization) Mixin() []ent.Mixin
- func (Organization) Policy() ent.Policy
- type OrganizationHistory
- type OrganizationSetting
- func (OrganizationSetting) Annotations() []schema.Annotation
- func (OrganizationSetting) Edges() []ent.Edge
- func (OrganizationSetting) Fields() []ent.Field
- func (OrganizationSetting) Interceptors() []ent.Interceptor
- func (OrganizationSetting) Mixin() []ent.Mixin
- func (OrganizationSetting) Policy() ent.Policy
- type OrganizationSettingHistory
- type PasswordResetToken
- func (PasswordResetToken) Annotations() []schema.Annotation
- func (PasswordResetToken) Edges() []ent.Edge
- func (PasswordResetToken) Fields() []ent.Field
- func (PasswordResetToken) Hooks() []ent.Hook
- func (PasswordResetToken) Indexes() []ent.Index
- func (PasswordResetToken) Mixin() []ent.Mixin
- func (PasswordResetToken) Policy() ent.Policy
- type PersonalAccessToken
- func (PersonalAccessToken) Annotations() []schema.Annotation
- func (PersonalAccessToken) Edges() []ent.Edge
- func (PersonalAccessToken) Fields() []ent.Field
- func (PersonalAccessToken) Hooks() []ent.Hook
- func (PersonalAccessToken) Indexes() []ent.Index
- func (PersonalAccessToken) Interceptors() []ent.Interceptor
- func (PersonalAccessToken) Mixin() []ent.Mixin
- func (PersonalAccessToken) Policy() ent.Policy
- type Subscriber
- type TFASetting
- type Template
- type TemplateHistory
- type User
- type UserHistory
- type UserOwnedMixin
- type UserSetting
- func (UserSetting) Annotations() []schema.Annotation
- func (UserSetting) Edges() []ent.Edge
- func (UserSetting) Fields() []ent.Field
- func (UserSetting) Hooks() []ent.Hook
- func (d UserSetting) Interceptors() []ent.Interceptor
- func (UserSetting) Mixin() []ent.Mixin
- func (UserSetting) Policy() ent.Policy
- type UserSettingHistory
- type Webauthn
- type Webhook
- type WebhookHistory
Constants ¶
This section is empty.
Variables ¶
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
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) Interceptors ¶ added in v0.5.0
func (APIToken) Interceptors() []ent.Interceptor
Interceptors of the APIToken
type DocumentData ¶ added in v0.4.4
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
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
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
func (EmailVerificationToken) Policy() ent.Policy
Policy of the EmailVerificationToken
type Entitlement ¶
Entitlement holds the schema definition for the Entitlement entity.
func (Entitlement) Annotations ¶
func (Entitlement) Annotations() []schema.Annotation
Annotations 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
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
func (Event) Annotations ¶ added in v0.5.0
func (Event) Annotations() []schema.Annotation
Annotations of the Event
type EventHistory ¶ added in v0.5.0
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
Feature defines the feature schema
func (Feature) Annotations ¶ added in v0.5.0
func (Feature) Annotations() []schema.Annotation
Annotations of the Feature
type FeatureHistory ¶ added in v0.5.0
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
File defines the file schema.
func (File) Annotations ¶ added in v0.5.0
func (File) Annotations() []schema.Annotation
Annotations of the File
type FileHistory ¶ added in v0.5.0
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 GroupHistory ¶ added in v0.4.5
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
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
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 ¶
GroupSetting holds the schema definition for the GroupSetting entity
func (GroupSetting) Annotations ¶
func (GroupSetting) Annotations() []schema.Annotation
Annotations 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
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
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) Interceptors ¶ added in v0.5.0
func (Hush) Interceptors() []ent.Interceptor
Interceptors of the Hush
type HushHistory ¶ added in v0.5.0
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 ¶
Integration maps configured integrations (github, slack, etc.) to organizations
func (Integration) Annotations ¶
func (Integration) Annotations() []schema.Annotation
Annotations 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
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
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
type OauthProvider ¶
OauthProvider holds the schema definition for the OauthProvider entity
func (OauthProvider) Annotations ¶
func (OauthProvider) Annotations() []schema.Annotation
Annotations 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
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 ¶
OhAuthTooToken holds the schema definition for the OhAuthTooToken entity
func (OhAuthTooToken) Annotations ¶
func (OhAuthTooToken) Annotations() []schema.Annotation
Annotations of the OhAuthTooToken
func (OhAuthTooToken) Fields ¶
func (OhAuthTooToken) Fields() []ent.Field
Fields of the OhAuthTooToken
type OrgMembership ¶ added in v0.2.4
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
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
type Organization ¶
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) Indexes ¶
func (Organization) Indexes() []ent.Index
func (Organization) Interceptors ¶
func (Organization) Interceptors() []ent.Interceptor
Interceptors 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
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 ¶
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
OrganizationSettingHistory holds the schema definition for the OrganizationSettingHistory entity.
func (OrganizationSettingHistory) Annotations ¶ added in v0.4.3
func (OrganizationSettingHistory) Annotations() []schema.Annotation
Annotations of the OrganizationSettingHistory.
func (OrganizationSettingHistory) Fields ¶ added in v0.4.3
func (OrganizationSettingHistory) Fields() []ent.Field
Fields of the OrganizationSettingHistory.
func (OrganizationSettingHistory) Indexes ¶ added in v0.4.3
func (OrganizationSettingHistory) Indexes() []ent.Index
type PasswordResetToken ¶ added in v0.2.3
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 ¶
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
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
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
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
type TemplateHistory ¶ added in v0.4.5
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 ¶
User holds the schema definition for the User entity.
func (User) Interceptors ¶ added in v0.2.4
func (d User) Interceptors() []ent.Interceptor
Interceptors of the User.
type UserHistory ¶ added in v0.4.5
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
type UserSetting ¶
UserSetting holds the schema definition for the User entity.
func (UserSetting) Annotations ¶
func (UserSetting) Annotations() []schema.Annotation
Annotations 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) Policy ¶ added in v0.3.4
func (UserSetting) Policy() ent.Policy
type UserSettingHistory ¶ added in v0.4.5
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
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
type Webhook ¶ added in v0.5.0
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
type WebhookHistory ¶ added in v0.5.0
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
Source Files ¶
- apitoken.go
- doc.go
- documentdata.go
- documentdata_history.go
- emailverificationtoken.go
- entitlement.go
- entitlement_history.go
- errors.go
- event.go
- event_history.go
- feature.go
- feature_history.go
- file.go
- file_history.go
- group.go
- group_history.go
- groupmembership.go
- groupmembership_history.go
- groupsetting.go
- groupsetting_history.go
- hush.go
- hush_history.go
- integration.go
- integration_history.go
- invite.go
- oauthprovider.go
- oauthprovider_history.go
- ohauthtootoken.go
- org_owned_mixin.go
- organization.go
- organization_history.go
- organizationsetting.go
- organizationsetting_history.go
- orgmembership.go
- orgmembership_history.go
- passwordresettoken.go
- personalaccesstoken.go
- subscriber.go
- template.go
- template_history.go
- tfasetting.go
- user.go
- user_history.go
- user_owned_mixin.go
- usersetting.go
- usersetting_history.go
- webauthn.go
- webhook.go
- webhook_history.go