refactor(core): Decouple server started event from internal hooks (no-changelog) (#10221)

This commit is contained in:
Iván Ovejero
2024-07-29 11:41:28 +02:00
committed by GitHub
parent e2ee91569a
commit 24ffca7c75
5 changed files with 82 additions and 177 deletions

View File

@@ -15,6 +15,8 @@ export type UserLike = {
* Events sent by `EventService` and forwarded by relays, e.g. `AuditEventRelay` and `TelemetryEventRelay`.
*/
export type Event = {
'server-started': {};
'workflow-created': {
user: UserLike;
workflow: IWorkflowBase;