feat: run flow (#1076)

### What problem does this PR solve?

feat: run flow #918 

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-06-06 15:00:37 +08:00
committed by GitHub
parent d9dc183a0e
commit db35e9df4f
9 changed files with 88 additions and 20 deletions

View File

@ -8,6 +8,7 @@ const {
listCanvas,
resetCanvas,
removeCanvas,
runCanvas,
listTemplates,
} = api;
@ -32,6 +33,10 @@ const methods = {
url: removeCanvas,
method: 'post',
},
runCanvas: {
url: runCanvas,
method: 'post',
},
listTemplates: {
url: listTemplates,
method: 'get',