Commit 4233cc6
feat(flows): map javascript json paths to custom fields
Let Execute JavaScript use the same JSON-path picker as External API Request so any returned object can fill any custom fields the author chooses.
Co-authored-by: JuanBifrost <JuanBifrost@users.noreply.github.com>1 parent 6b563d1 commit 4233cc6
31 files changed
Lines changed: 941 additions & 106 deletions
File tree
- apps
- builder
- messages
- src/features/flows/react-flow/steps
- __tests__
- execute-javascript
- external-request/components
- worker
- __tests__
- src/integration/handlers
- packages
- business
- __tests__
- src/javascript-execution
- flow-config
- __tests__
- src/steps
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1420 | 1420 | | |
1421 | 1421 | | |
1422 | 1422 | | |
1423 | | - | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
1424 | 1426 | | |
1425 | 1427 | | |
1426 | 1428 | | |
1427 | 1429 | | |
1428 | | - | |
| 1430 | + | |
| 1431 | + | |
1429 | 1432 | | |
1430 | 1433 | | |
1431 | 1434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
1286 | | - | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1287 | 1289 | | |
1288 | 1290 | | |
1289 | 1291 | | |
1290 | 1292 | | |
1291 | | - | |
| 1293 | + | |
| 1294 | + | |
1292 | 1295 | | |
1293 | 1296 | | |
1294 | 1297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
1286 | | - | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1287 | 1289 | | |
1288 | 1290 | | |
1289 | 1291 | | |
1290 | 1292 | | |
1291 | | - | |
| 1293 | + | |
| 1294 | + | |
1292 | 1295 | | |
1293 | 1296 | | |
1294 | 1297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1429 | 1429 | | |
1430 | 1430 | | |
1431 | 1431 | | |
1432 | | - | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1433 | 1435 | | |
1434 | 1436 | | |
1435 | 1437 | | |
1436 | 1438 | | |
1437 | | - | |
| 1439 | + | |
| 1440 | + | |
1438 | 1441 | | |
1439 | 1442 | | |
1440 | 1443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1420 | 1420 | | |
1421 | 1421 | | |
1422 | 1422 | | |
1423 | | - | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
1424 | 1426 | | |
1425 | 1427 | | |
1426 | 1428 | | |
1427 | 1429 | | |
1428 | | - | |
| 1430 | + | |
| 1431 | + | |
1429 | 1432 | | |
1430 | 1433 | | |
1431 | 1434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
1286 | | - | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1287 | 1289 | | |
1288 | 1290 | | |
1289 | 1291 | | |
1290 | 1292 | | |
1291 | | - | |
| 1293 | + | |
| 1294 | + | |
1292 | 1295 | | |
1293 | 1296 | | |
1294 | 1297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
1286 | | - | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1287 | 1289 | | |
1288 | 1290 | | |
1289 | 1291 | | |
1290 | 1292 | | |
1291 | | - | |
| 1293 | + | |
| 1294 | + | |
1292 | 1295 | | |
1293 | 1296 | | |
1294 | 1297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3975 | 3975 | | |
3976 | 3976 | | |
3977 | 3977 | | |
3978 | | - | |
| 3978 | + | |
| 3979 | + | |
| 3980 | + | |
3979 | 3981 | | |
3980 | 3982 | | |
3981 | 3983 | | |
3982 | 3984 | | |
3983 | | - | |
| 3985 | + | |
| 3986 | + | |
3984 | 3987 | | |
3985 | 3988 | | |
3986 | 3989 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
1286 | | - | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1287 | 1289 | | |
1288 | 1290 | | |
1289 | 1291 | | |
1290 | 1292 | | |
1291 | | - | |
| 1293 | + | |
| 1294 | + | |
1292 | 1295 | | |
1293 | 1296 | | |
1294 | 1297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
600 | 602 | | |
601 | 603 | | |
602 | 604 | | |
603 | 605 | | |
604 | | - | |
| 606 | + | |
| 607 | + | |
605 | 608 | | |
606 | 609 | | |
607 | 610 | | |
| |||
0 commit comments