Documentation ¶
Overview ¶
Code generated by entx.history, DO NOT EDIT.
Package schema contains the ent schema ¶
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, DO NOT EDIT.
Code generated by entx.history, 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 ¶
APIToken holds the schema definition for the APIToken entity.
func (APIToken) Annotations ¶
func (APIToken) Annotations() []schema.Annotation
Annotations of the APIToken
func (APIToken) Interceptors ¶
func (APIToken) Interceptors() []ent.Interceptor
Interceptors of the APIToken
type Contact ¶
Contact holds the schema definition for the Contact entity
func (Contact) Annotations ¶
func (Contact) Annotations() []schema.Annotation
Annotations of the Contact
func (Contact) Interceptors ¶
func (Contact) Interceptors() []ent.Interceptor
Interceptors of the Contact
type ContactHistory ¶
ContactHistory holds the schema definition for the ContactHistory entity.
func (ContactHistory) Annotations ¶
func (ContactHistory) Annotations() []schema.Annotation
Annotations of the ContactHistory.
func (ContactHistory) Fields ¶
func (ContactHistory) Fields() []ent.Field
Fields of the ContactHistory.
func (ContactHistory) Indexes ¶
func (ContactHistory) Indexes() []ent.Index
Indexes of the ContactHistory
func (ContactHistory) Interceptors ¶
func (ContactHistory) Interceptors() []ent.Interceptor
Interceptors of the ContactHistory
func (ContactHistory) Policy ¶
func (ContactHistory) Policy() ent.Policy
Policy of the ContactHistory
type DocumentData ¶
DocumentData holds the schema definition for the DocumentData entity
func (DocumentData) Annotations ¶
func (DocumentData) Annotations() []schema.Annotation
Annotations of the DocumentData
type DocumentDataHistory ¶
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
Indexes of the DocumentDataHistory
func (DocumentDataHistory) Interceptors ¶
func (DocumentDataHistory) Interceptors() []ent.Interceptor
Interceptors of the DocumentDataHistory
func (DocumentDataHistory) Policy ¶
func (DocumentDataHistory) Policy() ent.Policy
Policy of the DocumentDataHistory
type EmailVerificationToken ¶
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 ¶
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
type EntitlementHistory ¶
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
Indexes of the EntitlementHistory
func (EntitlementHistory) Interceptors ¶
func (EntitlementHistory) Interceptors() []ent.Interceptor
Interceptors of the EntitlementHistory
func (EntitlementHistory) Policy ¶
func (EntitlementHistory) Policy() ent.Policy
Policy of the EntitlementHistory
type EntitlementPlan ¶
EntitlementPlan holds the schema definition for the EntitlementPlan entity
func (EntitlementPlan) Annotations ¶
func (EntitlementPlan) Annotations() []schema.Annotation
Annotations of the EntitlementPlan
func (EntitlementPlan) Edges ¶
func (EntitlementPlan) Edges() []ent.Edge
Edges of the EntitlementPlan
func (EntitlementPlan) Fields ¶
func (EntitlementPlan) Fields() []ent.Field
Fields of the EntitlementPlan
func (EntitlementPlan) Hooks ¶
func (EntitlementPlan) Hooks() []ent.Hook
Hooks of the EntitlementPlan
func (EntitlementPlan) Indexes ¶
func (EntitlementPlan) Indexes() []ent.Index
Indexes of the EntitlementPlan
func (EntitlementPlan) Interceptors ¶
func (EntitlementPlan) Interceptors() []ent.Interceptor
Interceptors of the EntitlementPlan
func (EntitlementPlan) Mixin ¶
func (EntitlementPlan) Mixin() []ent.Mixin
Mixin of the EntitlementPlan
func (EntitlementPlan) Policy ¶
func (EntitlementPlan) Policy() ent.Policy
Policy of the EntitlementPlan
type EntitlementPlanFeature ¶
EntitlementPlanFeature holds the schema definition for the EntitlementPlanFeature entity
func (EntitlementPlanFeature) Annotations ¶
func (EntitlementPlanFeature) Annotations() []schema.Annotation
Annotations of the EntitlementPlanFeature
func (EntitlementPlanFeature) Edges ¶
func (EntitlementPlanFeature) Edges() []ent.Edge
Edges of the EntitlementPlanFeature
func (EntitlementPlanFeature) Fields ¶
func (EntitlementPlanFeature) Fields() []ent.Field
Fields of the EntitlementPlanFeature
func (EntitlementPlanFeature) Hooks ¶
func (EntitlementPlanFeature) Hooks() []ent.Hook
Hooks of the EntitlementPlanFeature
func (EntitlementPlanFeature) Indexes ¶
func (EntitlementPlanFeature) Indexes() []ent.Index
Indexes of the EntitlementPlanFeature
func (EntitlementPlanFeature) Interceptors ¶
func (EntitlementPlanFeature) Interceptors() []ent.Interceptor
Interceptors of the EntitlementPlanFeature
func (EntitlementPlanFeature) Mixin ¶
func (EntitlementPlanFeature) Mixin() []ent.Mixin
Mixin of the EntitlementPlanFeature
func (EntitlementPlanFeature) Policy ¶
func (EntitlementPlanFeature) Policy() ent.Policy
Policy of the EntitlementPlan
type EntitlementPlanFeatureHistory ¶
EntitlementPlanFeatureHistory holds the schema definition for the EntitlementPlanFeatureHistory entity.
func (EntitlementPlanFeatureHistory) Annotations ¶
func (EntitlementPlanFeatureHistory) Annotations() []schema.Annotation
Annotations of the EntitlementPlanFeatureHistory.
func (EntitlementPlanFeatureHistory) Fields ¶
func (EntitlementPlanFeatureHistory) Fields() []ent.Field
Fields of the EntitlementPlanFeatureHistory.
func (EntitlementPlanFeatureHistory) Indexes ¶
func (EntitlementPlanFeatureHistory) Indexes() []ent.Index
Indexes of the EntitlementPlanFeatureHistory
func (EntitlementPlanFeatureHistory) Interceptors ¶
func (EntitlementPlanFeatureHistory) Interceptors() []ent.Interceptor
Interceptors of the EntitlementPlanFeatureHistory
func (EntitlementPlanFeatureHistory) Policy ¶
func (EntitlementPlanFeatureHistory) Policy() ent.Policy
Policy of the EntitlementPlanFeatureHistory
type EntitlementPlanHistory ¶
EntitlementPlanHistory holds the schema definition for the EntitlementPlanHistory entity.
func (EntitlementPlanHistory) Annotations ¶
func (EntitlementPlanHistory) Annotations() []schema.Annotation
Annotations of the EntitlementPlanHistory.
func (EntitlementPlanHistory) Fields ¶
func (EntitlementPlanHistory) Fields() []ent.Field
Fields of the EntitlementPlanHistory.
func (EntitlementPlanHistory) Indexes ¶
func (EntitlementPlanHistory) Indexes() []ent.Index
Indexes of the EntitlementPlanHistory
func (EntitlementPlanHistory) Interceptors ¶
func (EntitlementPlanHistory) Interceptors() []ent.Interceptor
Interceptors of the EntitlementPlanHistory
func (EntitlementPlanHistory) Policy ¶
func (EntitlementPlanHistory) Policy() ent.Policy
Policy of the EntitlementPlanHistory
type Entity ¶
Entity holds the schema definition for the Entity entity
func (Entity) Annotations ¶
func (Entity) Annotations() []schema.Annotation
Annotations of the Entity
func (Entity) Interceptors ¶
func (Entity) Interceptors() []ent.Interceptor
Interceptors of the Entity
type EntityHistory ¶
EntityHistory holds the schema definition for the EntityHistory entity.
func (EntityHistory) Annotations ¶
func (EntityHistory) Annotations() []schema.Annotation
Annotations of the EntityHistory.
func (EntityHistory) Fields ¶
func (EntityHistory) Fields() []ent.Field
Fields of the EntityHistory.
func (EntityHistory) Indexes ¶
func (EntityHistory) Indexes() []ent.Index
Indexes of the EntityHistory
func (EntityHistory) Interceptors ¶
func (EntityHistory) Interceptors() []ent.Interceptor
Interceptors of the EntityHistory
type EntityType ¶
EntityType holds the schema definition for the EntityType entity
func (EntityType) Annotations ¶
func (EntityType) Annotations() []schema.Annotation
Annotations of the EntityType
func (EntityType) Interceptors ¶
func (EntityType) Interceptors() []ent.Interceptor
Interceptors of the EntityType
type EntityTypeHistory ¶
EntityTypeHistory holds the schema definition for the EntityTypeHistory entity.
func (EntityTypeHistory) Annotations ¶
func (EntityTypeHistory) Annotations() []schema.Annotation
Annotations of the EntityTypeHistory.
func (EntityTypeHistory) Fields ¶
func (EntityTypeHistory) Fields() []ent.Field
Fields of the EntityTypeHistory.
func (EntityTypeHistory) Indexes ¶
func (EntityTypeHistory) Indexes() []ent.Index
Indexes of the EntityTypeHistory
func (EntityTypeHistory) Interceptors ¶
func (EntityTypeHistory) Interceptors() []ent.Interceptor
Interceptors of the EntityTypeHistory
func (EntityTypeHistory) Policy ¶
func (EntityTypeHistory) Policy() ent.Policy
Policy of the EntityTypeHistory
type EventHistory ¶
EventHistory holds the schema definition for the EventHistory entity.
func (EventHistory) Annotations ¶
func (EventHistory) Annotations() []schema.Annotation
Annotations of the EventHistory.
type Feature ¶
Feature defines the feature schema
func (Feature) Annotations ¶
func (Feature) Annotations() []schema.Annotation
Annotations of the Feature
func (Feature) Interceptors ¶
func (Feature) Interceptors() []ent.Interceptor
Interceptors of the Feature
type FeatureHistory ¶
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
Indexes of the FeatureHistory
func (FeatureHistory) Interceptors ¶
func (FeatureHistory) Interceptors() []ent.Interceptor
Interceptors of the FeatureHistory
func (FeatureHistory) Policy ¶
func (FeatureHistory) Policy() ent.Policy
Policy of the FeatureHistory
type FileHistory ¶
FileHistory holds the schema definition for the FileHistory entity.
func (FileHistory) Annotations ¶
func (FileHistory) Annotations() []schema.Annotation
Annotations of the FileHistory.
type GroupHistory ¶
GroupHistory holds the schema definition for the GroupHistory entity.
func (GroupHistory) Annotations ¶
func (GroupHistory) Annotations() []schema.Annotation
Annotations of the GroupHistory.
func (GroupHistory) Interceptors ¶
func (GroupHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupHistory
type GroupMembership ¶
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 ¶
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
Indexes of the GroupMembershipHistory
func (GroupMembershipHistory) Interceptors ¶
func (GroupMembershipHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupMembershipHistory
func (GroupMembershipHistory) Policy ¶
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 ¶
func (GroupSetting) Policy() ent.Policy
Policy defines the privacy policy of the GroupSetting
type GroupSettingHistory ¶
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
Indexes of the GroupSettingHistory
func (GroupSettingHistory) Interceptors ¶
func (GroupSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the GroupSettingHistory
func (GroupSettingHistory) Policy ¶
func (GroupSettingHistory) Policy() ent.Policy
Policy of the GroupSettingHistory
type HushHistory ¶
HushHistory holds the schema definition for the HushHistory entity.
func (HushHistory) Annotations ¶
func (HushHistory) Annotations() []schema.Annotation
Annotations 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
type IntegrationHistory ¶
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
Indexes of the IntegrationHistory
func (IntegrationHistory) Interceptors ¶
func (IntegrationHistory) Interceptors() []ent.Interceptor
Interceptors of the IntegrationHistory
func (IntegrationHistory) Policy ¶
func (IntegrationHistory) Policy() ent.Policy
Policy of the IntegrationHistory
type Invite ¶
Invite holds the schema definition for the Invite entity
func (Invite) Annotations ¶
func (Invite) Annotations() []schema.Annotation
Annotations of the Invite
type NoteHistory ¶
NoteHistory holds the schema definition for the NoteHistory entity.
func (NoteHistory) Annotations ¶
func (NoteHistory) Annotations() []schema.Annotation
Annotations of the NoteHistory.
func (NoteHistory) Interceptors ¶
func (NoteHistory) Interceptors() []ent.Interceptor
Interceptors 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
type OauthProviderHistory ¶
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
Indexes of the OauthProviderHistory
func (OauthProviderHistory) Interceptors ¶
func (OauthProviderHistory) Interceptors() []ent.Interceptor
Interceptors of the OauthProviderHistory
func (OauthProviderHistory) Policy ¶
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 ¶
OrgMembership holds the schema definition for the OrgMembership entity
func (OrgMembership) Annotations ¶
func (OrgMembership) Annotations() []schema.Annotation
Annotations of the OrgMembership
func (OrgMembership) Indexes ¶
func (OrgMembership) Indexes() []ent.Index
func (OrgMembership) Interceptors ¶
func (OrgMembership) Interceptors() []ent.Interceptor
Interceptors of the OrgMembership
type OrgMembershipHistory ¶
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
Indexes of the OrgMembershipHistory
func (OrgMembershipHistory) Interceptors ¶
func (OrgMembershipHistory) Interceptors() []ent.Interceptor
Interceptors of the OrgMembershipHistory
func (OrgMembershipHistory) Policy ¶
func (OrgMembershipHistory) Policy() ent.Policy
Policy of the OrgMembershipHistory
type OrgOwnerMixin ¶
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 ¶
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) Hooks ¶
func (orgOwned OrgOwnerMixin) Hooks() []ent.Hook
Hooks of the OrgOwnerMixin
func (OrgOwnerMixin) Interceptors ¶
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 ¶
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
Indexes of the OrganizationHistory
func (OrganizationHistory) Interceptors ¶
func (OrganizationHistory) Interceptors() []ent.Interceptor
Interceptors of the OrganizationHistory
func (OrganizationHistory) Policy ¶
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 ¶
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 ¶
OrganizationSettingHistory holds the schema definition for the OrganizationSettingHistory entity.
func (OrganizationSettingHistory) Annotations ¶
func (OrganizationSettingHistory) Annotations() []schema.Annotation
Annotations of the OrganizationSettingHistory.
func (OrganizationSettingHistory) Fields ¶
func (OrganizationSettingHistory) Fields() []ent.Field
Fields of the OrganizationSettingHistory.
func (OrganizationSettingHistory) Indexes ¶
func (OrganizationSettingHistory) Indexes() []ent.Index
Indexes of the OrganizationSettingHistory
func (OrganizationSettingHistory) Interceptors ¶
func (OrganizationSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the OrganizationSettingHistory
func (OrganizationSettingHistory) Policy ¶
func (OrganizationSettingHistory) Policy() ent.Policy
Policy of the OrganizationSettingHistory
type PasswordResetToken ¶
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 ¶
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 ¶
Subscriber holds the schema definition for the Subscriber entity
func (Subscriber) Annotations ¶
func (Subscriber) Annotations() []schema.Annotation
Annotations of the Subscriber
func (Subscriber) Hooks ¶
func (Subscriber) Hooks() []ent.Hook
type TFASetting ¶
TFASetting holds the schema definition for the TFASetting entity
func (TFASetting) Annotations ¶
func (TFASetting) Annotations() []schema.Annotation
Annotations of the TFASetting
type Template ¶
Template holds the schema definition for the Template entity
func (Template) Annotations ¶
func (Template) Annotations() []schema.Annotation
Annotations of the Template
type TemplateHistory ¶
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
Indexes of the TemplateHistory
func (TemplateHistory) Interceptors ¶
func (TemplateHistory) Interceptors() []ent.Interceptor
Interceptors of the TemplateHistory
func (TemplateHistory) Policy ¶
func (TemplateHistory) Policy() ent.Policy
Policy of the TemplateHistory
type UserHistory ¶
UserHistory holds the schema definition for the UserHistory entity.
func (UserHistory) Annotations ¶
func (UserHistory) Annotations() []schema.Annotation
Annotations of the UserHistory.
func (UserHistory) Interceptors ¶
func (UserHistory) Interceptors() []ent.Interceptor
Interceptors of the UserHistory
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 // SkipTokenType skips the traverser or hook if the token type is found in the context SkipTokenType []token.PrivacyToken }
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) Hooks ¶
func (userOwned UserOwnedMixin) Hooks() []ent.Hook
Hooks 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
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) Interceptors ¶
func (d UserSetting) Interceptors() []ent.Interceptor
Interceptors of the UserSetting.
func (UserSetting) Policy ¶
func (UserSetting) Policy() ent.Policy
type UserSettingHistory ¶
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
Indexes of the UserSettingHistory
func (UserSettingHistory) Interceptors ¶
func (UserSettingHistory) Interceptors() []ent.Interceptor
Interceptors of the UserSettingHistory
type Webauthn ¶
Webauthn holds the schema definition for the Webauthn entity
func (Webauthn) Annotations ¶
func (Webauthn) Annotations() []schema.Annotation
Annotations of the Webauthn
type Webhook ¶
Webhook holds the schema definition for the Webhook entity
func (Webhook) Annotations ¶
func (Webhook) Annotations() []schema.Annotation
Annotations of the Webhook
type WebhookHistory ¶
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
Indexes of the WebhookHistory
func (WebhookHistory) Interceptors ¶
func (WebhookHistory) Interceptors() []ent.Interceptor
Interceptors of the WebhookHistory
func (WebhookHistory) Policy ¶
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