mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Streamline flows in multi-main mode (no-changelog) (#8446)
This commit is contained in:
@@ -33,7 +33,10 @@ export const error = (e: unknown, options?: ReportingOptions) => {
|
||||
if (toReport) instance.report(toReport, options);
|
||||
};
|
||||
|
||||
export const report = error;
|
||||
export const info = (msg: string, options?: ReportingOptions) => {
|
||||
Logger.info(msg);
|
||||
instance.report(msg, options);
|
||||
};
|
||||
|
||||
export const warn = (warning: Error | string, options?: ReportingOptions) =>
|
||||
error(warning, { level: 'warning', ...options });
|
||||
|
||||
@@ -1986,10 +1986,10 @@ export type WorkflowExecuteMode =
|
||||
|
||||
export type WorkflowActivateMode =
|
||||
| 'init'
|
||||
| 'create'
|
||||
| 'create' // unused
|
||||
| 'update'
|
||||
| 'activate'
|
||||
| 'manual'
|
||||
| 'manual' // unused
|
||||
| 'leadershipChange';
|
||||
|
||||
export interface IWorkflowHooksOptionalParameters {
|
||||
|
||||
Reference in New Issue
Block a user