@code0-tech/tucana 0.0.78 → 0.0.80
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 +27 -14
- package/dist/pb/_generated/aquila.action_pb.d.ts +8 -0
- package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.d.ts +17 -3
- package/dist/pb/_generated/sagittarius_rails.runtime_status_pb.d.ts +17 -3
- package/dist/pb/_generated/shared.runtime_status_pb.d.ts +21 -0
- package/dist/sagittarius_gateway.cjs.js +1 -1
- package/dist/sagittarius_gateway.es.js +112 -96
- package/dist/sagittarius_rails.cjs.js +1 -1
- package/dist/sagittarius_rails.es.js +106 -90
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +2 -2
- package/dist/{shared.runtime_status_pb-5unRZGw5.js → shared.runtime_status_pb-CP15pmbi.js} +37 -1
- package/dist/{shared.runtime_status_pb-BlKabFnb.cjs → shared.runtime_status_pb-v763gk52.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { L as e, N as t, P as n, R as r, b as i, l as a } from "./shared.function_pb-CPUNe7pa.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
var
|
|
2
|
+
import { a as o, g as s, r as c, t as l, x as u } from "./shared.runtime_status_pb-CP15pmbi.js";
|
|
3
|
+
import { n as d, t as f } from "./rpc-interceptor-D0l4GO-c.js";
|
|
4
|
+
var p = new class extends t {
|
|
5
5
|
constructor() {
|
|
6
6
|
super("sagittarius_rails.FlowLogonRequest", []);
|
|
7
7
|
}
|
|
@@ -27,7 +27,7 @@ var f = new class extends t {
|
|
|
27
27
|
let i = r.writeUnknownFields;
|
|
28
28
|
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
29
29
|
}
|
|
30
|
-
}(),
|
|
30
|
+
}(), m = new class extends t {
|
|
31
31
|
constructor() {
|
|
32
32
|
super("sagittarius_rails.FlowResponse", [
|
|
33
33
|
{
|
|
@@ -95,27 +95,27 @@ var f = new class extends t {
|
|
|
95
95
|
let s = o.writeUnknownFields;
|
|
96
96
|
return s !== !1 && (s == 1 ? e.onWrite : s)(this.typeName, t, n), n;
|
|
97
97
|
}
|
|
98
|
-
}(),
|
|
98
|
+
}(), h = new d("sagittarius_rails.FlowService", [{
|
|
99
99
|
name: "Update",
|
|
100
100
|
options: {},
|
|
101
|
-
I:
|
|
102
|
-
O:
|
|
103
|
-
}]),
|
|
101
|
+
I: p,
|
|
102
|
+
O: m
|
|
103
|
+
}]), g = class {
|
|
104
104
|
constructor(e) {
|
|
105
|
-
this._transport = e, this.typeName =
|
|
105
|
+
this._transport = e, this.typeName = h.typeName, this.methods = h.methods, this.options = h.options;
|
|
106
106
|
}
|
|
107
107
|
update(e, t) {
|
|
108
108
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
109
|
-
return
|
|
109
|
+
return f("unary", this._transport, n, r, e);
|
|
110
110
|
}
|
|
111
|
-
},
|
|
111
|
+
}, _ = new class extends t {
|
|
112
112
|
constructor() {
|
|
113
113
|
super("sagittarius_rails.ModuleUpdateRequest", [{
|
|
114
114
|
no: 1,
|
|
115
115
|
name: "modules",
|
|
116
116
|
kind: "message",
|
|
117
117
|
repeat: 2,
|
|
118
|
-
T: () =>
|
|
118
|
+
T: () => o
|
|
119
119
|
}, {
|
|
120
120
|
no: 2,
|
|
121
121
|
name: "available_definition_sources",
|
|
@@ -129,32 +129,32 @@ var f = new class extends t {
|
|
|
129
129
|
return t.modules = [], t.availableDefinitionSources = [], e !== void 0 && n(this, t, e), t;
|
|
130
130
|
}
|
|
131
131
|
internalBinaryRead(t, n, r, i) {
|
|
132
|
-
let a = i ?? this.create(),
|
|
133
|
-
for (; t.pos <
|
|
132
|
+
let a = i ?? this.create(), s = t.pos + n;
|
|
133
|
+
for (; t.pos < s;) {
|
|
134
134
|
let [n, i] = t.tag();
|
|
135
135
|
switch (n) {
|
|
136
136
|
case 1:
|
|
137
|
-
a.modules.push(
|
|
137
|
+
a.modules.push(o.internalBinaryRead(t, t.uint32(), r));
|
|
138
138
|
break;
|
|
139
139
|
case 2:
|
|
140
140
|
a.availableDefinitionSources.push(t.string());
|
|
141
141
|
break;
|
|
142
142
|
default:
|
|
143
|
-
let
|
|
144
|
-
if (
|
|
145
|
-
let
|
|
146
|
-
|
|
143
|
+
let s = r.readUnknownField;
|
|
144
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
145
|
+
let c = t.skip(i);
|
|
146
|
+
s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
return a;
|
|
150
150
|
}
|
|
151
151
|
internalBinaryWrite(t, n, i) {
|
|
152
|
-
for (let e = 0; e < t.modules.length; e++)
|
|
152
|
+
for (let e = 0; e < t.modules.length; e++) o.internalBinaryWrite(t.modules[e], n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
153
153
|
for (let e = 0; e < t.availableDefinitionSources.length; e++) n.tag(2, r.LengthDelimited).string(t.availableDefinitionSources[e]);
|
|
154
154
|
let a = i.writeUnknownFields;
|
|
155
155
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
156
156
|
}
|
|
157
|
-
}(),
|
|
157
|
+
}(), v = new class extends t {
|
|
158
158
|
constructor() {
|
|
159
159
|
super("sagittarius_rails.ModuleUpdateResponse", [{
|
|
160
160
|
no: 1,
|
|
@@ -165,7 +165,7 @@ var f = new class extends t {
|
|
|
165
165
|
no: 2,
|
|
166
166
|
name: "error",
|
|
167
167
|
kind: "message",
|
|
168
|
-
T: () =>
|
|
168
|
+
T: () => u
|
|
169
169
|
}]);
|
|
170
170
|
}
|
|
171
171
|
create(e) {
|
|
@@ -173,55 +173,62 @@ var f = new class extends t {
|
|
|
173
173
|
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
174
174
|
}
|
|
175
175
|
internalBinaryRead(t, n, r, i) {
|
|
176
|
-
let a = i ?? this.create(),
|
|
177
|
-
for (; t.pos <
|
|
176
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
177
|
+
for (; t.pos < o;) {
|
|
178
178
|
let [n, i] = t.tag();
|
|
179
179
|
switch (n) {
|
|
180
180
|
case 1:
|
|
181
181
|
a.success = t.bool();
|
|
182
182
|
break;
|
|
183
183
|
case 2:
|
|
184
|
-
a.error =
|
|
184
|
+
a.error = u.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
185
185
|
break;
|
|
186
186
|
default:
|
|
187
|
-
let
|
|
188
|
-
if (
|
|
189
|
-
let
|
|
190
|
-
|
|
187
|
+
let o = r.readUnknownField;
|
|
188
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
189
|
+
let s = t.skip(i);
|
|
190
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
return a;
|
|
194
194
|
}
|
|
195
195
|
internalBinaryWrite(t, n, i) {
|
|
196
|
-
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error &&
|
|
196
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && u.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
197
197
|
let a = i.writeUnknownFields;
|
|
198
198
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
199
199
|
}
|
|
200
|
-
}(),
|
|
200
|
+
}(), y = new d("sagittarius_rails.ModuleService", [{
|
|
201
201
|
name: "Update",
|
|
202
202
|
options: {},
|
|
203
|
-
I:
|
|
204
|
-
O:
|
|
205
|
-
}]),
|
|
203
|
+
I: _,
|
|
204
|
+
O: v
|
|
205
|
+
}]), b = class {
|
|
206
206
|
constructor(e) {
|
|
207
|
-
this._transport = e, this.typeName =
|
|
207
|
+
this._transport = e, this.typeName = y.typeName, this.methods = y.methods, this.options = y.options;
|
|
208
208
|
}
|
|
209
209
|
update(e, t) {
|
|
210
210
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
211
|
-
return
|
|
211
|
+
return f("unary", this._transport, n, r, e);
|
|
212
212
|
}
|
|
213
|
-
},
|
|
213
|
+
}, x = new class extends t {
|
|
214
214
|
constructor() {
|
|
215
215
|
super("sagittarius_rails.RuntimeStatusUpdateRequest", [{
|
|
216
216
|
no: 1,
|
|
217
|
-
name: "
|
|
217
|
+
name: "module_status",
|
|
218
218
|
kind: "message",
|
|
219
|
+
oneof: "status",
|
|
219
220
|
T: () => l
|
|
221
|
+
}, {
|
|
222
|
+
no: 2,
|
|
223
|
+
name: "runtime_status",
|
|
224
|
+
kind: "message",
|
|
225
|
+
oneof: "status",
|
|
226
|
+
T: () => c
|
|
220
227
|
}]);
|
|
221
228
|
}
|
|
222
229
|
create(e) {
|
|
223
230
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
224
|
-
return e !== void 0 && n(this, t, e), t;
|
|
231
|
+
return t.status = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
225
232
|
}
|
|
226
233
|
internalBinaryRead(t, n, r, i) {
|
|
227
234
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -229,7 +236,16 @@ var f = new class extends t {
|
|
|
229
236
|
let [n, i] = t.tag();
|
|
230
237
|
switch (n) {
|
|
231
238
|
case 1:
|
|
232
|
-
a.status =
|
|
239
|
+
a.status = {
|
|
240
|
+
oneofKind: "moduleStatus",
|
|
241
|
+
moduleStatus: l.internalBinaryRead(t, t.uint32(), r, a.status.moduleStatus)
|
|
242
|
+
};
|
|
243
|
+
break;
|
|
244
|
+
case 2:
|
|
245
|
+
a.status = {
|
|
246
|
+
oneofKind: "runtimeStatus",
|
|
247
|
+
runtimeStatus: c.internalBinaryRead(t, t.uint32(), r, a.status.runtimeStatus)
|
|
248
|
+
};
|
|
233
249
|
break;
|
|
234
250
|
default:
|
|
235
251
|
let o = r.readUnknownField;
|
|
@@ -241,11 +257,11 @@ var f = new class extends t {
|
|
|
241
257
|
return a;
|
|
242
258
|
}
|
|
243
259
|
internalBinaryWrite(t, n, i) {
|
|
244
|
-
t.status && l.internalBinaryWrite(t.status, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
260
|
+
t.status.oneofKind === "moduleStatus" && l.internalBinaryWrite(t.status.moduleStatus, n.tag(1, r.LengthDelimited).fork(), i).join(), t.status.oneofKind === "runtimeStatus" && c.internalBinaryWrite(t.status.runtimeStatus, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
245
261
|
let a = i.writeUnknownFields;
|
|
246
262
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
247
263
|
}
|
|
248
|
-
}(),
|
|
264
|
+
}(), S = new class extends t {
|
|
249
265
|
constructor() {
|
|
250
266
|
super("sagittarius_rails.RuntimeStatusUpdateResponse", [{
|
|
251
267
|
no: 1,
|
|
@@ -256,7 +272,7 @@ var f = new class extends t {
|
|
|
256
272
|
no: 2,
|
|
257
273
|
name: "error",
|
|
258
274
|
kind: "message",
|
|
259
|
-
T: () =>
|
|
275
|
+
T: () => u
|
|
260
276
|
}]);
|
|
261
277
|
}
|
|
262
278
|
create(e) {
|
|
@@ -264,44 +280,44 @@ var f = new class extends t {
|
|
|
264
280
|
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
265
281
|
}
|
|
266
282
|
internalBinaryRead(t, n, r, i) {
|
|
267
|
-
let a = i ?? this.create(),
|
|
268
|
-
for (; t.pos <
|
|
283
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
284
|
+
for (; t.pos < o;) {
|
|
269
285
|
let [n, i] = t.tag();
|
|
270
286
|
switch (n) {
|
|
271
287
|
case 1:
|
|
272
288
|
a.success = t.bool();
|
|
273
289
|
break;
|
|
274
290
|
case 2:
|
|
275
|
-
a.error =
|
|
291
|
+
a.error = u.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
276
292
|
break;
|
|
277
293
|
default:
|
|
278
|
-
let
|
|
279
|
-
if (
|
|
280
|
-
let
|
|
281
|
-
|
|
294
|
+
let o = r.readUnknownField;
|
|
295
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
296
|
+
let s = t.skip(i);
|
|
297
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
282
298
|
}
|
|
283
299
|
}
|
|
284
300
|
return a;
|
|
285
301
|
}
|
|
286
302
|
internalBinaryWrite(t, n, i) {
|
|
287
|
-
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error &&
|
|
303
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && u.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
288
304
|
let a = i.writeUnknownFields;
|
|
289
305
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
290
306
|
}
|
|
291
|
-
}(),
|
|
307
|
+
}(), C = new d("sagittarius_rails.RuntimeStatusService", [{
|
|
292
308
|
name: "Update",
|
|
293
309
|
options: {},
|
|
294
|
-
I:
|
|
295
|
-
O:
|
|
296
|
-
}]),
|
|
310
|
+
I: x,
|
|
311
|
+
O: S
|
|
312
|
+
}]), w = class {
|
|
297
313
|
constructor(e) {
|
|
298
|
-
this._transport = e, this.typeName =
|
|
314
|
+
this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
|
|
299
315
|
}
|
|
300
316
|
update(e, t) {
|
|
301
317
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
302
|
-
return
|
|
318
|
+
return f("unary", this._transport, n, r, e);
|
|
303
319
|
}
|
|
304
|
-
},
|
|
320
|
+
}, T = new class extends t {
|
|
305
321
|
constructor() {
|
|
306
322
|
super("sagittarius_rails.ExecutionRequest", [{
|
|
307
323
|
no: 1,
|
|
@@ -336,7 +352,7 @@ var f = new class extends t {
|
|
|
336
352
|
let a = i.writeUnknownFields;
|
|
337
353
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
338
354
|
}
|
|
339
|
-
}(),
|
|
355
|
+
}(), E = new class extends t {
|
|
340
356
|
constructor() {
|
|
341
357
|
super("sagittarius_rails.ExecutionResponse", [{
|
|
342
358
|
no: 1,
|
|
@@ -347,7 +363,7 @@ var f = new class extends t {
|
|
|
347
363
|
no: 2,
|
|
348
364
|
name: "error",
|
|
349
365
|
kind: "message",
|
|
350
|
-
T: () =>
|
|
366
|
+
T: () => u
|
|
351
367
|
}]);
|
|
352
368
|
}
|
|
353
369
|
create(e) {
|
|
@@ -355,44 +371,44 @@ var f = new class extends t {
|
|
|
355
371
|
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
356
372
|
}
|
|
357
373
|
internalBinaryRead(t, n, r, i) {
|
|
358
|
-
let a = i ?? this.create(),
|
|
359
|
-
for (; t.pos <
|
|
374
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
375
|
+
for (; t.pos < o;) {
|
|
360
376
|
let [n, i] = t.tag();
|
|
361
377
|
switch (n) {
|
|
362
378
|
case 1:
|
|
363
379
|
a.success = t.bool();
|
|
364
380
|
break;
|
|
365
381
|
case 2:
|
|
366
|
-
a.error =
|
|
382
|
+
a.error = u.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
367
383
|
break;
|
|
368
384
|
default:
|
|
369
|
-
let
|
|
370
|
-
if (
|
|
371
|
-
let
|
|
372
|
-
|
|
385
|
+
let o = r.readUnknownField;
|
|
386
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
387
|
+
let s = t.skip(i);
|
|
388
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
373
389
|
}
|
|
374
390
|
}
|
|
375
391
|
return a;
|
|
376
392
|
}
|
|
377
393
|
internalBinaryWrite(t, n, i) {
|
|
378
|
-
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error &&
|
|
394
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && u.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
379
395
|
let a = i.writeUnknownFields;
|
|
380
396
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
381
397
|
}
|
|
382
|
-
}(),
|
|
398
|
+
}(), D = new d("sagittarius_rails.ExecutionService", [{
|
|
383
399
|
name: "Update",
|
|
384
400
|
options: {},
|
|
385
|
-
I:
|
|
386
|
-
O:
|
|
387
|
-
}]),
|
|
401
|
+
I: T,
|
|
402
|
+
O: E
|
|
403
|
+
}]), O = class {
|
|
388
404
|
constructor(e) {
|
|
389
|
-
this._transport = e, this.typeName =
|
|
405
|
+
this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
|
|
390
406
|
}
|
|
391
407
|
update(e, t) {
|
|
392
408
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
393
|
-
return
|
|
409
|
+
return f("unary", this._transport, n, r, e);
|
|
394
410
|
}
|
|
395
|
-
},
|
|
411
|
+
}, k = new class extends t {
|
|
396
412
|
constructor() {
|
|
397
413
|
super("sagittarius_rails.TokenVerifyRequest", [{
|
|
398
414
|
no: 1,
|
|
@@ -427,20 +443,20 @@ var f = new class extends t {
|
|
|
427
443
|
let a = i.writeUnknownFields;
|
|
428
444
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
429
445
|
}
|
|
430
|
-
}(),
|
|
446
|
+
}(), A = new class extends t {
|
|
431
447
|
constructor() {
|
|
432
448
|
super("sagittarius_rails.TokenVerifyResponse", [{
|
|
433
449
|
no: 1,
|
|
434
450
|
name: "verified",
|
|
435
451
|
kind: "message",
|
|
436
452
|
oneof: "data",
|
|
437
|
-
T: () =>
|
|
453
|
+
T: () => j
|
|
438
454
|
}, {
|
|
439
455
|
no: 2,
|
|
440
456
|
name: "unverified",
|
|
441
457
|
kind: "message",
|
|
442
458
|
oneof: "data",
|
|
443
|
-
T: () =>
|
|
459
|
+
T: () => M
|
|
444
460
|
}]);
|
|
445
461
|
}
|
|
446
462
|
create(e) {
|
|
@@ -455,13 +471,13 @@ var f = new class extends t {
|
|
|
455
471
|
case 1:
|
|
456
472
|
a.data = {
|
|
457
473
|
oneofKind: "verified",
|
|
458
|
-
verified:
|
|
474
|
+
verified: j.internalBinaryRead(t, t.uint32(), r, a.data.verified)
|
|
459
475
|
};
|
|
460
476
|
break;
|
|
461
477
|
case 2:
|
|
462
478
|
a.data = {
|
|
463
479
|
oneofKind: "unverified",
|
|
464
|
-
unverified:
|
|
480
|
+
unverified: M.internalBinaryRead(t, t.uint32(), r, a.data.unverified)
|
|
465
481
|
};
|
|
466
482
|
break;
|
|
467
483
|
default:
|
|
@@ -474,11 +490,11 @@ var f = new class extends t {
|
|
|
474
490
|
return a;
|
|
475
491
|
}
|
|
476
492
|
internalBinaryWrite(t, n, i) {
|
|
477
|
-
t.data.oneofKind === "verified" &&
|
|
493
|
+
t.data.oneofKind === "verified" && j.internalBinaryWrite(t.data.verified, n.tag(1, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "unverified" && M.internalBinaryWrite(t.data.unverified, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
478
494
|
let a = i.writeUnknownFields;
|
|
479
495
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
480
496
|
}
|
|
481
|
-
}(),
|
|
497
|
+
}(), j = new class extends t {
|
|
482
498
|
constructor() {
|
|
483
499
|
super("sagittarius_rails.VerifiedRuntime", [{
|
|
484
500
|
no: 1,
|
|
@@ -514,7 +530,7 @@ var f = new class extends t {
|
|
|
514
530
|
let a = i.writeUnknownFields;
|
|
515
531
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
516
532
|
}
|
|
517
|
-
}(),
|
|
533
|
+
}(), M = new class extends t {
|
|
518
534
|
constructor() {
|
|
519
535
|
super("sagittarius_rails.UnverifiedRuntime", []);
|
|
520
536
|
}
|
|
@@ -540,19 +556,19 @@ var f = new class extends t {
|
|
|
540
556
|
let i = r.writeUnknownFields;
|
|
541
557
|
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
542
558
|
}
|
|
543
|
-
}(),
|
|
559
|
+
}(), N = new d("sagittarius_rails.TokenService", [{
|
|
544
560
|
name: "Verify",
|
|
545
561
|
options: {},
|
|
546
|
-
I:
|
|
547
|
-
O:
|
|
548
|
-
}]),
|
|
562
|
+
I: k,
|
|
563
|
+
O: A
|
|
564
|
+
}]), P = class {
|
|
549
565
|
constructor(e) {
|
|
550
|
-
this._transport = e, this.typeName =
|
|
566
|
+
this._transport = e, this.typeName = N.typeName, this.methods = N.methods, this.options = N.options;
|
|
551
567
|
}
|
|
552
568
|
verify(e, t) {
|
|
553
569
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
554
|
-
return
|
|
570
|
+
return f("unary", this._transport, n, r, e);
|
|
555
571
|
}
|
|
556
572
|
};
|
|
557
573
|
//#endregion
|
|
558
|
-
export {
|
|
574
|
+
export { T as ExecutionRequest, E as ExecutionResponse, D as ExecutionService, O as ExecutionServiceClient, p as FlowLogonRequest, m as FlowResponse, h as FlowService, g as FlowServiceClient, y as ModuleService, b as ModuleServiceClient, _ as ModuleUpdateRequest, v as ModuleUpdateResponse, C as RuntimeStatusService, w as RuntimeStatusServiceClient, x as RuntimeStatusUpdateRequest, S as RuntimeStatusUpdateResponse, N as TokenService, P as TokenServiceClient, k as TokenVerifyRequest, A as TokenVerifyResponse, M as UnverifiedRuntime, j as VerifiedRuntime };
|
package/dist/shared.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-BxQgyP8l.cjs"),t=require("./shared.runtime_status_pb-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-BxQgyP8l.cjs"),t=require("./shared.runtime_status_pb-v763gk52.cjs");exports.DataTypeNumberRangeRuleConfig=e.E,exports.DataTypeRegexRuleConfig=e.D,exports.DefinitionDataType=e.O,exports.DefinitionDataTypeRule=e.k,exports.Endpoint=t.i,exports.Error=t.y,exports.ExecutionDataType=e.A,exports.ExecutionDataTypeRule=e.j,exports.ExecutionFlow=e.o,exports.ExecutionResult=t.g,exports.FlowInput=e.s,exports.FlowSetting=e.c,exports.FlowType=e.r,exports.FlowTypeSetting=e.i,exports.FlowTypeSetting_UniquenessScope=e.a,exports.Flows=e.l,exports.FunctionDefinition=e.t,exports.GenerationFlow=e.u,exports.InputType=e.d,exports.ListValue=e.x,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.t,exports.ModuleStatus_StatusVariant=t.n,exports.NodeExecutionResult=t._,exports.NodeFunction=e.f,exports.NodeParameter=e.p,exports.NodeParameterNodeExecutionResult=t.v,exports.NodeValue=e.m,exports.NullValue=e.S,exports.NumberValue=e.C,exports.ParameterDefinition=e.n,exports.ReferencePath=e.h,exports.ReferenceValue=e.g,exports.RuntimeFlowType=t.d,exports.RuntimeFlowTypeSetting=t.f,exports.RuntimeFlowTypeSetting_UniquenessScope=t.p,exports.RuntimeFunctionDefinition=t.m,exports.RuntimeParameterDefinition=t.h,exports.RuntimeStatus=t.r,exports.ServiceActiveModelError=t.b,exports.ServiceError=t.x,exports.ServiceErrorDetails=t.S,exports.Struct=e.w,exports.SubFlow=e._,exports.SubFlowFunction=e.v,exports.SubFlowSetting=e.y,exports.Translation=e.M,exports.ValidationFlow=e.b,exports.Value=e.T;
|
package/dist/shared.es.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { A as e, C as t, D as n, E as r, M as i, O as a, S as o, T as s, _ as c, a as l, b as u, c as d, d as f, f as p, g as m, h, i as g, j as _, k as v, l as y, m as b, n as x, o as S, p as C, r as w, s as T, t as E, u as D, v as O, w as k, x as A, y as j } from "./shared.function_pb-CPUNe7pa.js";
|
|
2
|
-
import {
|
|
3
|
-
export { r as DataTypeNumberRangeRuleConfig, n as DataTypeRegexRuleConfig, a as DefinitionDataType, v as DefinitionDataTypeRule,
|
|
2
|
+
import { S as M, _ as N, a as P, b as F, c as I, d as L, f as R, g as z, h as B, i as V, l as H, m as U, n as W, o as G, p as K, r as q, s as J, t as Y, u as X, v as Z, x as Q, y as $ } from "./shared.runtime_status_pb-CP15pmbi.js";
|
|
3
|
+
export { r as DataTypeNumberRangeRuleConfig, n as DataTypeRegexRuleConfig, a as DefinitionDataType, v as DefinitionDataTypeRule, V as Endpoint, $ as Error, e as ExecutionDataType, _ as ExecutionDataTypeRule, S as ExecutionFlow, z as ExecutionResult, T as FlowInput, d as FlowSetting, w as FlowType, g as FlowTypeSetting, l as FlowTypeSetting_UniquenessScope, y as Flows, E as FunctionDefinition, D as GenerationFlow, f as InputType, A as ListValue, P as Module, G as ModuleConfiguration, J as ModuleConfigurationDefinition, I as ModuleConfigurations, H as ModuleDefinition, X as ModuleProjectConfigurations, Y as ModuleStatus, W as ModuleStatus_StatusVariant, N as NodeExecutionResult, p as NodeFunction, C as NodeParameter, Z as NodeParameterNodeExecutionResult, b as NodeValue, o as NullValue, t as NumberValue, x as ParameterDefinition, h as ReferencePath, m as ReferenceValue, L as RuntimeFlowType, R as RuntimeFlowTypeSetting, K as RuntimeFlowTypeSetting_UniquenessScope, U as RuntimeFunctionDefinition, B as RuntimeParameterDefinition, q as RuntimeStatus, F as ServiceActiveModelError, Q as ServiceError, M as ServiceErrorDetails, k as Struct, c as SubFlow, O as SubFlowFunction, j as SubFlowSetting, i as Translation, u as ValidationFlow, s as Value };
|
|
@@ -1590,6 +1590,42 @@ var u = new class extends n {
|
|
|
1590
1590
|
}(), k = /* @__PURE__ */ function(e) {
|
|
1591
1591
|
return e[e.UNKNOWN = 0] = "UNKNOWN", e[e.NOT_RESPONDING = 1] = "NOT_RESPONDING", e[e.NOT_READY = 2] = "NOT_READY", e[e.RUNNING = 3] = "RUNNING", e[e.STOPPED = 4] = "STOPPED", e;
|
|
1592
1592
|
}({}), A = new class extends n {
|
|
1593
|
+
constructor() {
|
|
1594
|
+
super("shared.RuntimeStatus", [{
|
|
1595
|
+
no: 1,
|
|
1596
|
+
name: "timestamp",
|
|
1597
|
+
kind: "scalar",
|
|
1598
|
+
T: 3,
|
|
1599
|
+
L: 0
|
|
1600
|
+
}]);
|
|
1601
|
+
}
|
|
1602
|
+
create(e) {
|
|
1603
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
1604
|
+
return t.timestamp = 0n, e !== void 0 && i(this, t, e), t;
|
|
1605
|
+
}
|
|
1606
|
+
internalBinaryRead(t, n, r, i) {
|
|
1607
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
1608
|
+
for (; t.pos < o;) {
|
|
1609
|
+
let [n, i] = t.tag();
|
|
1610
|
+
switch (n) {
|
|
1611
|
+
case 1:
|
|
1612
|
+
a.timestamp = t.int64().toBigInt();
|
|
1613
|
+
break;
|
|
1614
|
+
default:
|
|
1615
|
+
let o = r.readUnknownField;
|
|
1616
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
1617
|
+
let s = t.skip(i);
|
|
1618
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
return a;
|
|
1622
|
+
}
|
|
1623
|
+
internalBinaryWrite(t, n, r) {
|
|
1624
|
+
t.timestamp !== 0n && n.tag(1, a.Varint).int64(t.timestamp);
|
|
1625
|
+
let i = r.writeUnknownFields;
|
|
1626
|
+
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
1627
|
+
}
|
|
1628
|
+
}(), j = new class extends n {
|
|
1593
1629
|
constructor() {
|
|
1594
1630
|
super("shared.ModuleStatus", [
|
|
1595
1631
|
{
|
|
@@ -1647,4 +1683,4 @@ var u = new class extends n {
|
|
|
1647
1683
|
}
|
|
1648
1684
|
}();
|
|
1649
1685
|
//#endregion
|
|
1650
|
-
export {
|
|
1686
|
+
export { d as S, h as _, S as a, f as b, D as c, b as d, x as f, g, v as h, w as i, C as l, _ as m, k as n, T as o, y as p, A as r, O as s, j as t, E as u, m as v, u as x, p as y };
|