refactor(core): Decouple lifecycle events from internal hooks (no-changelog) (#10305)
This commit is contained in:
@@ -13,10 +13,35 @@ export type UserLike = {
|
||||
};
|
||||
|
||||
export type RelayEventMap = {
|
||||
// #region Server
|
||||
// #region Lifecycle
|
||||
|
||||
'server-started': {};
|
||||
|
||||
'session-started': {
|
||||
pushRef?: string;
|
||||
};
|
||||
|
||||
'instance-stopped': {};
|
||||
|
||||
'instance-owner-setup': {
|
||||
userId: string;
|
||||
};
|
||||
|
||||
'first-production-workflow-succeeded': {
|
||||
projectId: string;
|
||||
workflowId: string;
|
||||
userId: string;
|
||||
};
|
||||
|
||||
'first-workflow-data-loaded': {
|
||||
userId: string;
|
||||
workflowId: string;
|
||||
nodeType: string;
|
||||
nodeId: string;
|
||||
credentialType?: string;
|
||||
credentialId?: string;
|
||||
};
|
||||
|
||||
// #endregion
|
||||
|
||||
// #region Workflow
|
||||
|
||||
Reference in New Issue
Block a user