refactor(editor): Migrate workflows store to setup function with composition API (no-changelog) (#9270)

This commit is contained in:
Alex Grozav
2024-05-08 14:35:29 +03:00
committed by GitHub
parent 6b6e8dfc33
commit f64a41d617
9 changed files with 2002 additions and 1543 deletions

View File

@@ -253,6 +253,12 @@ export interface IWorkflowToShare extends IWorkflowDataUpdate {
meta?: WorkflowMetadata;
}
export interface NewWorkflowResponse {
name: string;
onboardingFlowEnabled?: boolean;
defaultSettings: IWorkflowSettings;
}
export interface IWorkflowTemplateNode
extends Pick<INodeUi, 'name' | 'type' | 'position' | 'parameters' | 'typeVersion' | 'webhookId'> {
// The credentials in a template workflow have a different type than in a regular workflow