# Functions
And groups conditions with the AND operator.
FixedError is a hook returning a fixed error.
HasAddedFields is a condition validating `.AddedField` on fields.
HasClearedFields is a condition validating `.FieldCleared` on fields.
HasFields is a condition validating `.Field` on fields.
HasOp is a condition testing mutation operation.
If executes the given hook under condition.
NewChain creates a new chain of hooks.
Not negates a given condition.
On executes the given hook only for the given operation.
Or groups conditions with the OR operator.
Reject returns a hook that rejects all operations that match op.
Unless skips the given hook only for the given operation.
# Type aliases
The ActionPlanFunc type is an adapter to allow the use of ordinary function as ActionPlan mutator.
The ActionPlanHistoryFunc type is an adapter to allow the use of ordinary function as ActionPlanHistory mutator.
The APITokenFunc type is an adapter to allow the use of ordinary function as APIToken mutator.
Condition is a hook condition function.
The ContactFunc type is an adapter to allow the use of ordinary function as Contact mutator.
The ContactHistoryFunc type is an adapter to allow the use of ordinary function as ContactHistory mutator.
The ControlFunc type is an adapter to allow the use of ordinary function as Control mutator.
The ControlHistoryFunc type is an adapter to allow the use of ordinary function as ControlHistory mutator.
The ControlObjectiveFunc type is an adapter to allow the use of ordinary function as ControlObjective mutator.
The ControlObjectiveHistoryFunc type is an adapter to allow the use of ordinary function as ControlObjectiveHistory mutator.
The DocumentDataFunc type is an adapter to allow the use of ordinary function as DocumentData mutator.
The DocumentDataHistoryFunc type is an adapter to allow the use of ordinary function as DocumentDataHistory mutator.
The EmailVerificationTokenFunc type is an adapter to allow the use of ordinary function as EmailVerificationToken mutator.
The EntityFunc type is an adapter to allow the use of ordinary function as Entity mutator.
The EntityHistoryFunc type is an adapter to allow the use of ordinary function as EntityHistory mutator.
The EntityTypeFunc type is an adapter to allow the use of ordinary function as EntityType mutator.
The EntityTypeHistoryFunc type is an adapter to allow the use of ordinary function as EntityTypeHistory mutator.
The EventFunc type is an adapter to allow the use of ordinary function as Event mutator.
The EventHistoryFunc type is an adapter to allow the use of ordinary function as EventHistory mutator.
The FileFunc type is an adapter to allow the use of ordinary function as File mutator.
The FileHistoryFunc type is an adapter to allow the use of ordinary function as FileHistory mutator.
The GroupFunc type is an adapter to allow the use of ordinary function as Group mutator.
The GroupHistoryFunc type is an adapter to allow the use of ordinary function as GroupHistory mutator.
The GroupMembershipFunc type is an adapter to allow the use of ordinary function as GroupMembership mutator.
The GroupMembershipHistoryFunc type is an adapter to allow the use of ordinary function as GroupMembershipHistory mutator.
The GroupSettingFunc type is an adapter to allow the use of ordinary function as GroupSetting mutator.
The GroupSettingHistoryFunc type is an adapter to allow the use of ordinary function as GroupSettingHistory mutator.
The HushFunc type is an adapter to allow the use of ordinary function as Hush mutator.
The HushHistoryFunc type is an adapter to allow the use of ordinary function as HushHistory mutator.
The IntegrationFunc type is an adapter to allow the use of ordinary function as Integration mutator.
The IntegrationHistoryFunc type is an adapter to allow the use of ordinary function as IntegrationHistory mutator.
The InternalPolicyFunc type is an adapter to allow the use of ordinary function as InternalPolicy mutator.
The InternalPolicyHistoryFunc type is an adapter to allow the use of ordinary function as InternalPolicyHistory mutator.
The InviteFunc type is an adapter to allow the use of ordinary function as Invite mutator.
The NarrativeFunc type is an adapter to allow the use of ordinary function as Narrative mutator.
The NarrativeHistoryFunc type is an adapter to allow the use of ordinary function as NarrativeHistory mutator.
The NoteFunc type is an adapter to allow the use of ordinary function as Note mutator.
The NoteHistoryFunc type is an adapter to allow the use of ordinary function as NoteHistory mutator.
The OrganizationFunc type is an adapter to allow the use of ordinary function as Organization mutator.
The OrganizationHistoryFunc type is an adapter to allow the use of ordinary function as OrganizationHistory mutator.
The OrganizationSettingFunc type is an adapter to allow the use of ordinary function as OrganizationSetting mutator.
The OrganizationSettingHistoryFunc type is an adapter to allow the use of ordinary function as OrganizationSettingHistory mutator.
The OrgMembershipFunc type is an adapter to allow the use of ordinary function as OrgMembership mutator.
The OrgMembershipHistoryFunc type is an adapter to allow the use of ordinary function as OrgMembershipHistory mutator.
The OrgSubscriptionFunc type is an adapter to allow the use of ordinary function as OrgSubscription mutator.
The OrgSubscriptionHistoryFunc type is an adapter to allow the use of ordinary function as OrgSubscriptionHistory mutator.
The PasswordResetTokenFunc type is an adapter to allow the use of ordinary function as PasswordResetToken mutator.
The PersonalAccessTokenFunc type is an adapter to allow the use of ordinary function as PersonalAccessToken mutator.
The ProcedureFunc type is an adapter to allow the use of ordinary function as Procedure mutator.
The ProcedureHistoryFunc type is an adapter to allow the use of ordinary function as ProcedureHistory mutator.
The ProgramFunc type is an adapter to allow the use of ordinary function as Program mutator.
The ProgramHistoryFunc type is an adapter to allow the use of ordinary function as ProgramHistory mutator.
The ProgramMembershipFunc type is an adapter to allow the use of ordinary function as ProgramMembership mutator.
The ProgramMembershipHistoryFunc type is an adapter to allow the use of ordinary function as ProgramMembershipHistory mutator.
The RiskFunc type is an adapter to allow the use of ordinary function as Risk mutator.
The RiskHistoryFunc type is an adapter to allow the use of ordinary function as RiskHistory mutator.
The StandardFunc type is an adapter to allow the use of ordinary function as Standard mutator.
The StandardHistoryFunc type is an adapter to allow the use of ordinary function as StandardHistory mutator.
The SubcontrolFunc type is an adapter to allow the use of ordinary function as Subcontrol mutator.
The SubcontrolHistoryFunc type is an adapter to allow the use of ordinary function as SubcontrolHistory mutator.
The SubscriberFunc type is an adapter to allow the use of ordinary function as Subscriber mutator.
The TaskFunc type is an adapter to allow the use of ordinary function as Task mutator.
The TaskHistoryFunc type is an adapter to allow the use of ordinary function as TaskHistory mutator.
The TemplateFunc type is an adapter to allow the use of ordinary function as Template mutator.
The TemplateHistoryFunc type is an adapter to allow the use of ordinary function as TemplateHistory mutator.
The TFASettingFunc type is an adapter to allow the use of ordinary function as TFASetting mutator.
The UserFunc type is an adapter to allow the use of ordinary function as User mutator.
The UserHistoryFunc type is an adapter to allow the use of ordinary function as UserHistory mutator.
The UserSettingFunc type is an adapter to allow the use of ordinary function as UserSetting mutator.
The UserSettingHistoryFunc type is an adapter to allow the use of ordinary function as UserSettingHistory mutator.
The WebauthnFunc type is an adapter to allow the use of ordinary function as Webauthn mutator.