@code0-tech/tucana 0.0.38 → 0.0.39

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.
Files changed (65) hide show
  1. package/package.json +5 -4
  2. package/pb/{aquila.action_pb.client.ts → aquila.action_pb.client.d.ts} +8 -13
  3. package/pb/aquila.action_pb.client.js +25 -0
  4. package/pb/aquila.action_pb.d.ts +254 -0
  5. package/pb/{aquila.action_pb.ts → aquila.action_pb.js} +49 -215
  6. package/pb/{aquila.data_type_pb.client.ts → aquila.data_type_pb.client.d.ts} +8 -13
  7. package/pb/aquila.data_type_pb.client.js +23 -0
  8. package/pb/aquila.data_type_pb.d.ts +61 -0
  9. package/pb/{aquila.data_type_pb.ts → aquila.data_type_pb.js} +16 -44
  10. package/pb/{aquila.execution_pb.client.ts → aquila.execution_pb.client.d.ts} +15 -24
  11. package/pb/aquila.execution_pb.client.js +49 -0
  12. package/pb/aquila.execution_pb.d.ts +135 -0
  13. package/pb/{aquila.execution_pb.ts → aquila.execution_pb.js} +34 -103
  14. package/pb/{aquila.flow_type_pb.client.ts → aquila.flow_type_pb.client.d.ts} +8 -13
  15. package/pb/aquila.flow_type_pb.client.js +25 -0
  16. package/pb/aquila.flow_type_pb.d.ts +61 -0
  17. package/pb/{aquila.flow_type_pb.ts → aquila.flow_type_pb.js} +16 -44
  18. package/pb/{aquila.runtime_function_pb.client.ts → aquila.runtime_function_pb.client.d.ts} +8 -13
  19. package/pb/aquila.runtime_function_pb.client.js +25 -0
  20. package/pb/aquila.runtime_function_pb.d.ts +61 -0
  21. package/pb/{aquila.runtime_function_pb.ts → aquila.runtime_function_pb.js} +16 -44
  22. package/pb/{sagittarius.action_pb.client.ts → sagittarius.action_pb.client.d.ts} +9 -17
  23. package/pb/sagittarius.action_pb.client.js +32 -0
  24. package/pb/sagittarius.action_pb.d.ts +95 -0
  25. package/pb/{sagittarius.action_pb.ts → sagittarius.action_pb.js} +28 -70
  26. package/pb/{sagittarius.data_type_pb.client.ts → sagittarius.data_type_pb.client.d.ts} +8 -13
  27. package/pb/sagittarius.data_type_pb.client.js +23 -0
  28. package/pb/sagittarius.data_type_pb.d.ts +61 -0
  29. package/pb/{sagittarius.data_type_pb.ts → sagittarius.data_type_pb.js} +16 -44
  30. package/pb/{sagittarius.flow_pb.client.ts → sagittarius.flow_pb.client.d.ts} +8 -13
  31. package/pb/sagittarius.flow_pb.client.js +23 -0
  32. package/pb/sagittarius.flow_pb.d.ts +80 -0
  33. package/pb/{sagittarius.flow_pb.ts → sagittarius.flow_pb.js} +18 -64
  34. package/pb/{sagittarius.flow_type_pb.client.ts → sagittarius.flow_type_pb.client.d.ts} +8 -13
  35. package/pb/sagittarius.flow_type_pb.client.js +25 -0
  36. package/pb/sagittarius.flow_type_pb.d.ts +61 -0
  37. package/pb/{sagittarius.flow_type_pb.ts → sagittarius.flow_type_pb.js} +16 -44
  38. package/pb/{sagittarius.ping_pb.client.ts → sagittarius.ping_pb.client.d.ts} +8 -13
  39. package/pb/sagittarius.ping_pb.client.js +23 -0
  40. package/pb/sagittarius.ping_pb.d.ts +33 -0
  41. package/pb/{sagittarius.ping_pb.ts → sagittarius.ping_pb.js} +10 -21
  42. package/pb/{sagittarius.runtime_function_pb.client.ts → sagittarius.runtime_function_pb.client.d.ts} +8 -13
  43. package/pb/sagittarius.runtime_function_pb.client.js +25 -0
  44. package/pb/sagittarius.runtime_function_pb.d.ts +61 -0
  45. package/pb/{sagittarius.runtime_function_pb.ts → sagittarius.runtime_function_pb.js} +16 -44
  46. package/pb/{sagittarius.text_execution_pb.client.ts → sagittarius.text_execution_pb.client.d.ts} +8 -13
  47. package/pb/sagittarius.text_execution_pb.client.js +23 -0
  48. package/pb/sagittarius.text_execution_pb.d.ts +172 -0
  49. package/pb/{sagittarius.text_execution_pb.ts → sagittarius.text_execution_pb.js} +42 -141
  50. package/pb/shared.data_type_pb.d.ts +614 -0
  51. package/pb/{shared.data_type_pb.ts → shared.data_type_pb.js} +140 -508
  52. package/pb/shared.event_pb.d.ts +120 -0
  53. package/pb/{shared.event_pb.ts → shared.event_pb.js} +19 -101
  54. package/pb/shared.flow_definition_pb.d.ts +105 -0
  55. package/pb/{shared.flow_definition_pb.ts → shared.flow_definition_pb.js} +13 -90
  56. package/pb/shared.flow_pb.d.ts +311 -0
  57. package/pb/{shared.flow_pb.ts → shared.flow_pb.js} +57 -270
  58. package/pb/shared.runtime_function_pb.d.ts +114 -0
  59. package/pb/{shared.runtime_function_pb.ts → shared.runtime_function_pb.js} +13 -98
  60. package/pb/shared.struct_pb.d.ts +198 -0
  61. package/pb/{shared.struct_pb.ts → shared.struct_pb.js} +27 -136
  62. package/pb/shared.translation_pb.d.ts +39 -0
  63. package/pb/{shared.translation_pb.ts → shared.translation_pb.js} +7 -31
  64. package/pb/shared.version_pb.d.ts +37 -0
  65. package/pb/{shared.version_pb.ts → shared.version_pb.js} +7 -29
@@ -1,228 +1,15 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
2
  // @generated from protobuf file "shared.flow.proto" (package "shared", syntax proto3)
3
3
  // tslint:disable
4
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
4
  import { WireType } from "@protobuf-ts/runtime";
7
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
- import type { IBinaryReader } from "@protobuf-ts/runtime";
9
5
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import type { PartialMessage } from "@protobuf-ts/runtime";
11
6
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
7
  import { MessageType } from "@protobuf-ts/runtime";
13
8
  import { Struct } from "./shared.struct_pb";
14
9
  import { Value } from "./shared.struct_pb";
15
10
  import { ExecutionDataType } from "./shared.data_type_pb";
16
- /**
17
- * @generated from protobuf message shared.ValidationFlow
18
- */
19
- export interface ValidationFlow {
20
- /**
21
- * Database ID -> req. for Aquila to identify in FlowStore
22
- *
23
- * @generated from protobuf field: int64 flow_id = 1
24
- */
25
- flowId: bigint;
26
- /**
27
- * @generated from protobuf field: int64 project_id = 2
28
- */
29
- projectId: bigint;
30
- /**
31
- * The FlowType´s identifier
32
- *
33
- * @generated from protobuf field: string type = 3
34
- */
35
- type: string;
36
- /**
37
- * All custom data types used in this flow
38
- *
39
- * @generated from protobuf field: repeated shared.ExecutionDataType data_types = 4
40
- */
41
- dataTypes: ExecutionDataType[];
42
- /**
43
- * These reference data_types by its identifiers, which is are string
44
- *
45
- * @generated from protobuf field: optional string input_type_identifier = 5
46
- */
47
- inputTypeIdentifier?: string;
48
- /**
49
- * @generated from protobuf field: optional string return_type_identifier = 6
50
- */
51
- returnTypeIdentifier?: string;
52
- /**
53
- * @generated from protobuf field: repeated shared.FlowSetting settings = 7
54
- */
55
- settings: FlowSetting[];
56
- /**
57
- * @generated from protobuf field: int64 starting_node_id = 8
58
- */
59
- startingNodeId: bigint;
60
- /**
61
- * @generated from protobuf field: repeated shared.NodeFunction node_functions = 9
62
- */
63
- nodeFunctions: NodeFunction[];
64
- }
65
- /**
66
- * @generated from protobuf message shared.ExecutionFlow
67
- */
68
- export interface ExecutionFlow {
69
- /**
70
- * Database ID -> req. for Aquila to identify in FlowStore
71
- *
72
- * @generated from protobuf field: int64 flow_id = 1
73
- */
74
- flowId: bigint;
75
- /**
76
- * @generated from protobuf field: int64 starting_node_id = 2
77
- */
78
- startingNodeId: bigint;
79
- /**
80
- * @generated from protobuf field: repeated shared.NodeFunction node_functions = 4
81
- */
82
- nodeFunctions: NodeFunction[];
83
- /**
84
- * @generated from protobuf field: optional shared.Value input_value = 3
85
- */
86
- inputValue?: Value;
87
- }
88
- /**
89
- * @generated from protobuf message shared.FlowSetting
90
- */
91
- export interface FlowSetting {
92
- /**
93
- * The database id from sagittarius
94
- *
95
- * @generated from protobuf field: int64 database_id = 1
96
- */
97
- databaseId: bigint;
98
- /**
99
- * @generated from protobuf field: string flow_setting_id = 2
100
- */
101
- flowSettingId: string;
102
- /**
103
- * @generated from protobuf field: shared.Struct object = 3
104
- */
105
- object?: Struct;
106
- }
107
- /**
108
- * @generated from protobuf message shared.NodeFunction
109
- */
110
- export interface NodeFunction {
111
- /**
112
- * The database id from sagittarius
113
- *
114
- * @generated from protobuf field: int64 database_id = 1
115
- */
116
- databaseId: bigint;
117
- /**
118
- * @generated from protobuf field: string runtime_function_id = 2
119
- */
120
- runtimeFunctionId: string;
121
- /**
122
- * @generated from protobuf field: repeated shared.NodeParameter parameters = 3
123
- */
124
- parameters: NodeParameter[];
125
- /**
126
- * @generated from protobuf field: optional int64 next_node_id = 4
127
- */
128
- nextNodeId?: bigint;
129
- }
130
- /**
131
- * @generated from protobuf message shared.NodeValue
132
- */
133
- export interface NodeValue {
134
- /**
135
- * @generated from protobuf oneof: value
136
- */
137
- value: {
138
- oneofKind: "literalValue";
139
- /**
140
- * @generated from protobuf field: shared.Value literal_value = 1
141
- */
142
- literalValue: Value;
143
- } | {
144
- oneofKind: "referenceValue";
145
- /**
146
- * @generated from protobuf field: shared.ReferenceValue reference_value = 2
147
- */
148
- referenceValue: ReferenceValue;
149
- } | {
150
- oneofKind: "nodeFunctionId";
151
- /**
152
- * @generated from protobuf field: int64 node_function_id = 3
153
- */
154
- nodeFunctionId: bigint;
155
- } | {
156
- oneofKind: undefined;
157
- };
158
- }
159
- /**
160
- * @generated from protobuf message shared.NodeParameter
161
- */
162
- export interface NodeParameter {
163
- /**
164
- * The database id from sagittarius
165
- *
166
- * @generated from protobuf field: int64 database_id = 1
167
- */
168
- databaseId: bigint;
169
- /**
170
- * @generated from protobuf field: string runtime_parameter_id = 2
171
- */
172
- runtimeParameterId: string;
173
- /**
174
- * @generated from protobuf field: shared.NodeValue value = 3
175
- */
176
- value?: NodeValue;
177
- }
178
- /**
179
- * @generated from protobuf message shared.ReferenceValue
180
- */
181
- export interface ReferenceValue {
182
- /**
183
- * @generated from protobuf field: int32 depth = 1
184
- */
185
- depth: number;
186
- /**
187
- * @generated from protobuf field: repeated int32 scope = 2
188
- */
189
- scope: number[];
190
- /**
191
- * @generated from protobuf field: int32 node = 3
192
- */
193
- node: number;
194
- /**
195
- * @generated from protobuf field: repeated shared.ReferencePath paths = 4
196
- */
197
- paths: ReferencePath[];
198
- }
199
- /**
200
- * @generated from protobuf message shared.ReferencePath
201
- */
202
- export interface ReferencePath {
203
- /**
204
- * @generated from protobuf field: optional string path = 1
205
- */
206
- path?: string;
207
- /**
208
- * @generated from protobuf field: optional int64 array_index = 2
209
- */
210
- arrayIndex?: bigint;
211
- }
212
- /**
213
- * Used in sagittarius´s FlowService because oneof can only
214
- * take in a single message type and not a repeated one
215
- *
216
- * @generated from protobuf message shared.Flows
217
- */
218
- export interface Flows {
219
- /**
220
- * @generated from protobuf field: repeated shared.ValidationFlow flows = 1
221
- */
222
- flows: ValidationFlow[];
223
- }
224
11
  // @generated message type with reflection information, may provide speed optimized methods
225
- class ValidationFlow$Type extends MessageType<ValidationFlow> {
12
+ class ValidationFlow$Type extends MessageType {
226
13
  constructor() {
227
14
  super("shared.ValidationFlow", [
228
15
  { no: 1, name: "flow_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
@@ -236,8 +23,8 @@ class ValidationFlow$Type extends MessageType<ValidationFlow> {
236
23
  { no: 9, name: "node_functions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => NodeFunction }
237
24
  ]);
238
25
  }
239
- create(value?: PartialMessage<ValidationFlow>): ValidationFlow {
240
- const message = globalThis.Object.create((this.messagePrototype!));
26
+ create(value) {
27
+ const message = globalThis.Object.create((this.messagePrototype));
241
28
  message.flowId = 0n;
242
29
  message.projectId = 0n;
243
30
  message.type = "";
@@ -246,10 +33,10 @@ class ValidationFlow$Type extends MessageType<ValidationFlow> {
246
33
  message.startingNodeId = 0n;
247
34
  message.nodeFunctions = [];
248
35
  if (value !== undefined)
249
- reflectionMergePartial<ValidationFlow>(this, message, value);
36
+ reflectionMergePartial(this, message, value);
250
37
  return message;
251
38
  }
252
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ValidationFlow): ValidationFlow {
39
+ internalBinaryRead(reader, length, options, target) {
253
40
  let message = target ?? this.create(), end = reader.pos + length;
254
41
  while (reader.pos < end) {
255
42
  let [fieldNo, wireType] = reader.tag();
@@ -292,7 +79,7 @@ class ValidationFlow$Type extends MessageType<ValidationFlow> {
292
79
  }
293
80
  return message;
294
81
  }
295
- internalBinaryWrite(message: ValidationFlow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
82
+ internalBinaryWrite(message, writer, options) {
296
83
  /* int64 flow_id = 1; */
297
84
  if (message.flowId !== 0n)
298
85
  writer.tag(1, WireType.Varint).int64(message.flowId);
@@ -331,7 +118,7 @@ class ValidationFlow$Type extends MessageType<ValidationFlow> {
331
118
  */
332
119
  export const ValidationFlow = new ValidationFlow$Type();
333
120
  // @generated message type with reflection information, may provide speed optimized methods
334
- class ExecutionFlow$Type extends MessageType<ExecutionFlow> {
121
+ class ExecutionFlow$Type extends MessageType {
335
122
  constructor() {
336
123
  super("shared.ExecutionFlow", [
337
124
  { no: 1, name: "flow_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
@@ -340,16 +127,16 @@ class ExecutionFlow$Type extends MessageType<ExecutionFlow> {
340
127
  { no: 3, name: "input_value", kind: "message", T: () => Value }
341
128
  ]);
342
129
  }
343
- create(value?: PartialMessage<ExecutionFlow>): ExecutionFlow {
344
- const message = globalThis.Object.create((this.messagePrototype!));
130
+ create(value) {
131
+ const message = globalThis.Object.create((this.messagePrototype));
345
132
  message.flowId = 0n;
346
133
  message.startingNodeId = 0n;
347
134
  message.nodeFunctions = [];
348
135
  if (value !== undefined)
349
- reflectionMergePartial<ExecutionFlow>(this, message, value);
136
+ reflectionMergePartial(this, message, value);
350
137
  return message;
351
138
  }
352
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionFlow): ExecutionFlow {
139
+ internalBinaryRead(reader, length, options, target) {
353
140
  let message = target ?? this.create(), end = reader.pos + length;
354
141
  while (reader.pos < end) {
355
142
  let [fieldNo, wireType] = reader.tag();
@@ -377,7 +164,7 @@ class ExecutionFlow$Type extends MessageType<ExecutionFlow> {
377
164
  }
378
165
  return message;
379
166
  }
380
- internalBinaryWrite(message: ExecutionFlow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
167
+ internalBinaryWrite(message, writer, options) {
381
168
  /* int64 flow_id = 1; */
382
169
  if (message.flowId !== 0n)
383
170
  writer.tag(1, WireType.Varint).int64(message.flowId);
@@ -401,7 +188,7 @@ class ExecutionFlow$Type extends MessageType<ExecutionFlow> {
401
188
  */
402
189
  export const ExecutionFlow = new ExecutionFlow$Type();
403
190
  // @generated message type with reflection information, may provide speed optimized methods
404
- class FlowSetting$Type extends MessageType<FlowSetting> {
191
+ class FlowSetting$Type extends MessageType {
405
192
  constructor() {
406
193
  super("shared.FlowSetting", [
407
194
  { no: 1, name: "database_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
@@ -409,15 +196,15 @@ class FlowSetting$Type extends MessageType<FlowSetting> {
409
196
  { no: 3, name: "object", kind: "message", T: () => Struct }
410
197
  ]);
411
198
  }
412
- create(value?: PartialMessage<FlowSetting>): FlowSetting {
413
- const message = globalThis.Object.create((this.messagePrototype!));
199
+ create(value) {
200
+ const message = globalThis.Object.create((this.messagePrototype));
414
201
  message.databaseId = 0n;
415
202
  message.flowSettingId = "";
416
203
  if (value !== undefined)
417
- reflectionMergePartial<FlowSetting>(this, message, value);
204
+ reflectionMergePartial(this, message, value);
418
205
  return message;
419
206
  }
420
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowSetting): FlowSetting {
207
+ internalBinaryRead(reader, length, options, target) {
421
208
  let message = target ?? this.create(), end = reader.pos + length;
422
209
  while (reader.pos < end) {
423
210
  let [fieldNo, wireType] = reader.tag();
@@ -442,7 +229,7 @@ class FlowSetting$Type extends MessageType<FlowSetting> {
442
229
  }
443
230
  return message;
444
231
  }
445
- internalBinaryWrite(message: FlowSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
232
+ internalBinaryWrite(message, writer, options) {
446
233
  /* int64 database_id = 1; */
447
234
  if (message.databaseId !== 0n)
448
235
  writer.tag(1, WireType.Varint).int64(message.databaseId);
@@ -463,7 +250,7 @@ class FlowSetting$Type extends MessageType<FlowSetting> {
463
250
  */
464
251
  export const FlowSetting = new FlowSetting$Type();
465
252
  // @generated message type with reflection information, may provide speed optimized methods
466
- class NodeFunction$Type extends MessageType<NodeFunction> {
253
+ class NodeFunction$Type extends MessageType {
467
254
  constructor() {
468
255
  super("shared.NodeFunction", [
469
256
  { no: 1, name: "database_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
@@ -472,16 +259,16 @@ class NodeFunction$Type extends MessageType<NodeFunction> {
472
259
  { no: 4, name: "next_node_id", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
473
260
  ]);
474
261
  }
475
- create(value?: PartialMessage<NodeFunction>): NodeFunction {
476
- const message = globalThis.Object.create((this.messagePrototype!));
262
+ create(value) {
263
+ const message = globalThis.Object.create((this.messagePrototype));
477
264
  message.databaseId = 0n;
478
265
  message.runtimeFunctionId = "";
479
266
  message.parameters = [];
480
267
  if (value !== undefined)
481
- reflectionMergePartial<NodeFunction>(this, message, value);
268
+ reflectionMergePartial(this, message, value);
482
269
  return message;
483
270
  }
484
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NodeFunction): NodeFunction {
271
+ internalBinaryRead(reader, length, options, target) {
485
272
  let message = target ?? this.create(), end = reader.pos + length;
486
273
  while (reader.pos < end) {
487
274
  let [fieldNo, wireType] = reader.tag();
@@ -509,7 +296,7 @@ class NodeFunction$Type extends MessageType<NodeFunction> {
509
296
  }
510
297
  return message;
511
298
  }
512
- internalBinaryWrite(message: NodeFunction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
299
+ internalBinaryWrite(message, writer, options) {
513
300
  /* int64 database_id = 1; */
514
301
  if (message.databaseId !== 0n)
515
302
  writer.tag(1, WireType.Varint).int64(message.databaseId);
@@ -533,7 +320,7 @@ class NodeFunction$Type extends MessageType<NodeFunction> {
533
320
  */
534
321
  export const NodeFunction = new NodeFunction$Type();
535
322
  // @generated message type with reflection information, may provide speed optimized methods
536
- class NodeValue$Type extends MessageType<NodeValue> {
323
+ class NodeValue$Type extends MessageType {
537
324
  constructor() {
538
325
  super("shared.NodeValue", [
539
326
  { no: 1, name: "literal_value", kind: "message", oneof: "value", T: () => Value },
@@ -541,14 +328,14 @@ class NodeValue$Type extends MessageType<NodeValue> {
541
328
  { no: 3, name: "node_function_id", kind: "scalar", oneof: "value", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
542
329
  ]);
543
330
  }
544
- create(value?: PartialMessage<NodeValue>): NodeValue {
545
- const message = globalThis.Object.create((this.messagePrototype!));
331
+ create(value) {
332
+ const message = globalThis.Object.create((this.messagePrototype));
546
333
  message.value = { oneofKind: undefined };
547
334
  if (value !== undefined)
548
- reflectionMergePartial<NodeValue>(this, message, value);
335
+ reflectionMergePartial(this, message, value);
549
336
  return message;
550
337
  }
551
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NodeValue): NodeValue {
338
+ internalBinaryRead(reader, length, options, target) {
552
339
  let message = target ?? this.create(), end = reader.pos + length;
553
340
  while (reader.pos < end) {
554
341
  let [fieldNo, wireType] = reader.tag();
@@ -556,13 +343,13 @@ class NodeValue$Type extends MessageType<NodeValue> {
556
343
  case /* shared.Value literal_value */ 1:
557
344
  message.value = {
558
345
  oneofKind: "literalValue",
559
- literalValue: Value.internalBinaryRead(reader, reader.uint32(), options, (message.value as any).literalValue)
346
+ literalValue: Value.internalBinaryRead(reader, reader.uint32(), options, message.value.literalValue)
560
347
  };
561
348
  break;
562
349
  case /* shared.ReferenceValue reference_value */ 2:
563
350
  message.value = {
564
351
  oneofKind: "referenceValue",
565
- referenceValue: ReferenceValue.internalBinaryRead(reader, reader.uint32(), options, (message.value as any).referenceValue)
352
+ referenceValue: ReferenceValue.internalBinaryRead(reader, reader.uint32(), options, message.value.referenceValue)
566
353
  };
567
354
  break;
568
355
  case /* int64 node_function_id */ 3:
@@ -582,7 +369,7 @@ class NodeValue$Type extends MessageType<NodeValue> {
582
369
  }
583
370
  return message;
584
371
  }
585
- internalBinaryWrite(message: NodeValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
372
+ internalBinaryWrite(message, writer, options) {
586
373
  /* shared.Value literal_value = 1; */
587
374
  if (message.value.oneofKind === "literalValue")
588
375
  Value.internalBinaryWrite(message.value.literalValue, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
@@ -603,7 +390,7 @@ class NodeValue$Type extends MessageType<NodeValue> {
603
390
  */
604
391
  export const NodeValue = new NodeValue$Type();
605
392
  // @generated message type with reflection information, may provide speed optimized methods
606
- class NodeParameter$Type extends MessageType<NodeParameter> {
393
+ class NodeParameter$Type extends MessageType {
607
394
  constructor() {
608
395
  super("shared.NodeParameter", [
609
396
  { no: 1, name: "database_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
@@ -611,15 +398,15 @@ class NodeParameter$Type extends MessageType<NodeParameter> {
611
398
  { no: 3, name: "value", kind: "message", T: () => NodeValue }
612
399
  ]);
613
400
  }
614
- create(value?: PartialMessage<NodeParameter>): NodeParameter {
615
- const message = globalThis.Object.create((this.messagePrototype!));
401
+ create(value) {
402
+ const message = globalThis.Object.create((this.messagePrototype));
616
403
  message.databaseId = 0n;
617
404
  message.runtimeParameterId = "";
618
405
  if (value !== undefined)
619
- reflectionMergePartial<NodeParameter>(this, message, value);
406
+ reflectionMergePartial(this, message, value);
620
407
  return message;
621
408
  }
622
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NodeParameter): NodeParameter {
409
+ internalBinaryRead(reader, length, options, target) {
623
410
  let message = target ?? this.create(), end = reader.pos + length;
624
411
  while (reader.pos < end) {
625
412
  let [fieldNo, wireType] = reader.tag();
@@ -644,7 +431,7 @@ class NodeParameter$Type extends MessageType<NodeParameter> {
644
431
  }
645
432
  return message;
646
433
  }
647
- internalBinaryWrite(message: NodeParameter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
434
+ internalBinaryWrite(message, writer, options) {
648
435
  /* int64 database_id = 1; */
649
436
  if (message.databaseId !== 0n)
650
437
  writer.tag(1, WireType.Varint).int64(message.databaseId);
@@ -665,7 +452,7 @@ class NodeParameter$Type extends MessageType<NodeParameter> {
665
452
  */
666
453
  export const NodeParameter = new NodeParameter$Type();
667
454
  // @generated message type with reflection information, may provide speed optimized methods
668
- class ReferenceValue$Type extends MessageType<ReferenceValue> {
455
+ class ReferenceValue$Type extends MessageType {
669
456
  constructor() {
670
457
  super("shared.ReferenceValue", [
671
458
  { no: 1, name: "depth", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
@@ -674,17 +461,17 @@ class ReferenceValue$Type extends MessageType<ReferenceValue> {
674
461
  { no: 4, name: "paths", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ReferencePath }
675
462
  ]);
676
463
  }
677
- create(value?: PartialMessage<ReferenceValue>): ReferenceValue {
678
- const message = globalThis.Object.create((this.messagePrototype!));
464
+ create(value) {
465
+ const message = globalThis.Object.create((this.messagePrototype));
679
466
  message.depth = 0;
680
467
  message.scope = [];
681
468
  message.node = 0;
682
469
  message.paths = [];
683
470
  if (value !== undefined)
684
- reflectionMergePartial<ReferenceValue>(this, message, value);
471
+ reflectionMergePartial(this, message, value);
685
472
  return message;
686
473
  }
687
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReferenceValue): ReferenceValue {
474
+ internalBinaryRead(reader, length, options, target) {
688
475
  let message = target ?? this.create(), end = reader.pos + length;
689
476
  while (reader.pos < end) {
690
477
  let [fieldNo, wireType] = reader.tag();
@@ -716,7 +503,7 @@ class ReferenceValue$Type extends MessageType<ReferenceValue> {
716
503
  }
717
504
  return message;
718
505
  }
719
- internalBinaryWrite(message: ReferenceValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
506
+ internalBinaryWrite(message, writer, options) {
720
507
  /* int32 depth = 1; */
721
508
  if (message.depth !== 0)
722
509
  writer.tag(1, WireType.Varint).int32(message.depth);
@@ -744,20 +531,20 @@ class ReferenceValue$Type extends MessageType<ReferenceValue> {
744
531
  */
745
532
  export const ReferenceValue = new ReferenceValue$Type();
746
533
  // @generated message type with reflection information, may provide speed optimized methods
747
- class ReferencePath$Type extends MessageType<ReferencePath> {
534
+ class ReferencePath$Type extends MessageType {
748
535
  constructor() {
749
536
  super("shared.ReferencePath", [
750
537
  { no: 1, name: "path", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
751
538
  { no: 2, name: "array_index", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
752
539
  ]);
753
540
  }
754
- create(value?: PartialMessage<ReferencePath>): ReferencePath {
755
- const message = globalThis.Object.create((this.messagePrototype!));
541
+ create(value) {
542
+ const message = globalThis.Object.create((this.messagePrototype));
756
543
  if (value !== undefined)
757
- reflectionMergePartial<ReferencePath>(this, message, value);
544
+ reflectionMergePartial(this, message, value);
758
545
  return message;
759
546
  }
760
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReferencePath): ReferencePath {
547
+ internalBinaryRead(reader, length, options, target) {
761
548
  let message = target ?? this.create(), end = reader.pos + length;
762
549
  while (reader.pos < end) {
763
550
  let [fieldNo, wireType] = reader.tag();
@@ -779,7 +566,7 @@ class ReferencePath$Type extends MessageType<ReferencePath> {
779
566
  }
780
567
  return message;
781
568
  }
782
- internalBinaryWrite(message: ReferencePath, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
569
+ internalBinaryWrite(message, writer, options) {
783
570
  /* optional string path = 1; */
784
571
  if (message.path !== undefined)
785
572
  writer.tag(1, WireType.LengthDelimited).string(message.path);
@@ -797,20 +584,20 @@ class ReferencePath$Type extends MessageType<ReferencePath> {
797
584
  */
798
585
  export const ReferencePath = new ReferencePath$Type();
799
586
  // @generated message type with reflection information, may provide speed optimized methods
800
- class Flows$Type extends MessageType<Flows> {
587
+ class Flows$Type extends MessageType {
801
588
  constructor() {
802
589
  super("shared.Flows", [
803
590
  { no: 1, name: "flows", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ValidationFlow }
804
591
  ]);
805
592
  }
806
- create(value?: PartialMessage<Flows>): Flows {
807
- const message = globalThis.Object.create((this.messagePrototype!));
593
+ create(value) {
594
+ const message = globalThis.Object.create((this.messagePrototype));
808
595
  message.flows = [];
809
596
  if (value !== undefined)
810
- reflectionMergePartial<Flows>(this, message, value);
597
+ reflectionMergePartial(this, message, value);
811
598
  return message;
812
599
  }
813
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Flows): Flows {
600
+ internalBinaryRead(reader, length, options, target) {
814
601
  let message = target ?? this.create(), end = reader.pos + length;
815
602
  while (reader.pos < end) {
816
603
  let [fieldNo, wireType] = reader.tag();
@@ -829,7 +616,7 @@ class Flows$Type extends MessageType<Flows> {
829
616
  }
830
617
  return message;
831
618
  }
832
- internalBinaryWrite(message: Flows, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
619
+ internalBinaryWrite(message, writer, options) {
833
620
  /* repeated shared.ValidationFlow flows = 1; */
834
621
  for (let i = 0; i < message.flows.length; i++)
835
622
  ValidationFlow.internalBinaryWrite(message.flows[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();