Skip to content

Commit b6493a8

Browse files
committed
feat: removed type, runtimeName, genericKey and added signature
1 parent c7678a7 commit b6493a8

1 file changed

Lines changed: 15 additions & 18 deletions

File tree

proto/shared/shared.runtime_function.proto

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,28 @@ import "shared.struct.proto";
1111
message RuntimeFunctionDefinition {
1212
string runtime_name = 1;
1313
repeated RuntimeParameterDefinition runtime_parameter_definitions = 2;
14-
optional string return_type = 3;
14+
string signature = 3;
1515
bool throws_error = 4;
16-
repeated string generic_keys = 5;
17-
repeated Translation name = 6;
18-
repeated Translation description = 7;
19-
repeated Translation documentation = 8;
20-
repeated Translation deprecation_message = 9;
21-
repeated Translation display_message = 10;
22-
repeated Translation alias = 11;
16+
repeated Translation name = 5;
17+
repeated Translation description = 6;
18+
repeated Translation documentation = 7;
19+
repeated Translation deprecation_message = 8;
20+
repeated Translation display_message = 9;
21+
repeated Translation alias = 10;
2322
//will link to all data types used in return_type or within the parameters type
24-
repeated string linked_data_type_identifiers = 12;
23+
repeated string linked_data_type_identifiers = 11;
2524
// Version of the runtime function
2625
// Format: "major.minor.patch", e.g. "1.2.3"
27-
string version = 13;
28-
string display_icon = 14;
26+
string version = 12;
27+
string display_icon = 13;
2928
// Identifier of the service that defines this definition
30-
string definition_source = 15;
29+
string definition_source = 14;
3130
}
3231

3332
// Definition of a parameter used for execution
3433
message RuntimeParameterDefinition {
35-
string type = 1;
36-
string runtime_name = 2;
37-
optional shared.Value default_value = 3;
38-
repeated Translation name = 4;
39-
repeated Translation description = 5;
40-
repeated Translation documentation = 6;
34+
optional shared.Value default_value = 1;
35+
repeated Translation name = 2;
36+
repeated Translation description = 3;
37+
repeated Translation documentation = 4;
4138
}

0 commit comments

Comments
 (0)