Documentation ¶
Overview ¶
Code generated by enthistory, DO NOT EDIT.
Package schema contains the ent schema ¶
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
Code generated by enthistory, DO NOT EDIT.
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 Contact
- func (Contact) Annotations() []schema.Annotation
- func (Contact) Edges() []ent.Edge
- func (Contact) Fields() []ent.Field
- func (Contact) Hooks() []ent.Hook
- func (Contact) Indexes() []ent.Index
- func (Contact) Interceptors() []ent.Interceptor
- func (Contact) Mixin() []ent.Mixin
- func (Contact) Policy() ent.Policy
- type ContactHistory
- 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 EntitlementPlan
- func (EntitlementPlan) Annotations() []schema.Annotation
- func (EntitlementPlan) Edges() []ent.Edge
- func (EntitlementPlan) Fields() []ent.Field
- func (EntitlementPlan) Hooks() []ent.Hook
- func (EntitlementPlan) Indexes() []ent.Index
- func (EntitlementPlan) Interceptors() []ent.Interceptor
- func (EntitlementPlan) Mixin() []ent.Mixin
- func (EntitlementPlan) Policy() ent.Policy
- type EntitlementPlanFeature
- func (EntitlementPlanFeature) Annotations() []schema.Annotation
- func (EntitlementPlanFeature) Edges() []ent.Edge
- func (EntitlementPlanFeature) Fields() []ent.Field
- func (EntitlementPlanFeature) Hooks() []ent.Hook
- func (EntitlementPlanFeature) Indexes() []ent.Index
- func (EntitlementPlanFeature) Interceptors() []ent.Interceptor
- func (EntitlementPlanFeature) Mixin() []ent.Mixin
- func (EntitlementPlanFeature) Policy() ent.Policy
- type EntitlementPlanFeatureHistory
- func (EntitlementPlanFeatureHistory) Annotations() []schema.Annotation
- func (EntitlementPlanFeatureHistory) Fields() []ent.Field
- func (EntitlementPlanFeatureHistory) Indexes() []ent.Index
- func (EntitlementPlanFeatureHistory) Interceptors() []ent.Interceptor
- func (EntitlementPlanFeatureHistory) Policy() ent.Policy
- type EntitlementPlanHistory
- type Entity
- type EntityHistory
- type EntityType
- func (EntityType) Annotations() []schema.Annotation
- func (EntityType) Edges() []ent.Edge
- func (EntityType) Fields() []ent.Field
- func (EntityType) Hooks() []ent.Hook
- func (EntityType) Indexes() []ent.Index
- func (EntityType) Interceptors() []ent.Interceptor
- func (EntityType) Mixin() []ent.Mixin
- func (EntityType) Policy() ent.Policy
- type EntityTypeHistory
- type Event
- type EventHistory
- type Feature
- func (Feature) Annotations() []schema.Annotation
- func (Feature) Edges() []ent.Edge
- func (Feature) Fields() []ent.Field
- func (Feature) Hooks() []ent.Hook
- func (Feature) Indexes() []ent.Index
- func (Feature) Interceptors() []ent.Interceptor
- func (Feature) Mixin() []ent.Mixin
- func (Feature) Policy() ent.Policy
- 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 Note
- type NoteHistory
- 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
- func (userOwned UserOwnedMixin) Edges() []ent.Edge
- func (userOwned UserOwnedMixin) Fields() []ent.Field
- func (userOwned UserOwnedMixin) Hooks() []ent.Hook
- func (userOwned UserOwnedMixin) Indexes() []ent.Index
- func (userOwned UserOwnedMixin) Interceptors() []ent.Interceptor
- func (userOwned UserOwnedMixin) P(w interface{ ... }, userID string)
- 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") // 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 Contact ¶ added in v0.7.4
Contact holds the schema definition for the Contact entity
func (Contact) Annotations ¶ added in v0.7.4
func (Contact) Annotations() []schema.Annotation
Annotations of the Contact
func (Contact) Interceptors ¶ added in v0.7.4
func (Contact) Interceptors() []ent.Interceptor
Interceptors of the Contact
type ContactHistory ¶ added in v0.7.4
ContactHistory holds the schema definition for the ContactHistory entity.
func (ContactHistory) Annotations ¶ added in v0.7.4
func (ContactHistory) Annotations() []schema.Annotation
Annotations of the ContactHistory.
func (ContactHistory) Fields ¶ added in v0.7.4
func (ContactHistory) Fields() []ent.Field
Fields of the ContactHistory.
func (ContactHistory) Indexes ¶ added in v0.7.4
func (ContactHistory) Indexes() []ent.Index
Indexes of the ContactHistory
func (ContactHistory) Interceptors ¶ added in v0.7.7
func (ContactHistory) Interceptors() []ent.Interceptor
Interceptors of the ContactHistory
func (ContactHistory) Policy ¶ added in v0.7.7
func (ContactHistory) Policy() ent.Policy
Policy of the ContactHistory
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
Indexes of the DocumentDataHistory
func (DocumentDataHistory) Interceptors ¶ added in v0.7.7
func (DocumentDataHistory) Interceptors() []ent.Interceptor
Interceptors of the DocumentDataHistory
func (DocumentDataHistory) Policy ¶ added in v0.7.7
func (DocumentDataHistory) Policy() ent.Policy
Policy of the DocumentDataHistory
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) Hooks ¶ added in v0.7.0
func (Entitlement) Hooks() []ent.Hook
Hooks of the Entitlement
func (Entitlement) Indexes ¶ added in v0.7.0
func (Entitlement) Indexes() []ent.Index
Indexes of the Entitlement
func (Entitlement) 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
Indexes of the EntitlementHistory
func (EntitlementHistory) Interceptors ¶ added in v0.7.7
func (EntitlementHistory) Interceptors() []ent.Interceptor
Interceptors of the EntitlementHistory
func (EntitlementHistory) Policy ¶ added in v0.7.7
func (EntitlementHistory) Policy() ent.Policy
Policy of the EntitlementHistory
type EntitlementPlan ¶ added in v0.7.0
EntitlementPlan holds the schema definition for the EntitlementPlan entity
func (EntitlementPlan) Annotations ¶ added in v0.7.0
func (EntitlementPlan) Annotations() []schema.Annotation
Annotations of the EntitlementPlan
func (EntitlementPlan) Edges ¶ added in v0.7.0
func (EntitlementPlan) Edges() []ent.Edge
Edges of the EntitlementPlan
func (EntitlementPlan) Fields ¶ added in v0.7.0
func (EntitlementPlan) Fields() []ent.Field
Fields of the EntitlementPlan
func (EntitlementPlan) Hooks ¶ added in v0.7.0
func (EntitlementPlan) Hooks() []ent.Hook
Hooks of the EntitlementPlan
func (EntitlementPlan) Indexes ¶ added in v0.7.0
func (EntitlementPlan) Indexes() []ent.Index
Indexes of the EntitlementPlan
func (EntitlementPlan) Interceptors ¶ added in v0.7.0
func (EntitlementPlan) Interceptors() []ent.Interceptor
Interceptors of the EntitlementPlan
func (EntitlementPlan) Mixin ¶ added in v0.7.0
func (EntitlementPlan) Mixin() []ent.Mixin
Mixin of the EntitlementPlan
func (EntitlementPlan) Policy ¶ added in v0.7.0
func (EntitlementPlan) Policy() ent.Policy
Policy of the EntitlementPlan
type EntitlementPlanFeature ¶ added in v0.7.0
EntitlementPlanFeature holds the schema definition for the EntitlementPlanFeature entity
func (EntitlementPlanFeature) Annotations ¶ added in v0.7.0
func (EntitlementPlanFeature) Annotations() []schema.Annotation
Annotations of the EntitlementPlanFeature
func (EntitlementPlanFeature) Edges ¶ added in v0.7.0
func (EntitlementPlanFeature) Edges() []ent.Edge
Edges of the EntitlementPlanFeature
func (EntitlementPlanFeature) Fields ¶ added in v0.7.0
func (EntitlementPlanFeature) Fields() []ent.Field
Fields of the EntitlementPlanFeature
func (EntitlementPlanFeature) Hooks ¶ added in v0.7.0
func (EntitlementPlanFeature) Hooks() []ent.Hook
Hooks of the EntitlementPlanFeature
func (EntitlementPlanFeature) Indexes ¶ added in v0.7.0
func (EntitlementPlanFeature) Indexes() []ent.Index
Indexes of the EntitlementPlanFeature
func (EntitlementPlanFeature) Interceptors ¶ added in v0.7.0
func (EntitlementPlanFeature) Interceptors() []ent.Interceptor
Interceptors of the EntitlementPlanFeature
func (EntitlementPlanFeature) Mixin ¶ added in v0.7.0
func (EntitlementPlanFeature) Mixin() []ent.Mixin
Mixin of the EntitlementPlanFeature
func (EntitlementPlanFeature) Policy ¶ added in v0.7.0
func (EntitlementPlanFeature) Policy() ent.Policy
Policy of the EntitlementPlan
type EntitlementPlanFeatureHistory ¶ added in v0.7.0
EntitlementPlanFeatureHistory holds the schema definition for the EntitlementPlanFeatureHistory entity.
func (EntitlementPlanFeatureHistory) Annotations ¶ added in v0.7.0
func (EntitlementPlanFeatureHistory) Annotations() []schema.Annotation
Annotations of the EntitlementPlanFeatureHistory.
func (EntitlementPlanFeatureHistory) Fields ¶ added in v0.7.0
func (EntitlementPlanFeatureHistory) Fields() []ent.Field
Fields of the EntitlementPlanFeatureHistory.
func (EntitlementPlanFeatureHistory) Indexes ¶ added in v0.7.0
func (EntitlementPlanFeatureHistory) Indexes() []ent.Index
Indexes of the EntitlementPlanFeatureHistory
func (EntitlementPlanFeatureHistory) Interceptors ¶ added in v0.7.7
func (EntitlementPlanFeatureHistory) Interceptors() []ent.Interceptor
Interceptors of the EntitlementPlanFeatureHistory
func (EntitlementPlanFeatureHistory) Policy ¶ added in v0.7.7
func (EntitlementPlanFeatureHistory) Policy() ent.Policy
Policy of the EntitlementPlanFeatureHistory
type EntitlementPlanHistory ¶ added in v0.7.0
EntitlementPlanHistory holds the schema definition for the EntitlementPlanHistory entity.
func (EntitlementPlanHistory) Annotations ¶ added in v0.7.0
func (EntitlementPlanHistory) Annotations() []schema.Annotation
Annotations of the EntitlementPlanHistory.
func (EntitlementPlanHistory) Fields ¶ added in v0.7.0
func (EntitlementPlanHistory) Fields() []ent.Field
Fields of the EntitlementPlanHistory.
func (EntitlementPlanHistory) Indexes ¶ added in v0.7.0
func (EntitlementPlanHistory) Indexes() []ent.Index
Indexes of the EntitlementPlanHistory
func (EntitlementPlanHistory) Interceptors ¶ added in v0.7.7
func (EntitlementPlanHistory) Interceptors() []ent.Interceptor
Interceptors of the EntitlementPlanHistory
func (EntitlementPlanHistory) Policy ¶ added in v0.7.7
func (EntitlementPlanHistory) Policy() ent.Policy
Policy of the EntitlementPlanHistory
type Entity ¶ added in v0.7.4
Entity holds the schema definition for the Entity entity
func (Entity) Annotations ¶ added in v0.7.4
func (Entity) Annotations() []schema.Annotation
Annotations of the Entity
func (Entity) Interceptors ¶ added in v0.7.4
func (Entity) Interceptors() []ent.Interceptor
Interceptors of the Entity
type EntityHistory ¶ added in v0.7.4
EntityHistory holds the schema definition for the EntityHistory entity.
func (EntityHistory) Annotations ¶ added in v0.7.4
func (EntityHistory) Annotations() []schema.Annotation
Annotations of the EntityHistory.
func (EntityHistory) Fields ¶ added in v0.7.4
func (EntityHistory) Fields() []ent.Field
Fields of the EntityHistory.
func (EntityHistory) Indexes ¶ added in v0.7.4
func (EntityHistory) Indexes() []ent.Index
Indexes of the EntityHistory
func (EntityHistory) Interceptors ¶ added in v0.7.7
func (EntityHistory) Interceptors() []ent.Interceptor
Interceptors of the EntityHistory
func (EntityHistory) Policy ¶ added in v0.7.7
func (EntityHistory) Policy() ent.Policy
Policy of the EntityHistory
type EntityType ¶ added in v0.7.4
EntityType holds the schema definition for the EntityType entity
func (EntityType) Annotations ¶ added in v0.7.4
func (EntityType) Annotations() []schema.Annotation
Annotations of the EntityType
func (EntityType) Edges ¶ added in v0.7.4
func (EntityType) Edges() []ent.Edge
Edges of the EntityType
func (EntityType) Fields ¶ added in v0.7.4
func (EntityType) Fields() []ent.Field
Fields of the EntityType
func (EntityType) Hooks ¶ added in v0.7.4
func (EntityType) Hooks() []ent.Hook
Hooks of the EntityType
func (EntityType) Indexes ¶ added in v0.7.4
func (EntityType) Indexes() []ent.Index
Indexes of the EntityType
func (EntityType) Interceptors ¶ added in v0.7.4
func (EntityType) Interceptors() []ent.Interceptor
Interceptors of the EntityType
func (EntityType) Mixin ¶ added in v0.7.4
func (EntityType) Mixin() []ent.Mixin
Mixin of the EntityType
func (EntityType) Policy ¶ added in v0.7.4
func (EntityType) Policy() ent.Policy
Policy of the EntityType
type EntityTypeHistory ¶ added in v0.7.4
EntityTypeHistory holds the schema definition for the EntityTypeHistory entity.
func (EntityTypeHistory) Annotations ¶ added in v0.7.4
func (EntityTypeHistory) Annotations() []schema.Annotation
Annotations of the EntityTypeHistory.
func (EntityTypeHistory) Fields ¶ added in v0.7.4
func (EntityTypeHistory) Fields() []ent.Field
Fields of the EntityTypeHistory.
func (EntityTypeHistory) Indexes ¶ added in v0.7.4
func (EntityTypeHistory) Indexes() []ent.Index
Indexes of the EntityTypeHistory
func (EntityTypeHistory) Interceptors ¶ added in v0.7.7
func (EntityTypeHistory) Interceptors() []ent.Interceptor
Interceptors of the EntityTypeHistory
func (EntityTypeHistory) Policy ¶ added in v0.7.7
func (EntityTypeHistory) Policy() ent.Policy
Policy of the EntityTypeHistory
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
Indexes of the EventHistory
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
func (Feature) Interceptors ¶ added in v0.7.0
func (Feature) Interceptors() []ent.Interceptor
Interceptors 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
Indexes of the FeatureHistory
func (FeatureHistory) Interceptors ¶ added in v0.7.7
func (FeatureHistory) Interceptors() []ent.Interceptor
Interceptors of the FeatureHistory
func (FeatureHistory) Policy ¶ added in v0.7.7
func (FeatureHistory) Policy() ent.Policy
Policy of the FeatureHistory
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
Indexes of the FileHistory
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
Indexes of the GroupHistory
func (GroupHistory) Interceptors ¶ added in v0.7.7
func (GroupHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupHistory
func (GroupHistory) Policy ¶ added in v0.7.7
func (GroupHistory) Policy() ent.Policy
Policy of the GroupHistory
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
Indexes of the GroupMembershipHistory
func (GroupMembershipHistory) Interceptors ¶ added in v0.7.7
func (GroupMembershipHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupMembershipHistory
func (GroupMembershipHistory) Policy ¶ added in v0.7.7
func (GroupMembershipHistory) Policy() ent.Policy
Policy of the GroupMembershipHistory
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
Indexes of the GroupSettingHistory
func (GroupSettingHistory) Interceptors ¶ added in v0.7.7
func (GroupSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupSettingHistory
func (GroupSettingHistory) Policy ¶ added in v0.7.7
func (GroupSettingHistory) Policy() ent.Policy
Policy of the GroupSettingHistory
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
Indexes of the HushHistory
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
Indexes of the IntegrationHistory
func (IntegrationHistory) Interceptors ¶ added in v0.7.7
func (IntegrationHistory) Interceptors() []ent.Interceptor
Interceptors of the IntegrationHistory
func (IntegrationHistory) Policy ¶ added in v0.7.7
func (IntegrationHistory) Policy() ent.Policy
Policy of the IntegrationHistory
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 Note ¶ added in v0.7.10
Note holds the schema definition for the Note entity
func (Note) Annotations ¶ added in v0.7.10
func (Note) Annotations() []schema.Annotation
Annotations of the Note
func (Note) Interceptors ¶ added in v0.7.10
func (Note) Interceptors() []ent.Interceptor
Interceptors of the Note
type NoteHistory ¶ added in v0.7.10
NoteHistory holds the schema definition for the NoteHistory entity.
func (NoteHistory) Annotations ¶ added in v0.7.10
func (NoteHistory) Annotations() []schema.Annotation
Annotations of the NoteHistory.
func (NoteHistory) Fields ¶ added in v0.7.10
func (NoteHistory) Fields() []ent.Field
Fields of the NoteHistory.
func (NoteHistory) Indexes ¶ added in v0.7.10
func (NoteHistory) Indexes() []ent.Index
Indexes of the NoteHistory
func (NoteHistory) Interceptors ¶ added in v0.7.10
func (NoteHistory) Interceptors() []ent.Interceptor
Interceptors of the NoteHistory
func (NoteHistory) Policy ¶ added in v0.7.10
func (NoteHistory) Policy() ent.Policy
Policy of the NoteHistory
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
Indexes of the OauthProviderHistory
func (OauthProviderHistory) Interceptors ¶ added in v0.7.7
func (OauthProviderHistory) Interceptors() []ent.Interceptor
Interceptors of the OauthProviderHistory
func (OauthProviderHistory) Policy ¶ added in v0.7.7
func (OauthProviderHistory) Policy() ent.Policy
Policy of the OauthProviderHistory
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
Indexes of the OrgMembershipHistory
func (OrgMembershipHistory) Interceptors ¶ added in v0.7.7
func (OrgMembershipHistory) Interceptors() []ent.Interceptor
Interceptors of the OrgMembershipHistory
func (OrgMembershipHistory) Policy ¶ added in v0.7.7
func (OrgMembershipHistory) Policy() ent.Policy
Policy of the OrgMembershipHistory
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
Indexes of the OrganizationHistory
func (OrganizationHistory) Interceptors ¶ added in v0.7.7
func (OrganizationHistory) Interceptors() []ent.Interceptor
Interceptors of the OrganizationHistory
func (OrganizationHistory) Policy ¶ added in v0.7.7
func (OrganizationHistory) Policy() ent.Policy
Policy of the OrganizationHistory
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
Indexes of the OrganizationSettingHistory
func (OrganizationSettingHistory) Interceptors ¶ added in v0.7.7
func (OrganizationSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the OrganizationSettingHistory
func (OrganizationSettingHistory) Policy ¶ added in v0.7.7
func (OrganizationSettingHistory) Policy() ent.Policy
Policy of the OrganizationSettingHistory
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
Indexes of the TemplateHistory
func (TemplateHistory) Interceptors ¶ added in v0.7.7
func (TemplateHistory) Interceptors() []ent.Interceptor
Interceptors of the TemplateHistory
func (TemplateHistory) Policy ¶ added in v0.7.7
func (TemplateHistory) Policy() ent.Policy
Policy of the TemplateHistory
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
Indexes of the UserHistory
func (UserHistory) Interceptors ¶ added in v0.7.7
func (UserHistory) Interceptors() []ent.Interceptor
Interceptors of the UserHistory
type UserOwnedMixin ¶ added in v0.2.4
type UserOwnedMixin struct { mixin.Schema // Ref table for the id Ref string // Optional makes the owner id field not required Optional bool // AllowUpdate allows the owner id field to be updated AllowUpdate bool // SkipOASGeneration skips open api spec generation for the field SkipOASGeneration bool // SoftDeleteIndex creates a unique index on the owner id field where deleted_at is null SoftDeleteIndex bool // AllowWhere includes the owner_id field in gql generated fields AllowWhere bool // SkipInterceptor skips the interceptor for that schema for all queries, or specific types, // this is useful for tokens, etc SkipInterceptor interceptors.SkipMode // SkipTokenType skips the traverser or hook if the token type is found in the context SkipTokenType []token.PrivacyToken }
func (UserOwnedMixin) Edges ¶ added in v0.2.4
func (userOwned UserOwnedMixin) Edges() []ent.Edge
Edges of the UserOwnedMixin
func (UserOwnedMixin) Fields ¶ added in v0.2.4
func (userOwned UserOwnedMixin) Fields() []ent.Field
Fields of the UserOwnedMixin
func (UserOwnedMixin) Hooks ¶ added in v0.7.5
func (userOwned UserOwnedMixin) Hooks() []ent.Hook
Hooks of the UserOwnedMixin
func (UserOwnedMixin) Indexes ¶ added in v0.3.6
func (userOwned UserOwnedMixin) Indexes() []ent.Index
Indexes of the UserOwnedMixin
func (UserOwnedMixin) Interceptors ¶ added in v0.5.0
func (userOwned UserOwnedMixin) Interceptors() []ent.Interceptor
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
Indexes of the UserSettingHistory
func (UserSettingHistory) Interceptors ¶ added in v0.7.7
func (UserSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the UserSettingHistory
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
Indexes of the WebhookHistory
func (WebhookHistory) Interceptors ¶ added in v0.7.7
func (WebhookHistory) Interceptors() []ent.Interceptor
Interceptors of the WebhookHistory
func (WebhookHistory) Policy ¶ added in v0.7.7
func (WebhookHistory) Policy() ent.Policy
Policy of the WebhookHistory
Source Files ¶
- apitoken.go
- contact.go
- contact_history.go
- doc.go
- documentdata.go
- documentdata_history.go
- emailverificationtoken.go
- entitlement.go
- entitlement_history.go
- entitlementplan.go
- entitlementplan_history.go
- entitlementplanfeature.go
- entitlementplanfeature_history.go
- entity.go
- entity_history.go
- entitytype.go
- entitytype_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
- note.go
- note_history.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