feat: Add prompt to overwrite changes when concurrent editing occurs (#4817)

* feat: Add prompt to overwrite changes when concurrent editing occurs

* chore: undo config schema update
This commit is contained in:
Alex Grozav
2022-12-05 14:34:14 +02:00
committed by GitHub
parent 46c75b9fd2
commit af6ac42aa3
4 changed files with 25 additions and 5 deletions

View File

@@ -205,7 +205,7 @@ export interface IRestApi {
removeTestWebhook(workflowId: string): Promise<boolean>;
runWorkflow(runData: IStartRunData): Promise<IExecutionPushResponse>;
createNewWorkflow(sendData: IWorkflowDataUpdate): Promise<IWorkflowDb>;
updateWorkflow(id: string, data: IWorkflowDataUpdate): Promise<IWorkflowDb>;
updateWorkflow(id: string, data: IWorkflowDataUpdate, forceSave?: boolean): Promise<IWorkflowDb>;
deleteWorkflow(name: string): Promise<void>;
getWorkflow(id: string): Promise<IWorkflowDb>;
getWorkflows(filter?: object): Promise<IWorkflowShortResponse[]>;