* Refine condition to check for undefined value in use-handle-new-value hook
* update mutateTemplate to use APIClassType
* Refactor Component class to update inputs and validate outputs
This commit refactors the Component class in the `component.py` file. It introduces two new methods: `update_inputs` and `run_and_validate_update_outputs`. The `update_inputs` method allows for updating the build configuration with new field values, while the `run_and_validate_update_outputs` method updates the frontend node and validates the outputs. Additionally, the `_validate_frontend_node` method is added to check if all outputs are valid. The `_set_output_types` method is modified to accept a list of outputs and set their return types. Overall, these changes improve the functionality and maintainability of the Component class.
* Add dynamic output validation in API endpoint for component updates
* Update build_config to store field_value under "value" key
* Refactor: Convert dict values to list in _set_output_types call
* Add type check for `cc_instance` before calling `run_and_validate_update_outputs`
* Add DynamicOutputComponent with configurable outputs based on input
* Add test for updating component outputs with dynamic code input
* Refactor: Make get_dynamic_output_component_code asynchronous for improved performance
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>