n8n-workflow
Advanced tools
Comparing version 0.79.0 to 0.80.0
@@ -543,2 +543,5 @@ /// <reference types="node" /> | ||
webhooks?: IWebhookDescription[]; | ||
translation?: { | ||
[key: string]: object; | ||
}; | ||
} | ||
@@ -545,0 +548,0 @@ export interface INodeHookDescription { |
@@ -22,4 +22,4 @@ import { IContextObject, INode, INodeCredentialDescription, INodeExecutionData, INodeIssues, INodeParameters, INodeProperties, INodeType, INodeVersionedType, IParameterDependencies, IRunExecutionData, IWebhookData, IWorkflowExecuteAdditionalData, NodeParameterValue } from './Interfaces'; | ||
export declare function mergeNodeProperties(mainProperties: INodeProperties[], addProperties: INodeProperties[]): void; | ||
export declare function getVersionedTypeNode(object: INodeVersionedType | INodeType, version?: number): INodeType; | ||
export declare function getVersionedTypeNodeAll(object: INodeVersionedType | INodeType): INodeType[]; | ||
export declare function getVersionedNodeType(object: INodeVersionedType | INodeType, version?: number): INodeType; | ||
export declare function getVersionedNodeTypeAll(object: INodeVersionedType | INodeType): INodeType[]; | ||
export declare function isNodeTypeVersioned(object: INodeVersionedType | INodeType): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isNodeTypeVersioned = exports.getVersionedTypeNodeAll = exports.getVersionedTypeNode = exports.mergeNodeProperties = exports.mergeIssues = exports.getParameterIssues = exports.getParameterValueByPath = exports.addToIssuesIfMissing = exports.nodeIssuesToString = exports.getNodeParametersIssues = exports.getNodeWebhookUrl = exports.getNodeWebhookPath = exports.getNodeWebhooksBasic = exports.getNodeWebhooks = exports.prepareOutputData = exports.getNodeParameters = exports.getParamterResolveOrder = exports.getParamterDependencies = exports.getContext = exports.displayParameterPath = exports.displayParameter = exports.getSpecialNodeParameters = void 0; | ||
exports.isNodeTypeVersioned = exports.getVersionedNodeTypeAll = exports.getVersionedNodeType = exports.mergeNodeProperties = exports.mergeIssues = exports.getParameterIssues = exports.getParameterValueByPath = exports.addToIssuesIfMissing = exports.nodeIssuesToString = exports.getNodeParametersIssues = exports.getNodeWebhookUrl = exports.getNodeWebhookPath = exports.getNodeWebhooksBasic = exports.getNodeWebhooks = exports.prepareOutputData = exports.getNodeParameters = exports.getParamterResolveOrder = exports.getParamterDependencies = exports.getContext = exports.displayParameterPath = exports.displayParameter = exports.getSpecialNodeParameters = void 0; | ||
const lodash_1 = require("lodash"); | ||
@@ -830,3 +830,3 @@ function getSpecialNodeParameters(nodeType) { | ||
exports.mergeNodeProperties = mergeNodeProperties; | ||
function getVersionedTypeNode(object, version) { | ||
function getVersionedNodeType(object, version) { | ||
if (isNodeTypeVersioned(object)) { | ||
@@ -837,4 +837,4 @@ return object.getNodeType(version); | ||
} | ||
exports.getVersionedTypeNode = getVersionedTypeNode; | ||
function getVersionedTypeNodeAll(object) { | ||
exports.getVersionedNodeType = getVersionedNodeType; | ||
function getVersionedNodeTypeAll(object) { | ||
if (isNodeTypeVersioned(object)) { | ||
@@ -848,3 +848,3 @@ return Object.values(object.nodeVersions).map((element) => { | ||
} | ||
exports.getVersionedTypeNodeAll = getVersionedTypeNodeAll; | ||
exports.getVersionedNodeTypeAll = getVersionedNodeTypeAll; | ||
function isNodeTypeVersioned(object) { | ||
@@ -851,0 +851,0 @@ return !!('getNodeType' in object); |
@@ -95,3 +95,3 @@ "use strict"; | ||
getAll() { | ||
return Object.values(this.nodeTypes).map((data) => src_1.NodeHelpers.getVersionedTypeNode(data.type)); | ||
return Object.values(this.nodeTypes).map((data) => src_1.NodeHelpers.getVersionedNodeType(data.type)); | ||
} | ||
@@ -102,3 +102,3 @@ getByName(nodeType) { | ||
getByNameAndVersion(nodeType, version) { | ||
return src_1.NodeHelpers.getVersionedTypeNode(this.nodeTypes[nodeType].type, version); | ||
return src_1.NodeHelpers.getVersionedNodeType(this.nodeTypes[nodeType].type, version); | ||
} | ||
@@ -105,0 +105,0 @@ } |
{ | ||
"name": "n8n-workflow", | ||
"version": "0.79.0", | ||
"version": "0.80.0", | ||
"description": "Workflow base code of n8n", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md", |
475087
7478