2 Commits

Author SHA1 Message Date
Denys Smirnov
da4cb7125a Save widget names in the workflow JSON
Currently, any external tooling will have a hard time converting workflow JSON files to the API format.

The main reason is that widgets_values is an array and mapping values from that array to widget names requires loading node types from the object_info endpoint as well. However, object_info depends on the plugins installed and thus may miss some of the nodes in the workflow.

This change adds widget_names to the JSON, allowing direct conversion of workflow files to API format without prior knowledge of all node types. This could also help with compatibility in the future.

Resolves #2275
2024-06-02 14:04:59 +03:00
pythongosssss
eb4035c8bd Adds jsdoc for better dev experience 2023-04-15 21:40:39 +01:00