feat: Add ComponentFrontendNode to CustomComponent

This commit adds the `ComponentFrontendNode` class to the `CustomComponent` module. The `ComponentFrontendNode` class defines a new frontend node for the `Component` type. It includes a template with a code input field. This change enhances the functionality and flexibility of the `CustomComponent` module.
This commit is contained in:
ogabrielluiz 2024-05-31 09:25:48 -03:00
commit b7de1ff3bd
7 changed files with 105 additions and 31 deletions

View file

@ -8,7 +8,7 @@ class MultipleOutputsComponent(CustomComponent):
Input(display_name="Number", name="number", field_type=int),
]
outputs = [
Output(display_name="Certain Output", method="certain_output", name="certain_output"),
Output(name="Certain Output", method="certain_output"),
Output(name="Other Output", method="other_output"),
]