mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
refactor(core): Add deprecation notice to InternalHooks
(no-changelog) (#10139)
This commit is contained in:
parent
d887c82d80
commit
c6131859f5
|
@ -34,6 +34,11 @@ import { ProjectRelationRepository } from './databases/repositories/projectRelat
|
|||
import { SharedCredentialsRepository } from './databases/repositories/sharedCredentials.repository';
|
||||
import { MessageEventBus } from './eventbus/MessageEventBus/MessageEventBus';
|
||||
|
||||
/**
|
||||
* @deprecated Do not add to this class. To add audit or telemetry events, use
|
||||
* `EventService` to emit the event and then use the `AuditEventRelay` or
|
||||
* `TelemetryEventRelay` to forward them to the event bus or telemetry.
|
||||
*/
|
||||
@Service()
|
||||
export class InternalHooks {
|
||||
constructor(
|
||||
|
|
Loading…
Reference in a new issue