@code0-tech/tucana 0.0.54 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,6 @@ import type { IBinaryReader } from "@protobuf-ts/runtime";
8
8
  import type { PartialMessage } from "@protobuf-ts/runtime";
9
9
  import { MessageType } from "@protobuf-ts/runtime";
10
10
  import { Value } from "./shared.struct_pb";
11
- import { DataTypeIdentifier } from "./shared.data_type_pb";
12
11
  import { ExecutionDataType } from "./shared.data_type_pb";
13
12
  /**
14
13
  * @generated from protobuf message shared.ValidationFlow
@@ -39,13 +38,13 @@ export interface ValidationFlow {
39
38
  /**
40
39
  * These reference data_types by its identifiers, which is are string
41
40
  *
42
- * @generated from protobuf field: optional shared.DataTypeIdentifier input_type = 5
41
+ * @generated from protobuf field: optional string input_type = 5
43
42
  */
44
- inputType?: DataTypeIdentifier;
43
+ inputType?: string;
45
44
  /**
46
- * @generated from protobuf field: optional shared.DataTypeIdentifier return_type = 6
45
+ * @generated from protobuf field: optional string return_type = 6
47
46
  */
48
- returnType?: DataTypeIdentifier;
47
+ returnType?: string;
49
48
  /**
50
49
  * @generated from protobuf field: repeated shared.FlowSetting settings = 7
51
50
  */
@@ -6,7 +6,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
6
6
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
7
7
  import { MessageType } from "@protobuf-ts/runtime";
8
8
  import { Value } from "./shared.struct_pb";
9
- import { DataTypeIdentifier } from "./shared.data_type_pb";
10
9
  import { ExecutionDataType } from "./shared.data_type_pb";
11
10
  // @generated message type with reflection information, may provide speed optimized methods
12
11
  class ValidationFlow$Type extends MessageType {
@@ -16,8 +15,8 @@ class ValidationFlow$Type extends MessageType {
16
15
  { no: 2, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
17
16
  { no: 3, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
18
17
  { no: 4, name: "data_types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionDataType },
19
- { no: 5, name: "input_type", kind: "message", T: () => DataTypeIdentifier },
20
- { no: 6, name: "return_type", kind: "message", T: () => DataTypeIdentifier },
18
+ { no: 5, name: "input_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
19
+ { no: 6, name: "return_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
21
20
  { no: 7, name: "settings", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FlowSetting },
22
21
  { no: 8, name: "starting_node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
23
22
  { no: 9, name: "node_functions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => NodeFunction },
@@ -56,11 +55,11 @@ class ValidationFlow$Type extends MessageType {
56
55
  case /* repeated shared.ExecutionDataType data_types */ 4:
57
56
  message.dataTypes.push(ExecutionDataType.internalBinaryRead(reader, reader.uint32(), options));
58
57
  break;
59
- case /* optional shared.DataTypeIdentifier input_type */ 5:
60
- message.inputType = DataTypeIdentifier.internalBinaryRead(reader, reader.uint32(), options, message.inputType);
58
+ case /* optional string input_type */ 5:
59
+ message.inputType = reader.string();
61
60
  break;
62
- case /* optional shared.DataTypeIdentifier return_type */ 6:
63
- message.returnType = DataTypeIdentifier.internalBinaryRead(reader, reader.uint32(), options, message.returnType);
61
+ case /* optional string return_type */ 6:
62
+ message.returnType = reader.string();
64
63
  break;
65
64
  case /* repeated shared.FlowSetting settings */ 7:
66
65
  message.settings.push(FlowSetting.internalBinaryRead(reader, reader.uint32(), options));
@@ -101,12 +100,12 @@ class ValidationFlow$Type extends MessageType {
101
100
  /* repeated shared.ExecutionDataType data_types = 4; */
102
101
  for (let i = 0; i < message.dataTypes.length; i++)
103
102
  ExecutionDataType.internalBinaryWrite(message.dataTypes[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
104
- /* optional shared.DataTypeIdentifier input_type = 5; */
105
- if (message.inputType)
106
- DataTypeIdentifier.internalBinaryWrite(message.inputType, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
107
- /* optional shared.DataTypeIdentifier return_type = 6; */
108
- if (message.returnType)
109
- DataTypeIdentifier.internalBinaryWrite(message.returnType, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
103
+ /* optional string input_type = 5; */
104
+ if (message.inputType !== undefined)
105
+ writer.tag(5, WireType.LengthDelimited).string(message.inputType);
106
+ /* optional string return_type = 6; */
107
+ if (message.returnType !== undefined)
108
+ writer.tag(6, WireType.LengthDelimited).string(message.returnType);
110
109
  /* repeated shared.FlowSetting settings = 7; */
111
110
  for (let i = 0; i < message.settings.length; i++)
112
111
  FlowSetting.internalBinaryWrite(message.settings[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
@@ -9,7 +9,6 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
9
9
  import { MessageType } from "@protobuf-ts/runtime";
10
10
  import { Value } from "./shared.struct_pb";
11
11
  import { Translation } from "./shared.translation_pb";
12
- import { DataTypeIdentifier } from "./shared.data_type_pb";
13
12
  /**
14
13
  * Definition of a function used for execution
15
14
  *
@@ -25,41 +24,43 @@ export interface RuntimeFunctionDefinition {
25
24
  */
26
25
  runtimeParameterDefinitions: RuntimeParameterDefinition[];
27
26
  /**
28
- * @generated from protobuf field: optional shared.DataTypeIdentifier return_type_identifier = 3
27
+ * @generated from protobuf field: string signature = 3
29
28
  */
30
- returnTypeIdentifier?: DataTypeIdentifier;
29
+ signature: string;
31
30
  /**
32
31
  * @generated from protobuf field: bool throws_error = 4
33
32
  */
34
33
  throwsError: boolean;
35
34
  /**
36
- * @generated from protobuf field: repeated string generic_keys = 5
37
- */
38
- genericKeys: string[];
39
- /**
40
- * @generated from protobuf field: repeated shared.Translation name = 6
35
+ * @generated from protobuf field: repeated shared.Translation name = 5
41
36
  */
42
37
  name: Translation[];
43
38
  /**
44
- * @generated from protobuf field: repeated shared.Translation description = 7
39
+ * @generated from protobuf field: repeated shared.Translation description = 6
45
40
  */
46
41
  description: Translation[];
47
42
  /**
48
- * @generated from protobuf field: repeated shared.Translation documentation = 8
43
+ * @generated from protobuf field: repeated shared.Translation documentation = 7
49
44
  */
50
45
  documentation: Translation[];
51
46
  /**
52
- * @generated from protobuf field: repeated shared.Translation deprecation_message = 9
47
+ * @generated from protobuf field: repeated shared.Translation deprecation_message = 8
53
48
  */
54
49
  deprecationMessage: Translation[];
55
50
  /**
56
- * @generated from protobuf field: repeated shared.Translation display_message = 10
51
+ * @generated from protobuf field: repeated shared.Translation display_message = 9
57
52
  */
58
53
  displayMessage: Translation[];
59
54
  /**
60
- * @generated from protobuf field: repeated shared.Translation alias = 11
55
+ * @generated from protobuf field: repeated shared.Translation alias = 10
61
56
  */
62
57
  alias: Translation[];
58
+ /**
59
+ * will link to all data types used in return_type or within the parameters type
60
+ *
61
+ * @generated from protobuf field: repeated string linked_data_type_identifiers = 11
62
+ */
63
+ linkedDataTypeIdentifiers: string[];
63
64
  /**
64
65
  * Version of the runtime function
65
66
  * Format: "major.minor.patch", e.g. "1.2.3"
@@ -74,9 +75,9 @@ export interface RuntimeFunctionDefinition {
74
75
  /**
75
76
  * Identifier of the service that defines this definition
76
77
  *
77
- * @generated from protobuf field: optional string definition_source = 14
78
+ * @generated from protobuf field: string definition_source = 14
78
79
  */
79
- definitionSource?: string;
80
+ definitionSource: string;
80
81
  }
81
82
  /**
82
83
  * Definition of a parameter used for execution
@@ -85,27 +86,23 @@ export interface RuntimeFunctionDefinition {
85
86
  */
86
87
  export interface RuntimeParameterDefinition {
87
88
  /**
88
- * @generated from protobuf field: shared.DataTypeIdentifier data_type_identifier = 1
89
- */
90
- dataTypeIdentifier?: DataTypeIdentifier;
91
- /**
92
- * @generated from protobuf field: string runtime_name = 2
89
+ * @generated from protobuf field: string runtime_name = 1
93
90
  */
94
91
  runtimeName: string;
95
92
  /**
96
- * @generated from protobuf field: optional shared.Value default_value = 3
93
+ * @generated from protobuf field: optional shared.Value default_value = 2
97
94
  */
98
95
  defaultValue?: Value;
99
96
  /**
100
- * @generated from protobuf field: repeated shared.Translation name = 4
97
+ * @generated from protobuf field: repeated shared.Translation name = 3
101
98
  */
102
99
  name: Translation[];
103
100
  /**
104
- * @generated from protobuf field: repeated shared.Translation description = 5
101
+ * @generated from protobuf field: repeated shared.Translation description = 4
105
102
  */
106
103
  description: Translation[];
107
104
  /**
108
- * @generated from protobuf field: repeated shared.Translation documentation = 6
105
+ * @generated from protobuf field: repeated shared.Translation documentation = 5
109
106
  */
110
107
  documentation: Translation[];
111
108
  }
@@ -7,41 +7,42 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
7
7
  import { MessageType } from "@protobuf-ts/runtime";
8
8
  import { Value } from "./shared.struct_pb";
9
9
  import { Translation } from "./shared.translation_pb";
10
- import { DataTypeIdentifier } from "./shared.data_type_pb";
11
10
  // @generated message type with reflection information, may provide speed optimized methods
12
11
  class RuntimeFunctionDefinition$Type extends MessageType {
13
12
  constructor() {
14
13
  super("shared.RuntimeFunctionDefinition", [
15
14
  { no: 1, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
16
15
  { no: 2, name: "runtime_parameter_definitions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeParameterDefinition },
17
- { no: 3, name: "return_type_identifier", kind: "message", T: () => DataTypeIdentifier },
16
+ { no: 3, name: "signature", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
18
17
  { no: 4, name: "throws_error", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
19
- { no: 5, name: "generic_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
20
- { no: 6, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
21
- { no: 7, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
22
- { no: 8, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
23
- { no: 9, name: "deprecation_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
24
- { no: 10, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
25
- { no: 11, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
18
+ { no: 5, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
19
+ { no: 6, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
20
+ { no: 7, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
21
+ { no: 8, name: "deprecation_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
22
+ { no: 9, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
23
+ { no: 10, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
24
+ { no: 11, name: "linked_data_type_identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
26
25
  { no: 12, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
27
26
  { no: 13, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
28
- { no: 14, name: "definition_source", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
27
+ { no: 14, name: "definition_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
29
28
  ]);
30
29
  }
31
30
  create(value) {
32
31
  const message = globalThis.Object.create((this.messagePrototype));
33
32
  message.runtimeName = "";
34
33
  message.runtimeParameterDefinitions = [];
34
+ message.signature = "";
35
35
  message.throwsError = false;
36
- message.genericKeys = [];
37
36
  message.name = [];
38
37
  message.description = [];
39
38
  message.documentation = [];
40
39
  message.deprecationMessage = [];
41
40
  message.displayMessage = [];
42
41
  message.alias = [];
42
+ message.linkedDataTypeIdentifiers = [];
43
43
  message.version = "";
44
44
  message.displayIcon = "";
45
+ message.definitionSource = "";
45
46
  if (value !== undefined)
46
47
  reflectionMergePartial(this, message, value);
47
48
  return message;
@@ -57,40 +58,40 @@ class RuntimeFunctionDefinition$Type extends MessageType {
57
58
  case /* repeated shared.RuntimeParameterDefinition runtime_parameter_definitions */ 2:
58
59
  message.runtimeParameterDefinitions.push(RuntimeParameterDefinition.internalBinaryRead(reader, reader.uint32(), options));
59
60
  break;
60
- case /* optional shared.DataTypeIdentifier return_type_identifier */ 3:
61
- message.returnTypeIdentifier = DataTypeIdentifier.internalBinaryRead(reader, reader.uint32(), options, message.returnTypeIdentifier);
61
+ case /* string signature */ 3:
62
+ message.signature = reader.string();
62
63
  break;
63
64
  case /* bool throws_error */ 4:
64
65
  message.throwsError = reader.bool();
65
66
  break;
66
- case /* repeated string generic_keys */ 5:
67
- message.genericKeys.push(reader.string());
68
- break;
69
- case /* repeated shared.Translation name */ 6:
67
+ case /* repeated shared.Translation name */ 5:
70
68
  message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
71
69
  break;
72
- case /* repeated shared.Translation description */ 7:
70
+ case /* repeated shared.Translation description */ 6:
73
71
  message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
74
72
  break;
75
- case /* repeated shared.Translation documentation */ 8:
73
+ case /* repeated shared.Translation documentation */ 7:
76
74
  message.documentation.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
77
75
  break;
78
- case /* repeated shared.Translation deprecation_message */ 9:
76
+ case /* repeated shared.Translation deprecation_message */ 8:
79
77
  message.deprecationMessage.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
80
78
  break;
81
- case /* repeated shared.Translation display_message */ 10:
79
+ case /* repeated shared.Translation display_message */ 9:
82
80
  message.displayMessage.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
83
81
  break;
84
- case /* repeated shared.Translation alias */ 11:
82
+ case /* repeated shared.Translation alias */ 10:
85
83
  message.alias.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
86
84
  break;
85
+ case /* repeated string linked_data_type_identifiers */ 11:
86
+ message.linkedDataTypeIdentifiers.push(reader.string());
87
+ break;
87
88
  case /* string version */ 12:
88
89
  message.version = reader.string();
89
90
  break;
90
91
  case /* string display_icon */ 13:
91
92
  message.displayIcon = reader.string();
92
93
  break;
93
- case /* optional string definition_source */ 14:
94
+ case /* string definition_source */ 14:
94
95
  message.definitionSource = reader.string();
95
96
  break;
96
97
  default:
@@ -111,41 +112,41 @@ class RuntimeFunctionDefinition$Type extends MessageType {
111
112
  /* repeated shared.RuntimeParameterDefinition runtime_parameter_definitions = 2; */
112
113
  for (let i = 0; i < message.runtimeParameterDefinitions.length; i++)
113
114
  RuntimeParameterDefinition.internalBinaryWrite(message.runtimeParameterDefinitions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
114
- /* optional shared.DataTypeIdentifier return_type_identifier = 3; */
115
- if (message.returnTypeIdentifier)
116
- DataTypeIdentifier.internalBinaryWrite(message.returnTypeIdentifier, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
115
+ /* string signature = 3; */
116
+ if (message.signature !== "")
117
+ writer.tag(3, WireType.LengthDelimited).string(message.signature);
117
118
  /* bool throws_error = 4; */
118
119
  if (message.throwsError !== false)
119
120
  writer.tag(4, WireType.Varint).bool(message.throwsError);
120
- /* repeated string generic_keys = 5; */
121
- for (let i = 0; i < message.genericKeys.length; i++)
122
- writer.tag(5, WireType.LengthDelimited).string(message.genericKeys[i]);
123
- /* repeated shared.Translation name = 6; */
121
+ /* repeated shared.Translation name = 5; */
124
122
  for (let i = 0; i < message.name.length; i++)
125
- Translation.internalBinaryWrite(message.name[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
126
- /* repeated shared.Translation description = 7; */
123
+ Translation.internalBinaryWrite(message.name[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
124
+ /* repeated shared.Translation description = 6; */
127
125
  for (let i = 0; i < message.description.length; i++)
128
- Translation.internalBinaryWrite(message.description[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
129
- /* repeated shared.Translation documentation = 8; */
126
+ Translation.internalBinaryWrite(message.description[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
127
+ /* repeated shared.Translation documentation = 7; */
130
128
  for (let i = 0; i < message.documentation.length; i++)
131
- Translation.internalBinaryWrite(message.documentation[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
132
- /* repeated shared.Translation deprecation_message = 9; */
129
+ Translation.internalBinaryWrite(message.documentation[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
130
+ /* repeated shared.Translation deprecation_message = 8; */
133
131
  for (let i = 0; i < message.deprecationMessage.length; i++)
134
- Translation.internalBinaryWrite(message.deprecationMessage[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
135
- /* repeated shared.Translation display_message = 10; */
132
+ Translation.internalBinaryWrite(message.deprecationMessage[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
133
+ /* repeated shared.Translation display_message = 9; */
136
134
  for (let i = 0; i < message.displayMessage.length; i++)
137
- Translation.internalBinaryWrite(message.displayMessage[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
138
- /* repeated shared.Translation alias = 11; */
135
+ Translation.internalBinaryWrite(message.displayMessage[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
136
+ /* repeated shared.Translation alias = 10; */
139
137
  for (let i = 0; i < message.alias.length; i++)
140
- Translation.internalBinaryWrite(message.alias[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
138
+ Translation.internalBinaryWrite(message.alias[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
139
+ /* repeated string linked_data_type_identifiers = 11; */
140
+ for (let i = 0; i < message.linkedDataTypeIdentifiers.length; i++)
141
+ writer.tag(11, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
141
142
  /* string version = 12; */
142
143
  if (message.version !== "")
143
144
  writer.tag(12, WireType.LengthDelimited).string(message.version);
144
145
  /* string display_icon = 13; */
145
146
  if (message.displayIcon !== "")
146
147
  writer.tag(13, WireType.LengthDelimited).string(message.displayIcon);
147
- /* optional string definition_source = 14; */
148
- if (message.definitionSource !== undefined)
148
+ /* string definition_source = 14; */
149
+ if (message.definitionSource !== "")
149
150
  writer.tag(14, WireType.LengthDelimited).string(message.definitionSource);
150
151
  let u = options.writeUnknownFields;
151
152
  if (u !== false)
@@ -161,12 +162,11 @@ export const RuntimeFunctionDefinition = new RuntimeFunctionDefinition$Type();
161
162
  class RuntimeParameterDefinition$Type extends MessageType {
162
163
  constructor() {
163
164
  super("shared.RuntimeParameterDefinition", [
164
- { no: 1, name: "data_type_identifier", kind: "message", T: () => DataTypeIdentifier },
165
- { no: 2, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
166
- { no: 3, name: "default_value", kind: "message", T: () => Value },
167
- { no: 4, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
168
- { no: 5, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
169
- { no: 6, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
165
+ { no: 1, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
166
+ { no: 2, name: "default_value", kind: "message", T: () => Value },
167
+ { no: 3, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
168
+ { no: 4, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
169
+ { no: 5, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
170
170
  ]);
171
171
  }
172
172
  create(value) {
@@ -184,22 +184,19 @@ class RuntimeParameterDefinition$Type extends MessageType {
184
184
  while (reader.pos < end) {
185
185
  let [fieldNo, wireType] = reader.tag();
186
186
  switch (fieldNo) {
187
- case /* shared.DataTypeIdentifier data_type_identifier */ 1:
188
- message.dataTypeIdentifier = DataTypeIdentifier.internalBinaryRead(reader, reader.uint32(), options, message.dataTypeIdentifier);
189
- break;
190
- case /* string runtime_name */ 2:
187
+ case /* string runtime_name */ 1:
191
188
  message.runtimeName = reader.string();
192
189
  break;
193
- case /* optional shared.Value default_value */ 3:
190
+ case /* optional shared.Value default_value */ 2:
194
191
  message.defaultValue = Value.internalBinaryRead(reader, reader.uint32(), options, message.defaultValue);
195
192
  break;
196
- case /* repeated shared.Translation name */ 4:
193
+ case /* repeated shared.Translation name */ 3:
197
194
  message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
198
195
  break;
199
- case /* repeated shared.Translation description */ 5:
196
+ case /* repeated shared.Translation description */ 4:
200
197
  message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
201
198
  break;
202
- case /* repeated shared.Translation documentation */ 6:
199
+ case /* repeated shared.Translation documentation */ 5:
203
200
  message.documentation.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
204
201
  break;
205
202
  default:
@@ -214,24 +211,21 @@ class RuntimeParameterDefinition$Type extends MessageType {
214
211
  return message;
215
212
  }
216
213
  internalBinaryWrite(message, writer, options) {
217
- /* shared.DataTypeIdentifier data_type_identifier = 1; */
218
- if (message.dataTypeIdentifier)
219
- DataTypeIdentifier.internalBinaryWrite(message.dataTypeIdentifier, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
220
- /* string runtime_name = 2; */
214
+ /* string runtime_name = 1; */
221
215
  if (message.runtimeName !== "")
222
- writer.tag(2, WireType.LengthDelimited).string(message.runtimeName);
223
- /* optional shared.Value default_value = 3; */
216
+ writer.tag(1, WireType.LengthDelimited).string(message.runtimeName);
217
+ /* optional shared.Value default_value = 2; */
224
218
  if (message.defaultValue)
225
- Value.internalBinaryWrite(message.defaultValue, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
226
- /* repeated shared.Translation name = 4; */
219
+ Value.internalBinaryWrite(message.defaultValue, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
220
+ /* repeated shared.Translation name = 3; */
227
221
  for (let i = 0; i < message.name.length; i++)
228
- Translation.internalBinaryWrite(message.name[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
229
- /* repeated shared.Translation description = 5; */
222
+ Translation.internalBinaryWrite(message.name[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
223
+ /* repeated shared.Translation description = 4; */
230
224
  for (let i = 0; i < message.description.length; i++)
231
- Translation.internalBinaryWrite(message.description[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
232
- /* repeated shared.Translation documentation = 6; */
225
+ Translation.internalBinaryWrite(message.description[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
226
+ /* repeated shared.Translation documentation = 5; */
233
227
  for (let i = 0; i < message.documentation.length; i++)
234
- Translation.internalBinaryWrite(message.documentation[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
228
+ Translation.internalBinaryWrite(message.documentation[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
235
229
  let u = options.writeUnknownFields;
236
230
  if (u !== false)
237
231
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1,32 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
3
- // tslint:disable
4
- import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
- import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
- import type { ActionConfigurationUpdateResponse } from "./aquila.action_configuration_pb";
7
- import type { ActionConfigurationUpdateRequest } from "./aquila.action_configuration_pb";
8
- import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
9
- import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
10
- /**
11
- * @generated from protobuf service aquila.ActionConfigurationService
12
- */
13
- export interface IActionConfigurationServiceClient {
14
- /**
15
- * @generated from protobuf rpc: Update
16
- */
17
- update(input: ActionConfigurationUpdateRequest, options?: RpcOptions): UnaryCall<ActionConfigurationUpdateRequest, ActionConfigurationUpdateResponse>;
18
- }
19
- /**
20
- * @generated from protobuf service aquila.ActionConfigurationService
21
- */
22
- export declare class ActionConfigurationServiceClient implements IActionConfigurationServiceClient, ServiceInfo {
23
- private readonly _transport;
24
- typeName: any;
25
- methods: any;
26
- options: any;
27
- constructor(_transport: RpcTransport);
28
- /**
29
- * @generated from protobuf rpc: Update
30
- */
31
- update(input: ActionConfigurationUpdateRequest, options?: RpcOptions): UnaryCall<ActionConfigurationUpdateRequest, ActionConfigurationUpdateResponse>;
32
- }
@@ -1,23 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
3
- // tslint:disable
4
- import { ActionConfigurationService } from "./aquila.action_configuration_pb";
5
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
6
- /**
7
- * @generated from protobuf service aquila.ActionConfigurationService
8
- */
9
- export class ActionConfigurationServiceClient {
10
- constructor(_transport) {
11
- this._transport = _transport;
12
- this.typeName = ActionConfigurationService.typeName;
13
- this.methods = ActionConfigurationService.methods;
14
- this.options = ActionConfigurationService.options;
15
- }
16
- /**
17
- * @generated from protobuf rpc: Update
18
- */
19
- update(input, options) {
20
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
21
- return stackIntercept("unary", this._transport, method, opt, input);
22
- }
23
- }
@@ -1,67 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
3
- // tslint:disable
4
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
7
- import type { IBinaryReader } from "@protobuf-ts/runtime";
8
- import type { PartialMessage } from "@protobuf-ts/runtime";
9
- import { MessageType } from "@protobuf-ts/runtime";
10
- import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
11
- /**
12
- * Request for updating a action configuration
13
- *
14
- * @generated from protobuf message aquila.ActionConfigurationUpdateRequest
15
- */
16
- export interface ActionConfigurationUpdateRequest {
17
- /**
18
- * Name of the action
19
- *
20
- * @generated from protobuf field: string action_identifier = 1
21
- */
22
- actionIdentifier: string;
23
- /**
24
- * List of action configurations that should be updated
25
- *
26
- * @generated from protobuf field: repeated shared.ActionConfigurationDefinition action_configurations = 2
27
- */
28
- actionConfigurations: ActionConfigurationDefinition[];
29
- }
30
- /**
31
- * Response of updating a action configuration
32
- *
33
- * @generated from protobuf message aquila.ActionConfigurationUpdateResponse
34
- */
35
- export interface ActionConfigurationUpdateResponse {
36
- /**
37
- * True if was successful, false if not
38
- *
39
- * @generated from protobuf field: bool success = 1
40
- */
41
- success: boolean;
42
- }
43
- declare class ActionConfigurationUpdateRequest$Type extends MessageType<ActionConfigurationUpdateRequest> {
44
- constructor();
45
- create(value?: PartialMessage<ActionConfigurationUpdateRequest>): ActionConfigurationUpdateRequest;
46
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfigurationUpdateRequest): ActionConfigurationUpdateRequest;
47
- internalBinaryWrite(message: ActionConfigurationUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
48
- }
49
- /**
50
- * @generated MessageType for protobuf message aquila.ActionConfigurationUpdateRequest
51
- */
52
- export declare const ActionConfigurationUpdateRequest: ActionConfigurationUpdateRequest$Type;
53
- declare class ActionConfigurationUpdateResponse$Type extends MessageType<ActionConfigurationUpdateResponse> {
54
- constructor();
55
- create(value?: PartialMessage<ActionConfigurationUpdateResponse>): ActionConfigurationUpdateResponse;
56
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfigurationUpdateResponse): ActionConfigurationUpdateResponse;
57
- internalBinaryWrite(message: ActionConfigurationUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
58
- }
59
- /**
60
- * @generated MessageType for protobuf message aquila.ActionConfigurationUpdateResponse
61
- */
62
- export declare const ActionConfigurationUpdateResponse: ActionConfigurationUpdateResponse$Type;
63
- /**
64
- * @generated ServiceType for protobuf service aquila.ActionConfigurationService
65
- */
66
- export declare const ActionConfigurationService: any;
67
- export {};