Skip to content

Commit e652839

Browse files
committed
feat: removed exectuion data type rules
1 parent 02a7e8a commit e652839

1 file changed

Lines changed: 12 additions & 21 deletions

File tree

proto/shared/shared.data_type.proto

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -50,52 +50,43 @@ message ExecutionDataType {
5050

5151
message DefinitionDataTypeRule {
5252
oneof config {
53-
DefinitionDataTypeContainsKeyRuleConfig contains_key = 1;
54-
DefinitionDataTypeContainsTypeRuleConfig contains_type = 2;
53+
DataTypeContainsKeyRuleConfig contains_key = 1;
54+
DataTypeContainsTypeRuleConfig contains_type = 2;
5555
DataTypeItemOfCollectionRuleConfig item_of_collection = 3;
5656
DataTypeNumberRangeRuleConfig number_range = 4;
5757
DataTypeRegexRuleConfig regex = 5;
58-
DefinitionDataTypeInputTypesRuleConfig input_types = 6;
59-
DefinitionDataTypeReturnTypeRuleConfig return_type = 7;
60-
DefinitionDataTypeParentTypeRuleConfig parent_type = 8;
58+
DataTypeInputTypesRuleConfig input_types = 6;
59+
DataTypeReturnTypeRuleConfig return_type = 7;
60+
DataTypeParentTypeRuleConfig parent_type = 8;
6161
}
6262
}
6363

6464
message ExecutionDataTypeRule {
6565
oneof config {
66-
ExecutionDataTypeContainsKeyRuleConfig contains_key = 1;
67-
ExecutionDataTypeContainsTypeRuleConfig contains_type = 2;
66+
DataTypeContainsKeyRuleConfig contains_key = 1;
67+
DataTypeContainsTypeRuleConfig contains_type = 2;
6868
DataTypeItemOfCollectionRuleConfig item_of_collection = 3;
6969
DataTypeNumberRangeRuleConfig number_range = 4;
7070
DataTypeRegexRuleConfig regex = 5;
7171
}
7272
}
7373

7474
// Rule for defining the data type parent type
75-
message DefinitionDataTypeParentTypeRuleConfig {
75+
message DataTypeParentTypeRuleConfig {
7676
DataTypeIdentifier parent_type = 1;
7777
}
7878

7979
// Rule to check that the given key is contained in the given object
80-
message DefinitionDataTypeContainsKeyRuleConfig {
80+
message DataTypeContainsKeyRuleConfig {
8181
string key = 1;
8282
DataTypeIdentifier data_type_identifier = 2;
8383
}
8484

85-
message ExecutionDataTypeContainsKeyRuleConfig {
86-
string key = 1;
87-
string data_type_identifier = 2;
88-
}
89-
9085
// Rule to check that the given type is contained in the given array
91-
message DefinitionDataTypeContainsTypeRuleConfig {
86+
message DataTypeContainsTypeRuleConfig {
9287
DataTypeIdentifier data_type_identifier = 1;
9388
}
9489

95-
message ExecutionDataTypeContainsTypeRuleConfig {
96-
string data_type_identifier = 1;
97-
}
98-
9990
// Rule to check that the given item is contained inside the array of items
10091
message DataTypeItemOfCollectionRuleConfig {
10192
repeated shared.Value items = 1;
@@ -113,7 +104,7 @@ message DataTypeRegexRuleConfig {
113104
string pattern = 1;
114105
}
115106

116-
message DefinitionDataTypeInputTypesRuleConfig {
107+
message DataTypeInputTypesRuleConfig {
117108
message DataTypeInputType {
118109
DataTypeIdentifier data_type_identifier = 1;
119110
string input_identifier = 2;
@@ -122,7 +113,7 @@ message DefinitionDataTypeInputTypesRuleConfig {
122113
repeated DataTypeInputType input_types = 1;
123114
}
124115

125-
message DefinitionDataTypeReturnTypeRuleConfig {
116+
message DataTypeReturnTypeRuleConfig {
126117
DataTypeIdentifier data_type_identifier = 1;
127118
}
128119

0 commit comments

Comments
 (0)