n8n-workflow
Advanced tools
Comparing version 0.30.0 to 0.31.0
@@ -230,2 +230,3 @@ import { Workflow } from './Workflow'; | ||
disabled?: boolean; | ||
notesInFlow?: boolean; | ||
retryOnFail?: boolean; | ||
@@ -533,3 +534,3 @@ maxTries?: number; | ||
webhookTestBaseUrl: string; | ||
currentNodeParameters?: INodeParameters[]; | ||
currentNodeParameters?: INodeParameters; | ||
} | ||
@@ -536,0 +537,0 @@ export declare type WorkflowExecuteMode = 'cli' | 'error' | 'integrated' | 'internal' | 'manual' | 'retry' | 'trigger' | 'webhook'; |
@@ -234,2 +234,3 @@ "use strict"; | ||
let value; | ||
const values = []; | ||
if (parameter.displayOptions.show) { | ||
@@ -243,3 +244,10 @@ for (const propertyName of Object.keys(parameter.displayOptions.show)) { | ||
} | ||
if (value === undefined || !parameter.displayOptions.show[propertyName].includes(value)) { | ||
values.length = 0; | ||
if (!Array.isArray(value)) { | ||
values.push(value); | ||
} | ||
else { | ||
values.push.apply(values, value); | ||
} | ||
if (values.length === 0 || !parameter.displayOptions.show[propertyName].some(v => values.includes(v))) { | ||
return false; | ||
@@ -257,3 +265,10 @@ } | ||
} | ||
if (value !== undefined && parameter.displayOptions.hide[propertyName].includes(value)) { | ||
values.length = 0; | ||
if (!Array.isArray(value)) { | ||
values.push(value); | ||
} | ||
else { | ||
values.push.apply(values, value); | ||
} | ||
if (values.length !== 0 && parameter.displayOptions.hide[propertyName].some(v => values.includes(v))) { | ||
return false; | ||
@@ -260,0 +275,0 @@ } |
{ | ||
"name": "n8n-workflow", | ||
"version": "0.30.0", | ||
"version": "0.31.0", | ||
"description": "Workflow base code of n8n", | ||
@@ -34,3 +34,3 @@ "license": "SEE LICENSE IN LICENSE.md", | ||
"ts-jest": "^24.0.2", | ||
"tslint": "^5.17.0", | ||
"tslint": "^6.1.2", | ||
"typescript": "~3.7.4" | ||
@@ -37,0 +37,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
408573
6510