@code0-tech/tucana 0.0.38 → 0.0.40
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.
- package/package.json +5 -4
- package/pb/{aquila.action_pb.client.ts → aquila.action_pb.client.d.ts} +8 -13
- package/pb/aquila.action_pb.client.js +25 -0
- package/pb/aquila.action_pb.d.ts +254 -0
- package/pb/{aquila.action_pb.ts → aquila.action_pb.js} +49 -215
- package/pb/{aquila.data_type_pb.client.ts → aquila.data_type_pb.client.d.ts} +8 -13
- package/pb/aquila.data_type_pb.client.js +23 -0
- package/pb/aquila.data_type_pb.d.ts +61 -0
- package/pb/{aquila.data_type_pb.ts → aquila.data_type_pb.js} +16 -44
- package/pb/{aquila.execution_pb.client.ts → aquila.execution_pb.client.d.ts} +15 -24
- package/pb/aquila.execution_pb.client.js +49 -0
- package/pb/aquila.execution_pb.d.ts +135 -0
- package/pb/{aquila.execution_pb.ts → aquila.execution_pb.js} +34 -103
- package/pb/{aquila.flow_type_pb.client.ts → aquila.flow_type_pb.client.d.ts} +8 -13
- package/pb/aquila.flow_type_pb.client.js +25 -0
- package/pb/aquila.flow_type_pb.d.ts +61 -0
- package/pb/{aquila.flow_type_pb.ts → aquila.flow_type_pb.js} +16 -44
- package/pb/{aquila.runtime_function_pb.client.ts → aquila.runtime_function_pb.client.d.ts} +8 -13
- package/pb/aquila.runtime_function_pb.client.js +25 -0
- package/pb/aquila.runtime_function_pb.d.ts +61 -0
- package/pb/{aquila.runtime_function_pb.ts → aquila.runtime_function_pb.js} +16 -44
- package/pb/{sagittarius.action_pb.client.ts → sagittarius.action_pb.client.d.ts} +9 -17
- package/pb/sagittarius.action_pb.client.js +32 -0
- package/pb/sagittarius.action_pb.d.ts +95 -0
- package/pb/{sagittarius.action_pb.ts → sagittarius.action_pb.js} +28 -70
- package/pb/{sagittarius.data_type_pb.client.ts → sagittarius.data_type_pb.client.d.ts} +8 -13
- package/pb/sagittarius.data_type_pb.client.js +23 -0
- package/pb/sagittarius.data_type_pb.d.ts +61 -0
- package/pb/{sagittarius.data_type_pb.ts → sagittarius.data_type_pb.js} +16 -44
- package/pb/{sagittarius.flow_pb.client.ts → sagittarius.flow_pb.client.d.ts} +8 -13
- package/pb/sagittarius.flow_pb.client.js +23 -0
- package/pb/sagittarius.flow_pb.d.ts +80 -0
- package/pb/{sagittarius.flow_pb.ts → sagittarius.flow_pb.js} +18 -64
- package/pb/{sagittarius.flow_type_pb.client.ts → sagittarius.flow_type_pb.client.d.ts} +8 -13
- package/pb/sagittarius.flow_type_pb.client.js +25 -0
- package/pb/sagittarius.flow_type_pb.d.ts +61 -0
- package/pb/{sagittarius.flow_type_pb.ts → sagittarius.flow_type_pb.js} +16 -44
- package/pb/{sagittarius.ping_pb.client.ts → sagittarius.ping_pb.client.d.ts} +8 -13
- package/pb/sagittarius.ping_pb.client.js +23 -0
- package/pb/sagittarius.ping_pb.d.ts +33 -0
- package/pb/{sagittarius.ping_pb.ts → sagittarius.ping_pb.js} +10 -21
- package/pb/{sagittarius.runtime_function_pb.client.ts → sagittarius.runtime_function_pb.client.d.ts} +8 -13
- package/pb/sagittarius.runtime_function_pb.client.js +25 -0
- package/pb/sagittarius.runtime_function_pb.d.ts +61 -0
- package/pb/{sagittarius.runtime_function_pb.ts → sagittarius.runtime_function_pb.js} +16 -44
- package/pb/{sagittarius.text_execution_pb.client.ts → sagittarius.text_execution_pb.client.d.ts} +8 -13
- package/pb/sagittarius.text_execution_pb.client.js +23 -0
- package/pb/sagittarius.text_execution_pb.d.ts +172 -0
- package/pb/{sagittarius.text_execution_pb.ts → sagittarius.text_execution_pb.js} +42 -141
- package/pb/shared.data_type_pb.d.ts +614 -0
- package/pb/{shared.data_type_pb.ts → shared.data_type_pb.js} +140 -508
- package/pb/shared.event_pb.d.ts +120 -0
- package/pb/{shared.event_pb.ts → shared.event_pb.js} +19 -101
- package/pb/shared.flow_definition_pb.d.ts +105 -0
- package/pb/{shared.flow_definition_pb.ts → shared.flow_definition_pb.js} +13 -90
- package/pb/shared.flow_pb.d.ts +305 -0
- package/pb/{shared.flow_pb.ts → shared.flow_pb.js} +68 -305
- package/pb/shared.runtime_function_pb.d.ts +114 -0
- package/pb/{shared.runtime_function_pb.ts → shared.runtime_function_pb.js} +13 -98
- package/pb/shared.struct_pb.d.ts +198 -0
- package/pb/{shared.struct_pb.ts → shared.struct_pb.js} +27 -136
- package/pb/shared.translation_pb.d.ts +39 -0
- package/pb/{shared.translation_pb.ts → shared.translation_pb.js} +7 -31
- package/pb/shared.version_pb.d.ts +37 -0
- package/pb/{shared.version_pb.ts → shared.version_pb.js} +7 -29
|
@@ -1,4 +1,4 @@
|
|
|
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.struct.proto" (package "shared", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -37,120 +37,10 @@
|
|
|
37
37
|
// The package name and options have been modified to accommodate for the needs of this project
|
|
38
38
|
// The original is located at https://github.com/protocolbuffers/protobuf/blob/18aa4e1fcb8882133e96445c40d1521f16932f1c/src/google/protobuf/struct.proto
|
|
39
39
|
//
|
|
40
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
41
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
42
40
|
import { WireType } from "@protobuf-ts/runtime";
|
|
43
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
44
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
45
41
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
46
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
47
42
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
48
43
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
49
|
-
/**
|
|
50
|
-
* `Struct` represents a structured data value, consisting of fields
|
|
51
|
-
* which map to dynamically typed values. In some languages, `Struct`
|
|
52
|
-
* might be supported by a native representation. For example, in
|
|
53
|
-
* scripting languages like JS a struct is represented as an
|
|
54
|
-
* object. The details of that representation are described together
|
|
55
|
-
* with the proto support for the language.
|
|
56
|
-
*
|
|
57
|
-
* The JSON representation for `Struct` is JSON object.
|
|
58
|
-
*
|
|
59
|
-
* @generated from protobuf message shared.Struct
|
|
60
|
-
*/
|
|
61
|
-
export interface Struct {
|
|
62
|
-
/**
|
|
63
|
-
* Unordered map of dynamically typed values.
|
|
64
|
-
*
|
|
65
|
-
* @generated from protobuf field: map<string, shared.Value> fields = 1
|
|
66
|
-
*/
|
|
67
|
-
fields: {
|
|
68
|
-
[key: string]: Value;
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* `Value` represents a dynamically typed value which can be either
|
|
73
|
-
* null, a number, a string, a boolean, a recursive struct value, or a
|
|
74
|
-
* list of values. A producer of value is expected to set one of these
|
|
75
|
-
* variants. Absence of any variant indicates an error.
|
|
76
|
-
*
|
|
77
|
-
* The JSON representation for `Value` is JSON value.
|
|
78
|
-
*
|
|
79
|
-
* @generated from protobuf message shared.Value
|
|
80
|
-
*/
|
|
81
|
-
export interface Value {
|
|
82
|
-
/**
|
|
83
|
-
* The kind of value.
|
|
84
|
-
*
|
|
85
|
-
* @generated from protobuf oneof: kind
|
|
86
|
-
*/
|
|
87
|
-
kind: {
|
|
88
|
-
oneofKind: "nullValue";
|
|
89
|
-
/**
|
|
90
|
-
* Represents a null value.
|
|
91
|
-
*
|
|
92
|
-
* @generated from protobuf field: shared.NullValue null_value = 1
|
|
93
|
-
*/
|
|
94
|
-
nullValue: NullValue;
|
|
95
|
-
} | {
|
|
96
|
-
oneofKind: "numberValue";
|
|
97
|
-
/**
|
|
98
|
-
* Represents a double value.
|
|
99
|
-
*
|
|
100
|
-
* @generated from protobuf field: double number_value = 2
|
|
101
|
-
*/
|
|
102
|
-
numberValue: number;
|
|
103
|
-
} | {
|
|
104
|
-
oneofKind: "stringValue";
|
|
105
|
-
/**
|
|
106
|
-
* Represents a string value.
|
|
107
|
-
*
|
|
108
|
-
* @generated from protobuf field: string string_value = 3
|
|
109
|
-
*/
|
|
110
|
-
stringValue: string;
|
|
111
|
-
} | {
|
|
112
|
-
oneofKind: "boolValue";
|
|
113
|
-
/**
|
|
114
|
-
* Represents a boolean value.
|
|
115
|
-
*
|
|
116
|
-
* @generated from protobuf field: bool bool_value = 4
|
|
117
|
-
*/
|
|
118
|
-
boolValue: boolean;
|
|
119
|
-
} | {
|
|
120
|
-
oneofKind: "structValue";
|
|
121
|
-
/**
|
|
122
|
-
* Represents a structured value.
|
|
123
|
-
*
|
|
124
|
-
* @generated from protobuf field: shared.Struct struct_value = 5
|
|
125
|
-
*/
|
|
126
|
-
structValue: Struct;
|
|
127
|
-
} | {
|
|
128
|
-
oneofKind: "listValue";
|
|
129
|
-
/**
|
|
130
|
-
* Represents a repeated `Value`.
|
|
131
|
-
*
|
|
132
|
-
* @generated from protobuf field: shared.ListValue list_value = 6
|
|
133
|
-
*/
|
|
134
|
-
listValue: ListValue;
|
|
135
|
-
} | {
|
|
136
|
-
oneofKind: undefined;
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* `ListValue` is a wrapper around a repeated field of values.
|
|
141
|
-
*
|
|
142
|
-
* The JSON representation for `ListValue` is JSON array.
|
|
143
|
-
*
|
|
144
|
-
* @generated from protobuf message shared.ListValue
|
|
145
|
-
*/
|
|
146
|
-
export interface ListValue {
|
|
147
|
-
/**
|
|
148
|
-
* Repeated field of dynamically typed values.
|
|
149
|
-
*
|
|
150
|
-
* @generated from protobuf field: repeated shared.Value values = 1
|
|
151
|
-
*/
|
|
152
|
-
values: Value[];
|
|
153
|
-
}
|
|
154
44
|
/**
|
|
155
45
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
156
46
|
* `Value` type union.
|
|
@@ -159,29 +49,30 @@ export interface ListValue {
|
|
|
159
49
|
*
|
|
160
50
|
* @generated from protobuf enum shared.NullValue
|
|
161
51
|
*/
|
|
162
|
-
export
|
|
52
|
+
export var NullValue;
|
|
53
|
+
(function (NullValue) {
|
|
163
54
|
/**
|
|
164
55
|
* Null value.
|
|
165
56
|
*
|
|
166
57
|
* @generated from protobuf enum value: NULL_VALUE = 0;
|
|
167
58
|
*/
|
|
168
|
-
NULL_VALUE = 0
|
|
169
|
-
}
|
|
59
|
+
NullValue[NullValue["NULL_VALUE"] = 0] = "NULL_VALUE";
|
|
60
|
+
})(NullValue || (NullValue = {}));
|
|
170
61
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
171
|
-
class Struct$Type extends MessageType
|
|
62
|
+
class Struct$Type extends MessageType {
|
|
172
63
|
constructor() {
|
|
173
64
|
super("shared.Struct", [
|
|
174
65
|
{ no: 1, name: "fields", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => Value } }
|
|
175
66
|
]);
|
|
176
67
|
}
|
|
177
|
-
create(value
|
|
178
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
68
|
+
create(value) {
|
|
69
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
179
70
|
message.fields = {};
|
|
180
71
|
if (value !== undefined)
|
|
181
|
-
reflectionMergePartial
|
|
72
|
+
reflectionMergePartial(this, message, value);
|
|
182
73
|
return message;
|
|
183
74
|
}
|
|
184
|
-
internalBinaryRead(reader
|
|
75
|
+
internalBinaryRead(reader, length, options, target) {
|
|
185
76
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
186
77
|
while (reader.pos < end) {
|
|
187
78
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -200,8 +91,8 @@ class Struct$Type extends MessageType<Struct> {
|
|
|
200
91
|
}
|
|
201
92
|
return message;
|
|
202
93
|
}
|
|
203
|
-
|
|
204
|
-
let len = reader.uint32(), end = reader.pos + len, key
|
|
94
|
+
binaryReadMap1(map, reader, options) {
|
|
95
|
+
let len = reader.uint32(), end = reader.pos + len, key, val;
|
|
205
96
|
while (reader.pos < end) {
|
|
206
97
|
let [fieldNo, wireType] = reader.tag();
|
|
207
98
|
switch (fieldNo) {
|
|
@@ -216,7 +107,7 @@ class Struct$Type extends MessageType<Struct> {
|
|
|
216
107
|
}
|
|
217
108
|
map[key ?? ""] = val ?? Value.create();
|
|
218
109
|
}
|
|
219
|
-
internalBinaryWrite(message
|
|
110
|
+
internalBinaryWrite(message, writer, options) {
|
|
220
111
|
/* map<string, shared.Value> fields = 1; */
|
|
221
112
|
for (let k of globalThis.Object.keys(message.fields)) {
|
|
222
113
|
writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
|
|
@@ -235,7 +126,7 @@ class Struct$Type extends MessageType<Struct> {
|
|
|
235
126
|
*/
|
|
236
127
|
export const Struct = new Struct$Type();
|
|
237
128
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
238
|
-
class Value$Type extends MessageType
|
|
129
|
+
class Value$Type extends MessageType {
|
|
239
130
|
constructor() {
|
|
240
131
|
super("shared.Value", [
|
|
241
132
|
{ no: 1, name: "null_value", kind: "enum", oneof: "kind", T: () => ["shared.NullValue", NullValue] },
|
|
@@ -246,14 +137,14 @@ class Value$Type extends MessageType<Value> {
|
|
|
246
137
|
{ no: 6, name: "list_value", kind: "message", oneof: "kind", T: () => ListValue }
|
|
247
138
|
]);
|
|
248
139
|
}
|
|
249
|
-
create(value
|
|
250
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
140
|
+
create(value) {
|
|
141
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
251
142
|
message.kind = { oneofKind: undefined };
|
|
252
143
|
if (value !== undefined)
|
|
253
|
-
reflectionMergePartial
|
|
144
|
+
reflectionMergePartial(this, message, value);
|
|
254
145
|
return message;
|
|
255
146
|
}
|
|
256
|
-
internalBinaryRead(reader
|
|
147
|
+
internalBinaryRead(reader, length, options, target) {
|
|
257
148
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
258
149
|
while (reader.pos < end) {
|
|
259
150
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -285,13 +176,13 @@ class Value$Type extends MessageType<Value> {
|
|
|
285
176
|
case /* shared.Struct struct_value */ 5:
|
|
286
177
|
message.kind = {
|
|
287
178
|
oneofKind: "structValue",
|
|
288
|
-
structValue: Struct.internalBinaryRead(reader, reader.uint32(), options,
|
|
179
|
+
structValue: Struct.internalBinaryRead(reader, reader.uint32(), options, message.kind.structValue)
|
|
289
180
|
};
|
|
290
181
|
break;
|
|
291
182
|
case /* shared.ListValue list_value */ 6:
|
|
292
183
|
message.kind = {
|
|
293
184
|
oneofKind: "listValue",
|
|
294
|
-
listValue: ListValue.internalBinaryRead(reader, reader.uint32(), options,
|
|
185
|
+
listValue: ListValue.internalBinaryRead(reader, reader.uint32(), options, message.kind.listValue)
|
|
295
186
|
};
|
|
296
187
|
break;
|
|
297
188
|
default:
|
|
@@ -305,7 +196,7 @@ class Value$Type extends MessageType<Value> {
|
|
|
305
196
|
}
|
|
306
197
|
return message;
|
|
307
198
|
}
|
|
308
|
-
internalBinaryWrite(message
|
|
199
|
+
internalBinaryWrite(message, writer, options) {
|
|
309
200
|
/* shared.NullValue null_value = 1; */
|
|
310
201
|
if (message.kind.oneofKind === "nullValue")
|
|
311
202
|
writer.tag(1, WireType.Varint).int32(message.kind.nullValue);
|
|
@@ -335,20 +226,20 @@ class Value$Type extends MessageType<Value> {
|
|
|
335
226
|
*/
|
|
336
227
|
export const Value = new Value$Type();
|
|
337
228
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
338
|
-
class ListValue$Type extends MessageType
|
|
229
|
+
class ListValue$Type extends MessageType {
|
|
339
230
|
constructor() {
|
|
340
231
|
super("shared.ListValue", [
|
|
341
232
|
{ no: 1, name: "values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value }
|
|
342
233
|
]);
|
|
343
234
|
}
|
|
344
|
-
create(value
|
|
345
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
235
|
+
create(value) {
|
|
236
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
346
237
|
message.values = [];
|
|
347
238
|
if (value !== undefined)
|
|
348
|
-
reflectionMergePartial
|
|
239
|
+
reflectionMergePartial(this, message, value);
|
|
349
240
|
return message;
|
|
350
241
|
}
|
|
351
|
-
internalBinaryRead(reader
|
|
242
|
+
internalBinaryRead(reader, length, options, target) {
|
|
352
243
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
353
244
|
while (reader.pos < end) {
|
|
354
245
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -367,7 +258,7 @@ class ListValue$Type extends MessageType<ListValue> {
|
|
|
367
258
|
}
|
|
368
259
|
return message;
|
|
369
260
|
}
|
|
370
|
-
internalBinaryWrite(message
|
|
261
|
+
internalBinaryWrite(message, writer, options) {
|
|
371
262
|
/* repeated shared.Value values = 1; */
|
|
372
263
|
for (let i = 0; i < message.values.length; i++)
|
|
373
264
|
Value.internalBinaryWrite(message.values[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "shared.translation.proto" (package "shared", 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
|
+
/**
|
|
11
|
+
* Translation to translate flows, description etc...
|
|
12
|
+
*
|
|
13
|
+
* @generated from protobuf message shared.Translation
|
|
14
|
+
*/
|
|
15
|
+
export interface Translation {
|
|
16
|
+
/**
|
|
17
|
+
* Language code (e.g. de_DE)
|
|
18
|
+
*
|
|
19
|
+
* @generated from protobuf field: string code = 1
|
|
20
|
+
*/
|
|
21
|
+
code: string;
|
|
22
|
+
/**
|
|
23
|
+
* Translated content
|
|
24
|
+
*
|
|
25
|
+
* @generated from protobuf field: string content = 2
|
|
26
|
+
*/
|
|
27
|
+
content: string;
|
|
28
|
+
}
|
|
29
|
+
declare class Translation$Type extends MessageType<Translation> {
|
|
30
|
+
constructor();
|
|
31
|
+
create(value?: PartialMessage<Translation>): Translation;
|
|
32
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Translation): Translation;
|
|
33
|
+
internalBinaryWrite(message: Translation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @generated MessageType for protobuf message shared.Translation
|
|
37
|
+
*/
|
|
38
|
+
export declare const Translation: Translation$Type;
|
|
39
|
+
export {};
|
|
@@ -1,51 +1,27 @@
|
|
|
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.translation.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
|
-
/**
|
|
14
|
-
* Translation to translate flows, description etc...
|
|
15
|
-
*
|
|
16
|
-
* @generated from protobuf message shared.Translation
|
|
17
|
-
*/
|
|
18
|
-
export interface Translation {
|
|
19
|
-
/**
|
|
20
|
-
* Language code (e.g. de_DE)
|
|
21
|
-
*
|
|
22
|
-
* @generated from protobuf field: string code = 1
|
|
23
|
-
*/
|
|
24
|
-
code: string;
|
|
25
|
-
/**
|
|
26
|
-
* Translated content
|
|
27
|
-
*
|
|
28
|
-
* @generated from protobuf field: string content = 2
|
|
29
|
-
*/
|
|
30
|
-
content: string;
|
|
31
|
-
}
|
|
32
8
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
33
|
-
class Translation$Type extends MessageType
|
|
9
|
+
class Translation$Type extends MessageType {
|
|
34
10
|
constructor() {
|
|
35
11
|
super("shared.Translation", [
|
|
36
12
|
{ no: 1, name: "code", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
37
13
|
{ no: 2, name: "content", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
38
14
|
]);
|
|
39
15
|
}
|
|
40
|
-
create(value
|
|
41
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
16
|
+
create(value) {
|
|
17
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
42
18
|
message.code = "";
|
|
43
19
|
message.content = "";
|
|
44
20
|
if (value !== undefined)
|
|
45
|
-
reflectionMergePartial
|
|
21
|
+
reflectionMergePartial(this, message, value);
|
|
46
22
|
return message;
|
|
47
23
|
}
|
|
48
|
-
internalBinaryRead(reader
|
|
24
|
+
internalBinaryRead(reader, length, options, target) {
|
|
49
25
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
50
26
|
while (reader.pos < end) {
|
|
51
27
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -67,7 +43,7 @@ class Translation$Type extends MessageType<Translation> {
|
|
|
67
43
|
}
|
|
68
44
|
return message;
|
|
69
45
|
}
|
|
70
|
-
internalBinaryWrite(message
|
|
46
|
+
internalBinaryWrite(message, writer, options) {
|
|
71
47
|
/* string code = 1; */
|
|
72
48
|
if (message.code !== "")
|
|
73
49
|
writer.tag(1, WireType.LengthDelimited).string(message.code);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "shared.version.proto" (package "shared", 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
|
+
/**
|
|
11
|
+
* @generated from protobuf message shared.Version
|
|
12
|
+
*/
|
|
13
|
+
export interface Version {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf field: int32 major = 1
|
|
16
|
+
*/
|
|
17
|
+
major: number;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from protobuf field: int32 minor = 2
|
|
20
|
+
*/
|
|
21
|
+
minor: number;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf field: int32 patch = 3
|
|
24
|
+
*/
|
|
25
|
+
patch: number;
|
|
26
|
+
}
|
|
27
|
+
declare class Version$Type extends MessageType<Version> {
|
|
28
|
+
constructor();
|
|
29
|
+
create(value?: PartialMessage<Version>): Version;
|
|
30
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Version): Version;
|
|
31
|
+
internalBinaryWrite(message: Version, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @generated MessageType for protobuf message shared.Version
|
|
35
|
+
*/
|
|
36
|
+
export declare const Version: Version$Type;
|
|
37
|
+
export {};
|
|
@@ -1,34 +1,12 @@
|
|
|
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.version.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
|
-
/**
|
|
14
|
-
* @generated from protobuf message shared.Version
|
|
15
|
-
*/
|
|
16
|
-
export interface Version {
|
|
17
|
-
/**
|
|
18
|
-
* @generated from protobuf field: int32 major = 1
|
|
19
|
-
*/
|
|
20
|
-
major: number;
|
|
21
|
-
/**
|
|
22
|
-
* @generated from protobuf field: int32 minor = 2
|
|
23
|
-
*/
|
|
24
|
-
minor: number;
|
|
25
|
-
/**
|
|
26
|
-
* @generated from protobuf field: int32 patch = 3
|
|
27
|
-
*/
|
|
28
|
-
patch: number;
|
|
29
|
-
}
|
|
30
8
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
31
|
-
class Version$Type extends MessageType
|
|
9
|
+
class Version$Type extends MessageType {
|
|
32
10
|
constructor() {
|
|
33
11
|
super("shared.Version", [
|
|
34
12
|
{ no: 1, name: "major", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
@@ -36,16 +14,16 @@ class Version$Type extends MessageType<Version> {
|
|
|
36
14
|
{ no: 3, name: "patch", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
|
37
15
|
]);
|
|
38
16
|
}
|
|
39
|
-
create(value
|
|
40
|
-
const message = globalThis.Object.create((this.messagePrototype
|
|
17
|
+
create(value) {
|
|
18
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
41
19
|
message.major = 0;
|
|
42
20
|
message.minor = 0;
|
|
43
21
|
message.patch = 0;
|
|
44
22
|
if (value !== undefined)
|
|
45
|
-
reflectionMergePartial
|
|
23
|
+
reflectionMergePartial(this, message, value);
|
|
46
24
|
return message;
|
|
47
25
|
}
|
|
48
|
-
internalBinaryRead(reader
|
|
26
|
+
internalBinaryRead(reader, length, options, target) {
|
|
49
27
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
50
28
|
while (reader.pos < end) {
|
|
51
29
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -70,7 +48,7 @@ class Version$Type extends MessageType<Version> {
|
|
|
70
48
|
}
|
|
71
49
|
return message;
|
|
72
50
|
}
|
|
73
|
-
internalBinaryWrite(message
|
|
51
|
+
internalBinaryWrite(message, writer, options) {
|
|
74
52
|
/* int32 major = 1; */
|
|
75
53
|
if (message.major !== 0)
|
|
76
54
|
writer.tag(1, WireType.Varint).int32(message.major);
|