A hook event that fires for every Document type after conclusion of an deletion workflow.
Substitute the Document name in the hook event to target a specific Document type, for example "deleteActor".
This hook fires for all connected clients after the deletion has been processed.
deleteDocument
Parameters
document: Document
The existing Document which was deleted
options: DatabaseDeleteOperation
Additional options which modified the deletion request
userId: string
The ID of the User who triggered the deletion workflow
A hook event that fires for every Document type after conclusion of an deletion workflow. Substitute the Document name in the hook event to target a specific Document type, for example "deleteActor". This hook fires for all connected clients after the deletion has been processed.
deleteDocument