n8n-workflow
Advanced tools
Comparing version 1.15.1 to 1.16.0
@@ -1256,3 +1256,3 @@ /// <reference types="node" /> | ||
export type WorkflowExecuteMode = 'cli' | 'error' | 'integrated' | 'internal' | 'manual' | 'retry' | 'trigger' | 'webhook'; | ||
export type WorkflowActivateMode = 'init' | 'create' | 'update' | 'activate' | 'manual'; | ||
export type WorkflowActivateMode = 'init' | 'create' | 'update' | 'activate' | 'manual' | 'leadershipChange'; | ||
export interface IWorkflowHooksOptionalParameters { | ||
@@ -1370,2 +1370,3 @@ parentProcessMode?: string; | ||
type: string; | ||
version?: number; | ||
resource?: string; | ||
@@ -1372,0 +1373,0 @@ operation?: string; |
@@ -109,2 +109,3 @@ "use strict"; | ||
type: node.type, | ||
version: node.typeVersion, | ||
position: node.position, | ||
@@ -111,0 +112,0 @@ }; |
@@ -7,7 +7,11 @@ import type { INode } from './Interfaces'; | ||
severity?: Severity; | ||
workflowId?: string; | ||
} | ||
export declare class WorkflowActivationError extends ExecutionBaseError { | ||
node: INode | undefined; | ||
constructor(message: string, { cause, node, severity }: WorkflowActivationErrorOptions); | ||
workflowId: string | undefined; | ||
constructor(message: string, { cause, node, severity, workflowId }?: WorkflowActivationErrorOptions); | ||
} | ||
export declare class WorkflowDeactivationError extends WorkflowActivationError { | ||
} | ||
export declare class WebhookPathAlreadyTakenError extends WorkflowActivationError { | ||
@@ -14,0 +18,0 @@ constructor(nodeName: string, cause?: Error); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WebhookPathAlreadyTakenError = exports.WorkflowActivationError = void 0; | ||
exports.WebhookPathAlreadyTakenError = exports.WorkflowDeactivationError = exports.WorkflowActivationError = void 0; | ||
const NodeErrors_1 = require("./NodeErrors"); | ||
class WorkflowActivationError extends NodeErrors_1.ExecutionBaseError { | ||
constructor(message, { cause, node, severity }) { | ||
constructor(message, { cause, node, severity, workflowId } = {}) { | ||
let error = cause; | ||
@@ -16,2 +16,3 @@ if (cause instanceof NodeErrors_1.ExecutionBaseError) { | ||
this.node = node; | ||
this.workflowId = workflowId; | ||
this.message = message; | ||
@@ -23,2 +24,5 @@ if (severity) | ||
exports.WorkflowActivationError = WorkflowActivationError; | ||
class WorkflowDeactivationError extends WorkflowActivationError { | ||
} | ||
exports.WorkflowDeactivationError = WorkflowDeactivationError; | ||
class WebhookPathAlreadyTakenError extends WorkflowActivationError { | ||
@@ -25,0 +29,0 @@ constructor(nodeName, cause) { |
{ | ||
"name": "n8n-workflow", | ||
"version": "1.15.1", | ||
"version": "1.16.0", | ||
"description": "Workflow base code of n8n", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
714888
9764