@code0-tech/tucana 0.0.55 → 0.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/helpers/shared.struct_helper.ts +25 -1
- package/package.json +1 -1
- package/pb/aquila.action_pb.d.ts +18 -1
- package/pb/aquila.action_pb.js +31 -6
- package/pb/shared.action_configuration_pb.d.ts +35 -11
- package/pb/shared.action_configuration_pb.js +87 -32
- package/pb/shared.data_type_pb.d.ts +2 -2
- package/pb/shared.data_type_pb.js +7 -7
- package/pb/shared.flow_definition_pb.d.ts +14 -6
- package/pb/shared.flow_definition_pb.js +37 -21
- package/pb/shared.flow_pb.d.ts +4 -2
- package/pb/shared.flow_pb.js +8 -0
- package/pb/shared.runtime_function_pb.d.ts +17 -25
- package/pb/shared.runtime_function_pb.js +67 -82
- package/pb/aquila.action_configuration_pb.client.d.ts +0 -32
- package/pb/aquila.action_configuration_pb.client.js +0 -23
- package/pb/aquila.action_configuration_pb.d.ts +0 -67
- package/pb/aquila.action_configuration_pb.js +0 -120
- package/pb/aquila.execution_pb.client.d.ts +0 -65
- package/pb/aquila.execution_pb.client.js +0 -49
- package/pb/aquila.execution_pb.d.ts +0 -135
- package/pb/aquila.execution_pb.js +0 -265
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
-
// @generated from protobuf file "aquila.execution.proto" (package "aquila", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
5
|
-
// @generated from protobuf file "aquila.execution.proto" (package "aquila", syntax proto3)
|
|
6
|
-
// tslint:disable
|
|
7
|
-
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
8
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
9
|
-
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
-
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
11
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
12
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
13
|
-
class ActionCallRequest$Type extends MessageType {
|
|
14
|
-
constructor() {
|
|
15
|
-
super("aquila.ActionCallRequest", [
|
|
16
|
-
{ no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
17
|
-
{ no: 2, name: "parameters", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
18
|
-
]);
|
|
19
|
-
}
|
|
20
|
-
create(value) {
|
|
21
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
22
|
-
message.identifier = "";
|
|
23
|
-
message.parameters = [];
|
|
24
|
-
if (value !== undefined)
|
|
25
|
-
reflectionMergePartial(this, message, value);
|
|
26
|
-
return message;
|
|
27
|
-
}
|
|
28
|
-
internalBinaryRead(reader, length, options, target) {
|
|
29
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
30
|
-
while (reader.pos < end) {
|
|
31
|
-
let [fieldNo, wireType] = reader.tag();
|
|
32
|
-
switch (fieldNo) {
|
|
33
|
-
case /* string identifier */ 1:
|
|
34
|
-
message.identifier = reader.string();
|
|
35
|
-
break;
|
|
36
|
-
case /* repeated string parameters */ 2:
|
|
37
|
-
message.parameters.push(reader.string());
|
|
38
|
-
break;
|
|
39
|
-
default:
|
|
40
|
-
let u = options.readUnknownField;
|
|
41
|
-
if (u === "throw")
|
|
42
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
43
|
-
let d = reader.skip(wireType);
|
|
44
|
-
if (u !== false)
|
|
45
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return message;
|
|
49
|
-
}
|
|
50
|
-
internalBinaryWrite(message, writer, options) {
|
|
51
|
-
/* string identifier = 1; */
|
|
52
|
-
if (message.identifier !== "")
|
|
53
|
-
writer.tag(1, WireType.LengthDelimited).string(message.identifier);
|
|
54
|
-
/* repeated string parameters = 2; */
|
|
55
|
-
for (let i = 0; i < message.parameters.length; i++)
|
|
56
|
-
writer.tag(2, WireType.LengthDelimited).string(message.parameters[i]);
|
|
57
|
-
let u = options.writeUnknownFields;
|
|
58
|
-
if (u !== false)
|
|
59
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
60
|
-
return writer;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @generated MessageType for protobuf message aquila.ActionCallRequest
|
|
65
|
-
*/
|
|
66
|
-
export const ActionCallRequest = new ActionCallRequest$Type();
|
|
67
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
68
|
-
class ActionCallResponse$Type extends MessageType {
|
|
69
|
-
constructor() {
|
|
70
|
-
super("aquila.ActionCallResponse", [
|
|
71
|
-
{ no: 1, name: "execution_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
72
|
-
]);
|
|
73
|
-
}
|
|
74
|
-
create(value) {
|
|
75
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
76
|
-
message.executionIdentifier = "";
|
|
77
|
-
if (value !== undefined)
|
|
78
|
-
reflectionMergePartial(this, message, value);
|
|
79
|
-
return message;
|
|
80
|
-
}
|
|
81
|
-
internalBinaryRead(reader, length, options, target) {
|
|
82
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
83
|
-
while (reader.pos < end) {
|
|
84
|
-
let [fieldNo, wireType] = reader.tag();
|
|
85
|
-
switch (fieldNo) {
|
|
86
|
-
case /* string execution_identifier */ 1:
|
|
87
|
-
message.executionIdentifier = reader.string();
|
|
88
|
-
break;
|
|
89
|
-
default:
|
|
90
|
-
let u = options.readUnknownField;
|
|
91
|
-
if (u === "throw")
|
|
92
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
93
|
-
let d = reader.skip(wireType);
|
|
94
|
-
if (u !== false)
|
|
95
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
return message;
|
|
99
|
-
}
|
|
100
|
-
internalBinaryWrite(message, writer, options) {
|
|
101
|
-
/* string execution_identifier = 1; */
|
|
102
|
-
if (message.executionIdentifier !== "")
|
|
103
|
-
writer.tag(1, WireType.LengthDelimited).string(message.executionIdentifier);
|
|
104
|
-
let u = options.writeUnknownFields;
|
|
105
|
-
if (u !== false)
|
|
106
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
107
|
-
return writer;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* @generated MessageType for protobuf message aquila.ActionCallResponse
|
|
112
|
-
*/
|
|
113
|
-
export const ActionCallResponse = new ActionCallResponse$Type();
|
|
114
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
115
|
-
class ActionResult$Type extends MessageType {
|
|
116
|
-
constructor() {
|
|
117
|
-
super("aquila.ActionResult", [
|
|
118
|
-
{ no: 1, name: "result", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
119
|
-
]);
|
|
120
|
-
}
|
|
121
|
-
create(value) {
|
|
122
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
123
|
-
message.result = [];
|
|
124
|
-
if (value !== undefined)
|
|
125
|
-
reflectionMergePartial(this, message, value);
|
|
126
|
-
return message;
|
|
127
|
-
}
|
|
128
|
-
internalBinaryRead(reader, length, options, target) {
|
|
129
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
130
|
-
while (reader.pos < end) {
|
|
131
|
-
let [fieldNo, wireType] = reader.tag();
|
|
132
|
-
switch (fieldNo) {
|
|
133
|
-
case /* repeated string result */ 1:
|
|
134
|
-
message.result.push(reader.string());
|
|
135
|
-
break;
|
|
136
|
-
default:
|
|
137
|
-
let u = options.readUnknownField;
|
|
138
|
-
if (u === "throw")
|
|
139
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
140
|
-
let d = reader.skip(wireType);
|
|
141
|
-
if (u !== false)
|
|
142
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
return message;
|
|
146
|
-
}
|
|
147
|
-
internalBinaryWrite(message, writer, options) {
|
|
148
|
-
/* repeated string result = 1; */
|
|
149
|
-
for (let i = 0; i < message.result.length; i++)
|
|
150
|
-
writer.tag(1, WireType.LengthDelimited).string(message.result[i]);
|
|
151
|
-
let u = options.writeUnknownFields;
|
|
152
|
-
if (u !== false)
|
|
153
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
154
|
-
return writer;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* @generated MessageType for protobuf message aquila.ActionResult
|
|
159
|
-
*/
|
|
160
|
-
export const ActionResult = new ActionResult$Type();
|
|
161
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
162
|
-
class ActionResultRequest$Type extends MessageType {
|
|
163
|
-
constructor() {
|
|
164
|
-
super("aquila.ActionResultRequest", [
|
|
165
|
-
{ no: 1, name: "execution_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
166
|
-
]);
|
|
167
|
-
}
|
|
168
|
-
create(value) {
|
|
169
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
170
|
-
message.executionIdentifier = "";
|
|
171
|
-
if (value !== undefined)
|
|
172
|
-
reflectionMergePartial(this, message, value);
|
|
173
|
-
return message;
|
|
174
|
-
}
|
|
175
|
-
internalBinaryRead(reader, length, options, target) {
|
|
176
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
177
|
-
while (reader.pos < end) {
|
|
178
|
-
let [fieldNo, wireType] = reader.tag();
|
|
179
|
-
switch (fieldNo) {
|
|
180
|
-
case /* string execution_identifier */ 1:
|
|
181
|
-
message.executionIdentifier = reader.string();
|
|
182
|
-
break;
|
|
183
|
-
default:
|
|
184
|
-
let u = options.readUnknownField;
|
|
185
|
-
if (u === "throw")
|
|
186
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
187
|
-
let d = reader.skip(wireType);
|
|
188
|
-
if (u !== false)
|
|
189
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
return message;
|
|
193
|
-
}
|
|
194
|
-
internalBinaryWrite(message, writer, options) {
|
|
195
|
-
/* string execution_identifier = 1; */
|
|
196
|
-
if (message.executionIdentifier !== "")
|
|
197
|
-
writer.tag(1, WireType.LengthDelimited).string(message.executionIdentifier);
|
|
198
|
-
let u = options.writeUnknownFields;
|
|
199
|
-
if (u !== false)
|
|
200
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
201
|
-
return writer;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* @generated MessageType for protobuf message aquila.ActionResultRequest
|
|
206
|
-
*/
|
|
207
|
-
export const ActionResultRequest = new ActionResultRequest$Type();
|
|
208
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
209
|
-
class ActionResultResponse$Type extends MessageType {
|
|
210
|
-
constructor() {
|
|
211
|
-
super("aquila.ActionResultResponse", [
|
|
212
|
-
{ no: 1, name: "action_result", kind: "message", T: () => ActionResult }
|
|
213
|
-
]);
|
|
214
|
-
}
|
|
215
|
-
create(value) {
|
|
216
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
217
|
-
if (value !== undefined)
|
|
218
|
-
reflectionMergePartial(this, message, value);
|
|
219
|
-
return message;
|
|
220
|
-
}
|
|
221
|
-
internalBinaryRead(reader, length, options, target) {
|
|
222
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
223
|
-
while (reader.pos < end) {
|
|
224
|
-
let [fieldNo, wireType] = reader.tag();
|
|
225
|
-
switch (fieldNo) {
|
|
226
|
-
case /* optional aquila.ActionResult action_result */ 1:
|
|
227
|
-
message.actionResult = ActionResult.internalBinaryRead(reader, reader.uint32(), options, message.actionResult);
|
|
228
|
-
break;
|
|
229
|
-
default:
|
|
230
|
-
let u = options.readUnknownField;
|
|
231
|
-
if (u === "throw")
|
|
232
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
233
|
-
let d = reader.skip(wireType);
|
|
234
|
-
if (u !== false)
|
|
235
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
return message;
|
|
239
|
-
}
|
|
240
|
-
internalBinaryWrite(message, writer, options) {
|
|
241
|
-
/* optional aquila.ActionResult action_result = 1; */
|
|
242
|
-
if (message.actionResult)
|
|
243
|
-
ActionResult.internalBinaryWrite(message.actionResult, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
244
|
-
let u = options.writeUnknownFields;
|
|
245
|
-
if (u !== false)
|
|
246
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
247
|
-
return writer;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* @generated MessageType for protobuf message aquila.ActionResultResponse
|
|
252
|
-
*/
|
|
253
|
-
export const ActionResultResponse = new ActionResultResponse$Type();
|
|
254
|
-
/**
|
|
255
|
-
* @generated ServiceType for protobuf service aquila.ActionCallService
|
|
256
|
-
*/
|
|
257
|
-
export const ActionCallService = new ServiceType("aquila.ActionCallService", [
|
|
258
|
-
{ name: "Call", options: {}, I: ActionCallRequest, O: ActionCallResponse }
|
|
259
|
-
]);
|
|
260
|
-
/**
|
|
261
|
-
* @generated ServiceType for protobuf service aquila.ActionResultService
|
|
262
|
-
*/
|
|
263
|
-
export const ActionResultService = new ServiceType("aquila.ActionResultService", [
|
|
264
|
-
{ name: "GetResult", options: {}, I: ActionResultRequest, O: ActionResultResponse }
|
|
265
|
-
]);
|