n8n-workflow
Advanced tools
Comparing version 0.17.0 to 0.18.0
export * from './Interfaces'; | ||
export * from './Workflow'; | ||
export * from './WorkflowDataProxy'; | ||
export * from './WorkflowHooks'; | ||
import * as NodeHelpers from './NodeHelpers'; | ||
import * as ObservableObject from './ObservableObject'; | ||
export { NodeHelpers, ObservableObject, }; |
@@ -8,2 +8,3 @@ "use strict"; | ||
__export(require("./WorkflowDataProxy")); | ||
__export(require("./WorkflowHooks")); | ||
const NodeHelpers = require("./NodeHelpers"); | ||
@@ -10,0 +11,0 @@ exports.NodeHelpers = NodeHelpers; |
import { Workflow } from './Workflow'; | ||
import { WorkflowHooks } from './WorkflowHooks'; | ||
import * as express from 'express'; | ||
@@ -101,2 +102,3 @@ export interface IBinaryData { | ||
export interface IExecuteFunctions { | ||
executeWorkflow(workflowId: string, inputData?: INodeExecutionData[]): Promise<any>; | ||
getContext(type: string): IContextObject; | ||
@@ -109,2 +111,3 @@ getCredentials(type: string): ICredentialDataDecryptedObject | undefined; | ||
getWorkflowStaticData(type: string): IDataObject; | ||
getRestApiUrl(): string; | ||
getTimezone(): string; | ||
@@ -122,2 +125,3 @@ prepareOutputData(outputData: INodeExecutionData[], outputIndex?: number): Promise<INodeExecutionData[][]>; | ||
getNodeParameter(parameterName: string, fallbackValue?: any): NodeParameterValue | INodeParameters | NodeParameterValue[] | INodeParameters[] | object; | ||
getRestApiUrl(): string; | ||
getTimezone(): string; | ||
@@ -136,2 +140,3 @@ getWorkflowDataProxy(): IWorkflowDataProxyData; | ||
getTimezone(): string; | ||
getRestApiUrl(): string; | ||
helpers: { | ||
@@ -159,2 +164,3 @@ [key: string]: ((...args: any[]) => any) | undefined; | ||
getNodeParameter(parameterName: string, fallbackValue?: any): NodeParameterValue | INodeParameters | NodeParameterValue[] | INodeParameters[] | object; | ||
getRestApiUrl(): string; | ||
getTimezone(): string; | ||
@@ -443,2 +449,13 @@ getWorkflowStaticData(type: string): IDataObject; | ||
} | ||
export interface IWorkflowBase { | ||
id?: number | string | any; | ||
name: string; | ||
active: boolean; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
nodes: INode[]; | ||
connections: IConnections; | ||
settings?: IWorkflowSettings; | ||
staticData?: IDataObject; | ||
} | ||
export interface IWorkflowCredentials { | ||
@@ -459,5 +476,7 @@ [key: string]: { | ||
encryptionKey: string; | ||
hooks?: IWorkflowExecuteHooks; | ||
executeWorkflow: (workflowId: string, additionalData: IWorkflowExecuteAdditionalData, inputData?: INodeExecutionData[]) => Promise<any>; | ||
hooks?: WorkflowHooks; | ||
httpResponse?: express.Response; | ||
httpRequest?: express.Request; | ||
restApiUrl: string; | ||
timezone: string; | ||
@@ -468,5 +487,10 @@ webhookBaseUrl: string; | ||
} | ||
export declare type WorkflowExecuteMode = 'cli' | 'error' | 'internal' | 'manual' | 'retry' | 'trigger' | 'webhook'; | ||
export declare type WorkflowExecuteMode = 'cli' | 'error' | 'integrated' | 'internal' | 'manual' | 'retry' | 'trigger' | 'webhook'; | ||
export interface IWorkflowHooksOptionalParameters { | ||
parentProcessMode?: string; | ||
retryOf?: string; | ||
sessionId?: string; | ||
} | ||
export interface IWorkflowSettings { | ||
[key: string]: IDataObject | string | number | boolean | undefined; | ||
} |
{ | ||
"name": "n8n-workflow", | ||
"version": "0.17.0", | ||
"version": "0.18.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
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
380442
36
6001