@code0-tech/tucana 0.0.74 → 0.0.76
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 +67 -151
- package/dist/pb/_generated/sagittarius.module_pb.d.ts +6 -0
- package/dist/pb/_generated/shared.execution_result_pb.d.ts +3 -3
- package/dist/pb/_generated/shared.flow_pb.d.ts +37 -6
- package/dist/pb/_generated/shared.module_pb.d.ts +8 -0
- package/dist/pb/aquila.d.ts +0 -2
- package/dist/pb/sagittarius.d.ts +0 -2
- package/dist/pb/shared.d.ts +0 -1
- package/dist/{rpc-interceptor-az_TTCBK.js → rpc-interceptor-d3qh7P9n.js} +10 -10
- package/dist/{rpc-interceptor-DOeBkZHU.cjs → rpc-interceptor-giFADd4b.cjs} +1 -1
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +121 -203
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +4 -4
- package/dist/{shared.flow_pb-C4ewDq2u.js → shared.flow_pb-DdVuFKPW.js} +179 -117
- package/dist/{shared.flow_pb-DrDw61IF.cjs → shared.flow_pb-clFvPGyv.cjs} +1 -1
- package/dist/shared.function_pb-C8cj-NCz.cjs +2 -0
- package/dist/{shared.function_pb-e1jkWYE_.js → shared.function_pb-Caz-4jvi.js} +1131 -1131
- package/dist/shared.runtime_status_pb-BEEvFfe8.cjs +1 -0
- package/dist/{shared.runtime_usage_pb-KU8kpcxp.js → shared.runtime_status_pb-D7hH22xO.js} +29 -56
- package/dist/velorum.cjs.js +1 -1
- package/dist/velorum.es.js +3 -3
- package/package.json +1 -1
- package/dist/pb/_generated/aquila.runtime_usage_pb.client.d.ts +0 -27
- package/dist/pb/_generated/aquila.runtime_usage_pb.d.ts +0 -46
- package/dist/pb/_generated/sagittarius.runtime_usage_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +0 -51
- package/dist/pb/_generated/shared.runtime_usage_pb.d.ts +0 -25
- package/dist/shared.function_pb-BErnwHWO.cjs +0 -2
- package/dist/shared.runtime_usage_pb-BWGBeR-4.cjs +0 -1
package/dist/sagittarius.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as e, S as t, u as n, v as r, y as i } from "./shared.function_pb-
|
|
2
|
-
import { a,
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
var
|
|
1
|
+
import { C as e, S as t, u as n, v as r, y as i } from "./shared.function_pb-Caz-4jvi.js";
|
|
2
|
+
import { b as a, h as o, i as s, s as c, t as l } from "./shared.runtime_status_pb-D7hH22xO.js";
|
|
3
|
+
import { h as u, i as d } from "./shared.flow_pb-DdVuFKPW.js";
|
|
4
|
+
import { n as f, t as p } from "./rpc-interceptor-d3qh7P9n.js";
|
|
5
|
+
var m = new class extends r {
|
|
6
6
|
constructor() {
|
|
7
7
|
super("sagittarius.FlowLogonRequest", []);
|
|
8
8
|
}
|
|
@@ -28,7 +28,7 @@ var h = new class extends r {
|
|
|
28
28
|
let i = r.writeUnknownFields;
|
|
29
29
|
return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
|
|
30
30
|
}
|
|
31
|
-
}(),
|
|
31
|
+
}(), h = new class extends r {
|
|
32
32
|
constructor() {
|
|
33
33
|
super("sagittarius.FlowResponse", [
|
|
34
34
|
{
|
|
@@ -36,7 +36,7 @@ var h = new class extends r {
|
|
|
36
36
|
name: "updated_flow",
|
|
37
37
|
kind: "message",
|
|
38
38
|
oneof: "data",
|
|
39
|
-
T: () =>
|
|
39
|
+
T: () => u
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
no: 2,
|
|
@@ -58,7 +58,7 @@ var h = new class extends r {
|
|
|
58
58
|
name: "module_configurations",
|
|
59
59
|
kind: "message",
|
|
60
60
|
oneof: "data",
|
|
61
|
-
T: () =>
|
|
61
|
+
T: () => c
|
|
62
62
|
}
|
|
63
63
|
]);
|
|
64
64
|
}
|
|
@@ -67,14 +67,14 @@ var h = new class extends r {
|
|
|
67
67
|
return t.data = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
|
|
68
68
|
}
|
|
69
69
|
internalBinaryRead(e, n, r, i) {
|
|
70
|
-
let a = i ?? this.create(),
|
|
71
|
-
for (; e.pos <
|
|
70
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
71
|
+
for (; e.pos < o;) {
|
|
72
72
|
let [n, i] = e.tag();
|
|
73
73
|
switch (n) {
|
|
74
74
|
case 1:
|
|
75
75
|
a.data = {
|
|
76
76
|
oneofKind: "updatedFlow",
|
|
77
|
-
updatedFlow:
|
|
77
|
+
updatedFlow: u.internalBinaryRead(e, e.uint32(), r, a.data.updatedFlow)
|
|
78
78
|
};
|
|
79
79
|
break;
|
|
80
80
|
case 2:
|
|
@@ -92,74 +92,84 @@ var h = new class extends r {
|
|
|
92
92
|
case 4:
|
|
93
93
|
a.data = {
|
|
94
94
|
oneofKind: "moduleConfigurations",
|
|
95
|
-
moduleConfigurations:
|
|
95
|
+
moduleConfigurations: c.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
|
|
96
96
|
};
|
|
97
97
|
break;
|
|
98
98
|
default:
|
|
99
|
-
let
|
|
100
|
-
if (
|
|
101
|
-
let
|
|
102
|
-
|
|
99
|
+
let o = r.readUnknownField;
|
|
100
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
101
|
+
let s = e.skip(i);
|
|
102
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
return a;
|
|
106
106
|
}
|
|
107
107
|
internalBinaryWrite(n, r, i) {
|
|
108
|
-
n.data.oneofKind === "updatedFlow" &&
|
|
108
|
+
n.data.oneofKind === "updatedFlow" && u.internalBinaryWrite(n.data.updatedFlow, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "deletedFlowId" && r.tag(2, e.Varint).int64(n.data.deletedFlowId), n.data.oneofKind === "flows" && d.internalBinaryWrite(n.data.flows, r.tag(3, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && c.internalBinaryWrite(n.data.moduleConfigurations, r.tag(4, e.LengthDelimited).fork(), i).join();
|
|
109
109
|
let a = i.writeUnknownFields;
|
|
110
110
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
111
111
|
}
|
|
112
|
-
}(),
|
|
112
|
+
}(), g = new f("sagittarius.FlowService", [{
|
|
113
113
|
name: "Update",
|
|
114
114
|
serverStreaming: !0,
|
|
115
115
|
options: {},
|
|
116
|
-
I:
|
|
117
|
-
O:
|
|
118
|
-
}]),
|
|
116
|
+
I: m,
|
|
117
|
+
O: h
|
|
118
|
+
}]), _ = class {
|
|
119
119
|
constructor(e) {
|
|
120
|
-
this._transport = e, this.typeName =
|
|
120
|
+
this._transport = e, this.typeName = g.typeName, this.methods = g.methods, this.options = g.options;
|
|
121
121
|
}
|
|
122
122
|
update(e, t) {
|
|
123
123
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
124
|
-
return
|
|
124
|
+
return p("serverStreaming", this._transport, n, r, e);
|
|
125
125
|
}
|
|
126
|
-
},
|
|
126
|
+
}, v = new class extends r {
|
|
127
127
|
constructor() {
|
|
128
128
|
super("sagittarius.ModuleUpdateRequest", [{
|
|
129
129
|
no: 1,
|
|
130
130
|
name: "modules",
|
|
131
131
|
kind: "message",
|
|
132
132
|
repeat: 2,
|
|
133
|
-
T: () =>
|
|
133
|
+
T: () => s
|
|
134
|
+
}, {
|
|
135
|
+
no: 2,
|
|
136
|
+
name: "available_defintition_soruces",
|
|
137
|
+
kind: "scalar",
|
|
138
|
+
repeat: 2,
|
|
139
|
+
T: 9
|
|
134
140
|
}]);
|
|
135
141
|
}
|
|
136
142
|
create(e) {
|
|
137
143
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
138
|
-
return t.modules = [], e !== void 0 && i(this, t, e), t;
|
|
144
|
+
return t.modules = [], t.availableDefintitionSoruces = [], e !== void 0 && i(this, t, e), t;
|
|
139
145
|
}
|
|
140
146
|
internalBinaryRead(e, n, r, i) {
|
|
141
|
-
let
|
|
142
|
-
for (; e.pos <
|
|
147
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
148
|
+
for (; e.pos < o;) {
|
|
143
149
|
let [n, i] = e.tag();
|
|
144
150
|
switch (n) {
|
|
145
151
|
case 1:
|
|
146
|
-
|
|
152
|
+
a.modules.push(s.internalBinaryRead(e, e.uint32(), r));
|
|
153
|
+
break;
|
|
154
|
+
case 2:
|
|
155
|
+
a.availableDefintitionSoruces.push(e.string());
|
|
147
156
|
break;
|
|
148
157
|
default:
|
|
149
|
-
let
|
|
150
|
-
if (
|
|
158
|
+
let o = r.readUnknownField;
|
|
159
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
151
160
|
let c = e.skip(i);
|
|
152
|
-
|
|
161
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
|
|
153
162
|
}
|
|
154
163
|
}
|
|
155
|
-
return
|
|
164
|
+
return a;
|
|
156
165
|
}
|
|
157
166
|
internalBinaryWrite(n, r, i) {
|
|
158
|
-
for (let t = 0; t < n.modules.length; t++)
|
|
159
|
-
let
|
|
160
|
-
|
|
167
|
+
for (let t = 0; t < n.modules.length; t++) s.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
168
|
+
for (let t = 0; t < n.availableDefintitionSoruces.length; t++) r.tag(2, e.LengthDelimited).string(n.availableDefintitionSoruces[t]);
|
|
169
|
+
let a = i.writeUnknownFields;
|
|
170
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
161
171
|
}
|
|
162
|
-
}(),
|
|
172
|
+
}(), y = new class extends r {
|
|
163
173
|
constructor() {
|
|
164
174
|
super("sagittarius.ModuleUpdateResponse", [{
|
|
165
175
|
no: 1,
|
|
@@ -170,7 +180,7 @@ var h = new class extends r {
|
|
|
170
180
|
no: 2,
|
|
171
181
|
name: "error",
|
|
172
182
|
kind: "message",
|
|
173
|
-
T: () =>
|
|
183
|
+
T: () => a
|
|
174
184
|
}]);
|
|
175
185
|
}
|
|
176
186
|
create(e) {
|
|
@@ -178,44 +188,44 @@ var h = new class extends r {
|
|
|
178
188
|
return t.success = !1, e !== void 0 && i(this, t, e), t;
|
|
179
189
|
}
|
|
180
190
|
internalBinaryRead(e, n, r, i) {
|
|
181
|
-
let
|
|
182
|
-
for (; e.pos <
|
|
191
|
+
let o = i ?? this.create(), s = e.pos + n;
|
|
192
|
+
for (; e.pos < s;) {
|
|
183
193
|
let [n, i] = e.tag();
|
|
184
194
|
switch (n) {
|
|
185
195
|
case 1:
|
|
186
|
-
|
|
196
|
+
o.success = e.bool();
|
|
187
197
|
break;
|
|
188
198
|
case 2:
|
|
189
|
-
|
|
199
|
+
o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
|
|
190
200
|
break;
|
|
191
201
|
default:
|
|
192
|
-
let
|
|
193
|
-
if (
|
|
194
|
-
let
|
|
195
|
-
|
|
202
|
+
let s = r.readUnknownField;
|
|
203
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
204
|
+
let c = e.skip(i);
|
|
205
|
+
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
|
|
196
206
|
}
|
|
197
207
|
}
|
|
198
|
-
return
|
|
208
|
+
return o;
|
|
199
209
|
}
|
|
200
210
|
internalBinaryWrite(n, r, i) {
|
|
201
|
-
n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error &&
|
|
202
|
-
let
|
|
203
|
-
return
|
|
211
|
+
n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
|
|
212
|
+
let o = i.writeUnknownFields;
|
|
213
|
+
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
|
|
204
214
|
}
|
|
205
|
-
}(),
|
|
215
|
+
}(), b = new f("sagittarius.ModuleService", [{
|
|
206
216
|
name: "Update",
|
|
207
217
|
options: {},
|
|
208
|
-
I:
|
|
209
|
-
O:
|
|
210
|
-
}]),
|
|
218
|
+
I: v,
|
|
219
|
+
O: y
|
|
220
|
+
}]), x = class {
|
|
211
221
|
constructor(e) {
|
|
212
|
-
this._transport = e, this.typeName =
|
|
222
|
+
this._transport = e, this.typeName = b.typeName, this.methods = b.methods, this.options = b.options;
|
|
213
223
|
}
|
|
214
224
|
update(e, t) {
|
|
215
225
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
216
|
-
return
|
|
226
|
+
return p("unary", this._transport, n, r, e);
|
|
217
227
|
}
|
|
218
|
-
},
|
|
228
|
+
}, S = new class extends r {
|
|
219
229
|
constructor() {
|
|
220
230
|
super("sagittarius.PingMessage", [{
|
|
221
231
|
no: 1,
|
|
@@ -251,26 +261,26 @@ var h = new class extends r {
|
|
|
251
261
|
let a = i.writeUnknownFields;
|
|
252
262
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
253
263
|
}
|
|
254
|
-
}(),
|
|
264
|
+
}(), C = new f("sagittarius.PingService", [{
|
|
255
265
|
name: "Ping",
|
|
256
266
|
options: {},
|
|
257
|
-
I:
|
|
258
|
-
O:
|
|
259
|
-
}]),
|
|
267
|
+
I: S,
|
|
268
|
+
O: S
|
|
269
|
+
}]), w = class {
|
|
260
270
|
constructor(e) {
|
|
261
|
-
this._transport = e, this.typeName =
|
|
271
|
+
this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
|
|
262
272
|
}
|
|
263
273
|
ping(e, t) {
|
|
264
274
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
265
|
-
return
|
|
275
|
+
return p("unary", this._transport, n, r, e);
|
|
266
276
|
}
|
|
267
|
-
},
|
|
277
|
+
}, T = new class extends r {
|
|
268
278
|
constructor() {
|
|
269
279
|
super("sagittarius.RuntimeStatusUpdateRequest", [{
|
|
270
280
|
no: 1,
|
|
271
281
|
name: "status",
|
|
272
282
|
kind: "message",
|
|
273
|
-
T: () =>
|
|
283
|
+
T: () => l
|
|
274
284
|
}]);
|
|
275
285
|
}
|
|
276
286
|
create(e) {
|
|
@@ -283,7 +293,7 @@ var h = new class extends r {
|
|
|
283
293
|
let [n, i] = e.tag();
|
|
284
294
|
switch (n) {
|
|
285
295
|
case 1:
|
|
286
|
-
a.status =
|
|
296
|
+
a.status = l.internalBinaryRead(e, e.uint32(), r, a.status);
|
|
287
297
|
break;
|
|
288
298
|
default:
|
|
289
299
|
let o = r.readUnknownField;
|
|
@@ -295,11 +305,11 @@ var h = new class extends r {
|
|
|
295
305
|
return a;
|
|
296
306
|
}
|
|
297
307
|
internalBinaryWrite(n, r, i) {
|
|
298
|
-
n.status &&
|
|
308
|
+
n.status && l.internalBinaryWrite(n.status, r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
299
309
|
let a = i.writeUnknownFields;
|
|
300
310
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
301
311
|
}
|
|
302
|
-
}(),
|
|
312
|
+
}(), E = new class extends r {
|
|
303
313
|
constructor() {
|
|
304
314
|
super("sagittarius.RuntimeStatusUpdateResponse", [{
|
|
305
315
|
no: 1,
|
|
@@ -310,99 +320,7 @@ var h = new class extends r {
|
|
|
310
320
|
no: 2,
|
|
311
321
|
name: "error",
|
|
312
322
|
kind: "message",
|
|
313
|
-
T: () =>
|
|
314
|
-
}]);
|
|
315
|
-
}
|
|
316
|
-
create(e) {
|
|
317
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
318
|
-
return t.success = !1, e !== void 0 && i(this, t, e), t;
|
|
319
|
-
}
|
|
320
|
-
internalBinaryRead(e, n, r, i) {
|
|
321
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
322
|
-
for (; e.pos < o;) {
|
|
323
|
-
let [n, i] = e.tag();
|
|
324
|
-
switch (n) {
|
|
325
|
-
case 1:
|
|
326
|
-
a.success = e.bool();
|
|
327
|
-
break;
|
|
328
|
-
case 2:
|
|
329
|
-
a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
|
|
330
|
-
break;
|
|
331
|
-
default:
|
|
332
|
-
let o = r.readUnknownField;
|
|
333
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
334
|
-
let s = e.skip(i);
|
|
335
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
return a;
|
|
339
|
-
}
|
|
340
|
-
internalBinaryWrite(n, r, i) {
|
|
341
|
-
n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && u.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
|
|
342
|
-
let a = i.writeUnknownFields;
|
|
343
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
344
|
-
}
|
|
345
|
-
}(), O = new p("sagittarius.RuntimeStatusService", [{
|
|
346
|
-
name: "Update",
|
|
347
|
-
options: {},
|
|
348
|
-
I: E,
|
|
349
|
-
O: D
|
|
350
|
-
}]), k = class {
|
|
351
|
-
constructor(e) {
|
|
352
|
-
this._transport = e, this.typeName = O.typeName, this.methods = O.methods, this.options = O.options;
|
|
353
|
-
}
|
|
354
|
-
update(e, t) {
|
|
355
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
356
|
-
return m("unary", this._transport, n, r, e);
|
|
357
|
-
}
|
|
358
|
-
}, A = new class extends r {
|
|
359
|
-
constructor() {
|
|
360
|
-
super("sagittarius.RuntimeUsageRequest", [{
|
|
361
|
-
no: 1,
|
|
362
|
-
name: "runtime_usage",
|
|
363
|
-
kind: "message",
|
|
364
|
-
repeat: 2,
|
|
365
|
-
T: () => l
|
|
366
|
-
}]);
|
|
367
|
-
}
|
|
368
|
-
create(e) {
|
|
369
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
370
|
-
return t.runtimeUsage = [], e !== void 0 && i(this, t, e), t;
|
|
371
|
-
}
|
|
372
|
-
internalBinaryRead(e, n, r, i) {
|
|
373
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
374
|
-
for (; e.pos < o;) {
|
|
375
|
-
let [n, i] = e.tag();
|
|
376
|
-
switch (n) {
|
|
377
|
-
case 1:
|
|
378
|
-
a.runtimeUsage.push(l.internalBinaryRead(e, e.uint32(), r));
|
|
379
|
-
break;
|
|
380
|
-
default:
|
|
381
|
-
let o = r.readUnknownField;
|
|
382
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
383
|
-
let s = e.skip(i);
|
|
384
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
return a;
|
|
388
|
-
}
|
|
389
|
-
internalBinaryWrite(n, r, i) {
|
|
390
|
-
for (let t = 0; t < n.runtimeUsage.length; t++) l.internalBinaryWrite(n.runtimeUsage[t], r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
391
|
-
let a = i.writeUnknownFields;
|
|
392
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
393
|
-
}
|
|
394
|
-
}(), j = new class extends r {
|
|
395
|
-
constructor() {
|
|
396
|
-
super("sagittarius.RuntimeUsageResponse", [{
|
|
397
|
-
no: 1,
|
|
398
|
-
name: "success",
|
|
399
|
-
kind: "scalar",
|
|
400
|
-
T: 8
|
|
401
|
-
}, {
|
|
402
|
-
no: 2,
|
|
403
|
-
name: "error",
|
|
404
|
-
kind: "message",
|
|
405
|
-
T: () => u
|
|
323
|
+
T: () => a
|
|
406
324
|
}]);
|
|
407
325
|
}
|
|
408
326
|
create(e) {
|
|
@@ -410,44 +328,44 @@ var h = new class extends r {
|
|
|
410
328
|
return t.success = !1, e !== void 0 && i(this, t, e), t;
|
|
411
329
|
}
|
|
412
330
|
internalBinaryRead(e, n, r, i) {
|
|
413
|
-
let
|
|
414
|
-
for (; e.pos <
|
|
331
|
+
let o = i ?? this.create(), s = e.pos + n;
|
|
332
|
+
for (; e.pos < s;) {
|
|
415
333
|
let [n, i] = e.tag();
|
|
416
334
|
switch (n) {
|
|
417
335
|
case 1:
|
|
418
|
-
|
|
336
|
+
o.success = e.bool();
|
|
419
337
|
break;
|
|
420
338
|
case 2:
|
|
421
|
-
|
|
339
|
+
o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
|
|
422
340
|
break;
|
|
423
341
|
default:
|
|
424
|
-
let
|
|
425
|
-
if (
|
|
426
|
-
let
|
|
427
|
-
|
|
342
|
+
let s = r.readUnknownField;
|
|
343
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
344
|
+
let c = e.skip(i);
|
|
345
|
+
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
|
|
428
346
|
}
|
|
429
347
|
}
|
|
430
|
-
return
|
|
348
|
+
return o;
|
|
431
349
|
}
|
|
432
350
|
internalBinaryWrite(n, r, i) {
|
|
433
|
-
n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error &&
|
|
434
|
-
let
|
|
435
|
-
return
|
|
351
|
+
n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
|
|
352
|
+
let o = i.writeUnknownFields;
|
|
353
|
+
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
|
|
436
354
|
}
|
|
437
|
-
}(),
|
|
355
|
+
}(), D = new f("sagittarius.RuntimeStatusService", [{
|
|
438
356
|
name: "Update",
|
|
439
357
|
options: {},
|
|
440
|
-
I:
|
|
441
|
-
O:
|
|
442
|
-
}]),
|
|
358
|
+
I: T,
|
|
359
|
+
O: E
|
|
360
|
+
}]), O = class {
|
|
443
361
|
constructor(e) {
|
|
444
|
-
this._transport = e, this.typeName =
|
|
362
|
+
this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
|
|
445
363
|
}
|
|
446
364
|
update(e, t) {
|
|
447
365
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
448
|
-
return
|
|
366
|
+
return p("unary", this._transport, n, r, e);
|
|
449
367
|
}
|
|
450
|
-
},
|
|
368
|
+
}, k = new class extends r {
|
|
451
369
|
constructor() {
|
|
452
370
|
super("sagittarius.Logon", []);
|
|
453
371
|
}
|
|
@@ -473,7 +391,7 @@ var h = new class extends r {
|
|
|
473
391
|
let i = r.writeUnknownFields;
|
|
474
392
|
return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
|
|
475
393
|
}
|
|
476
|
-
}(),
|
|
394
|
+
}(), A = new class extends r {
|
|
477
395
|
constructor() {
|
|
478
396
|
super("sagittarius.TestExecutionRequest", [
|
|
479
397
|
{
|
|
@@ -529,20 +447,20 @@ var h = new class extends r {
|
|
|
529
447
|
let o = a.writeUnknownFields;
|
|
530
448
|
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
|
|
531
449
|
}
|
|
532
|
-
}(),
|
|
450
|
+
}(), j = new class extends r {
|
|
533
451
|
constructor() {
|
|
534
452
|
super("sagittarius.ExecutionLogonRequest", [{
|
|
535
453
|
no: 1,
|
|
536
454
|
name: "logon",
|
|
537
455
|
kind: "message",
|
|
538
456
|
oneof: "data",
|
|
539
|
-
T: () =>
|
|
457
|
+
T: () => k
|
|
540
458
|
}, {
|
|
541
459
|
no: 2,
|
|
542
460
|
name: "response",
|
|
543
461
|
kind: "message",
|
|
544
462
|
oneof: "data",
|
|
545
|
-
T: () =>
|
|
463
|
+
T: () => o
|
|
546
464
|
}]);
|
|
547
465
|
}
|
|
548
466
|
create(e) {
|
|
@@ -550,43 +468,43 @@ var h = new class extends r {
|
|
|
550
468
|
return t.data = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
|
|
551
469
|
}
|
|
552
470
|
internalBinaryRead(e, n, r, i) {
|
|
553
|
-
let a = i ?? this.create(),
|
|
554
|
-
for (; e.pos <
|
|
471
|
+
let a = i ?? this.create(), s = e.pos + n;
|
|
472
|
+
for (; e.pos < s;) {
|
|
555
473
|
let [n, i] = e.tag();
|
|
556
474
|
switch (n) {
|
|
557
475
|
case 1:
|
|
558
476
|
a.data = {
|
|
559
477
|
oneofKind: "logon",
|
|
560
|
-
logon:
|
|
478
|
+
logon: k.internalBinaryRead(e, e.uint32(), r, a.data.logon)
|
|
561
479
|
};
|
|
562
480
|
break;
|
|
563
481
|
case 2:
|
|
564
482
|
a.data = {
|
|
565
483
|
oneofKind: "response",
|
|
566
|
-
response:
|
|
484
|
+
response: o.internalBinaryRead(e, e.uint32(), r, a.data.response)
|
|
567
485
|
};
|
|
568
486
|
break;
|
|
569
487
|
default:
|
|
570
|
-
let
|
|
571
|
-
if (
|
|
488
|
+
let s = r.readUnknownField;
|
|
489
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
572
490
|
let c = e.skip(i);
|
|
573
|
-
|
|
491
|
+
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
|
|
574
492
|
}
|
|
575
493
|
}
|
|
576
494
|
return a;
|
|
577
495
|
}
|
|
578
496
|
internalBinaryWrite(n, r, i) {
|
|
579
|
-
n.data.oneofKind === "logon" &&
|
|
497
|
+
n.data.oneofKind === "logon" && k.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "response" && o.internalBinaryWrite(n.data.response, r.tag(2, e.LengthDelimited).fork(), i).join();
|
|
580
498
|
let a = i.writeUnknownFields;
|
|
581
499
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
582
500
|
}
|
|
583
|
-
}(),
|
|
501
|
+
}(), M = new class extends r {
|
|
584
502
|
constructor() {
|
|
585
503
|
super("sagittarius.ExecutionLogonResponse", [{
|
|
586
504
|
no: 1,
|
|
587
505
|
name: "request",
|
|
588
506
|
kind: "message",
|
|
589
|
-
T: () =>
|
|
507
|
+
T: () => A
|
|
590
508
|
}]);
|
|
591
509
|
}
|
|
592
510
|
create(e) {
|
|
@@ -599,7 +517,7 @@ var h = new class extends r {
|
|
|
599
517
|
let [n, i] = e.tag();
|
|
600
518
|
switch (n) {
|
|
601
519
|
case 1:
|
|
602
|
-
a.request =
|
|
520
|
+
a.request = A.internalBinaryRead(e, e.uint32(), r, a.request);
|
|
603
521
|
break;
|
|
604
522
|
default:
|
|
605
523
|
let o = r.readUnknownField;
|
|
@@ -611,25 +529,25 @@ var h = new class extends r {
|
|
|
611
529
|
return a;
|
|
612
530
|
}
|
|
613
531
|
internalBinaryWrite(n, r, i) {
|
|
614
|
-
n.request &&
|
|
532
|
+
n.request && A.internalBinaryWrite(n.request, r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
615
533
|
let a = i.writeUnknownFields;
|
|
616
534
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
617
535
|
}
|
|
618
|
-
}(),
|
|
536
|
+
}(), N = new f("sagittarius.ExecutionService", [{
|
|
619
537
|
name: "Test",
|
|
620
538
|
serverStreaming: !0,
|
|
621
539
|
clientStreaming: !0,
|
|
622
540
|
options: {},
|
|
623
|
-
I,
|
|
624
|
-
O:
|
|
625
|
-
}]),
|
|
541
|
+
I: j,
|
|
542
|
+
O: M
|
|
543
|
+
}]), P = class {
|
|
626
544
|
constructor(e) {
|
|
627
|
-
this._transport = e, this.typeName =
|
|
545
|
+
this._transport = e, this.typeName = N.typeName, this.methods = N.methods, this.options = N.options;
|
|
628
546
|
}
|
|
629
547
|
test(e) {
|
|
630
548
|
let t = this.methods[0], n = this._transport.mergeOptions(e);
|
|
631
|
-
return
|
|
549
|
+
return p("duplex", this._transport, t, n);
|
|
632
550
|
}
|
|
633
551
|
};
|
|
634
552
|
//#endregion
|
|
635
|
-
export {
|
|
553
|
+
export { j as ExecutionLogonRequest, M as ExecutionLogonResponse, N as ExecutionService, P as ExecutionServiceClient, m as FlowLogonRequest, h as FlowResponse, g as FlowService, _ as FlowServiceClient, k as Logon, b as ModuleService, x as ModuleServiceClient, v as ModuleUpdateRequest, y as ModuleUpdateResponse, S as PingMessage, C as PingService, w as PingServiceClient, D as RuntimeStatusService, O as RuntimeStatusServiceClient, T as RuntimeStatusUpdateRequest, E as RuntimeStatusUpdateResponse, A as TestExecutionRequest };
|
package/dist/shared.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-C8cj-NCz.cjs"),t=require("./shared.runtime_status_pb-BEEvFfe8.cjs"),n=require("./shared.flow_pb-clFvPGyv.cjs");exports.DataTypeNumberRangeRuleConfig=e.d,exports.DataTypeRegexRuleConfig=e.f,exports.DefinitionDataType=e.p,exports.DefinitionDataTypeRule=e.m,exports.Endpoint=t.r,exports.Error=t.v,exports.ExecutionDataType=e.h,exports.ExecutionDataTypeRule=e.g,exports.ExecutionFlow=n.t,exports.ExecutionResult=t.h,exports.FlowInput=n.n,exports.FlowSetting=n.r,exports.FlowType=e.r,exports.FlowTypeSetting=e.i,exports.FlowTypeSetting_UniquenessScope=e.a,exports.Flows=n.i,exports.FunctionDefinition=e.t,exports.GenerationFlow=n.a,exports.InputType=n.o,exports.ListValue=e.o,exports.Module=t.i,exports.ModuleConfiguration=t.a,exports.ModuleConfigurationDefinition=t.o,exports.ModuleConfigurations=t.s,exports.ModuleDefinition=t.c,exports.ModuleProjectConfigurations=t.l,exports.ModuleStatus=t.t,exports.ModuleStatus_StatusVariant=t.n,exports.NodeExecutionResult=t.g,exports.NodeFunction=n.s,exports.NodeParameter=n.c,exports.NodeParameterNodeExecutionResult=t._,exports.NodeValue=n.l,exports.NullValue=e.s,exports.NumberValue=e.c,exports.ParameterDefinition=e.n,exports.ReferencePath=n.u,exports.ReferenceValue=n.d,exports.RuntimeFlowType=t.u,exports.RuntimeFlowTypeSetting=t.d,exports.RuntimeFlowTypeSetting_UniquenessScope=t.f,exports.RuntimeFunctionDefinition=t.p,exports.RuntimeParameterDefinition=t.m,exports.ServiceActiveModelError=t.y,exports.ServiceError=t.b,exports.ServiceErrorDetails=t.x,exports.Struct=e.l,exports.SubFlow=n.f,exports.SubFlowSetting=n.p,exports.SubFlow_SubFlowFunction=n.m,exports.Translation=e._,exports.ValidationFlow=n.h,exports.Value=e.u;
|
package/dist/shared.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./shared.function_pb-
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
export { r as DataTypeNumberRangeRuleConfig, i as DataTypeRegexRuleConfig, f as DefinitionDataType, l as DefinitionDataTypeRule,
|
|
1
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./shared.function_pb-Caz-4jvi.js";
|
|
2
|
+
import { _, a as v, b as y, c as b, d as x, f as S, g as C, h as w, i as T, l as E, m as D, n as O, o as k, p as A, r as j, s as M, t as N, u as P, v as F, x as I, y as L } from "./shared.runtime_status_pb-D7hH22xO.js";
|
|
3
|
+
import { a as R, c as z, d as B, f as V, h as H, i as U, l as W, m as G, n as K, o as q, p as J, r as Y, s as X, t as Z, u as Q } from "./shared.flow_pb-DdVuFKPW.js";
|
|
4
|
+
export { r as DataTypeNumberRangeRuleConfig, i as DataTypeRegexRuleConfig, f as DefinitionDataType, l as DefinitionDataTypeRule, j as Endpoint, F as Error, o as ExecutionDataType, a as ExecutionDataTypeRule, Z as ExecutionFlow, w as ExecutionResult, K as FlowInput, Y as FlowSetting, p as FlowType, s as FlowTypeSetting, t as FlowTypeSetting_UniquenessScope, U as Flows, h as FunctionDefinition, R as GenerationFlow, q as InputType, d as ListValue, T as Module, v as ModuleConfiguration, k as ModuleConfigurationDefinition, M as ModuleConfigurations, b as ModuleDefinition, E as ModuleProjectConfigurations, N as ModuleStatus, O as ModuleStatus_StatusVariant, C as NodeExecutionResult, X as NodeFunction, z as NodeParameter, _ as NodeParameterNodeExecutionResult, W as NodeValue, m as NullValue, n as NumberValue, u as ParameterDefinition, Q as ReferencePath, B as ReferenceValue, P as RuntimeFlowType, x as RuntimeFlowTypeSetting, S as RuntimeFlowTypeSetting_UniquenessScope, A as RuntimeFunctionDefinition, D as RuntimeParameterDefinition, L as ServiceActiveModelError, y as ServiceError, I as ServiceErrorDetails, c as Struct, V as SubFlow, J as SubFlowSetting, G as SubFlow_SubFlowFunction, e as Translation, H as ValidationFlow, g as Value };
|