refactor(core): Add deprecation notice to InternalHooks (no-changelog) (#10139)

This commit is contained in:
Iván Ovejero 2024-07-22 14:17:54 +02:00 committed by GitHub
parent d887c82d80
commit c6131859f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(