Skip to content

Commit 69d0d99

Browse files
Merge pull request #79 from code0-tech/74-missing-data-type-identifier
Missing Identifier in FlowType
2 parents 62dfdfc + 42c13ce commit 69d0d99

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

proto/shared/shared.flow_definition.proto

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,24 @@ option ruby_package = "Tucana::Shared";
55
package shared;
66

77
import "shared.translation.proto";
8-
import "shared.data_type.proto";
98
import "shared.struct.proto";
109
import "shared.flow.proto";
1110

1211
message FlowType {
13-
FlowDefinition definition = 1;
14-
repeated shared.Translation name = 2;
12+
string identifier = 1;
13+
repeated FlowTypeSetting settings = 2;
14+
optional string input_type_identifier = 3;
15+
optional string return_type_identifier = 4;
16+
bool editable = 5;
17+
repeated shared.Translation name = 6;
18+
repeated shared.Translation description = 7;
1519
}
1620

17-
message FlowDefinitionSetting {
18-
bool unique = 1;
19-
shared.DataType type = 2;
20-
optional shared.Struct default_value = 3;
21-
repeated shared.Translation name = 4;
22-
repeated shared.Translation description = 5;
23-
}
24-
25-
message FlowDefinition {
26-
repeated FlowDefinitionSetting settings = 1;
27-
shared.DataType input_type = 2;
28-
optional shared.DataType return_type = 3;
29-
bool editable = 4;
21+
message FlowTypeSetting {
22+
string identifier = 1;
23+
bool unique = 2;
24+
string data_type_identifier = 3;
25+
optional shared.Value default_value = 4;
26+
repeated shared.Translation name = 5;
27+
repeated shared.Translation description = 6;
3028
}

0 commit comments

Comments
 (0)