@code0-tech/tucana 0.0.55 → 0.0.57

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.
@@ -31,8 +31,8 @@ class FlowType$Type extends MessageType {
31
31
  super("shared.FlowType", [
32
32
  { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
33
33
  { no: 2, name: "settings", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FlowTypeSetting },
34
- { no: 3, name: "input_type_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
35
- { no: 4, name: "return_type_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
34
+ { no: 3, name: "input_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
35
+ { no: 4, name: "return_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
36
36
  { no: 5, name: "editable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
37
37
  { no: 6, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
38
38
  { no: 7, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
@@ -41,7 +41,8 @@ class FlowType$Type extends MessageType {
41
41
  { no: 10, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
42
42
  { no: 11, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
43
43
  { no: 12, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
44
- { no: 13, name: "definition_source", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
44
+ { no: 13, name: "definition_source", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
45
+ { no: 14, name: "linked_data_type_identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
45
46
  ]);
46
47
  }
47
48
  create(value) {
@@ -56,6 +57,7 @@ class FlowType$Type extends MessageType {
56
57
  message.alias = [];
57
58
  message.version = "";
58
59
  message.displayIcon = "";
60
+ message.linkedDataTypeIdentifiers = [];
59
61
  if (value !== undefined)
60
62
  reflectionMergePartial(this, message, value);
61
63
  return message;
@@ -71,11 +73,11 @@ class FlowType$Type extends MessageType {
71
73
  case /* repeated shared.FlowTypeSetting settings */ 2:
72
74
  message.settings.push(FlowTypeSetting.internalBinaryRead(reader, reader.uint32(), options));
73
75
  break;
74
- case /* optional string input_type_identifier */ 3:
75
- message.inputTypeIdentifier = reader.string();
76
+ case /* optional string input_type */ 3:
77
+ message.inputType = reader.string();
76
78
  break;
77
- case /* optional string return_type_identifier */ 4:
78
- message.returnTypeIdentifier = reader.string();
79
+ case /* optional string return_type */ 4:
80
+ message.returnType = reader.string();
79
81
  break;
80
82
  case /* bool editable */ 5:
81
83
  message.editable = reader.bool();
@@ -104,6 +106,9 @@ class FlowType$Type extends MessageType {
104
106
  case /* optional string definition_source */ 13:
105
107
  message.definitionSource = reader.string();
106
108
  break;
109
+ case /* repeated string linked_data_type_identifiers */ 14:
110
+ message.linkedDataTypeIdentifiers.push(reader.string());
111
+ break;
107
112
  default:
108
113
  let u = options.readUnknownField;
109
114
  if (u === "throw")
@@ -122,12 +127,12 @@ class FlowType$Type extends MessageType {
122
127
  /* repeated shared.FlowTypeSetting settings = 2; */
123
128
  for (let i = 0; i < message.settings.length; i++)
124
129
  FlowTypeSetting.internalBinaryWrite(message.settings[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
125
- /* optional string input_type_identifier = 3; */
126
- if (message.inputTypeIdentifier !== undefined)
127
- writer.tag(3, WireType.LengthDelimited).string(message.inputTypeIdentifier);
128
- /* optional string return_type_identifier = 4; */
129
- if (message.returnTypeIdentifier !== undefined)
130
- writer.tag(4, WireType.LengthDelimited).string(message.returnTypeIdentifier);
130
+ /* optional string input_type = 3; */
131
+ if (message.inputType !== undefined)
132
+ writer.tag(3, WireType.LengthDelimited).string(message.inputType);
133
+ /* optional string return_type = 4; */
134
+ if (message.returnType !== undefined)
135
+ writer.tag(4, WireType.LengthDelimited).string(message.returnType);
131
136
  /* bool editable = 5; */
132
137
  if (message.editable !== false)
133
138
  writer.tag(5, WireType.Varint).bool(message.editable);
@@ -155,6 +160,9 @@ class FlowType$Type extends MessageType {
155
160
  /* optional string definition_source = 13; */
156
161
  if (message.definitionSource !== undefined)
157
162
  writer.tag(13, WireType.LengthDelimited).string(message.definitionSource);
163
+ /* repeated string linked_data_type_identifiers = 14; */
164
+ for (let i = 0; i < message.linkedDataTypeIdentifiers.length; i++)
165
+ writer.tag(14, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
158
166
  let u = options.writeUnknownFields;
159
167
  if (u !== false)
160
168
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -171,19 +179,21 @@ class FlowTypeSetting$Type extends MessageType {
171
179
  super("shared.FlowTypeSetting", [
172
180
  { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
173
181
  { no: 2, name: "unique", kind: "enum", T: () => ["shared.FlowTypeSetting.UniquenessScope", FlowTypeSetting_UniquenessScope] },
174
- { no: 3, name: "data_type_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
182
+ { no: 3, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
175
183
  { no: 4, name: "default_value", kind: "message", T: () => Value },
176
184
  { no: 5, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
177
- { no: 6, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
185
+ { no: 6, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
186
+ { no: 7, name: "linked_data_type_identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
178
187
  ]);
179
188
  }
180
189
  create(value) {
181
190
  const message = globalThis.Object.create((this.messagePrototype));
182
191
  message.identifier = "";
183
192
  message.unique = 0;
184
- message.dataTypeIdentifier = "";
193
+ message.type = "";
185
194
  message.name = [];
186
195
  message.description = [];
196
+ message.linkedDataTypeIdentifiers = [];
187
197
  if (value !== undefined)
188
198
  reflectionMergePartial(this, message, value);
189
199
  return message;
@@ -199,8 +209,8 @@ class FlowTypeSetting$Type extends MessageType {
199
209
  case /* shared.FlowTypeSetting.UniquenessScope unique */ 2:
200
210
  message.unique = reader.int32();
201
211
  break;
202
- case /* string data_type_identifier */ 3:
203
- message.dataTypeIdentifier = reader.string();
212
+ case /* string type */ 3:
213
+ message.type = reader.string();
204
214
  break;
205
215
  case /* optional shared.Value default_value */ 4:
206
216
  message.defaultValue = Value.internalBinaryRead(reader, reader.uint32(), options, message.defaultValue);
@@ -211,6 +221,9 @@ class FlowTypeSetting$Type extends MessageType {
211
221
  case /* repeated shared.Translation description */ 6:
212
222
  message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
213
223
  break;
224
+ case /* repeated string linked_data_type_identifiers */ 7:
225
+ message.linkedDataTypeIdentifiers.push(reader.string());
226
+ break;
214
227
  default:
215
228
  let u = options.readUnknownField;
216
229
  if (u === "throw")
@@ -229,9 +242,9 @@ class FlowTypeSetting$Type extends MessageType {
229
242
  /* shared.FlowTypeSetting.UniquenessScope unique = 2; */
230
243
  if (message.unique !== 0)
231
244
  writer.tag(2, WireType.Varint).int32(message.unique);
232
- /* string data_type_identifier = 3; */
233
- if (message.dataTypeIdentifier !== "")
234
- writer.tag(3, WireType.LengthDelimited).string(message.dataTypeIdentifier);
245
+ /* string type = 3; */
246
+ if (message.type !== "")
247
+ writer.tag(3, WireType.LengthDelimited).string(message.type);
235
248
  /* optional shared.Value default_value = 4; */
236
249
  if (message.defaultValue)
237
250
  Value.internalBinaryWrite(message.defaultValue, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
@@ -241,6 +254,9 @@ class FlowTypeSetting$Type extends MessageType {
241
254
  /* repeated shared.Translation description = 6; */
242
255
  for (let i = 0; i < message.description.length; i++)
243
256
  Translation.internalBinaryWrite(message.description[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
257
+ /* repeated string linked_data_type_identifiers = 7; */
258
+ for (let i = 0; i < message.linkedDataTypeIdentifiers.length; i++)
259
+ writer.tag(7, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
244
260
  let u = options.writeUnknownFields;
245
261
  if (u !== false)
246
262
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -36,8 +36,6 @@ export interface ValidationFlow {
36
36
  */
37
37
  dataTypes: ExecutionDataType[];
38
38
  /**
39
- * These reference data_types by its identifiers, which is are string
40
- *
41
39
  * @generated from protobuf field: optional string input_type = 5
42
40
  */
43
41
  inputType?: string;
@@ -76,6 +74,10 @@ export interface ExecutionFlow {
76
74
  * @generated from protobuf field: int64 flow_id = 1
77
75
  */
78
76
  flowId: bigint;
77
+ /**
78
+ * @generated from protobuf field: int64 project_id = 5
79
+ */
80
+ projectId: bigint;
79
81
  /**
80
82
  * @generated from protobuf field: int64 starting_node_id = 2
81
83
  */
@@ -136,6 +136,7 @@ class ExecutionFlow$Type extends MessageType {
136
136
  constructor() {
137
137
  super("shared.ExecutionFlow", [
138
138
  { no: 1, name: "flow_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
139
+ { no: 5, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
139
140
  { no: 2, name: "starting_node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
140
141
  { no: 4, name: "node_functions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => NodeFunction },
141
142
  { no: 3, name: "input_value", kind: "message", T: () => Value }
@@ -144,6 +145,7 @@ class ExecutionFlow$Type extends MessageType {
144
145
  create(value) {
145
146
  const message = globalThis.Object.create((this.messagePrototype));
146
147
  message.flowId = 0n;
148
+ message.projectId = 0n;
147
149
  message.startingNodeId = 0n;
148
150
  message.nodeFunctions = [];
149
151
  if (value !== undefined)
@@ -158,6 +160,9 @@ class ExecutionFlow$Type extends MessageType {
158
160
  case /* int64 flow_id */ 1:
159
161
  message.flowId = reader.int64().toBigInt();
160
162
  break;
163
+ case /* int64 project_id */ 5:
164
+ message.projectId = reader.int64().toBigInt();
165
+ break;
161
166
  case /* int64 starting_node_id */ 2:
162
167
  message.startingNodeId = reader.int64().toBigInt();
163
168
  break;
@@ -191,6 +196,9 @@ class ExecutionFlow$Type extends MessageType {
191
196
  /* repeated shared.NodeFunction node_functions = 4; */
192
197
  for (let i = 0; i < message.nodeFunctions.length; i++)
193
198
  NodeFunction.internalBinaryWrite(message.nodeFunctions[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
199
+ /* int64 project_id = 5; */
200
+ if (message.projectId !== 0n)
201
+ writer.tag(5, WireType.Varint).int64(message.projectId);
194
202
  let u = options.writeUnknownFields;
195
203
  if (u !== false)
196
204
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -24,62 +24,58 @@ export interface RuntimeFunctionDefinition {
24
24
  */
25
25
  runtimeParameterDefinitions: RuntimeParameterDefinition[];
26
26
  /**
27
- * @generated from protobuf field: optional string return_type = 3
27
+ * @generated from protobuf field: string signature = 3
28
28
  */
29
- returnType?: string;
29
+ signature: string;
30
30
  /**
31
31
  * @generated from protobuf field: bool throws_error = 4
32
32
  */
33
33
  throwsError: boolean;
34
34
  /**
35
- * @generated from protobuf field: repeated string generic_keys = 5
36
- */
37
- genericKeys: string[];
38
- /**
39
- * @generated from protobuf field: repeated shared.Translation name = 6
35
+ * @generated from protobuf field: repeated shared.Translation name = 5
40
36
  */
41
37
  name: Translation[];
42
38
  /**
43
- * @generated from protobuf field: repeated shared.Translation description = 7
39
+ * @generated from protobuf field: repeated shared.Translation description = 6
44
40
  */
45
41
  description: Translation[];
46
42
  /**
47
- * @generated from protobuf field: repeated shared.Translation documentation = 8
43
+ * @generated from protobuf field: repeated shared.Translation documentation = 7
48
44
  */
49
45
  documentation: Translation[];
50
46
  /**
51
- * @generated from protobuf field: repeated shared.Translation deprecation_message = 9
47
+ * @generated from protobuf field: repeated shared.Translation deprecation_message = 8
52
48
  */
53
49
  deprecationMessage: Translation[];
54
50
  /**
55
- * @generated from protobuf field: repeated shared.Translation display_message = 10
51
+ * @generated from protobuf field: repeated shared.Translation display_message = 9
56
52
  */
57
53
  displayMessage: Translation[];
58
54
  /**
59
- * @generated from protobuf field: repeated shared.Translation alias = 11
55
+ * @generated from protobuf field: repeated shared.Translation alias = 10
60
56
  */
61
57
  alias: Translation[];
62
58
  /**
63
59
  * will link to all data types used in return_type or within the parameters type
64
60
  *
65
- * @generated from protobuf field: repeated string linked_data_type_identifiers = 12
61
+ * @generated from protobuf field: repeated string linked_data_type_identifiers = 11
66
62
  */
67
63
  linkedDataTypeIdentifiers: string[];
68
64
  /**
69
65
  * Version of the runtime function
70
66
  * Format: "major.minor.patch", e.g. "1.2.3"
71
67
  *
72
- * @generated from protobuf field: string version = 13
68
+ * @generated from protobuf field: string version = 12
73
69
  */
74
70
  version: string;
75
71
  /**
76
- * @generated from protobuf field: string display_icon = 14
72
+ * @generated from protobuf field: string display_icon = 13
77
73
  */
78
74
  displayIcon: string;
79
75
  /**
80
76
  * Identifier of the service that defines this definition
81
77
  *
82
- * @generated from protobuf field: string definition_source = 15
78
+ * @generated from protobuf field: string definition_source = 14
83
79
  */
84
80
  definitionSource: string;
85
81
  }
@@ -90,27 +86,23 @@ export interface RuntimeFunctionDefinition {
90
86
  */
91
87
  export interface RuntimeParameterDefinition {
92
88
  /**
93
- * @generated from protobuf field: string type = 1
94
- */
95
- type: string;
96
- /**
97
- * @generated from protobuf field: string runtime_name = 2
89
+ * @generated from protobuf field: string runtime_name = 1
98
90
  */
99
91
  runtimeName: string;
100
92
  /**
101
- * @generated from protobuf field: optional shared.Value default_value = 3
93
+ * @generated from protobuf field: optional shared.Value default_value = 2
102
94
  */
103
95
  defaultValue?: Value;
104
96
  /**
105
- * @generated from protobuf field: repeated shared.Translation name = 4
97
+ * @generated from protobuf field: repeated shared.Translation name = 3
106
98
  */
107
99
  name: Translation[];
108
100
  /**
109
- * @generated from protobuf field: repeated shared.Translation description = 5
101
+ * @generated from protobuf field: repeated shared.Translation description = 4
110
102
  */
111
103
  description: Translation[];
112
104
  /**
113
- * @generated from protobuf field: repeated shared.Translation documentation = 6
105
+ * @generated from protobuf field: repeated shared.Translation documentation = 5
114
106
  */
115
107
  documentation: Translation[];
116
108
  }
@@ -13,27 +13,26 @@ class RuntimeFunctionDefinition$Type extends MessageType {
13
13
  super("shared.RuntimeFunctionDefinition", [
14
14
  { no: 1, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
15
15
  { no: 2, name: "runtime_parameter_definitions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeParameterDefinition },
16
- { no: 3, name: "return_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
16
+ { no: 3, name: "signature", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
17
17
  { no: 4, name: "throws_error", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
18
- { no: 5, name: "generic_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
19
- { no: 6, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
20
- { no: 7, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
21
- { no: 8, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
22
- { no: 9, name: "deprecation_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
23
- { no: 10, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
24
- { no: 11, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
25
- { no: 12, name: "linked_data_type_identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
26
- { no: 13, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
27
- { no: 14, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
28
- { no: 15, name: "definition_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
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*/ },
25
+ { no: 12, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
26
+ { no: 13, name: "display_icon", kind: "scalar", 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 = [];
@@ -59,43 +58,40 @@ class RuntimeFunctionDefinition$Type extends MessageType {
59
58
  case /* repeated shared.RuntimeParameterDefinition runtime_parameter_definitions */ 2:
60
59
  message.runtimeParameterDefinitions.push(RuntimeParameterDefinition.internalBinaryRead(reader, reader.uint32(), options));
61
60
  break;
62
- case /* optional string return_type */ 3:
63
- message.returnType = reader.string();
61
+ case /* string signature */ 3:
62
+ message.signature = reader.string();
64
63
  break;
65
64
  case /* bool throws_error */ 4:
66
65
  message.throwsError = reader.bool();
67
66
  break;
68
- case /* repeated string generic_keys */ 5:
69
- message.genericKeys.push(reader.string());
70
- break;
71
- case /* repeated shared.Translation name */ 6:
67
+ case /* repeated shared.Translation name */ 5:
72
68
  message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
73
69
  break;
74
- case /* repeated shared.Translation description */ 7:
70
+ case /* repeated shared.Translation description */ 6:
75
71
  message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
76
72
  break;
77
- case /* repeated shared.Translation documentation */ 8:
73
+ case /* repeated shared.Translation documentation */ 7:
78
74
  message.documentation.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
79
75
  break;
80
- case /* repeated shared.Translation deprecation_message */ 9:
76
+ case /* repeated shared.Translation deprecation_message */ 8:
81
77
  message.deprecationMessage.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
82
78
  break;
83
- case /* repeated shared.Translation display_message */ 10:
79
+ case /* repeated shared.Translation display_message */ 9:
84
80
  message.displayMessage.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
85
81
  break;
86
- case /* repeated shared.Translation alias */ 11:
82
+ case /* repeated shared.Translation alias */ 10:
87
83
  message.alias.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
88
84
  break;
89
- case /* repeated string linked_data_type_identifiers */ 12:
85
+ case /* repeated string linked_data_type_identifiers */ 11:
90
86
  message.linkedDataTypeIdentifiers.push(reader.string());
91
87
  break;
92
- case /* string version */ 13:
88
+ case /* string version */ 12:
93
89
  message.version = reader.string();
94
90
  break;
95
- case /* string display_icon */ 14:
91
+ case /* string display_icon */ 13:
96
92
  message.displayIcon = reader.string();
97
93
  break;
98
- case /* string definition_source */ 15:
94
+ case /* string definition_source */ 14:
99
95
  message.definitionSource = reader.string();
100
96
  break;
101
97
  default:
@@ -116,45 +112,42 @@ class RuntimeFunctionDefinition$Type extends MessageType {
116
112
  /* repeated shared.RuntimeParameterDefinition runtime_parameter_definitions = 2; */
117
113
  for (let i = 0; i < message.runtimeParameterDefinitions.length; i++)
118
114
  RuntimeParameterDefinition.internalBinaryWrite(message.runtimeParameterDefinitions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
119
- /* optional string return_type = 3; */
120
- if (message.returnType !== undefined)
121
- writer.tag(3, WireType.LengthDelimited).string(message.returnType);
115
+ /* string signature = 3; */
116
+ if (message.signature !== "")
117
+ writer.tag(3, WireType.LengthDelimited).string(message.signature);
122
118
  /* bool throws_error = 4; */
123
119
  if (message.throwsError !== false)
124
120
  writer.tag(4, WireType.Varint).bool(message.throwsError);
125
- /* repeated string generic_keys = 5; */
126
- for (let i = 0; i < message.genericKeys.length; i++)
127
- writer.tag(5, WireType.LengthDelimited).string(message.genericKeys[i]);
128
- /* repeated shared.Translation name = 6; */
121
+ /* repeated shared.Translation name = 5; */
129
122
  for (let i = 0; i < message.name.length; i++)
130
- Translation.internalBinaryWrite(message.name[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
131
- /* 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; */
132
125
  for (let i = 0; i < message.description.length; i++)
133
- Translation.internalBinaryWrite(message.description[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
134
- /* 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; */
135
128
  for (let i = 0; i < message.documentation.length; i++)
136
- Translation.internalBinaryWrite(message.documentation[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
137
- /* 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; */
138
131
  for (let i = 0; i < message.deprecationMessage.length; i++)
139
- Translation.internalBinaryWrite(message.deprecationMessage[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
140
- /* 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; */
141
134
  for (let i = 0; i < message.displayMessage.length; i++)
142
- Translation.internalBinaryWrite(message.displayMessage[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
143
- /* 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; */
144
137
  for (let i = 0; i < message.alias.length; i++)
145
- Translation.internalBinaryWrite(message.alias[i], writer.tag(11, WireType.LengthDelimited).fork(), options).join();
146
- /* repeated string linked_data_type_identifiers = 12; */
138
+ Translation.internalBinaryWrite(message.alias[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
139
+ /* repeated string linked_data_type_identifiers = 11; */
147
140
  for (let i = 0; i < message.linkedDataTypeIdentifiers.length; i++)
148
- writer.tag(12, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
149
- /* string version = 13; */
141
+ writer.tag(11, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
142
+ /* string version = 12; */
150
143
  if (message.version !== "")
151
- writer.tag(13, WireType.LengthDelimited).string(message.version);
152
- /* string display_icon = 14; */
144
+ writer.tag(12, WireType.LengthDelimited).string(message.version);
145
+ /* string display_icon = 13; */
153
146
  if (message.displayIcon !== "")
154
- writer.tag(14, WireType.LengthDelimited).string(message.displayIcon);
155
- /* string definition_source = 15; */
147
+ writer.tag(13, WireType.LengthDelimited).string(message.displayIcon);
148
+ /* string definition_source = 14; */
156
149
  if (message.definitionSource !== "")
157
- writer.tag(15, WireType.LengthDelimited).string(message.definitionSource);
150
+ writer.tag(14, WireType.LengthDelimited).string(message.definitionSource);
158
151
  let u = options.writeUnknownFields;
159
152
  if (u !== false)
160
153
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -169,17 +162,15 @@ export const RuntimeFunctionDefinition = new RuntimeFunctionDefinition$Type();
169
162
  class RuntimeParameterDefinition$Type extends MessageType {
170
163
  constructor() {
171
164
  super("shared.RuntimeParameterDefinition", [
172
- { no: 1, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
173
- { no: 2, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
174
- { no: 3, name: "default_value", kind: "message", T: () => Value },
175
- { no: 4, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
176
- { no: 5, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
177
- { 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 }
178
170
  ]);
179
171
  }
180
172
  create(value) {
181
173
  const message = globalThis.Object.create((this.messagePrototype));
182
- message.type = "";
183
174
  message.runtimeName = "";
184
175
  message.name = [];
185
176
  message.description = [];
@@ -193,22 +184,19 @@ class RuntimeParameterDefinition$Type extends MessageType {
193
184
  while (reader.pos < end) {
194
185
  let [fieldNo, wireType] = reader.tag();
195
186
  switch (fieldNo) {
196
- case /* string type */ 1:
197
- message.type = reader.string();
198
- break;
199
- case /* string runtime_name */ 2:
187
+ case /* string runtime_name */ 1:
200
188
  message.runtimeName = reader.string();
201
189
  break;
202
- case /* optional shared.Value default_value */ 3:
190
+ case /* optional shared.Value default_value */ 2:
203
191
  message.defaultValue = Value.internalBinaryRead(reader, reader.uint32(), options, message.defaultValue);
204
192
  break;
205
- case /* repeated shared.Translation name */ 4:
193
+ case /* repeated shared.Translation name */ 3:
206
194
  message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
207
195
  break;
208
- case /* repeated shared.Translation description */ 5:
196
+ case /* repeated shared.Translation description */ 4:
209
197
  message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
210
198
  break;
211
- case /* repeated shared.Translation documentation */ 6:
199
+ case /* repeated shared.Translation documentation */ 5:
212
200
  message.documentation.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
213
201
  break;
214
202
  default:
@@ -223,24 +211,21 @@ class RuntimeParameterDefinition$Type extends MessageType {
223
211
  return message;
224
212
  }
225
213
  internalBinaryWrite(message, writer, options) {
226
- /* string type = 1; */
227
- if (message.type !== "")
228
- writer.tag(1, WireType.LengthDelimited).string(message.type);
229
- /* string runtime_name = 2; */
214
+ /* string runtime_name = 1; */
230
215
  if (message.runtimeName !== "")
231
- writer.tag(2, WireType.LengthDelimited).string(message.runtimeName);
232
- /* optional shared.Value default_value = 3; */
216
+ writer.tag(1, WireType.LengthDelimited).string(message.runtimeName);
217
+ /* optional shared.Value default_value = 2; */
233
218
  if (message.defaultValue)
234
- Value.internalBinaryWrite(message.defaultValue, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
235
- /* repeated shared.Translation name = 4; */
219
+ Value.internalBinaryWrite(message.defaultValue, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
220
+ /* repeated shared.Translation name = 3; */
236
221
  for (let i = 0; i < message.name.length; i++)
237
- Translation.internalBinaryWrite(message.name[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
238
- /* 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; */
239
224
  for (let i = 0; i < message.description.length; i++)
240
- Translation.internalBinaryWrite(message.description[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
241
- /* 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; */
242
227
  for (let i = 0; i < message.documentation.length; i++)
243
- 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();
244
229
  let u = options.writeUnknownFields;
245
230
  if (u !== false)
246
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
- }