@@ -5,26 +5,24 @@ option ruby_package = "Tucana::Shared";
55package shared ;
66
77import "shared.translation.proto" ;
8- import "shared.data_type.proto" ;
98import "shared.struct.proto" ;
109import "shared.flow.proto" ;
1110
1211message 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