fix: Chat triggers don't work with the new partial execution flow (#11952)

This commit is contained in:
Danny Martini
2024-12-04 15:33:46 +01:00
committed by GitHub
parent 0e26f58ae6
commit 2b6a72f128
11 changed files with 360 additions and 80 deletions

View File

@@ -1,4 +1,11 @@
import type { INode, IConnections, IWorkflowSettings, IRunData, StartNodeData } from 'n8n-workflow';
import type {
INode,
IConnections,
IWorkflowSettings,
IRunData,
StartNodeData,
ITaskData,
} from 'n8n-workflow';
import type { IWorkflowDb } from '@/interfaces';
import type { AuthenticatedRequest, ListQuery } from '@/requests';
@@ -23,6 +30,10 @@ export declare namespace WorkflowRequest {
startNodes?: StartNodeData[];
destinationNode?: string;
dirtyNodeNames?: string[];
triggerToStartFrom?: {
name: string;
data?: ITaskData;
};
};
type Create = AuthenticatedRequest<{}, {}, CreateUpdatePayload>;