Skip to content

Commit 4d5d6c2

Browse files
authored
Merge pull request #282 from code0-tech/feat/#271
Introducing SubFlow for better representation of inner groups
2 parents 73fece2 + 522cc67 commit 4d5d6c2

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

proto/shared/shared.flow.proto

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ message NodeValue {
5353
oneof value {
5454
shared.Value literal_value = 1;
5555
ReferenceValue reference_value = 2;
56-
// Reference to the `database_id` field of message `NodeFunction`
57-
int64 node_function_id = 3;
56+
SubFlow sub_flow = 3;
5857
}
5958
}
6059

@@ -78,6 +77,23 @@ message ReferenceValue {
7877
repeated ReferencePath paths = 4;
7978
}
8079

80+
message SubFlow {
81+
oneof execution_reference {
82+
int64 starting_node_id = 1;
83+
string function_identifier = 2;
84+
}
85+
86+
string signature = 3;
87+
repeated SubFlowSetting settings = 4;
88+
}
89+
90+
message SubFlowSetting {
91+
string identifier = 1;
92+
optional shared.Value default_value = 2;
93+
optional bool optional = 3;
94+
optional bool hidden = 4;
95+
}
96+
8197
message FlowInput {}
8298

8399
message InputType {

0 commit comments

Comments
 (0)