@code0-tech/tucana 0.0.70 → 0.0.72
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/dist/aquila.cjs.js +1 -1
- package/dist/aquila.es.js +195 -194
- package/dist/pb/_generated/shared.flow_pb.d.ts +41 -6
- package/dist/pb/_generated/velorum.generate_pb.client.d.ts +35 -0
- package/dist/pb/_generated/velorum.generate_pb.d.ts +120 -0
- package/dist/pb/_generated/velorum.info_pb.client.d.ts +27 -0
- package/dist/pb/_generated/velorum.info_pb.d.ts +89 -0
- package/dist/pb/velorum.d.ts +4 -0
- package/dist/rpc-interceptor-DOeBkZHU.cjs +1 -0
- package/dist/{rpc-interceptor-DpAjfIVk.js → rpc-interceptor-az_TTCBK.js} +1 -1
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +214 -213
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +4 -3
- package/dist/shared.flow_pb-C4ewDq2u.js +957 -0
- package/dist/shared.flow_pb-DrDw61IF.cjs +1 -0
- package/dist/shared.function_pb-BErnwHWO.cjs +2 -0
- package/dist/shared.function_pb-e1jkWYE_.js +2655 -0
- package/dist/shared.runtime_usage_pb-CSRup69H.cjs +1 -0
- package/dist/shared.runtime_usage_pb-Hn8yNrjw.js +1779 -0
- package/dist/velorum.cjs.js +1 -0
- package/dist/velorum.d.ts +2 -0
- package/dist/velorum.es.js +419 -0
- package/package.json +9 -3
- package/dist/rpc-interceptor-4ZNqeHp7.cjs +0 -1
- package/dist/shared.flow_pb-CAu-uZAs.cjs +0 -1
- package/dist/shared.flow_pb-YdrVU_yH.js +0 -877
- package/dist/shared.runtime_usage_pb-6pp995qK.cjs +0 -2
- package/dist/shared.runtime_usage_pb-Qa9pCiee.js +0 -4430
package/dist/aquila.es.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as p, t as
|
|
3
|
-
|
|
1
|
+
import { C as e, S as t, l as n, u as r, v as i, y as a } from "./shared.function_pb-e1jkWYE_.js";
|
|
2
|
+
import { a as o, c as s, n as c, p as l, t as u, u as d, x as f } from "./shared.runtime_usage_pb-Hn8yNrjw.js";
|
|
3
|
+
import { n as p, t as m } from "./rpc-interceptor-az_TTCBK.js";
|
|
4
|
+
var h = new class extends i {
|
|
4
5
|
constructor() {
|
|
5
6
|
super("aquila.ActionEvent", [
|
|
6
7
|
{
|
|
@@ -26,13 +27,13 @@ var h = new class extends a {
|
|
|
26
27
|
}
|
|
27
28
|
create(e) {
|
|
28
29
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
29
|
-
return t.eventType = "", t.projectId = 0n, e !== void 0 &&
|
|
30
|
+
return t.eventType = "", t.projectId = 0n, e !== void 0 && a(this, t, e), t;
|
|
30
31
|
}
|
|
31
|
-
internalBinaryRead(e,
|
|
32
|
-
let o = a ?? this.create(), s = e.pos +
|
|
32
|
+
internalBinaryRead(e, n, i, a) {
|
|
33
|
+
let o = a ?? this.create(), s = e.pos + n;
|
|
33
34
|
for (; e.pos < s;) {
|
|
34
|
-
let [
|
|
35
|
-
switch (
|
|
35
|
+
let [n, a] = e.tag();
|
|
36
|
+
switch (n) {
|
|
36
37
|
case 1:
|
|
37
38
|
o.eventType = e.string();
|
|
38
39
|
break;
|
|
@@ -40,58 +41,58 @@ var h = new class extends a {
|
|
|
40
41
|
o.projectId = e.int64().toBigInt();
|
|
41
42
|
break;
|
|
42
43
|
case 3:
|
|
43
|
-
o.payload = r.internalBinaryRead(e, e.uint32(),
|
|
44
|
+
o.payload = r.internalBinaryRead(e, e.uint32(), i, o.payload);
|
|
44
45
|
break;
|
|
45
46
|
default:
|
|
46
|
-
let s =
|
|
47
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${
|
|
47
|
+
let s = i.readUnknownField;
|
|
48
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
|
|
48
49
|
let c = e.skip(a);
|
|
49
|
-
s !== !1 && (s === !0 ?
|
|
50
|
+
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, a, c);
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
return o;
|
|
53
54
|
}
|
|
54
|
-
internalBinaryWrite(
|
|
55
|
-
|
|
56
|
-
let
|
|
57
|
-
return
|
|
55
|
+
internalBinaryWrite(n, i, a) {
|
|
56
|
+
n.eventType !== "" && i.tag(1, e.LengthDelimited).string(n.eventType), n.projectId !== 0n && i.tag(2, e.Varint).int64(n.projectId), n.payload && r.internalBinaryWrite(n.payload, i.tag(3, e.LengthDelimited).fork(), a).join();
|
|
57
|
+
let o = a.writeUnknownFields;
|
|
58
|
+
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, i), i;
|
|
58
59
|
}
|
|
59
|
-
}(), g = new class extends
|
|
60
|
+
}(), g = new class extends i {
|
|
60
61
|
constructor() {
|
|
61
62
|
super("aquila.ActionLogon", [{
|
|
62
63
|
no: 1,
|
|
63
64
|
name: "module",
|
|
64
65
|
kind: "message",
|
|
65
|
-
T: () =>
|
|
66
|
+
T: () => d
|
|
66
67
|
}]);
|
|
67
68
|
}
|
|
68
69
|
create(e) {
|
|
69
70
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
70
|
-
return e !== void 0 &&
|
|
71
|
+
return e !== void 0 && a(this, t, e), t;
|
|
71
72
|
}
|
|
72
|
-
internalBinaryRead(e,
|
|
73
|
-
let a =
|
|
73
|
+
internalBinaryRead(e, n, r, i) {
|
|
74
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
74
75
|
for (; e.pos < o;) {
|
|
75
|
-
let [
|
|
76
|
-
switch (
|
|
76
|
+
let [n, i] = e.tag();
|
|
77
|
+
switch (n) {
|
|
77
78
|
case 1:
|
|
78
|
-
a.module =
|
|
79
|
+
a.module = d.internalBinaryRead(e, e.uint32(), r, a.module);
|
|
79
80
|
break;
|
|
80
81
|
default:
|
|
81
|
-
let o =
|
|
82
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
83
|
-
let s = e.skip(
|
|
84
|
-
o !== !1 && (o === !0 ?
|
|
82
|
+
let o = r.readUnknownField;
|
|
83
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
84
|
+
let s = e.skip(i);
|
|
85
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
return a;
|
|
88
89
|
}
|
|
89
|
-
internalBinaryWrite(
|
|
90
|
-
|
|
91
|
-
let
|
|
92
|
-
return
|
|
90
|
+
internalBinaryWrite(n, r, i) {
|
|
91
|
+
n.module && d.internalBinaryWrite(n.module, r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
92
|
+
let a = i.writeUnknownFields;
|
|
93
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
93
94
|
}
|
|
94
|
-
}(), _ = new class extends
|
|
95
|
+
}(), _ = new class extends i {
|
|
95
96
|
constructor() {
|
|
96
97
|
super("aquila.ActionExecutionRequest", [
|
|
97
98
|
{
|
|
@@ -110,7 +111,7 @@ var h = new class extends a {
|
|
|
110
111
|
no: 3,
|
|
111
112
|
name: "parameters",
|
|
112
113
|
kind: "message",
|
|
113
|
-
T: () =>
|
|
114
|
+
T: () => n
|
|
114
115
|
},
|
|
115
116
|
{
|
|
116
117
|
no: 4,
|
|
@@ -123,13 +124,13 @@ var h = new class extends a {
|
|
|
123
124
|
}
|
|
124
125
|
create(e) {
|
|
125
126
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
126
|
-
return t.executionIdentifier = "", t.functionIdentifier = "", t.projectId = 0n, e !== void 0 &&
|
|
127
|
+
return t.executionIdentifier = "", t.functionIdentifier = "", t.projectId = 0n, e !== void 0 && a(this, t, e), t;
|
|
127
128
|
}
|
|
128
|
-
internalBinaryRead(e,
|
|
129
|
-
let o = a ?? this.create(), s = e.pos +
|
|
129
|
+
internalBinaryRead(e, r, i, a) {
|
|
130
|
+
let o = a ?? this.create(), s = e.pos + r;
|
|
130
131
|
for (; e.pos < s;) {
|
|
131
|
-
let [
|
|
132
|
-
switch (
|
|
132
|
+
let [r, a] = e.tag();
|
|
133
|
+
switch (r) {
|
|
133
134
|
case 1:
|
|
134
135
|
o.executionIdentifier = e.string();
|
|
135
136
|
break;
|
|
@@ -137,26 +138,26 @@ var h = new class extends a {
|
|
|
137
138
|
o.functionIdentifier = e.string();
|
|
138
139
|
break;
|
|
139
140
|
case 3:
|
|
140
|
-
o.parameters =
|
|
141
|
+
o.parameters = n.internalBinaryRead(e, e.uint32(), i, o.parameters);
|
|
141
142
|
break;
|
|
142
143
|
case 4:
|
|
143
144
|
o.projectId = e.int64().toBigInt();
|
|
144
145
|
break;
|
|
145
146
|
default:
|
|
146
|
-
let s =
|
|
147
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${
|
|
147
|
+
let s = i.readUnknownField;
|
|
148
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
|
|
148
149
|
let c = e.skip(a);
|
|
149
|
-
s !== !1 && (s === !0 ?
|
|
150
|
+
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, r, a, c);
|
|
150
151
|
}
|
|
151
152
|
}
|
|
152
153
|
return o;
|
|
153
154
|
}
|
|
154
|
-
internalBinaryWrite(
|
|
155
|
-
|
|
156
|
-
let
|
|
157
|
-
return
|
|
155
|
+
internalBinaryWrite(r, i, a) {
|
|
156
|
+
r.executionIdentifier !== "" && i.tag(1, e.LengthDelimited).string(r.executionIdentifier), r.functionIdentifier !== "" && i.tag(2, e.LengthDelimited).string(r.functionIdentifier), r.parameters && n.internalBinaryWrite(r.parameters, i.tag(3, e.LengthDelimited).fork(), a).join(), r.projectId !== 0n && i.tag(4, e.Varint).int64(r.projectId);
|
|
157
|
+
let o = a.writeUnknownFields;
|
|
158
|
+
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
|
|
158
159
|
}
|
|
159
|
-
}(), v = new class extends
|
|
160
|
+
}(), v = new class extends i {
|
|
160
161
|
constructor() {
|
|
161
162
|
super("aquila.ActionExecutionResponse", [{
|
|
162
163
|
no: 1,
|
|
@@ -167,39 +168,39 @@ var h = new class extends a {
|
|
|
167
168
|
no: 2,
|
|
168
169
|
name: "node_result",
|
|
169
170
|
kind: "message",
|
|
170
|
-
T: () =>
|
|
171
|
+
T: () => f
|
|
171
172
|
}]);
|
|
172
173
|
}
|
|
173
174
|
create(e) {
|
|
174
175
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
175
|
-
return t.executionIdentifier = "", e !== void 0 &&
|
|
176
|
+
return t.executionIdentifier = "", e !== void 0 && a(this, t, e), t;
|
|
176
177
|
}
|
|
177
|
-
internalBinaryRead(
|
|
178
|
-
let
|
|
179
|
-
for (;
|
|
180
|
-
let [n,
|
|
178
|
+
internalBinaryRead(e, n, r, i) {
|
|
179
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
180
|
+
for (; e.pos < o;) {
|
|
181
|
+
let [n, i] = e.tag();
|
|
181
182
|
switch (n) {
|
|
182
183
|
case 1:
|
|
183
|
-
|
|
184
|
+
a.executionIdentifier = e.string();
|
|
184
185
|
break;
|
|
185
186
|
case 2:
|
|
186
|
-
|
|
187
|
+
a.nodeResult = f.internalBinaryRead(e, e.uint32(), r, a.nodeResult);
|
|
187
188
|
break;
|
|
188
189
|
default:
|
|
189
|
-
let
|
|
190
|
-
if (
|
|
191
|
-
let
|
|
192
|
-
|
|
190
|
+
let o = r.readUnknownField;
|
|
191
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
192
|
+
let s = e.skip(i);
|
|
193
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
|
-
return
|
|
196
|
+
return a;
|
|
196
197
|
}
|
|
197
|
-
internalBinaryWrite(
|
|
198
|
-
|
|
199
|
-
let a =
|
|
200
|
-
return a !== !1 && (a == 1 ?
|
|
198
|
+
internalBinaryWrite(n, r, i) {
|
|
199
|
+
n.executionIdentifier !== "" && r.tag(1, e.LengthDelimited).string(n.executionIdentifier), n.nodeResult && f.internalBinaryWrite(n.nodeResult, r.tag(2, e.LengthDelimited).fork(), i).join();
|
|
200
|
+
let a = i.writeUnknownFields;
|
|
201
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
201
202
|
}
|
|
202
|
-
}(), y = new class extends
|
|
203
|
+
}(), y = new class extends i {
|
|
203
204
|
constructor() {
|
|
204
205
|
super("aquila.ActionTransferRequest", [
|
|
205
206
|
{
|
|
@@ -227,46 +228,46 @@ var h = new class extends a {
|
|
|
227
228
|
}
|
|
228
229
|
create(e) {
|
|
229
230
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
230
|
-
return t.data = { oneofKind: void 0 }, e !== void 0 &&
|
|
231
|
+
return t.data = { oneofKind: void 0 }, e !== void 0 && a(this, t, e), t;
|
|
231
232
|
}
|
|
232
|
-
internalBinaryRead(e,
|
|
233
|
-
let a =
|
|
233
|
+
internalBinaryRead(e, n, r, i) {
|
|
234
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
234
235
|
for (; e.pos < o;) {
|
|
235
|
-
let [
|
|
236
|
-
switch (
|
|
236
|
+
let [n, i] = e.tag();
|
|
237
|
+
switch (n) {
|
|
237
238
|
case 1:
|
|
238
239
|
a.data = {
|
|
239
240
|
oneofKind: "logon",
|
|
240
|
-
logon: g.internalBinaryRead(e, e.uint32(),
|
|
241
|
+
logon: g.internalBinaryRead(e, e.uint32(), r, a.data.logon)
|
|
241
242
|
};
|
|
242
243
|
break;
|
|
243
244
|
case 2:
|
|
244
245
|
a.data = {
|
|
245
246
|
oneofKind: "event",
|
|
246
|
-
event: h.internalBinaryRead(e, e.uint32(),
|
|
247
|
+
event: h.internalBinaryRead(e, e.uint32(), r, a.data.event)
|
|
247
248
|
};
|
|
248
249
|
break;
|
|
249
250
|
case 3:
|
|
250
251
|
a.data = {
|
|
251
252
|
oneofKind: "result",
|
|
252
|
-
result: v.internalBinaryRead(e, e.uint32(),
|
|
253
|
+
result: v.internalBinaryRead(e, e.uint32(), r, a.data.result)
|
|
253
254
|
};
|
|
254
255
|
break;
|
|
255
256
|
default:
|
|
256
|
-
let o =
|
|
257
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
258
|
-
let s = e.skip(
|
|
259
|
-
o !== !1 && (o === !0 ?
|
|
257
|
+
let o = r.readUnknownField;
|
|
258
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
259
|
+
let s = e.skip(i);
|
|
260
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
260
261
|
}
|
|
261
262
|
}
|
|
262
263
|
return a;
|
|
263
264
|
}
|
|
264
|
-
internalBinaryWrite(
|
|
265
|
-
|
|
266
|
-
let
|
|
267
|
-
return
|
|
265
|
+
internalBinaryWrite(n, r, i) {
|
|
266
|
+
n.data.oneofKind === "logon" && g.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "event" && h.internalBinaryWrite(n.data.event, r.tag(2, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "result" && v.internalBinaryWrite(n.data.result, r.tag(3, e.LengthDelimited).fork(), i).join();
|
|
267
|
+
let a = i.writeUnknownFields;
|
|
268
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
268
269
|
}
|
|
269
|
-
}(), b = new class extends
|
|
270
|
+
}(), b = new class extends i {
|
|
270
271
|
constructor() {
|
|
271
272
|
super("aquila.ActionTransferResponse", [{
|
|
272
273
|
no: 1,
|
|
@@ -279,43 +280,43 @@ var h = new class extends a {
|
|
|
279
280
|
name: "module_configurations",
|
|
280
281
|
kind: "message",
|
|
281
282
|
oneof: "data",
|
|
282
|
-
T: () =>
|
|
283
|
+
T: () => l
|
|
283
284
|
}]);
|
|
284
285
|
}
|
|
285
286
|
create(e) {
|
|
286
287
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
287
|
-
return t.data = { oneofKind: void 0 }, e !== void 0 &&
|
|
288
|
+
return t.data = { oneofKind: void 0 }, e !== void 0 && a(this, t, e), t;
|
|
288
289
|
}
|
|
289
|
-
internalBinaryRead(e,
|
|
290
|
-
let a =
|
|
290
|
+
internalBinaryRead(e, n, r, i) {
|
|
291
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
291
292
|
for (; e.pos < o;) {
|
|
292
|
-
let [
|
|
293
|
-
switch (
|
|
293
|
+
let [n, i] = e.tag();
|
|
294
|
+
switch (n) {
|
|
294
295
|
case 1:
|
|
295
296
|
a.data = {
|
|
296
297
|
oneofKind: "execution",
|
|
297
|
-
execution: _.internalBinaryRead(e, e.uint32(),
|
|
298
|
+
execution: _.internalBinaryRead(e, e.uint32(), r, a.data.execution)
|
|
298
299
|
};
|
|
299
300
|
break;
|
|
300
301
|
case 2:
|
|
301
302
|
a.data = {
|
|
302
303
|
oneofKind: "moduleConfigurations",
|
|
303
|
-
moduleConfigurations:
|
|
304
|
+
moduleConfigurations: l.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
|
|
304
305
|
};
|
|
305
306
|
break;
|
|
306
307
|
default:
|
|
307
|
-
let o =
|
|
308
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
309
|
-
let s = e.skip(
|
|
310
|
-
o !== !1 && (o === !0 ?
|
|
308
|
+
let o = r.readUnknownField;
|
|
309
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
310
|
+
let s = e.skip(i);
|
|
311
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
311
312
|
}
|
|
312
313
|
}
|
|
313
314
|
return a;
|
|
314
315
|
}
|
|
315
|
-
internalBinaryWrite(
|
|
316
|
-
|
|
317
|
-
let
|
|
318
|
-
return
|
|
316
|
+
internalBinaryWrite(n, r, i) {
|
|
317
|
+
n.data.oneofKind === "execution" && _.internalBinaryWrite(n.data.execution, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && l.internalBinaryWrite(n.data.moduleConfigurations, r.tag(2, e.LengthDelimited).fork(), i).join();
|
|
318
|
+
let a = i.writeUnknownFields;
|
|
319
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
319
320
|
}
|
|
320
321
|
}(), x = new p("aquila.ActionTransferService", [{
|
|
321
322
|
name: "Transfer",
|
|
@@ -332,43 +333,43 @@ var h = new class extends a {
|
|
|
332
333
|
let t = this.methods[0], n = this._transport.mergeOptions(e);
|
|
333
334
|
return m("duplex", this._transport, t, n);
|
|
334
335
|
}
|
|
335
|
-
}, C = new class extends
|
|
336
|
+
}, C = new class extends i {
|
|
336
337
|
constructor() {
|
|
337
338
|
super("aquila.ModuleUpdateRequest", [{
|
|
338
339
|
no: 1,
|
|
339
340
|
name: "modules",
|
|
340
341
|
kind: "message",
|
|
341
342
|
repeat: 2,
|
|
342
|
-
T: () =>
|
|
343
|
+
T: () => d
|
|
343
344
|
}]);
|
|
344
345
|
}
|
|
345
346
|
create(e) {
|
|
346
347
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
347
|
-
return t.modules = [], e !== void 0 &&
|
|
348
|
+
return t.modules = [], e !== void 0 && a(this, t, e), t;
|
|
348
349
|
}
|
|
349
|
-
internalBinaryRead(e,
|
|
350
|
-
let a =
|
|
350
|
+
internalBinaryRead(e, n, r, i) {
|
|
351
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
351
352
|
for (; e.pos < o;) {
|
|
352
|
-
let [
|
|
353
|
-
switch (
|
|
353
|
+
let [n, i] = e.tag();
|
|
354
|
+
switch (n) {
|
|
354
355
|
case 1:
|
|
355
|
-
a.modules.push(
|
|
356
|
+
a.modules.push(d.internalBinaryRead(e, e.uint32(), r));
|
|
356
357
|
break;
|
|
357
358
|
default:
|
|
358
|
-
let o =
|
|
359
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
360
|
-
let s = e.skip(
|
|
361
|
-
o !== !1 && (o === !0 ?
|
|
359
|
+
let o = r.readUnknownField;
|
|
360
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
361
|
+
let s = e.skip(i);
|
|
362
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
362
363
|
}
|
|
363
364
|
}
|
|
364
365
|
return a;
|
|
365
366
|
}
|
|
366
|
-
internalBinaryWrite(
|
|
367
|
-
for (let
|
|
368
|
-
let
|
|
369
|
-
return
|
|
367
|
+
internalBinaryWrite(n, r, i) {
|
|
368
|
+
for (let t = 0; t < n.modules.length; t++) d.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
369
|
+
let a = i.writeUnknownFields;
|
|
370
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
370
371
|
}
|
|
371
|
-
}(), w = new class extends
|
|
372
|
+
}(), w = new class extends i {
|
|
372
373
|
constructor() {
|
|
373
374
|
super("aquila.ModuleUpdateResponse", [{
|
|
374
375
|
no: 1,
|
|
@@ -379,29 +380,29 @@ var h = new class extends a {
|
|
|
379
380
|
}
|
|
380
381
|
create(e) {
|
|
381
382
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
382
|
-
return t.success = !1, e !== void 0 &&
|
|
383
|
+
return t.success = !1, e !== void 0 && a(this, t, e), t;
|
|
383
384
|
}
|
|
384
|
-
internalBinaryRead(e,
|
|
385
|
-
let a =
|
|
385
|
+
internalBinaryRead(e, n, r, i) {
|
|
386
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
386
387
|
for (; e.pos < o;) {
|
|
387
|
-
let [
|
|
388
|
-
switch (
|
|
388
|
+
let [n, i] = e.tag();
|
|
389
|
+
switch (n) {
|
|
389
390
|
case 1:
|
|
390
391
|
a.success = e.bool();
|
|
391
392
|
break;
|
|
392
393
|
default:
|
|
393
|
-
let o =
|
|
394
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
395
|
-
let s = e.skip(
|
|
396
|
-
o !== !1 && (o === !0 ?
|
|
394
|
+
let o = r.readUnknownField;
|
|
395
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
396
|
+
let s = e.skip(i);
|
|
397
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
397
398
|
}
|
|
398
399
|
}
|
|
399
400
|
return a;
|
|
400
401
|
}
|
|
401
|
-
internalBinaryWrite(
|
|
402
|
-
|
|
403
|
-
let
|
|
404
|
-
return
|
|
402
|
+
internalBinaryWrite(n, r, i) {
|
|
403
|
+
n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
|
|
404
|
+
let a = i.writeUnknownFields;
|
|
405
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
405
406
|
}
|
|
406
407
|
}(), T = new p("aquila.ModuleService", [{
|
|
407
408
|
name: "Update",
|
|
@@ -416,7 +417,7 @@ var h = new class extends a {
|
|
|
416
417
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
417
418
|
return m("unary", this._transport, n, r, e);
|
|
418
419
|
}
|
|
419
|
-
}, D = new class extends
|
|
420
|
+
}, D = new class extends i {
|
|
420
421
|
constructor() {
|
|
421
422
|
super("aquila.RuntimeStatusUpdateRequest", [
|
|
422
423
|
{
|
|
@@ -424,66 +425,66 @@ var h = new class extends a {
|
|
|
424
425
|
name: "adapter_runtime_status",
|
|
425
426
|
kind: "message",
|
|
426
427
|
oneof: "status",
|
|
427
|
-
T: () =>
|
|
428
|
+
T: () => o
|
|
428
429
|
},
|
|
429
430
|
{
|
|
430
431
|
no: 2,
|
|
431
432
|
name: "execution_runtime_status",
|
|
432
433
|
kind: "message",
|
|
433
434
|
oneof: "status",
|
|
434
|
-
T: () =>
|
|
435
|
+
T: () => s
|
|
435
436
|
},
|
|
436
437
|
{
|
|
437
438
|
no: 3,
|
|
438
439
|
name: "action_status",
|
|
439
440
|
kind: "message",
|
|
440
441
|
oneof: "status",
|
|
441
|
-
T: () =>
|
|
442
|
+
T: () => c
|
|
442
443
|
}
|
|
443
444
|
]);
|
|
444
445
|
}
|
|
445
446
|
create(e) {
|
|
446
447
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
447
|
-
return t.status = { oneofKind: void 0 }, e !== void 0 &&
|
|
448
|
+
return t.status = { oneofKind: void 0 }, e !== void 0 && a(this, t, e), t;
|
|
448
449
|
}
|
|
449
|
-
internalBinaryRead(e,
|
|
450
|
-
let a =
|
|
451
|
-
for (; e.pos <
|
|
452
|
-
let [
|
|
453
|
-
switch (
|
|
450
|
+
internalBinaryRead(e, n, r, i) {
|
|
451
|
+
let a = i ?? this.create(), l = e.pos + n;
|
|
452
|
+
for (; e.pos < l;) {
|
|
453
|
+
let [n, i] = e.tag();
|
|
454
|
+
switch (n) {
|
|
454
455
|
case 1:
|
|
455
456
|
a.status = {
|
|
456
457
|
oneofKind: "adapterRuntimeStatus",
|
|
457
|
-
adapterRuntimeStatus:
|
|
458
|
+
adapterRuntimeStatus: o.internalBinaryRead(e, e.uint32(), r, a.status.adapterRuntimeStatus)
|
|
458
459
|
};
|
|
459
460
|
break;
|
|
460
461
|
case 2:
|
|
461
462
|
a.status = {
|
|
462
463
|
oneofKind: "executionRuntimeStatus",
|
|
463
|
-
executionRuntimeStatus:
|
|
464
|
+
executionRuntimeStatus: s.internalBinaryRead(e, e.uint32(), r, a.status.executionRuntimeStatus)
|
|
464
465
|
};
|
|
465
466
|
break;
|
|
466
467
|
case 3:
|
|
467
468
|
a.status = {
|
|
468
469
|
oneofKind: "actionStatus",
|
|
469
|
-
actionStatus:
|
|
470
|
+
actionStatus: c.internalBinaryRead(e, e.uint32(), r, a.status.actionStatus)
|
|
470
471
|
};
|
|
471
472
|
break;
|
|
472
473
|
default:
|
|
473
|
-
let
|
|
474
|
-
if (
|
|
475
|
-
let u = e.skip(
|
|
476
|
-
|
|
474
|
+
let l = r.readUnknownField;
|
|
475
|
+
if (l === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
476
|
+
let u = e.skip(i);
|
|
477
|
+
l !== !1 && (l === !0 ? t.onRead : l)(this.typeName, a, n, i, u);
|
|
477
478
|
}
|
|
478
479
|
}
|
|
479
480
|
return a;
|
|
480
481
|
}
|
|
481
|
-
internalBinaryWrite(
|
|
482
|
-
|
|
483
|
-
let
|
|
484
|
-
return
|
|
482
|
+
internalBinaryWrite(n, r, i) {
|
|
483
|
+
n.status.oneofKind === "adapterRuntimeStatus" && o.internalBinaryWrite(n.status.adapterRuntimeStatus, r.tag(1, e.LengthDelimited).fork(), i).join(), n.status.oneofKind === "executionRuntimeStatus" && s.internalBinaryWrite(n.status.executionRuntimeStatus, r.tag(2, e.LengthDelimited).fork(), i).join(), n.status.oneofKind === "actionStatus" && c.internalBinaryWrite(n.status.actionStatus, r.tag(3, e.LengthDelimited).fork(), i).join();
|
|
484
|
+
let a = i.writeUnknownFields;
|
|
485
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
485
486
|
}
|
|
486
|
-
}(), O = new class extends
|
|
487
|
+
}(), O = new class extends i {
|
|
487
488
|
constructor() {
|
|
488
489
|
super("aquila.RuntimeStatusUpdateResponse", [{
|
|
489
490
|
no: 1,
|
|
@@ -494,29 +495,29 @@ var h = new class extends a {
|
|
|
494
495
|
}
|
|
495
496
|
create(e) {
|
|
496
497
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
497
|
-
return t.success = !1, e !== void 0 &&
|
|
498
|
+
return t.success = !1, e !== void 0 && a(this, t, e), t;
|
|
498
499
|
}
|
|
499
|
-
internalBinaryRead(e,
|
|
500
|
-
let a =
|
|
500
|
+
internalBinaryRead(e, n, r, i) {
|
|
501
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
501
502
|
for (; e.pos < o;) {
|
|
502
|
-
let [
|
|
503
|
-
switch (
|
|
503
|
+
let [n, i] = e.tag();
|
|
504
|
+
switch (n) {
|
|
504
505
|
case 1:
|
|
505
506
|
a.success = e.bool();
|
|
506
507
|
break;
|
|
507
508
|
default:
|
|
508
|
-
let o =
|
|
509
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
510
|
-
let s = e.skip(
|
|
511
|
-
o !== !1 && (o === !0 ?
|
|
509
|
+
let o = r.readUnknownField;
|
|
510
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
511
|
+
let s = e.skip(i);
|
|
512
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
512
513
|
}
|
|
513
514
|
}
|
|
514
515
|
return a;
|
|
515
516
|
}
|
|
516
|
-
internalBinaryWrite(
|
|
517
|
-
|
|
518
|
-
let
|
|
519
|
-
return
|
|
517
|
+
internalBinaryWrite(n, r, i) {
|
|
518
|
+
n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
|
|
519
|
+
let a = i.writeUnknownFields;
|
|
520
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
520
521
|
}
|
|
521
522
|
}(), k = new p("aquila.RuntimeStatusService", [{
|
|
522
523
|
name: "Update",
|
|
@@ -531,43 +532,43 @@ var h = new class extends a {
|
|
|
531
532
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
532
533
|
return m("unary", this._transport, n, r, e);
|
|
533
534
|
}
|
|
534
|
-
}, j = new class extends
|
|
535
|
+
}, j = new class extends i {
|
|
535
536
|
constructor() {
|
|
536
537
|
super("aquila.RuntimeUsageRequest", [{
|
|
537
538
|
no: 1,
|
|
538
539
|
name: "runtime_usage",
|
|
539
540
|
kind: "message",
|
|
540
541
|
repeat: 2,
|
|
541
|
-
T: () =>
|
|
542
|
+
T: () => u
|
|
542
543
|
}]);
|
|
543
544
|
}
|
|
544
545
|
create(e) {
|
|
545
546
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
546
|
-
return t.runtimeUsage = [], e !== void 0 &&
|
|
547
|
+
return t.runtimeUsage = [], e !== void 0 && a(this, t, e), t;
|
|
547
548
|
}
|
|
548
|
-
internalBinaryRead(e,
|
|
549
|
-
let a =
|
|
549
|
+
internalBinaryRead(e, n, r, i) {
|
|
550
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
550
551
|
for (; e.pos < o;) {
|
|
551
|
-
let [
|
|
552
|
-
switch (
|
|
552
|
+
let [n, i] = e.tag();
|
|
553
|
+
switch (n) {
|
|
553
554
|
case 1:
|
|
554
|
-
a.runtimeUsage.push(
|
|
555
|
+
a.runtimeUsage.push(u.internalBinaryRead(e, e.uint32(), r));
|
|
555
556
|
break;
|
|
556
557
|
default:
|
|
557
|
-
let o =
|
|
558
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
559
|
-
let s = e.skip(
|
|
560
|
-
o !== !1 && (o === !0 ?
|
|
558
|
+
let o = r.readUnknownField;
|
|
559
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
560
|
+
let s = e.skip(i);
|
|
561
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
561
562
|
}
|
|
562
563
|
}
|
|
563
564
|
return a;
|
|
564
565
|
}
|
|
565
|
-
internalBinaryWrite(
|
|
566
|
-
for (let
|
|
567
|
-
let
|
|
568
|
-
return
|
|
566
|
+
internalBinaryWrite(n, r, i) {
|
|
567
|
+
for (let t = 0; t < n.runtimeUsage.length; t++) u.internalBinaryWrite(n.runtimeUsage[t], r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
568
|
+
let a = i.writeUnknownFields;
|
|
569
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
569
570
|
}
|
|
570
|
-
}(), M = new class extends
|
|
571
|
+
}(), M = new class extends i {
|
|
571
572
|
constructor() {
|
|
572
573
|
super("aquila.RuntimeUsageResponse", [{
|
|
573
574
|
no: 1,
|
|
@@ -578,29 +579,29 @@ var h = new class extends a {
|
|
|
578
579
|
}
|
|
579
580
|
create(e) {
|
|
580
581
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
581
|
-
return t.success = !1, e !== void 0 &&
|
|
582
|
+
return t.success = !1, e !== void 0 && a(this, t, e), t;
|
|
582
583
|
}
|
|
583
|
-
internalBinaryRead(e,
|
|
584
|
-
let a =
|
|
584
|
+
internalBinaryRead(e, n, r, i) {
|
|
585
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
585
586
|
for (; e.pos < o;) {
|
|
586
|
-
let [
|
|
587
|
-
switch (
|
|
587
|
+
let [n, i] = e.tag();
|
|
588
|
+
switch (n) {
|
|
588
589
|
case 1:
|
|
589
590
|
a.success = e.bool();
|
|
590
591
|
break;
|
|
591
592
|
default:
|
|
592
|
-
let o =
|
|
593
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
594
|
-
let s = e.skip(
|
|
595
|
-
o !== !1 && (o === !0 ?
|
|
593
|
+
let o = r.readUnknownField;
|
|
594
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
595
|
+
let s = e.skip(i);
|
|
596
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
596
597
|
}
|
|
597
598
|
}
|
|
598
599
|
return a;
|
|
599
600
|
}
|
|
600
|
-
internalBinaryWrite(
|
|
601
|
-
|
|
602
|
-
let
|
|
603
|
-
return
|
|
601
|
+
internalBinaryWrite(n, r, i) {
|
|
602
|
+
n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
|
|
603
|
+
let a = i.writeUnknownFields;
|
|
604
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
604
605
|
}
|
|
605
606
|
}(), N = new p("aquila.RuntimeUsageService", [{
|
|
606
607
|
name: "Update",
|