mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(core): Add deprecation notice to InternalHooks (no-changelog) (#10139)
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user