mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -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 { SharedCredentialsRepository } from './databases/repositories/sharedCredentials.repository';
|
||||||
import { MessageEventBus } from './eventbus/MessageEventBus/MessageEventBus';
|
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()
|
@Service()
|
||||||
export class InternalHooks {
|
export class InternalHooks {
|
||||||
constructor(
|
constructor(
|
||||||
|
|
Loading…
Reference in a new issue