fix: descriptor (listen, set, if, )deprecated typings
This commit is contained in:
@@ -36,14 +36,18 @@ class IfNodeCoreSchema(BaseModel):
|
||||
data: Optional[IfNodeCoreSchemaData] = Field(default=None, description="Данные узла")
|
||||
|
||||
|
||||
# Дескриптор формы узла IF
|
||||
IF_FORM_DESCRIPTOR = FormDescriptor(
|
||||
elements=[
|
||||
RowElement(
|
||||
name="condition_row_label",
|
||||
type="row",
|
||||
label="condition_name",
|
||||
),
|
||||
RowElement(
|
||||
name="condition_row",
|
||||
type="row",
|
||||
label="Condition",
|
||||
link_port=LinkPort(id="then_output", label="Then"),
|
||||
label="condition",
|
||||
link_port=LinkPort(id=0, label="Then"),
|
||||
elements=[
|
||||
AreaElement(
|
||||
name="condition",
|
||||
@@ -56,8 +60,8 @@ IF_FORM_DESCRIPTOR = FormDescriptor(
|
||||
RowElement(
|
||||
name="else_row",
|
||||
type="row",
|
||||
label="Alternative path",
|
||||
link_port=LinkPort(id="else_output", label="Else"),
|
||||
label="alternative_path",
|
||||
link_port=LinkPort(id=1, label="Else"),
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user