@code0-tech/tucana 0.0.49 → 0.0.51
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.action_pb.d.ts +14 -8
- package/pb/aquila.action_pb.js +33 -17
- 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.data_type_pb.d.ts +6 -0
- package/pb/shared.data_type_pb.js +8 -1
- package/pb/shared.flow_definition_pb.d.ts +29 -2
- package/pb/shared.flow_definition_pb.js +41 -8
- package/pb/shared.flow_pb.d.ts +9 -0
- package/pb/shared.flow_pb.js +8 -1
- package/pb/shared.runtime_function_pb.d.ts +10 -0
- package/pb/shared.runtime_function_pb.js +16 -1
- package/pb/shared.runtime_status_pb.d.ts +177 -0
- package/pb/shared.runtime_status_pb.js +315 -0
- package/pb/shared.event_pb.d.ts +0 -120
- package/pb/shared.event_pb.js +0 -203
|
@@ -55,6 +55,77 @@ export interface TestExecutionResponse {
|
|
|
55
55
|
* @generated from protobuf message sagittarius.Log
|
|
56
56
|
*/
|
|
57
57
|
export interface Log {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from protobuf oneof: kind
|
|
60
|
+
*/
|
|
61
|
+
kind: {
|
|
62
|
+
oneofKind: "applicationLog";
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf field: sagittarius.ApplicationLog application_log = 1
|
|
65
|
+
*/
|
|
66
|
+
applicationLog: ApplicationLog;
|
|
67
|
+
} | {
|
|
68
|
+
oneofKind: "successLog";
|
|
69
|
+
/**
|
|
70
|
+
* @generated from protobuf field: sagittarius.SuccessLog success_log = 2
|
|
71
|
+
*/
|
|
72
|
+
successLog: SuccessLog;
|
|
73
|
+
} | {
|
|
74
|
+
oneofKind: "errorLog";
|
|
75
|
+
/**
|
|
76
|
+
* @generated from protobuf field: sagittarius.RuntimeErrorLog error_log = 3
|
|
77
|
+
*/
|
|
78
|
+
errorLog: RuntimeErrorLog;
|
|
79
|
+
} | {
|
|
80
|
+
oneofKind: undefined;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @generated from protobuf message sagittarius.SuccessLog
|
|
85
|
+
*/
|
|
86
|
+
export interface SuccessLog {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from protobuf field: int64 node_id = 1
|
|
89
|
+
*/
|
|
90
|
+
nodeId: bigint;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from protobuf field: shared.Value result = 2
|
|
93
|
+
*/
|
|
94
|
+
result?: Value;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf field: repeated shared.Value parameter = 3
|
|
97
|
+
*/
|
|
98
|
+
parameter: Value[];
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf field: string timestamp = 4
|
|
101
|
+
*/
|
|
102
|
+
timestamp: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @generated from protobuf message sagittarius.RuntimeErrorLog
|
|
106
|
+
*/
|
|
107
|
+
export interface RuntimeErrorLog {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from protobuf field: int64 node_id = 1
|
|
110
|
+
*/
|
|
111
|
+
nodeId: bigint;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from protobuf field: string error = 2
|
|
114
|
+
*/
|
|
115
|
+
error: string;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from protobuf field: repeated shared.Value parameter = 3
|
|
118
|
+
*/
|
|
119
|
+
parameter: Value[];
|
|
120
|
+
/**
|
|
121
|
+
* @generated from protobuf field: string timestamp = 4
|
|
122
|
+
*/
|
|
123
|
+
timestamp: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @generated from protobuf message sagittarius.ApplicationLog
|
|
127
|
+
*/
|
|
128
|
+
export interface ApplicationLog {
|
|
58
129
|
/**
|
|
59
130
|
* @generated from protobuf field: string message = 1
|
|
60
131
|
*/
|
|
@@ -145,6 +216,36 @@ declare class Log$Type extends MessageType<Log> {
|
|
|
145
216
|
* @generated MessageType for protobuf message sagittarius.Log
|
|
146
217
|
*/
|
|
147
218
|
export declare const Log: Log$Type;
|
|
219
|
+
declare class SuccessLog$Type extends MessageType<SuccessLog> {
|
|
220
|
+
constructor();
|
|
221
|
+
create(value?: PartialMessage<SuccessLog>): SuccessLog;
|
|
222
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SuccessLog): SuccessLog;
|
|
223
|
+
internalBinaryWrite(message: SuccessLog, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* @generated MessageType for protobuf message sagittarius.SuccessLog
|
|
227
|
+
*/
|
|
228
|
+
export declare const SuccessLog: SuccessLog$Type;
|
|
229
|
+
declare class RuntimeErrorLog$Type extends MessageType<RuntimeErrorLog> {
|
|
230
|
+
constructor();
|
|
231
|
+
create(value?: PartialMessage<RuntimeErrorLog>): RuntimeErrorLog;
|
|
232
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeErrorLog): RuntimeErrorLog;
|
|
233
|
+
internalBinaryWrite(message: RuntimeErrorLog, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* @generated MessageType for protobuf message sagittarius.RuntimeErrorLog
|
|
237
|
+
*/
|
|
238
|
+
export declare const RuntimeErrorLog: RuntimeErrorLog$Type;
|
|
239
|
+
declare class ApplicationLog$Type extends MessageType<ApplicationLog> {
|
|
240
|
+
constructor();
|
|
241
|
+
create(value?: PartialMessage<ApplicationLog>): ApplicationLog;
|
|
242
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ApplicationLog): ApplicationLog;
|
|
243
|
+
internalBinaryWrite(message: ApplicationLog, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* @generated MessageType for protobuf message sagittarius.ApplicationLog
|
|
247
|
+
*/
|
|
248
|
+
export declare const ApplicationLog: ApplicationLog$Type;
|
|
148
249
|
declare class ExecutionLogonRequest$Type extends MessageType<ExecutionLogonRequest> {
|
|
149
250
|
constructor();
|
|
150
251
|
create(value?: PartialMessage<ExecutionLogonRequest>): ExecutionLogonRequest;
|
|
@@ -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,12 @@ export interface DefinitionDataType {
|
|
|
60
60
|
* @generated from protobuf field: string version = 8
|
|
61
61
|
*/
|
|
62
62
|
version: string;
|
|
63
|
+
/**
|
|
64
|
+
* Field will be set by an action to distinguish an action function from a runtime function
|
|
65
|
+
*
|
|
66
|
+
* @generated from protobuf field: optional string action_identifier = 9
|
|
67
|
+
*/
|
|
68
|
+
actionIdentifier?: string;
|
|
63
69
|
}
|
|
64
70
|
/**
|
|
65
71
|
* @generated from protobuf enum shared.DefinitionDataType.Variant
|
|
@@ -76,7 +76,8 @@ class DefinitionDataType$Type extends MessageType {
|
|
|
76
76
|
{ no: 5, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
77
77
|
{ no: 6, name: "rules", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DefinitionDataTypeRule },
|
|
78
78
|
{ no: 7, name: "generic_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
79
|
-
{ no: 8, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
79
|
+
{ no: 8, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
80
|
+
{ no: 9, name: "action_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
80
81
|
]);
|
|
81
82
|
}
|
|
82
83
|
create(value) {
|
|
@@ -122,6 +123,9 @@ class DefinitionDataType$Type extends MessageType {
|
|
|
122
123
|
case /* string version */ 8:
|
|
123
124
|
message.version = reader.string();
|
|
124
125
|
break;
|
|
126
|
+
case /* optional string action_identifier */ 9:
|
|
127
|
+
message.actionIdentifier = reader.string();
|
|
128
|
+
break;
|
|
125
129
|
default:
|
|
126
130
|
let u = options.readUnknownField;
|
|
127
131
|
if (u === "throw")
|
|
@@ -158,6 +162,9 @@ class DefinitionDataType$Type extends MessageType {
|
|
|
158
162
|
/* string version = 8; */
|
|
159
163
|
if (message.version !== "")
|
|
160
164
|
writer.tag(8, WireType.LengthDelimited).string(message.version);
|
|
165
|
+
/* optional string action_identifier = 9; */
|
|
166
|
+
if (message.actionIdentifier !== undefined)
|
|
167
|
+
writer.tag(9, WireType.LengthDelimited).string(message.actionIdentifier);
|
|
161
168
|
let u = options.writeUnknownFields;
|
|
162
169
|
if (u !== false)
|
|
163
170
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -60,6 +60,16 @@ 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;
|
|
67
|
+
/**
|
|
68
|
+
* Field will be set by an action to distinguish an action function from a runtime function
|
|
69
|
+
*
|
|
70
|
+
* @generated from protobuf field: optional string action_identifier = 13
|
|
71
|
+
*/
|
|
72
|
+
actionIdentifier?: string;
|
|
63
73
|
}
|
|
64
74
|
/**
|
|
65
75
|
* @generated from protobuf message shared.FlowTypeSetting
|
|
@@ -70,9 +80,9 @@ export interface FlowTypeSetting {
|
|
|
70
80
|
*/
|
|
71
81
|
identifier: string;
|
|
72
82
|
/**
|
|
73
|
-
* @generated from protobuf field:
|
|
83
|
+
* @generated from protobuf field: shared.FlowTypeSetting.UniquenessScope unique = 2
|
|
74
84
|
*/
|
|
75
|
-
unique:
|
|
85
|
+
unique: FlowTypeSetting_UniquenessScope;
|
|
76
86
|
/**
|
|
77
87
|
* @generated from protobuf field: string data_type_identifier = 3
|
|
78
88
|
*/
|
|
@@ -90,6 +100,23 @@ export interface FlowTypeSetting {
|
|
|
90
100
|
*/
|
|
91
101
|
description: Translation[];
|
|
92
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* @generated from protobuf enum shared.FlowTypeSetting.UniquenessScope
|
|
105
|
+
*/
|
|
106
|
+
export declare enum FlowTypeSetting_UniquenessScope {
|
|
107
|
+
/**
|
|
108
|
+
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
109
|
+
*/
|
|
110
|
+
UNKNOWN = 0,
|
|
111
|
+
/**
|
|
112
|
+
* @generated from protobuf enum value: NONE = 1;
|
|
113
|
+
*/
|
|
114
|
+
NONE = 1,
|
|
115
|
+
/**
|
|
116
|
+
* @generated from protobuf enum value: PROJECT = 2;
|
|
117
|
+
*/
|
|
118
|
+
PROJECT = 2
|
|
119
|
+
}
|
|
93
120
|
declare class FlowType$Type extends MessageType<FlowType> {
|
|
94
121
|
constructor();
|
|
95
122
|
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,9 @@ 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*/ },
|
|
44
|
+
{ no: 13, name: "action_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
25
45
|
]);
|
|
26
46
|
}
|
|
27
47
|
create(value) {
|
|
@@ -35,6 +55,7 @@ class FlowType$Type extends MessageType {
|
|
|
35
55
|
message.displayMessage = [];
|
|
36
56
|
message.alias = [];
|
|
37
57
|
message.version = "";
|
|
58
|
+
message.displayIcon = "";
|
|
38
59
|
if (value !== undefined)
|
|
39
60
|
reflectionMergePartial(this, message, value);
|
|
40
61
|
return message;
|
|
@@ -77,6 +98,12 @@ class FlowType$Type extends MessageType {
|
|
|
77
98
|
case /* string version */ 11:
|
|
78
99
|
message.version = reader.string();
|
|
79
100
|
break;
|
|
101
|
+
case /* string display_icon */ 12:
|
|
102
|
+
message.displayIcon = reader.string();
|
|
103
|
+
break;
|
|
104
|
+
case /* optional string action_identifier */ 13:
|
|
105
|
+
message.actionIdentifier = reader.string();
|
|
106
|
+
break;
|
|
80
107
|
default:
|
|
81
108
|
let u = options.readUnknownField;
|
|
82
109
|
if (u === "throw")
|
|
@@ -122,6 +149,12 @@ class FlowType$Type extends MessageType {
|
|
|
122
149
|
/* string version = 11; */
|
|
123
150
|
if (message.version !== "")
|
|
124
151
|
writer.tag(11, WireType.LengthDelimited).string(message.version);
|
|
152
|
+
/* string display_icon = 12; */
|
|
153
|
+
if (message.displayIcon !== "")
|
|
154
|
+
writer.tag(12, WireType.LengthDelimited).string(message.displayIcon);
|
|
155
|
+
/* optional string action_identifier = 13; */
|
|
156
|
+
if (message.actionIdentifier !== undefined)
|
|
157
|
+
writer.tag(13, WireType.LengthDelimited).string(message.actionIdentifier);
|
|
125
158
|
let u = options.writeUnknownFields;
|
|
126
159
|
if (u !== false)
|
|
127
160
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -137,7 +170,7 @@ class FlowTypeSetting$Type extends MessageType {
|
|
|
137
170
|
constructor() {
|
|
138
171
|
super("shared.FlowTypeSetting", [
|
|
139
172
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
140
|
-
{ no: 2, name: "unique", kind: "
|
|
173
|
+
{ no: 2, name: "unique", kind: "enum", T: () => ["shared.FlowTypeSetting.UniquenessScope", FlowTypeSetting_UniquenessScope] },
|
|
141
174
|
{ no: 3, name: "data_type_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
142
175
|
{ no: 4, name: "default_value", kind: "message", T: () => Value },
|
|
143
176
|
{ no: 5, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
@@ -147,7 +180,7 @@ class FlowTypeSetting$Type extends MessageType {
|
|
|
147
180
|
create(value) {
|
|
148
181
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
149
182
|
message.identifier = "";
|
|
150
|
-
message.unique =
|
|
183
|
+
message.unique = 0;
|
|
151
184
|
message.dataTypeIdentifier = "";
|
|
152
185
|
message.name = [];
|
|
153
186
|
message.description = [];
|
|
@@ -163,8 +196,8 @@ class FlowTypeSetting$Type extends MessageType {
|
|
|
163
196
|
case /* string identifier */ 1:
|
|
164
197
|
message.identifier = reader.string();
|
|
165
198
|
break;
|
|
166
|
-
case /*
|
|
167
|
-
message.unique = reader.
|
|
199
|
+
case /* shared.FlowTypeSetting.UniquenessScope unique */ 2:
|
|
200
|
+
message.unique = reader.int32();
|
|
168
201
|
break;
|
|
169
202
|
case /* string data_type_identifier */ 3:
|
|
170
203
|
message.dataTypeIdentifier = reader.string();
|
|
@@ -193,9 +226,9 @@ class FlowTypeSetting$Type extends MessageType {
|
|
|
193
226
|
/* string identifier = 1; */
|
|
194
227
|
if (message.identifier !== "")
|
|
195
228
|
writer.tag(1, WireType.LengthDelimited).string(message.identifier);
|
|
196
|
-
/*
|
|
197
|
-
if (message.unique !==
|
|
198
|
-
writer.tag(2, WireType.Varint).
|
|
229
|
+
/* shared.FlowTypeSetting.UniquenessScope unique = 2; */
|
|
230
|
+
if (message.unique !== 0)
|
|
231
|
+
writer.tag(2, WireType.Varint).int32(message.unique);
|
|
199
232
|
/* string data_type_identifier = 3; */
|
|
200
233
|
if (message.dataTypeIdentifier !== "")
|
|
201
234
|
writer.tag(3, WireType.LengthDelimited).string(message.dataTypeIdentifier);
|
package/pb/shared.flow_pb.d.ts
CHANGED
|
@@ -131,6 +131,13 @@ export interface NodeFunction {
|
|
|
131
131
|
* @generated from protobuf field: optional int64 next_node_id = 4
|
|
132
132
|
*/
|
|
133
133
|
nextNodeId?: bigint;
|
|
134
|
+
/**
|
|
135
|
+
* Identifier of the action that can execute this function
|
|
136
|
+
* If not present it should be a runtime function
|
|
137
|
+
*
|
|
138
|
+
* @generated from protobuf field: optional string action_identifier = 5
|
|
139
|
+
*/
|
|
140
|
+
actionIdentifier?: string;
|
|
134
141
|
}
|
|
135
142
|
/**
|
|
136
143
|
* @generated from protobuf message shared.NodeValue
|
|
@@ -154,6 +161,8 @@ export interface NodeValue {
|
|
|
154
161
|
} | {
|
|
155
162
|
oneofKind: "nodeFunctionId";
|
|
156
163
|
/**
|
|
164
|
+
* Reference to the `database_id` field of message `NodeFunction`
|
|
165
|
+
*
|
|
157
166
|
* @generated from protobuf field: int64 node_function_id = 3
|
|
158
167
|
*/
|
|
159
168
|
nodeFunctionId: bigint;
|
package/pb/shared.flow_pb.js
CHANGED
|
@@ -271,7 +271,8 @@ class NodeFunction$Type extends MessageType {
|
|
|
271
271
|
{ no: 1, name: "database_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
272
272
|
{ no: 2, name: "runtime_function_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
273
273
|
{ no: 3, name: "parameters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => NodeParameter },
|
|
274
|
-
{ no: 4, name: "next_node_id", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
|
274
|
+
{ no: 4, name: "next_node_id", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
275
|
+
{ no: 5, name: "action_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
275
276
|
]);
|
|
276
277
|
}
|
|
277
278
|
create(value) {
|
|
@@ -300,6 +301,9 @@ class NodeFunction$Type extends MessageType {
|
|
|
300
301
|
case /* optional int64 next_node_id */ 4:
|
|
301
302
|
message.nextNodeId = reader.int64().toBigInt();
|
|
302
303
|
break;
|
|
304
|
+
case /* optional string action_identifier */ 5:
|
|
305
|
+
message.actionIdentifier = reader.string();
|
|
306
|
+
break;
|
|
303
307
|
default:
|
|
304
308
|
let u = options.readUnknownField;
|
|
305
309
|
if (u === "throw")
|
|
@@ -324,6 +328,9 @@ class NodeFunction$Type extends MessageType {
|
|
|
324
328
|
/* optional int64 next_node_id = 4; */
|
|
325
329
|
if (message.nextNodeId !== undefined)
|
|
326
330
|
writer.tag(4, WireType.Varint).int64(message.nextNodeId);
|
|
331
|
+
/* optional string action_identifier = 5; */
|
|
332
|
+
if (message.actionIdentifier !== undefined)
|
|
333
|
+
writer.tag(5, WireType.LengthDelimited).string(message.actionIdentifier);
|
|
327
334
|
let u = options.writeUnknownFields;
|
|
328
335
|
if (u !== false)
|
|
329
336
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -67,6 +67,16 @@ 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;
|
|
74
|
+
/**
|
|
75
|
+
* Field will be set by an action to distinguish an action function from a runtime function
|
|
76
|
+
*
|
|
77
|
+
* @generated from protobuf field: optional string action_identifier = 14
|
|
78
|
+
*/
|
|
79
|
+
actionIdentifier?: string;
|
|
70
80
|
}
|
|
71
81
|
/**
|
|
72
82
|
* Definition of a parameter used for execution
|
|
@@ -23,7 +23,9 @@ 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*/ },
|
|
28
|
+
{ no: 14, name: "action_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
27
29
|
]);
|
|
28
30
|
}
|
|
29
31
|
create(value) {
|
|
@@ -39,6 +41,7 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
39
41
|
message.displayMessage = [];
|
|
40
42
|
message.alias = [];
|
|
41
43
|
message.version = "";
|
|
44
|
+
message.displayIcon = "";
|
|
42
45
|
if (value !== undefined)
|
|
43
46
|
reflectionMergePartial(this, message, value);
|
|
44
47
|
return message;
|
|
@@ -84,6 +87,12 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
84
87
|
case /* string version */ 12:
|
|
85
88
|
message.version = reader.string();
|
|
86
89
|
break;
|
|
90
|
+
case /* string display_icon */ 13:
|
|
91
|
+
message.displayIcon = reader.string();
|
|
92
|
+
break;
|
|
93
|
+
case /* optional string action_identifier */ 14:
|
|
94
|
+
message.actionIdentifier = reader.string();
|
|
95
|
+
break;
|
|
87
96
|
default:
|
|
88
97
|
let u = options.readUnknownField;
|
|
89
98
|
if (u === "throw")
|
|
@@ -132,6 +141,12 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
132
141
|
/* string version = 12; */
|
|
133
142
|
if (message.version !== "")
|
|
134
143
|
writer.tag(12, WireType.LengthDelimited).string(message.version);
|
|
144
|
+
/* string display_icon = 13; */
|
|
145
|
+
if (message.displayIcon !== "")
|
|
146
|
+
writer.tag(13, WireType.LengthDelimited).string(message.displayIcon);
|
|
147
|
+
/* optional string action_identifier = 14; */
|
|
148
|
+
if (message.actionIdentifier !== undefined)
|
|
149
|
+
writer.tag(14, WireType.LengthDelimited).string(message.actionIdentifier);
|
|
135
150
|
let u = options.writeUnknownFields;
|
|
136
151
|
if (u !== false)
|
|
137
152
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|