@code0-tech/tucana 0.0.73 → 0.0.74
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 +98 -130
- package/dist/pb/_generated/aquila.runtime_status_pb.d.ts +3 -23
- package/dist/pb/_generated/sagittarius.runtime_status_pb.d.ts +3 -23
- package/dist/pb/_generated/shared.execution_result_pb.d.ts +21 -7
- package/dist/pb/_generated/shared.module_pb.d.ts +66 -0
- package/dist/pb/_generated/shared.runtime_status_pb.d.ts +16 -190
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +141 -173
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +3 -3
- package/dist/shared.runtime_usage_pb-BWGBeR-4.cjs +1 -0
- package/dist/{shared.runtime_usage_pb-Hn8yNrjw.js → shared.runtime_usage_pb-KU8kpcxp.js} +169 -271
- package/package.json +1 -1
- package/dist/shared.runtime_usage_pb-CSRup69H.cjs +0 -1
package/dist/sagittarius.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as e, S as t, u as n, v as r, y as i } from "./shared.function_pb-e1jkWYE_.js";
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
4
|
-
import { n as
|
|
5
|
-
var
|
|
2
|
+
import { a, c as o, g as s, n as c, t as l, x as u } from "./shared.runtime_usage_pb-KU8kpcxp.js";
|
|
3
|
+
import { i as d, m as f } from "./shared.flow_pb-C4ewDq2u.js";
|
|
4
|
+
import { n as p, t as m } from "./rpc-interceptor-az_TTCBK.js";
|
|
5
|
+
var h = new class extends r {
|
|
6
6
|
constructor() {
|
|
7
7
|
super("sagittarius.FlowLogonRequest", []);
|
|
8
8
|
}
|
|
@@ -28,7 +28,7 @@ var _ = 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
|
+
}(), g = new class extends r {
|
|
32
32
|
constructor() {
|
|
33
33
|
super("sagittarius.FlowResponse", [
|
|
34
34
|
{
|
|
@@ -36,7 +36,7 @@ var _ = new class extends r {
|
|
|
36
36
|
name: "updated_flow",
|
|
37
37
|
kind: "message",
|
|
38
38
|
oneof: "data",
|
|
39
|
-
T: () =>
|
|
39
|
+
T: () => f
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
no: 2,
|
|
@@ -51,14 +51,14 @@ var _ = new class extends r {
|
|
|
51
51
|
name: "flows",
|
|
52
52
|
kind: "message",
|
|
53
53
|
oneof: "data",
|
|
54
|
-
T: () =>
|
|
54
|
+
T: () => d
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
no: 4,
|
|
58
58
|
name: "module_configurations",
|
|
59
59
|
kind: "message",
|
|
60
60
|
oneof: "data",
|
|
61
|
-
T: () =>
|
|
61
|
+
T: () => o
|
|
62
62
|
}
|
|
63
63
|
]);
|
|
64
64
|
}
|
|
@@ -67,14 +67,14 @@ var _ = 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(), s = e.pos + n;
|
|
71
|
+
for (; e.pos < s;) {
|
|
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: f.internalBinaryRead(e, e.uint32(), r, a.data.updatedFlow)
|
|
78
78
|
};
|
|
79
79
|
break;
|
|
80
80
|
case 2:
|
|
@@ -86,51 +86,51 @@ var _ = new class extends r {
|
|
|
86
86
|
case 3:
|
|
87
87
|
a.data = {
|
|
88
88
|
oneofKind: "flows",
|
|
89
|
-
flows:
|
|
89
|
+
flows: d.internalBinaryRead(e, e.uint32(), r, a.data.flows)
|
|
90
90
|
};
|
|
91
91
|
break;
|
|
92
92
|
case 4:
|
|
93
93
|
a.data = {
|
|
94
94
|
oneofKind: "moduleConfigurations",
|
|
95
|
-
moduleConfigurations:
|
|
95
|
+
moduleConfigurations: o.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 s = r.readUnknownField;
|
|
100
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
101
|
+
let c = e.skip(i);
|
|
102
|
+
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
|
|
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" && f.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" && o.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
|
+
}(), _ = new p("sagittarius.FlowService", [{
|
|
113
113
|
name: "Update",
|
|
114
114
|
serverStreaming: !0,
|
|
115
115
|
options: {},
|
|
116
|
-
I:
|
|
117
|
-
O:
|
|
118
|
-
}]),
|
|
116
|
+
I: h,
|
|
117
|
+
O: g
|
|
118
|
+
}]), v = class {
|
|
119
119
|
constructor(e) {
|
|
120
|
-
this._transport = e, this.typeName =
|
|
120
|
+
this._transport = e, this.typeName = _.typeName, this.methods = _.methods, this.options = _.options;
|
|
121
121
|
}
|
|
122
122
|
update(e, t) {
|
|
123
123
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
124
|
-
return
|
|
124
|
+
return m("serverStreaming", this._transport, n, r, e);
|
|
125
125
|
}
|
|
126
|
-
},
|
|
126
|
+
}, y = 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: () => a
|
|
134
134
|
}]);
|
|
135
135
|
}
|
|
136
136
|
create(e) {
|
|
@@ -138,28 +138,28 @@ var _ = new class extends r {
|
|
|
138
138
|
return t.modules = [], e !== void 0 && i(this, t, e), t;
|
|
139
139
|
}
|
|
140
140
|
internalBinaryRead(e, n, r, i) {
|
|
141
|
-
let
|
|
142
|
-
for (; e.pos <
|
|
141
|
+
let o = i ?? this.create(), s = e.pos + n;
|
|
142
|
+
for (; e.pos < s;) {
|
|
143
143
|
let [n, i] = e.tag();
|
|
144
144
|
switch (n) {
|
|
145
145
|
case 1:
|
|
146
|
-
|
|
146
|
+
o.modules.push(a.internalBinaryRead(e, e.uint32(), r));
|
|
147
147
|
break;
|
|
148
148
|
default:
|
|
149
|
-
let
|
|
150
|
-
if (
|
|
151
|
-
let
|
|
152
|
-
|
|
149
|
+
let s = r.readUnknownField;
|
|
150
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
151
|
+
let c = e.skip(i);
|
|
152
|
+
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
return
|
|
155
|
+
return o;
|
|
156
156
|
}
|
|
157
157
|
internalBinaryWrite(n, r, i) {
|
|
158
|
-
for (let t = 0; t < n.modules.length; t++)
|
|
159
|
-
let
|
|
160
|
-
return
|
|
158
|
+
for (let t = 0; t < n.modules.length; t++) a.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
159
|
+
let o = i.writeUnknownFields;
|
|
160
|
+
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
|
|
161
161
|
}
|
|
162
|
-
}(),
|
|
162
|
+
}(), b = new class extends r {
|
|
163
163
|
constructor() {
|
|
164
164
|
super("sagittarius.ModuleUpdateResponse", [{
|
|
165
165
|
no: 1,
|
|
@@ -170,7 +170,7 @@ var _ = new class extends r {
|
|
|
170
170
|
no: 2,
|
|
171
171
|
name: "error",
|
|
172
172
|
kind: "message",
|
|
173
|
-
T: () =>
|
|
173
|
+
T: () => u
|
|
174
174
|
}]);
|
|
175
175
|
}
|
|
176
176
|
create(e) {
|
|
@@ -178,44 +178,44 @@ var _ = new class extends r {
|
|
|
178
178
|
return t.success = !1, e !== void 0 && i(this, t, e), t;
|
|
179
179
|
}
|
|
180
180
|
internalBinaryRead(e, n, r, i) {
|
|
181
|
-
let
|
|
182
|
-
for (; e.pos <
|
|
181
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
182
|
+
for (; e.pos < o;) {
|
|
183
183
|
let [n, i] = e.tag();
|
|
184
184
|
switch (n) {
|
|
185
185
|
case 1:
|
|
186
|
-
|
|
186
|
+
a.success = e.bool();
|
|
187
187
|
break;
|
|
188
188
|
case 2:
|
|
189
|
-
|
|
189
|
+
a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
|
|
190
190
|
break;
|
|
191
191
|
default:
|
|
192
|
-
let
|
|
193
|
-
if (
|
|
194
|
-
let
|
|
195
|
-
|
|
192
|
+
let o = r.readUnknownField;
|
|
193
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
194
|
+
let s = e.skip(i);
|
|
195
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
return
|
|
198
|
+
return a;
|
|
199
199
|
}
|
|
200
200
|
internalBinaryWrite(n, r, i) {
|
|
201
|
-
n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error &&
|
|
202
|
-
let
|
|
203
|
-
return
|
|
201
|
+
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();
|
|
202
|
+
let a = i.writeUnknownFields;
|
|
203
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
204
204
|
}
|
|
205
|
-
}(),
|
|
205
|
+
}(), x = new p("sagittarius.ModuleService", [{
|
|
206
206
|
name: "Update",
|
|
207
207
|
options: {},
|
|
208
|
-
I:
|
|
209
|
-
O:
|
|
210
|
-
}]),
|
|
208
|
+
I: y,
|
|
209
|
+
O: b
|
|
210
|
+
}]), S = class {
|
|
211
211
|
constructor(e) {
|
|
212
|
-
this._transport = e, this.typeName =
|
|
212
|
+
this._transport = e, this.typeName = x.typeName, this.methods = x.methods, this.options = x.options;
|
|
213
213
|
}
|
|
214
214
|
update(e, t) {
|
|
215
215
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
216
|
-
return
|
|
216
|
+
return m("unary", this._transport, n, r, e);
|
|
217
217
|
}
|
|
218
|
-
},
|
|
218
|
+
}, C = new class extends r {
|
|
219
219
|
constructor() {
|
|
220
220
|
super("sagittarius.PingMessage", [{
|
|
221
221
|
no: 1,
|
|
@@ -251,87 +251,55 @@ var _ = new class extends r {
|
|
|
251
251
|
let a = i.writeUnknownFields;
|
|
252
252
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
253
253
|
}
|
|
254
|
-
}(),
|
|
254
|
+
}(), w = new p("sagittarius.PingService", [{
|
|
255
255
|
name: "Ping",
|
|
256
256
|
options: {},
|
|
257
|
-
I:
|
|
258
|
-
O:
|
|
259
|
-
}]),
|
|
257
|
+
I: C,
|
|
258
|
+
O: C
|
|
259
|
+
}]), T = class {
|
|
260
260
|
constructor(e) {
|
|
261
|
-
this._transport = e, this.typeName =
|
|
261
|
+
this._transport = e, this.typeName = w.typeName, this.methods = w.methods, this.options = w.options;
|
|
262
262
|
}
|
|
263
263
|
ping(e, t) {
|
|
264
264
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
265
|
-
return
|
|
265
|
+
return m("unary", this._transport, n, r, e);
|
|
266
266
|
}
|
|
267
|
-
},
|
|
267
|
+
}, E = new class extends r {
|
|
268
268
|
constructor() {
|
|
269
|
-
super("sagittarius.RuntimeStatusUpdateRequest", [
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
T: () => o
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
no: 2,
|
|
279
|
-
name: "execution_runtime_status",
|
|
280
|
-
kind: "message",
|
|
281
|
-
oneof: "status",
|
|
282
|
-
T: () => c
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
no: 3,
|
|
286
|
-
name: "action_status",
|
|
287
|
-
kind: "message",
|
|
288
|
-
oneof: "status",
|
|
289
|
-
T: () => l
|
|
290
|
-
}
|
|
291
|
-
]);
|
|
269
|
+
super("sagittarius.RuntimeStatusUpdateRequest", [{
|
|
270
|
+
no: 1,
|
|
271
|
+
name: "status",
|
|
272
|
+
kind: "message",
|
|
273
|
+
T: () => c
|
|
274
|
+
}]);
|
|
292
275
|
}
|
|
293
276
|
create(e) {
|
|
294
277
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
295
|
-
return
|
|
278
|
+
return e !== void 0 && i(this, t, e), t;
|
|
296
279
|
}
|
|
297
280
|
internalBinaryRead(e, n, r, i) {
|
|
298
|
-
let a = i ?? this.create(),
|
|
299
|
-
for (; e.pos <
|
|
281
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
282
|
+
for (; e.pos < o;) {
|
|
300
283
|
let [n, i] = e.tag();
|
|
301
284
|
switch (n) {
|
|
302
285
|
case 1:
|
|
303
|
-
a.status =
|
|
304
|
-
oneofKind: "adapterRuntimeStatus",
|
|
305
|
-
adapterRuntimeStatus: o.internalBinaryRead(e, e.uint32(), r, a.status.adapterRuntimeStatus)
|
|
306
|
-
};
|
|
307
|
-
break;
|
|
308
|
-
case 2:
|
|
309
|
-
a.status = {
|
|
310
|
-
oneofKind: "executionRuntimeStatus",
|
|
311
|
-
executionRuntimeStatus: c.internalBinaryRead(e, e.uint32(), r, a.status.executionRuntimeStatus)
|
|
312
|
-
};
|
|
313
|
-
break;
|
|
314
|
-
case 3:
|
|
315
|
-
a.status = {
|
|
316
|
-
oneofKind: "actionStatus",
|
|
317
|
-
actionStatus: l.internalBinaryRead(e, e.uint32(), r, a.status.actionStatus)
|
|
318
|
-
};
|
|
286
|
+
a.status = c.internalBinaryRead(e, e.uint32(), r, a.status);
|
|
319
287
|
break;
|
|
320
288
|
default:
|
|
321
|
-
let
|
|
322
|
-
if (
|
|
323
|
-
let
|
|
324
|
-
|
|
289
|
+
let o = r.readUnknownField;
|
|
290
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
291
|
+
let s = e.skip(i);
|
|
292
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
325
293
|
}
|
|
326
294
|
}
|
|
327
295
|
return a;
|
|
328
296
|
}
|
|
329
297
|
internalBinaryWrite(n, r, i) {
|
|
330
|
-
n.status
|
|
298
|
+
n.status && c.internalBinaryWrite(n.status, r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
331
299
|
let a = i.writeUnknownFields;
|
|
332
300
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
333
301
|
}
|
|
334
|
-
}(),
|
|
302
|
+
}(), D = new class extends r {
|
|
335
303
|
constructor() {
|
|
336
304
|
super("sagittarius.RuntimeStatusUpdateResponse", [{
|
|
337
305
|
no: 1,
|
|
@@ -342,7 +310,7 @@ var _ = new class extends r {
|
|
|
342
310
|
no: 2,
|
|
343
311
|
name: "error",
|
|
344
312
|
kind: "message",
|
|
345
|
-
T: () =>
|
|
313
|
+
T: () => u
|
|
346
314
|
}]);
|
|
347
315
|
}
|
|
348
316
|
create(e) {
|
|
@@ -350,51 +318,51 @@ var _ = new class extends r {
|
|
|
350
318
|
return t.success = !1, e !== void 0 && i(this, t, e), t;
|
|
351
319
|
}
|
|
352
320
|
internalBinaryRead(e, n, r, i) {
|
|
353
|
-
let
|
|
354
|
-
for (; e.pos <
|
|
321
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
322
|
+
for (; e.pos < o;) {
|
|
355
323
|
let [n, i] = e.tag();
|
|
356
324
|
switch (n) {
|
|
357
325
|
case 1:
|
|
358
|
-
|
|
326
|
+
a.success = e.bool();
|
|
359
327
|
break;
|
|
360
328
|
case 2:
|
|
361
|
-
|
|
329
|
+
a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
|
|
362
330
|
break;
|
|
363
331
|
default:
|
|
364
|
-
let
|
|
365
|
-
if (
|
|
366
|
-
let
|
|
367
|
-
|
|
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);
|
|
368
336
|
}
|
|
369
337
|
}
|
|
370
|
-
return
|
|
338
|
+
return a;
|
|
371
339
|
}
|
|
372
340
|
internalBinaryWrite(n, r, i) {
|
|
373
|
-
n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error &&
|
|
374
|
-
let
|
|
375
|
-
return
|
|
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;
|
|
376
344
|
}
|
|
377
|
-
}(),
|
|
345
|
+
}(), O = new p("sagittarius.RuntimeStatusService", [{
|
|
378
346
|
name: "Update",
|
|
379
347
|
options: {},
|
|
380
|
-
I:
|
|
381
|
-
O:
|
|
382
|
-
}]),
|
|
348
|
+
I: E,
|
|
349
|
+
O: D
|
|
350
|
+
}]), k = class {
|
|
383
351
|
constructor(e) {
|
|
384
|
-
this._transport = e, this.typeName =
|
|
352
|
+
this._transport = e, this.typeName = O.typeName, this.methods = O.methods, this.options = O.options;
|
|
385
353
|
}
|
|
386
354
|
update(e, t) {
|
|
387
355
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
388
|
-
return
|
|
356
|
+
return m("unary", this._transport, n, r, e);
|
|
389
357
|
}
|
|
390
|
-
},
|
|
358
|
+
}, A = new class extends r {
|
|
391
359
|
constructor() {
|
|
392
360
|
super("sagittarius.RuntimeUsageRequest", [{
|
|
393
361
|
no: 1,
|
|
394
362
|
name: "runtime_usage",
|
|
395
363
|
kind: "message",
|
|
396
364
|
repeat: 2,
|
|
397
|
-
T: () =>
|
|
365
|
+
T: () => l
|
|
398
366
|
}]);
|
|
399
367
|
}
|
|
400
368
|
create(e) {
|
|
@@ -407,7 +375,7 @@ var _ = new class extends r {
|
|
|
407
375
|
let [n, i] = e.tag();
|
|
408
376
|
switch (n) {
|
|
409
377
|
case 1:
|
|
410
|
-
a.runtimeUsage.push(
|
|
378
|
+
a.runtimeUsage.push(l.internalBinaryRead(e, e.uint32(), r));
|
|
411
379
|
break;
|
|
412
380
|
default:
|
|
413
381
|
let o = r.readUnknownField;
|
|
@@ -419,11 +387,11 @@ var _ = new class extends r {
|
|
|
419
387
|
return a;
|
|
420
388
|
}
|
|
421
389
|
internalBinaryWrite(n, r, i) {
|
|
422
|
-
for (let t = 0; t < n.runtimeUsage.length; t++)
|
|
390
|
+
for (let t = 0; t < n.runtimeUsage.length; t++) l.internalBinaryWrite(n.runtimeUsage[t], r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
423
391
|
let a = i.writeUnknownFields;
|
|
424
392
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
425
393
|
}
|
|
426
|
-
}(),
|
|
394
|
+
}(), j = new class extends r {
|
|
427
395
|
constructor() {
|
|
428
396
|
super("sagittarius.RuntimeUsageResponse", [{
|
|
429
397
|
no: 1,
|
|
@@ -434,7 +402,7 @@ var _ = new class extends r {
|
|
|
434
402
|
no: 2,
|
|
435
403
|
name: "error",
|
|
436
404
|
kind: "message",
|
|
437
|
-
T: () =>
|
|
405
|
+
T: () => u
|
|
438
406
|
}]);
|
|
439
407
|
}
|
|
440
408
|
create(e) {
|
|
@@ -442,44 +410,44 @@ var _ = new class extends r {
|
|
|
442
410
|
return t.success = !1, e !== void 0 && i(this, t, e), t;
|
|
443
411
|
}
|
|
444
412
|
internalBinaryRead(e, n, r, i) {
|
|
445
|
-
let
|
|
446
|
-
for (; e.pos <
|
|
413
|
+
let a = i ?? this.create(), o = e.pos + n;
|
|
414
|
+
for (; e.pos < o;) {
|
|
447
415
|
let [n, i] = e.tag();
|
|
448
416
|
switch (n) {
|
|
449
417
|
case 1:
|
|
450
|
-
|
|
418
|
+
a.success = e.bool();
|
|
451
419
|
break;
|
|
452
420
|
case 2:
|
|
453
|
-
|
|
421
|
+
a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
|
|
454
422
|
break;
|
|
455
423
|
default:
|
|
456
|
-
let
|
|
457
|
-
if (
|
|
458
|
-
let
|
|
459
|
-
|
|
424
|
+
let o = r.readUnknownField;
|
|
425
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
426
|
+
let s = e.skip(i);
|
|
427
|
+
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
460
428
|
}
|
|
461
429
|
}
|
|
462
|
-
return
|
|
430
|
+
return a;
|
|
463
431
|
}
|
|
464
432
|
internalBinaryWrite(n, r, i) {
|
|
465
|
-
n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error &&
|
|
466
|
-
let
|
|
467
|
-
return
|
|
433
|
+
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();
|
|
434
|
+
let a = i.writeUnknownFields;
|
|
435
|
+
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
468
436
|
}
|
|
469
|
-
}(),
|
|
437
|
+
}(), M = new p("sagittarius.RuntimeUsageService", [{
|
|
470
438
|
name: "Update",
|
|
471
439
|
options: {},
|
|
472
|
-
I:
|
|
473
|
-
O:
|
|
474
|
-
}]),
|
|
440
|
+
I: A,
|
|
441
|
+
O: j
|
|
442
|
+
}]), N = class {
|
|
475
443
|
constructor(e) {
|
|
476
|
-
this._transport = e, this.typeName =
|
|
444
|
+
this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
|
|
477
445
|
}
|
|
478
446
|
update(e, t) {
|
|
479
447
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
480
|
-
return
|
|
448
|
+
return m("unary", this._transport, n, r, e);
|
|
481
449
|
}
|
|
482
|
-
},
|
|
450
|
+
}, P = new class extends r {
|
|
483
451
|
constructor() {
|
|
484
452
|
super("sagittarius.Logon", []);
|
|
485
453
|
}
|
|
@@ -505,7 +473,7 @@ var _ = new class extends r {
|
|
|
505
473
|
let i = r.writeUnknownFields;
|
|
506
474
|
return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
|
|
507
475
|
}
|
|
508
|
-
}(),
|
|
476
|
+
}(), F = new class extends r {
|
|
509
477
|
constructor() {
|
|
510
478
|
super("sagittarius.TestExecutionRequest", [
|
|
511
479
|
{
|
|
@@ -561,14 +529,14 @@ var _ = new class extends r {
|
|
|
561
529
|
let o = a.writeUnknownFields;
|
|
562
530
|
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
|
|
563
531
|
}
|
|
564
|
-
}(),
|
|
532
|
+
}(), I = new class extends r {
|
|
565
533
|
constructor() {
|
|
566
534
|
super("sagittarius.ExecutionLogonRequest", [{
|
|
567
535
|
no: 1,
|
|
568
536
|
name: "logon",
|
|
569
537
|
kind: "message",
|
|
570
538
|
oneof: "data",
|
|
571
|
-
T: () =>
|
|
539
|
+
T: () => P
|
|
572
540
|
}, {
|
|
573
541
|
no: 2,
|
|
574
542
|
name: "response",
|
|
@@ -589,7 +557,7 @@ var _ = new class extends r {
|
|
|
589
557
|
case 1:
|
|
590
558
|
a.data = {
|
|
591
559
|
oneofKind: "logon",
|
|
592
|
-
logon:
|
|
560
|
+
logon: P.internalBinaryRead(e, e.uint32(), r, a.data.logon)
|
|
593
561
|
};
|
|
594
562
|
break;
|
|
595
563
|
case 2:
|
|
@@ -608,17 +576,17 @@ var _ = new class extends r {
|
|
|
608
576
|
return a;
|
|
609
577
|
}
|
|
610
578
|
internalBinaryWrite(n, r, i) {
|
|
611
|
-
n.data.oneofKind === "logon" &&
|
|
579
|
+
n.data.oneofKind === "logon" && P.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "response" && s.internalBinaryWrite(n.data.response, r.tag(2, e.LengthDelimited).fork(), i).join();
|
|
612
580
|
let a = i.writeUnknownFields;
|
|
613
581
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
614
582
|
}
|
|
615
|
-
}(),
|
|
583
|
+
}(), L = new class extends r {
|
|
616
584
|
constructor() {
|
|
617
585
|
super("sagittarius.ExecutionLogonResponse", [{
|
|
618
586
|
no: 1,
|
|
619
587
|
name: "request",
|
|
620
588
|
kind: "message",
|
|
621
|
-
T: () =>
|
|
589
|
+
T: () => F
|
|
622
590
|
}]);
|
|
623
591
|
}
|
|
624
592
|
create(e) {
|
|
@@ -631,7 +599,7 @@ var _ = new class extends r {
|
|
|
631
599
|
let [n, i] = e.tag();
|
|
632
600
|
switch (n) {
|
|
633
601
|
case 1:
|
|
634
|
-
a.request =
|
|
602
|
+
a.request = F.internalBinaryRead(e, e.uint32(), r, a.request);
|
|
635
603
|
break;
|
|
636
604
|
default:
|
|
637
605
|
let o = r.readUnknownField;
|
|
@@ -643,25 +611,25 @@ var _ = new class extends r {
|
|
|
643
611
|
return a;
|
|
644
612
|
}
|
|
645
613
|
internalBinaryWrite(n, r, i) {
|
|
646
|
-
n.request &&
|
|
614
|
+
n.request && F.internalBinaryWrite(n.request, r.tag(1, e.LengthDelimited).fork(), i).join();
|
|
647
615
|
let a = i.writeUnknownFields;
|
|
648
616
|
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
|
|
649
617
|
}
|
|
650
|
-
}(),
|
|
618
|
+
}(), R = new p("sagittarius.ExecutionService", [{
|
|
651
619
|
name: "Test",
|
|
652
620
|
serverStreaming: !0,
|
|
653
621
|
clientStreaming: !0,
|
|
654
622
|
options: {},
|
|
655
|
-
I
|
|
656
|
-
O:
|
|
657
|
-
}]),
|
|
623
|
+
I,
|
|
624
|
+
O: L
|
|
625
|
+
}]), z = class {
|
|
658
626
|
constructor(e) {
|
|
659
|
-
this._transport = e, this.typeName =
|
|
627
|
+
this._transport = e, this.typeName = R.typeName, this.methods = R.methods, this.options = R.options;
|
|
660
628
|
}
|
|
661
629
|
test(e) {
|
|
662
630
|
let t = this.methods[0], n = this._transport.mergeOptions(e);
|
|
663
|
-
return
|
|
631
|
+
return m("duplex", this._transport, t, n);
|
|
664
632
|
}
|
|
665
633
|
};
|
|
666
634
|
//#endregion
|
|
667
|
-
export {
|
|
635
|
+
export { I as ExecutionLogonRequest, L as ExecutionLogonResponse, R as ExecutionService, z as ExecutionServiceClient, h as FlowLogonRequest, g as FlowResponse, _ as FlowService, v as FlowServiceClient, P as Logon, x as ModuleService, S as ModuleServiceClient, y as ModuleUpdateRequest, b as ModuleUpdateResponse, C as PingMessage, w as PingService, T as PingServiceClient, O as RuntimeStatusService, k as RuntimeStatusServiceClient, E as RuntimeStatusUpdateRequest, D as RuntimeStatusUpdateResponse, A as RuntimeUsageRequest, j as RuntimeUsageResponse, M as RuntimeUsageService, N as RuntimeUsageServiceClient, F as TestExecutionRequest };
|
package/dist/shared.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-BWGBeR-4.cjs`),n=require(`./shared.flow_pb-DrDw61IF.cjs`);exports.DataTypeNumberRangeRuleConfig=e.d,exports.DataTypeRegexRuleConfig=e.f,exports.DefinitionDataType=e.p,exports.DefinitionDataTypeRule=e.m,exports.Endpoint=t.i,exports.Error=t.y,exports.ExecutionDataType=e.h,exports.ExecutionDataTypeRule=e.g,exports.ExecutionFlow=n.t,exports.ExecutionResult=t.g,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.a,exports.ModuleConfiguration=t.o,exports.ModuleConfigurationDefinition=t.s,exports.ModuleConfigurations=t.c,exports.ModuleDefinition=t.l,exports.ModuleProjectConfigurations=t.u,exports.ModuleStatus=t.n,exports.ModuleStatus_StatusVariant=t.r,exports.NodeExecutionResult=t._,exports.NodeFunction=n.s,exports.NodeParameter=n.c,exports.NodeParameterNodeExecutionResult=t.v,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.d,exports.RuntimeFlowTypeSetting=t.f,exports.RuntimeFlowTypeSetting_UniquenessScope=t.p,exports.RuntimeFunctionDefinition=t.m,exports.RuntimeParameterDefinition=t.h,exports.RuntimeUsage=t.t,exports.ServiceActiveModelError=t.b,exports.ServiceError=t.x,exports.ServiceErrorDetails=t.S,exports.Struct=e.l,exports.SubFlow=n.f,exports.SubFlowSetting=n.p,exports.Translation=e._,exports.ValidationFlow=n.m,exports.Value=e.u;
|
package/dist/shared.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
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-e1jkWYE_.js";
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
export {
|
|
2
|
+
import { S as _, _ as v, a as y, b, c as x, d as S, f as C, g as w, h as T, i as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, x as L, y as R } from "./shared.runtime_usage_pb-KU8kpcxp.js";
|
|
3
|
+
import { a as z, c as B, d as V, f 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-C4ewDq2u.js";
|
|
4
|
+
export { r as DataTypeNumberRangeRuleConfig, i as DataTypeRegexRuleConfig, f as DefinitionDataType, l as DefinitionDataTypeRule, E as Endpoint, R 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, z as GenerationFlow, q as InputType, d as ListValue, y as Module, A as ModuleConfiguration, N as ModuleConfigurationDefinition, x as ModuleConfigurations, D as ModuleDefinition, F as ModuleProjectConfigurations, k as ModuleStatus, M as ModuleStatus_StatusVariant, v as NodeExecutionResult, X as NodeFunction, B as NodeParameter, I as NodeParameterNodeExecutionResult, W as NodeValue, m as NullValue, n as NumberValue, u as ParameterDefinition, Q as ReferencePath, V as ReferenceValue, S as RuntimeFlowType, C as RuntimeFlowTypeSetting, j as RuntimeFlowTypeSetting_UniquenessScope, O as RuntimeFunctionDefinition, T as RuntimeParameterDefinition, P as RuntimeUsage, b as ServiceActiveModelError, L as ServiceError, _ as ServiceErrorDetails, c as Struct, H as SubFlow, J as SubFlowSetting, e as Translation, G as ValidationFlow, g as Value };
|