|
| 1 | +syntax = "proto3"; |
| 2 | + |
| 3 | +option ruby_package = "Tucana::Shared"; |
| 4 | + |
| 5 | +package shared; |
| 6 | + |
| 7 | +import "shared.translation.proto"; |
| 8 | +import "shared.struct.proto"; |
| 9 | + |
| 10 | +// Definition of a function used for execution |
| 11 | +message FunctionDefinition { |
| 12 | + string runtime_name = 1; |
| 13 | + repeated ParameterDefinition parameter_definitions = 2; |
| 14 | + string signature = 3; |
| 15 | + bool throws_error = 4; |
| 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; |
| 22 | + //will link to all data types used in return_type or within the parameters type |
| 23 | + repeated string linked_data_type_identifiers = 11; |
| 24 | + // Version of the runtime function |
| 25 | + // Format: "major.minor.patch", e.g. "1.2.3" |
| 26 | + string version = 12; |
| 27 | + string display_icon = 13; |
| 28 | + // Identifier of the service that defines this definition |
| 29 | + string definition_source = 14; |
| 30 | +} |
| 31 | + |
| 32 | +// Definition of a parameter used for execution |
| 33 | +message ParameterDefinition { |
| 34 | + string runtime_name = 1; |
| 35 | + optional shared.Value default_value = 2; |
| 36 | + repeated Translation name = 3; |
| 37 | + repeated Translation description = 4; |
| 38 | + repeated Translation documentation = 5; |
| 39 | +} |
0 commit comments