Interface EntityMutationTriggerConfiguration<TFields, TID, TViewerContext, TEntity, TSelectedFields>

Interface to define trigger behavior for entities.

Type Parameters

Properties

Trigger set that runs within the transaction but after the entity is created in, updated in, or deleted from the database and the cache is invalidated.

Trigger set that runs after committing the mutation transaction. If the call to the mutation is wrapped in a transaction, these will be run after the wrapping transaction is completed.

Trigger set that runs within the transaction but after the entity is created in the database and cache is invalidated.

Trigger set that runs within the transaction but after the entity is deleted from the database and cache is invalidated.

Trigger set that runs within the transaction but after the entity is updated in the database and cache is invalidated.

Trigger set that runs within the transaction but before the entity is created, updated, or deleted.

Trigger set that runs within the transaction but before the entity is created in the database.

Trigger set that runs within the transaction but before the entity is deleted from the database.

Trigger set that runs within the transaction but before the entity is updated in the database.