Skip to content

Commit 6af4f2f

Browse files
Merge pull request #213 from code0-tech/211-refine-reference-value
Refine Reference Value
2 parents 240669b + 91c9a60 commit 6af4f2f

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

proto/shared/shared.flow.proto

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,26 @@ message NodeParameter {
6666
}
6767

6868
message ReferenceValue {
69-
// Database Identifier of node
69+
oneof target {
70+
// Ref Value points to flow input
71+
FlowInput flow_input = 1;
72+
// Ref Value points to a Result of a node, the int is the id of the node
73+
int64 node_id = 2;
74+
// Points to Value that is contained inside of a node
75+
InputType input_type = 3;
76+
}
77+
repeated ReferencePath paths = 4;
78+
}
79+
80+
message FlowInput {}
81+
82+
message InputType {
83+
// Id of the node
7084
int64 node_id = 1;
71-
repeated ReferencePath paths = 2;
85+
// Index of the parameter inside the function
86+
int64 parameter_index = 2;
87+
// Index of the input type of the data type
88+
int64 input_index = 3;
7289
}
7390

7491
message ReferencePath {

0 commit comments

Comments
 (0)