fix: descriptor (listen, set, if, )deprecated typings

This commit is contained in:
TheNoxium
2025-11-24 04:12:26 +07:00
parent 0bc87b589e
commit 0d6ecfeb40
23 changed files with 89 additions and 94 deletions

View File

@@ -41,22 +41,14 @@ class SetNodeCoreSchema(BaseModel):
SET_FORM_DESCRIPTOR = FormDescriptor(
elements=[
RowElement(
name="variable_row",
name="set_row_label",
type="row",
label="Parameter name",
elements=[
LineElement(
name="variable",
type="line",
label="Parameter name",
placeholder="Enter parameter name",
)
],
label="set_row_name",
),
RowElement(
name="value_row",
type="row",
label="Value",
label="set_value",
elements=[
AreaElement(
name="value",
@@ -65,13 +57,7 @@ SET_FORM_DESCRIPTOR = FormDescriptor(
placeholder="Enter value",
)
],
),
RowElement(
name="link_row",
type="row",
label="Link",
link_port=LinkPort(id="then_output", label="then"),
elements=[],
link_port=LinkPort(id=0, label="then"),
),
]
)