@code0-tech/tucana 0.0.49 → 0.0.50
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 +1 -1
- package/pb/aquila.runtime_status_pb.client.d.ts +32 -0
- package/pb/aquila.runtime_status_pb.client.js +23 -0
- package/pb/aquila.runtime_status_pb.d.ts +68 -0
- package/pb/aquila.runtime_status_pb.js +126 -0
- package/pb/sagittarius.runtime_status_pb.client.d.ts +32 -0
- package/pb/sagittarius.runtime_status_pb.client.js +23 -0
- package/pb/sagittarius.runtime_status_pb.d.ts +68 -0
- package/pb/sagittarius.runtime_status_pb.js +126 -0
- package/pb/sagittarius.text_execution_pb.d.ts +101 -0
- package/pb/sagittarius.text_execution_pb.js +213 -2
- package/pb/shared.flow_definition_pb.d.ts +23 -2
- package/pb/shared.flow_definition_pb.js +34 -8
- package/pb/shared.runtime_function_pb.d.ts +4 -0
- package/pb/shared.runtime_function_pb.js +9 -1
- package/pb/shared.runtime_status_pb.d.ts +177 -0
- package/pb/shared.runtime_status_pb.js +315 -0
|
@@ -184,6 +184,217 @@ export const TestExecutionResponse = new TestExecutionResponse$Type();
|
|
|
184
184
|
class Log$Type extends MessageType {
|
|
185
185
|
constructor() {
|
|
186
186
|
super("sagittarius.Log", [
|
|
187
|
+
{ no: 1, name: "application_log", kind: "message", oneof: "kind", T: () => ApplicationLog },
|
|
188
|
+
{ no: 2, name: "success_log", kind: "message", oneof: "kind", T: () => SuccessLog },
|
|
189
|
+
{ no: 3, name: "error_log", kind: "message", oneof: "kind", T: () => RuntimeErrorLog }
|
|
190
|
+
]);
|
|
191
|
+
}
|
|
192
|
+
create(value) {
|
|
193
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
194
|
+
message.kind = { oneofKind: undefined };
|
|
195
|
+
if (value !== undefined)
|
|
196
|
+
reflectionMergePartial(this, message, value);
|
|
197
|
+
return message;
|
|
198
|
+
}
|
|
199
|
+
internalBinaryRead(reader, length, options, target) {
|
|
200
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
201
|
+
while (reader.pos < end) {
|
|
202
|
+
let [fieldNo, wireType] = reader.tag();
|
|
203
|
+
switch (fieldNo) {
|
|
204
|
+
case /* sagittarius.ApplicationLog application_log */ 1:
|
|
205
|
+
message.kind = {
|
|
206
|
+
oneofKind: "applicationLog",
|
|
207
|
+
applicationLog: ApplicationLog.internalBinaryRead(reader, reader.uint32(), options, message.kind.applicationLog)
|
|
208
|
+
};
|
|
209
|
+
break;
|
|
210
|
+
case /* sagittarius.SuccessLog success_log */ 2:
|
|
211
|
+
message.kind = {
|
|
212
|
+
oneofKind: "successLog",
|
|
213
|
+
successLog: SuccessLog.internalBinaryRead(reader, reader.uint32(), options, message.kind.successLog)
|
|
214
|
+
};
|
|
215
|
+
break;
|
|
216
|
+
case /* sagittarius.RuntimeErrorLog error_log */ 3:
|
|
217
|
+
message.kind = {
|
|
218
|
+
oneofKind: "errorLog",
|
|
219
|
+
errorLog: RuntimeErrorLog.internalBinaryRead(reader, reader.uint32(), options, message.kind.errorLog)
|
|
220
|
+
};
|
|
221
|
+
break;
|
|
222
|
+
default:
|
|
223
|
+
let u = options.readUnknownField;
|
|
224
|
+
if (u === "throw")
|
|
225
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
226
|
+
let d = reader.skip(wireType);
|
|
227
|
+
if (u !== false)
|
|
228
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
return message;
|
|
232
|
+
}
|
|
233
|
+
internalBinaryWrite(message, writer, options) {
|
|
234
|
+
/* sagittarius.ApplicationLog application_log = 1; */
|
|
235
|
+
if (message.kind.oneofKind === "applicationLog")
|
|
236
|
+
ApplicationLog.internalBinaryWrite(message.kind.applicationLog, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
237
|
+
/* sagittarius.SuccessLog success_log = 2; */
|
|
238
|
+
if (message.kind.oneofKind === "successLog")
|
|
239
|
+
SuccessLog.internalBinaryWrite(message.kind.successLog, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
240
|
+
/* sagittarius.RuntimeErrorLog error_log = 3; */
|
|
241
|
+
if (message.kind.oneofKind === "errorLog")
|
|
242
|
+
RuntimeErrorLog.internalBinaryWrite(message.kind.errorLog, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
243
|
+
let u = options.writeUnknownFields;
|
|
244
|
+
if (u !== false)
|
|
245
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
246
|
+
return writer;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* @generated MessageType for protobuf message sagittarius.Log
|
|
251
|
+
*/
|
|
252
|
+
export const Log = new Log$Type();
|
|
253
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
254
|
+
class SuccessLog$Type extends MessageType {
|
|
255
|
+
constructor() {
|
|
256
|
+
super("sagittarius.SuccessLog", [
|
|
257
|
+
{ no: 1, name: "node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
258
|
+
{ no: 2, name: "result", kind: "message", T: () => Value },
|
|
259
|
+
{ no: 3, name: "parameter", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value },
|
|
260
|
+
{ no: 4, name: "timestamp", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
261
|
+
]);
|
|
262
|
+
}
|
|
263
|
+
create(value) {
|
|
264
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
265
|
+
message.nodeId = 0n;
|
|
266
|
+
message.parameter = [];
|
|
267
|
+
message.timestamp = "";
|
|
268
|
+
if (value !== undefined)
|
|
269
|
+
reflectionMergePartial(this, message, value);
|
|
270
|
+
return message;
|
|
271
|
+
}
|
|
272
|
+
internalBinaryRead(reader, length, options, target) {
|
|
273
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
274
|
+
while (reader.pos < end) {
|
|
275
|
+
let [fieldNo, wireType] = reader.tag();
|
|
276
|
+
switch (fieldNo) {
|
|
277
|
+
case /* int64 node_id */ 1:
|
|
278
|
+
message.nodeId = reader.int64().toBigInt();
|
|
279
|
+
break;
|
|
280
|
+
case /* shared.Value result */ 2:
|
|
281
|
+
message.result = Value.internalBinaryRead(reader, reader.uint32(), options, message.result);
|
|
282
|
+
break;
|
|
283
|
+
case /* repeated shared.Value parameter */ 3:
|
|
284
|
+
message.parameter.push(Value.internalBinaryRead(reader, reader.uint32(), options));
|
|
285
|
+
break;
|
|
286
|
+
case /* string timestamp */ 4:
|
|
287
|
+
message.timestamp = reader.string();
|
|
288
|
+
break;
|
|
289
|
+
default:
|
|
290
|
+
let u = options.readUnknownField;
|
|
291
|
+
if (u === "throw")
|
|
292
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
293
|
+
let d = reader.skip(wireType);
|
|
294
|
+
if (u !== false)
|
|
295
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
return message;
|
|
299
|
+
}
|
|
300
|
+
internalBinaryWrite(message, writer, options) {
|
|
301
|
+
/* int64 node_id = 1; */
|
|
302
|
+
if (message.nodeId !== 0n)
|
|
303
|
+
writer.tag(1, WireType.Varint).int64(message.nodeId);
|
|
304
|
+
/* shared.Value result = 2; */
|
|
305
|
+
if (message.result)
|
|
306
|
+
Value.internalBinaryWrite(message.result, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
307
|
+
/* repeated shared.Value parameter = 3; */
|
|
308
|
+
for (let i = 0; i < message.parameter.length; i++)
|
|
309
|
+
Value.internalBinaryWrite(message.parameter[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
310
|
+
/* string timestamp = 4; */
|
|
311
|
+
if (message.timestamp !== "")
|
|
312
|
+
writer.tag(4, WireType.LengthDelimited).string(message.timestamp);
|
|
313
|
+
let u = options.writeUnknownFields;
|
|
314
|
+
if (u !== false)
|
|
315
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
316
|
+
return writer;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @generated MessageType for protobuf message sagittarius.SuccessLog
|
|
321
|
+
*/
|
|
322
|
+
export const SuccessLog = new SuccessLog$Type();
|
|
323
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
324
|
+
class RuntimeErrorLog$Type extends MessageType {
|
|
325
|
+
constructor() {
|
|
326
|
+
super("sagittarius.RuntimeErrorLog", [
|
|
327
|
+
{ no: 1, name: "node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
328
|
+
{ no: 2, name: "error", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
329
|
+
{ no: 3, name: "parameter", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value },
|
|
330
|
+
{ no: 4, name: "timestamp", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
331
|
+
]);
|
|
332
|
+
}
|
|
333
|
+
create(value) {
|
|
334
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
335
|
+
message.nodeId = 0n;
|
|
336
|
+
message.error = "";
|
|
337
|
+
message.parameter = [];
|
|
338
|
+
message.timestamp = "";
|
|
339
|
+
if (value !== undefined)
|
|
340
|
+
reflectionMergePartial(this, message, value);
|
|
341
|
+
return message;
|
|
342
|
+
}
|
|
343
|
+
internalBinaryRead(reader, length, options, target) {
|
|
344
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
345
|
+
while (reader.pos < end) {
|
|
346
|
+
let [fieldNo, wireType] = reader.tag();
|
|
347
|
+
switch (fieldNo) {
|
|
348
|
+
case /* int64 node_id */ 1:
|
|
349
|
+
message.nodeId = reader.int64().toBigInt();
|
|
350
|
+
break;
|
|
351
|
+
case /* string error */ 2:
|
|
352
|
+
message.error = reader.string();
|
|
353
|
+
break;
|
|
354
|
+
case /* repeated shared.Value parameter */ 3:
|
|
355
|
+
message.parameter.push(Value.internalBinaryRead(reader, reader.uint32(), options));
|
|
356
|
+
break;
|
|
357
|
+
case /* string timestamp */ 4:
|
|
358
|
+
message.timestamp = reader.string();
|
|
359
|
+
break;
|
|
360
|
+
default:
|
|
361
|
+
let u = options.readUnknownField;
|
|
362
|
+
if (u === "throw")
|
|
363
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
364
|
+
let d = reader.skip(wireType);
|
|
365
|
+
if (u !== false)
|
|
366
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
return message;
|
|
370
|
+
}
|
|
371
|
+
internalBinaryWrite(message, writer, options) {
|
|
372
|
+
/* int64 node_id = 1; */
|
|
373
|
+
if (message.nodeId !== 0n)
|
|
374
|
+
writer.tag(1, WireType.Varint).int64(message.nodeId);
|
|
375
|
+
/* string error = 2; */
|
|
376
|
+
if (message.error !== "")
|
|
377
|
+
writer.tag(2, WireType.LengthDelimited).string(message.error);
|
|
378
|
+
/* repeated shared.Value parameter = 3; */
|
|
379
|
+
for (let i = 0; i < message.parameter.length; i++)
|
|
380
|
+
Value.internalBinaryWrite(message.parameter[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
381
|
+
/* string timestamp = 4; */
|
|
382
|
+
if (message.timestamp !== "")
|
|
383
|
+
writer.tag(4, WireType.LengthDelimited).string(message.timestamp);
|
|
384
|
+
let u = options.writeUnknownFields;
|
|
385
|
+
if (u !== false)
|
|
386
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
387
|
+
return writer;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* @generated MessageType for protobuf message sagittarius.RuntimeErrorLog
|
|
392
|
+
*/
|
|
393
|
+
export const RuntimeErrorLog = new RuntimeErrorLog$Type();
|
|
394
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
395
|
+
class ApplicationLog$Type extends MessageType {
|
|
396
|
+
constructor() {
|
|
397
|
+
super("sagittarius.ApplicationLog", [
|
|
187
398
|
{ no: 1, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
188
399
|
{ no: 2, name: "level", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
189
400
|
{ no: 3, name: "timestamp", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
@@ -240,9 +451,9 @@ class Log$Type extends MessageType {
|
|
|
240
451
|
}
|
|
241
452
|
}
|
|
242
453
|
/**
|
|
243
|
-
* @generated MessageType for protobuf message sagittarius.
|
|
454
|
+
* @generated MessageType for protobuf message sagittarius.ApplicationLog
|
|
244
455
|
*/
|
|
245
|
-
export const
|
|
456
|
+
export const ApplicationLog = new ApplicationLog$Type();
|
|
246
457
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
247
458
|
class ExecutionLogonRequest$Type extends MessageType {
|
|
248
459
|
constructor() {
|
|
@@ -60,6 +60,10 @@ export interface FlowType {
|
|
|
60
60
|
* @generated from protobuf field: string version = 11
|
|
61
61
|
*/
|
|
62
62
|
version: string;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf field: string display_icon = 12
|
|
65
|
+
*/
|
|
66
|
+
displayIcon: string;
|
|
63
67
|
}
|
|
64
68
|
/**
|
|
65
69
|
* @generated from protobuf message shared.FlowTypeSetting
|
|
@@ -70,9 +74,9 @@ export interface FlowTypeSetting {
|
|
|
70
74
|
*/
|
|
71
75
|
identifier: string;
|
|
72
76
|
/**
|
|
73
|
-
* @generated from protobuf field:
|
|
77
|
+
* @generated from protobuf field: shared.FlowTypeSetting.UniquenessScope unique = 2
|
|
74
78
|
*/
|
|
75
|
-
unique:
|
|
79
|
+
unique: FlowTypeSetting_UniquenessScope;
|
|
76
80
|
/**
|
|
77
81
|
* @generated from protobuf field: string data_type_identifier = 3
|
|
78
82
|
*/
|
|
@@ -90,6 +94,23 @@ export interface FlowTypeSetting {
|
|
|
90
94
|
*/
|
|
91
95
|
description: Translation[];
|
|
92
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* @generated from protobuf enum shared.FlowTypeSetting.UniquenessScope
|
|
99
|
+
*/
|
|
100
|
+
export declare enum FlowTypeSetting_UniquenessScope {
|
|
101
|
+
/**
|
|
102
|
+
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
103
|
+
*/
|
|
104
|
+
UNKNOWN = 0,
|
|
105
|
+
/**
|
|
106
|
+
* @generated from protobuf enum value: NONE = 1;
|
|
107
|
+
*/
|
|
108
|
+
NONE = 1,
|
|
109
|
+
/**
|
|
110
|
+
* @generated from protobuf enum value: PROJECT = 2;
|
|
111
|
+
*/
|
|
112
|
+
PROJECT = 2
|
|
113
|
+
}
|
|
93
114
|
declare class FlowType$Type extends MessageType<FlowType> {
|
|
94
115
|
constructor();
|
|
95
116
|
create(value?: PartialMessage<FlowType>): FlowType;
|
|
@@ -7,6 +7,24 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
8
|
import { Value } from "./shared.struct_pb";
|
|
9
9
|
import { Translation } from "./shared.translation_pb";
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf enum shared.FlowTypeSetting.UniquenessScope
|
|
12
|
+
*/
|
|
13
|
+
export var FlowTypeSetting_UniquenessScope;
|
|
14
|
+
(function (FlowTypeSetting_UniquenessScope) {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
17
|
+
*/
|
|
18
|
+
FlowTypeSetting_UniquenessScope[FlowTypeSetting_UniquenessScope["UNKNOWN"] = 0] = "UNKNOWN";
|
|
19
|
+
/**
|
|
20
|
+
* @generated from protobuf enum value: NONE = 1;
|
|
21
|
+
*/
|
|
22
|
+
FlowTypeSetting_UniquenessScope[FlowTypeSetting_UniquenessScope["NONE"] = 1] = "NONE";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from protobuf enum value: PROJECT = 2;
|
|
25
|
+
*/
|
|
26
|
+
FlowTypeSetting_UniquenessScope[FlowTypeSetting_UniquenessScope["PROJECT"] = 2] = "PROJECT";
|
|
27
|
+
})(FlowTypeSetting_UniquenessScope || (FlowTypeSetting_UniquenessScope = {}));
|
|
10
28
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
11
29
|
class FlowType$Type extends MessageType {
|
|
12
30
|
constructor() {
|
|
@@ -21,7 +39,8 @@ class FlowType$Type extends MessageType {
|
|
|
21
39
|
{ no: 8, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
22
40
|
{ no: 9, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
23
41
|
{ no: 10, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
24
|
-
{ no: 11, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
42
|
+
{ no: 11, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
43
|
+
{ no: 12, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
25
44
|
]);
|
|
26
45
|
}
|
|
27
46
|
create(value) {
|
|
@@ -35,6 +54,7 @@ class FlowType$Type extends MessageType {
|
|
|
35
54
|
message.displayMessage = [];
|
|
36
55
|
message.alias = [];
|
|
37
56
|
message.version = "";
|
|
57
|
+
message.displayIcon = "";
|
|
38
58
|
if (value !== undefined)
|
|
39
59
|
reflectionMergePartial(this, message, value);
|
|
40
60
|
return message;
|
|
@@ -77,6 +97,9 @@ class FlowType$Type extends MessageType {
|
|
|
77
97
|
case /* string version */ 11:
|
|
78
98
|
message.version = reader.string();
|
|
79
99
|
break;
|
|
100
|
+
case /* string display_icon */ 12:
|
|
101
|
+
message.displayIcon = reader.string();
|
|
102
|
+
break;
|
|
80
103
|
default:
|
|
81
104
|
let u = options.readUnknownField;
|
|
82
105
|
if (u === "throw")
|
|
@@ -122,6 +145,9 @@ class FlowType$Type extends MessageType {
|
|
|
122
145
|
/* string version = 11; */
|
|
123
146
|
if (message.version !== "")
|
|
124
147
|
writer.tag(11, WireType.LengthDelimited).string(message.version);
|
|
148
|
+
/* string display_icon = 12; */
|
|
149
|
+
if (message.displayIcon !== "")
|
|
150
|
+
writer.tag(12, WireType.LengthDelimited).string(message.displayIcon);
|
|
125
151
|
let u = options.writeUnknownFields;
|
|
126
152
|
if (u !== false)
|
|
127
153
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -137,7 +163,7 @@ class FlowTypeSetting$Type extends MessageType {
|
|
|
137
163
|
constructor() {
|
|
138
164
|
super("shared.FlowTypeSetting", [
|
|
139
165
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
140
|
-
{ no: 2, name: "unique", kind: "
|
|
166
|
+
{ no: 2, name: "unique", kind: "enum", T: () => ["shared.FlowTypeSetting.UniquenessScope", FlowTypeSetting_UniquenessScope] },
|
|
141
167
|
{ no: 3, name: "data_type_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
142
168
|
{ no: 4, name: "default_value", kind: "message", T: () => Value },
|
|
143
169
|
{ no: 5, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
@@ -147,7 +173,7 @@ class FlowTypeSetting$Type extends MessageType {
|
|
|
147
173
|
create(value) {
|
|
148
174
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
149
175
|
message.identifier = "";
|
|
150
|
-
message.unique =
|
|
176
|
+
message.unique = 0;
|
|
151
177
|
message.dataTypeIdentifier = "";
|
|
152
178
|
message.name = [];
|
|
153
179
|
message.description = [];
|
|
@@ -163,8 +189,8 @@ class FlowTypeSetting$Type extends MessageType {
|
|
|
163
189
|
case /* string identifier */ 1:
|
|
164
190
|
message.identifier = reader.string();
|
|
165
191
|
break;
|
|
166
|
-
case /*
|
|
167
|
-
message.unique = reader.
|
|
192
|
+
case /* shared.FlowTypeSetting.UniquenessScope unique */ 2:
|
|
193
|
+
message.unique = reader.int32();
|
|
168
194
|
break;
|
|
169
195
|
case /* string data_type_identifier */ 3:
|
|
170
196
|
message.dataTypeIdentifier = reader.string();
|
|
@@ -193,9 +219,9 @@ class FlowTypeSetting$Type extends MessageType {
|
|
|
193
219
|
/* string identifier = 1; */
|
|
194
220
|
if (message.identifier !== "")
|
|
195
221
|
writer.tag(1, WireType.LengthDelimited).string(message.identifier);
|
|
196
|
-
/*
|
|
197
|
-
if (message.unique !==
|
|
198
|
-
writer.tag(2, WireType.Varint).
|
|
222
|
+
/* shared.FlowTypeSetting.UniquenessScope unique = 2; */
|
|
223
|
+
if (message.unique !== 0)
|
|
224
|
+
writer.tag(2, WireType.Varint).int32(message.unique);
|
|
199
225
|
/* string data_type_identifier = 3; */
|
|
200
226
|
if (message.dataTypeIdentifier !== "")
|
|
201
227
|
writer.tag(3, WireType.LengthDelimited).string(message.dataTypeIdentifier);
|
|
@@ -67,6 +67,10 @@ export interface RuntimeFunctionDefinition {
|
|
|
67
67
|
* @generated from protobuf field: string version = 12
|
|
68
68
|
*/
|
|
69
69
|
version: string;
|
|
70
|
+
/**
|
|
71
|
+
* @generated from protobuf field: string display_icon = 13
|
|
72
|
+
*/
|
|
73
|
+
displayIcon: string;
|
|
70
74
|
}
|
|
71
75
|
/**
|
|
72
76
|
* Definition of a parameter used for execution
|
|
@@ -23,7 +23,8 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
23
23
|
{ no: 9, name: "deprecation_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
24
24
|
{ no: 10, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
25
25
|
{ no: 11, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
26
|
-
{ no: 12, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
26
|
+
{ no: 12, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
27
|
+
{ no: 13, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
27
28
|
]);
|
|
28
29
|
}
|
|
29
30
|
create(value) {
|
|
@@ -39,6 +40,7 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
39
40
|
message.displayMessage = [];
|
|
40
41
|
message.alias = [];
|
|
41
42
|
message.version = "";
|
|
43
|
+
message.displayIcon = "";
|
|
42
44
|
if (value !== undefined)
|
|
43
45
|
reflectionMergePartial(this, message, value);
|
|
44
46
|
return message;
|
|
@@ -84,6 +86,9 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
84
86
|
case /* string version */ 12:
|
|
85
87
|
message.version = reader.string();
|
|
86
88
|
break;
|
|
89
|
+
case /* string display_icon */ 13:
|
|
90
|
+
message.displayIcon = reader.string();
|
|
91
|
+
break;
|
|
87
92
|
default:
|
|
88
93
|
let u = options.readUnknownField;
|
|
89
94
|
if (u === "throw")
|
|
@@ -132,6 +137,9 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
132
137
|
/* string version = 12; */
|
|
133
138
|
if (message.version !== "")
|
|
134
139
|
writer.tag(12, WireType.LengthDelimited).string(message.version);
|
|
140
|
+
/* string display_icon = 13; */
|
|
141
|
+
if (message.displayIcon !== "")
|
|
142
|
+
writer.tag(13, WireType.LengthDelimited).string(message.displayIcon);
|
|
135
143
|
let u = options.writeUnknownFields;
|
|
136
144
|
if (u !== false)
|
|
137
145
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "shared.runtime_status.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
|
+
import { Translation } from "./shared.translation_pb";
|
|
11
|
+
/**
|
|
12
|
+
* @generated from protobuf message shared.AdapterConfiguration
|
|
13
|
+
*/
|
|
14
|
+
export interface AdapterConfiguration {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from protobuf oneof: data
|
|
17
|
+
*/
|
|
18
|
+
data: {
|
|
19
|
+
oneofKind: "endpoint";
|
|
20
|
+
/**
|
|
21
|
+
* @generated from protobuf field: string endpoint = 1
|
|
22
|
+
*/
|
|
23
|
+
endpoint: string;
|
|
24
|
+
} | {
|
|
25
|
+
oneofKind: undefined;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @generated from protobuf message shared.RuntimeFeature
|
|
30
|
+
*/
|
|
31
|
+
export interface RuntimeFeature {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from protobuf field: repeated shared.Translation name = 1
|
|
34
|
+
*/
|
|
35
|
+
name: Translation[];
|
|
36
|
+
/**
|
|
37
|
+
* @generated from protobuf field: repeated shared.Translation description = 2
|
|
38
|
+
*/
|
|
39
|
+
description: Translation[];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @generated from protobuf message shared.AdapterRuntimeStatus
|
|
43
|
+
*/
|
|
44
|
+
export interface AdapterRuntimeStatus {
|
|
45
|
+
/**
|
|
46
|
+
* @generated from protobuf field: shared.AdapterRuntimeStatus.Status status = 1
|
|
47
|
+
*/
|
|
48
|
+
status: AdapterRuntimeStatus_Status;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from protobuf field: int64 timestamp = 2
|
|
51
|
+
*/
|
|
52
|
+
timestamp: bigint;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from protobuf field: string identifier = 3
|
|
55
|
+
*/
|
|
56
|
+
identifier: string;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from protobuf field: repeated shared.RuntimeFeature features = 4
|
|
59
|
+
*/
|
|
60
|
+
features: RuntimeFeature[];
|
|
61
|
+
/**
|
|
62
|
+
* @generated from protobuf field: repeated shared.AdapterConfiguration configurations = 5
|
|
63
|
+
*/
|
|
64
|
+
configurations: AdapterConfiguration[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @generated from protobuf enum shared.AdapterRuntimeStatus.Status
|
|
68
|
+
*/
|
|
69
|
+
export declare enum AdapterRuntimeStatus_Status {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
72
|
+
*/
|
|
73
|
+
UNKNOWN = 0,
|
|
74
|
+
/**
|
|
75
|
+
* @generated from protobuf enum value: NOT_RESPONDING = 1;
|
|
76
|
+
*/
|
|
77
|
+
NOT_RESPONDING = 1,
|
|
78
|
+
/**
|
|
79
|
+
* @generated from protobuf enum value: NOT_READY = 2;
|
|
80
|
+
*/
|
|
81
|
+
NOT_READY = 2,
|
|
82
|
+
/**
|
|
83
|
+
* @generated from protobuf enum value: RUNNING = 3;
|
|
84
|
+
*/
|
|
85
|
+
RUNNING = 3,
|
|
86
|
+
/**
|
|
87
|
+
* @generated from protobuf enum value: STOPPED = 4;
|
|
88
|
+
*/
|
|
89
|
+
STOPPED = 4
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @generated from protobuf message shared.ExecutionRuntimeStatus
|
|
93
|
+
*/
|
|
94
|
+
export interface ExecutionRuntimeStatus {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf field: shared.ExecutionRuntimeStatus.Status status = 1
|
|
97
|
+
*/
|
|
98
|
+
status: ExecutionRuntimeStatus_Status;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf field: int64 timestamp = 2
|
|
101
|
+
*/
|
|
102
|
+
timestamp: bigint;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from protobuf field: string identifier = 3
|
|
105
|
+
*/
|
|
106
|
+
identifier: string;
|
|
107
|
+
/**
|
|
108
|
+
* @generated from protobuf field: repeated shared.RuntimeFeature features = 4
|
|
109
|
+
*/
|
|
110
|
+
features: RuntimeFeature[];
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @generated from protobuf enum shared.ExecutionRuntimeStatus.Status
|
|
114
|
+
*/
|
|
115
|
+
export declare enum ExecutionRuntimeStatus_Status {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
118
|
+
*/
|
|
119
|
+
UNKNOWN = 0,
|
|
120
|
+
/**
|
|
121
|
+
* @generated from protobuf enum value: NOT_RESPONDING = 1;
|
|
122
|
+
*/
|
|
123
|
+
NOT_RESPONDING = 1,
|
|
124
|
+
/**
|
|
125
|
+
* @generated from protobuf enum value: NOT_READY = 2;
|
|
126
|
+
*/
|
|
127
|
+
NOT_READY = 2,
|
|
128
|
+
/**
|
|
129
|
+
* @generated from protobuf enum value: RUNNING = 3;
|
|
130
|
+
*/
|
|
131
|
+
RUNNING = 3,
|
|
132
|
+
/**
|
|
133
|
+
* @generated from protobuf enum value: STOPPED = 4;
|
|
134
|
+
*/
|
|
135
|
+
STOPPED = 4
|
|
136
|
+
}
|
|
137
|
+
declare class AdapterConfiguration$Type extends MessageType<AdapterConfiguration> {
|
|
138
|
+
constructor();
|
|
139
|
+
create(value?: PartialMessage<AdapterConfiguration>): AdapterConfiguration;
|
|
140
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdapterConfiguration): AdapterConfiguration;
|
|
141
|
+
internalBinaryWrite(message: AdapterConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @generated MessageType for protobuf message shared.AdapterConfiguration
|
|
145
|
+
*/
|
|
146
|
+
export declare const AdapterConfiguration: AdapterConfiguration$Type;
|
|
147
|
+
declare class RuntimeFeature$Type extends MessageType<RuntimeFeature> {
|
|
148
|
+
constructor();
|
|
149
|
+
create(value?: PartialMessage<RuntimeFeature>): RuntimeFeature;
|
|
150
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeFeature): RuntimeFeature;
|
|
151
|
+
internalBinaryWrite(message: RuntimeFeature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @generated MessageType for protobuf message shared.RuntimeFeature
|
|
155
|
+
*/
|
|
156
|
+
export declare const RuntimeFeature: RuntimeFeature$Type;
|
|
157
|
+
declare class AdapterRuntimeStatus$Type extends MessageType<AdapterRuntimeStatus> {
|
|
158
|
+
constructor();
|
|
159
|
+
create(value?: PartialMessage<AdapterRuntimeStatus>): AdapterRuntimeStatus;
|
|
160
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdapterRuntimeStatus): AdapterRuntimeStatus;
|
|
161
|
+
internalBinaryWrite(message: AdapterRuntimeStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @generated MessageType for protobuf message shared.AdapterRuntimeStatus
|
|
165
|
+
*/
|
|
166
|
+
export declare const AdapterRuntimeStatus: AdapterRuntimeStatus$Type;
|
|
167
|
+
declare class ExecutionRuntimeStatus$Type extends MessageType<ExecutionRuntimeStatus> {
|
|
168
|
+
constructor();
|
|
169
|
+
create(value?: PartialMessage<ExecutionRuntimeStatus>): ExecutionRuntimeStatus;
|
|
170
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionRuntimeStatus): ExecutionRuntimeStatus;
|
|
171
|
+
internalBinaryWrite(message: ExecutionRuntimeStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @generated MessageType for protobuf message shared.ExecutionRuntimeStatus
|
|
175
|
+
*/
|
|
176
|
+
export declare const ExecutionRuntimeStatus: ExecutionRuntimeStatus$Type;
|
|
177
|
+
export {};
|