n8n-workflow
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -106,2 +106,3 @@ import { Workflow } from './Workflow'; | ||
getNodeParameter(parameterName: string, itemIndex: number, fallbackValue?: any): NodeParameterValue | INodeParameters | NodeParameterValue[] | INodeParameters[] | object; | ||
getWorkflowDataProxy(itemIndex: number): IWorkflowDataProxyData; | ||
getWorkflowStaticData(type: string): IDataObject; | ||
@@ -121,2 +122,3 @@ getTimezone(): string; | ||
getTimezone(): string; | ||
getWorkflowDataProxy(): IWorkflowDataProxyData; | ||
getWorkflowStaticData(type: string): IDataObject; | ||
@@ -220,4 +222,6 @@ helpers: { | ||
export declare type NodePropertyTypes = 'boolean' | 'collection' | 'color' | 'dateTime' | 'fixedCollection' | 'json' | 'multiOptions' | 'number' | 'options' | 'string'; | ||
export declare type EditorTypes = 'code'; | ||
export interface INodePropertyTypeOptions { | ||
alwaysOpenEditWindow?: boolean; | ||
editor?: EditorTypes; | ||
loadOptionsMethod?: string; | ||
@@ -232,3 +236,3 @@ maxValue?: number; | ||
rows?: number; | ||
[key: string]: boolean | number | string | undefined; | ||
[key: string]: boolean | number | string | EditorTypes | undefined; | ||
} | ||
@@ -367,2 +371,9 @@ export interface IDisplayOptions { | ||
} | ||
export interface IWorkflowDataProxyData { | ||
$binary: any; | ||
$data: any; | ||
$env: any; | ||
$node: any; | ||
$parameter: any; | ||
} | ||
export declare type WebhookHttpMethod = 'GET' | 'POST'; | ||
@@ -369,0 +380,0 @@ export interface IWebhookResonseData { |
@@ -1,2 +0,2 @@ | ||
import { INodeExecutionData, IRunExecutionData, Workflow } from './'; | ||
import { INodeExecutionData, IRunExecutionData, IWorkflowDataProxyData, Workflow } from './'; | ||
export declare class WorkflowDataProxy { | ||
@@ -15,9 +15,3 @@ private workflow; | ||
private nodeGetter; | ||
getDataProxy(): { | ||
$binary: {}; | ||
$data: {}; | ||
$env: {}; | ||
$node: {}; | ||
$parameter: import("./Interfaces").INodeParameters; | ||
}; | ||
getDataProxy(): IWorkflowDataProxyData; | ||
} |
@@ -97,6 +97,6 @@ "use strict"; | ||
else if (name === 'binary') { | ||
const returnData = {}; | ||
if (!executionData[that.itemIndex].binary) { | ||
throw new Error(`No binary data for node "${nodeName}" has been found!`); | ||
return returnData; | ||
} | ||
const returnData = {}; | ||
const binaryKeyData = executionData[that.itemIndex].binary; | ||
@@ -103,0 +103,0 @@ for (const keyName of Object.keys(binaryKeyData)) { |
{ | ||
"name": "n8n-workflow", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "Workflow base code of n8n", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"homepage": "https://n8n.io", | ||
"author": { | ||
@@ -7,0 +8,0 @@ "name": "Jan Oberhauser", |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
367315
5789
1