fix(core): Use explicit types in configs to ensure valid decorator metadata (#10433)
This commit is contained in:
committed by
GitHub
parent
0dc3e99b26
commit
2043daa257
@@ -4,11 +4,11 @@ import { Config, Env } from '../decorators';
|
||||
export class WorkflowsConfig {
|
||||
/** Default name for workflow */
|
||||
@Env('WORKFLOWS_DEFAULT_NAME')
|
||||
defaultName = 'My workflow';
|
||||
defaultName: string = 'My workflow';
|
||||
|
||||
/** Show onboarding flow in new workflow */
|
||||
@Env('N8N_ONBOARDING_FLOW_DISABLED')
|
||||
onboardingFlowDisabled = false;
|
||||
onboardingFlowDisabled: boolean = false;
|
||||
|
||||
/** Default option for which workflows may call the current workflow */
|
||||
@Env('N8N_WORKFLOW_CALLER_POLICY_DEFAULT_OPTION')
|
||||
|
||||
Reference in New Issue
Block a user