AuditHooks
type AuditHooks = Hooks<BeforeEvent, AfterEvent>;Defined in: src/hooks/contract.ts:115
A control-plane hook. Implement before (runs before a mutation commits;
throw to deny, e.g. a HookDeniedError with a clean HTTP status),
after (side effects once it committed; errors are isolated and reported via
onHookError), or both. Pass one — or an array — to
../core.createAuditCore via hooks.