@code0-tech/tucana 0.0.77 → 0.0.79
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 +751 -209
- package/dist/pb/_generated/aquila.action_pb.d.ts +353 -4
- package/dist/pb/_generated/sagittarius_gateway.module_pb.d.ts +6 -0
- package/dist/pb/_generated/sagittarius_rails.module_pb.d.ts +2 -2
- package/dist/pb/_generated/shared.flow_pb.d.ts +42 -26
- package/dist/pb/_generated/shared.struct_pb.d.ts +1 -1
- package/dist/{rpc-interceptor-giFADd4b.cjs → rpc-interceptor-D-IMsC9l.cjs} +1 -1
- package/dist/{rpc-interceptor-d3qh7P9n.js → rpc-interceptor-D0l4GO-c.js} +1 -1
- package/dist/sagittarius_gateway.cjs.js +1 -1
- package/dist/sagittarius_gateway.es.js +255 -246
- package/dist/sagittarius_rails.cjs.js +1 -1
- package/dist/sagittarius_rails.es.js +182 -183
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +3 -4
- package/dist/shared.function_pb-BxQgyP8l.cjs +2 -0
- package/dist/{shared.function_pb-Caz-4jvi.js → shared.function_pb-CPUNe7pa.js} +1537 -485
- package/dist/shared.runtime_status_pb-5unRZGw5.js +1650 -0
- package/dist/{shared.runtime_status_pb-BEEvFfe8.cjs → shared.runtime_status_pb-BlKabFnb.cjs} +1 -1
- package/dist/velorum.cjs.js +1 -1
- package/dist/velorum.es.js +114 -115
- package/package.json +1 -1
- package/dist/shared.flow_pb-DdVuFKPW.js +0 -1019
- package/dist/shared.flow_pb-clFvPGyv.cjs +0 -1
- package/dist/shared.function_pb-C8cj-NCz.cjs +0 -2
- package/dist/shared.runtime_status_pb-D7hH22xO.js +0 -1650
|
@@ -1,34 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
var f = new class extends n {
|
|
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 { b as o, h as s, i as c, t as l } from "./shared.runtime_status_pb-5unRZGw5.js";
|
|
3
|
+
import { n as u, t as d } from "./rpc-interceptor-D0l4GO-c.js";
|
|
4
|
+
var f = new class extends t {
|
|
6
5
|
constructor() {
|
|
7
6
|
super("sagittarius_rails.FlowLogonRequest", []);
|
|
8
7
|
}
|
|
9
8
|
create(e) {
|
|
10
9
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
11
|
-
return e !== void 0 &&
|
|
10
|
+
return e !== void 0 && n(this, t, e), t;
|
|
12
11
|
}
|
|
13
|
-
internalBinaryRead(
|
|
14
|
-
let a = i ?? this.create(), o =
|
|
15
|
-
for (;
|
|
16
|
-
let [n, i] =
|
|
12
|
+
internalBinaryRead(t, n, r, i) {
|
|
13
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
14
|
+
for (; t.pos < o;) {
|
|
15
|
+
let [n, i] = t.tag();
|
|
17
16
|
switch (n) {
|
|
18
17
|
default:
|
|
19
18
|
let o = r.readUnknownField;
|
|
20
19
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
21
|
-
let s =
|
|
22
|
-
o !== !1 && (o === !0 ?
|
|
20
|
+
let s = t.skip(i);
|
|
21
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
24
|
return a;
|
|
26
25
|
}
|
|
27
|
-
internalBinaryWrite(
|
|
26
|
+
internalBinaryWrite(t, n, r) {
|
|
28
27
|
let i = r.writeUnknownFields;
|
|
29
|
-
return i !== !1 && (i == 1 ?
|
|
28
|
+
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
30
29
|
}
|
|
31
|
-
}(), p = new class extends
|
|
30
|
+
}(), p = new class extends t {
|
|
32
31
|
constructor() {
|
|
33
32
|
super("sagittarius_rails.FlowResponse", [
|
|
34
33
|
{
|
|
@@ -36,7 +35,7 @@ var f = new class extends n {
|
|
|
36
35
|
name: "updated_flow",
|
|
37
36
|
kind: "message",
|
|
38
37
|
oneof: "data",
|
|
39
|
-
T: () =>
|
|
38
|
+
T: () => i
|
|
40
39
|
},
|
|
41
40
|
{
|
|
42
41
|
no: 2,
|
|
@@ -51,50 +50,50 @@ var f = new class extends n {
|
|
|
51
50
|
name: "flows",
|
|
52
51
|
kind: "message",
|
|
53
52
|
oneof: "data",
|
|
54
|
-
T: () =>
|
|
53
|
+
T: () => a
|
|
55
54
|
}
|
|
56
55
|
]);
|
|
57
56
|
}
|
|
58
57
|
create(e) {
|
|
59
58
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
60
|
-
return t.data = { oneofKind: void 0 }, e !== void 0 &&
|
|
59
|
+
return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
61
60
|
}
|
|
62
|
-
internalBinaryRead(
|
|
63
|
-
let
|
|
64
|
-
for (;
|
|
65
|
-
let [n,
|
|
61
|
+
internalBinaryRead(t, n, r, o) {
|
|
62
|
+
let s = o ?? this.create(), c = t.pos + n;
|
|
63
|
+
for (; t.pos < c;) {
|
|
64
|
+
let [n, o] = t.tag();
|
|
66
65
|
switch (n) {
|
|
67
66
|
case 1:
|
|
68
|
-
|
|
67
|
+
s.data = {
|
|
69
68
|
oneofKind: "updatedFlow",
|
|
70
|
-
updatedFlow:
|
|
69
|
+
updatedFlow: i.internalBinaryRead(t, t.uint32(), r, s.data.updatedFlow)
|
|
71
70
|
};
|
|
72
71
|
break;
|
|
73
72
|
case 2:
|
|
74
|
-
|
|
73
|
+
s.data = {
|
|
75
74
|
oneofKind: "deletedFlowId",
|
|
76
|
-
deletedFlowId:
|
|
75
|
+
deletedFlowId: t.int64().toBigInt()
|
|
77
76
|
};
|
|
78
77
|
break;
|
|
79
78
|
case 3:
|
|
80
|
-
|
|
79
|
+
s.data = {
|
|
81
80
|
oneofKind: "flows",
|
|
82
|
-
flows:
|
|
81
|
+
flows: a.internalBinaryRead(t, t.uint32(), r, s.data.flows)
|
|
83
82
|
};
|
|
84
83
|
break;
|
|
85
84
|
default:
|
|
86
|
-
let
|
|
87
|
-
if (
|
|
88
|
-
let
|
|
89
|
-
|
|
85
|
+
let c = r.readUnknownField;
|
|
86
|
+
if (c === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${o}) for ${this.typeName}`);
|
|
87
|
+
let l = t.skip(o);
|
|
88
|
+
c !== !1 && (c === !0 ? e.onRead : c)(this.typeName, s, n, o, l);
|
|
90
89
|
}
|
|
91
90
|
}
|
|
92
|
-
return
|
|
91
|
+
return s;
|
|
93
92
|
}
|
|
94
|
-
internalBinaryWrite(
|
|
95
|
-
|
|
96
|
-
let
|
|
97
|
-
return
|
|
93
|
+
internalBinaryWrite(t, n, o) {
|
|
94
|
+
t.data.oneofKind === "updatedFlow" && i.internalBinaryWrite(t.data.updatedFlow, n.tag(1, r.LengthDelimited).fork(), o).join(), t.data.oneofKind === "deletedFlowId" && n.tag(2, r.Varint).int64(t.data.deletedFlowId), t.data.oneofKind === "flows" && a.internalBinaryWrite(t.data.flows, n.tag(3, r.LengthDelimited).fork(), o).join();
|
|
95
|
+
let s = o.writeUnknownFields;
|
|
96
|
+
return s !== !1 && (s == 1 ? e.onWrite : s)(this.typeName, t, n), n;
|
|
98
97
|
}
|
|
99
98
|
}(), m = new u("sagittarius_rails.FlowService", [{
|
|
100
99
|
name: "Update",
|
|
@@ -109,17 +108,17 @@ var f = new class extends n {
|
|
|
109
108
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
110
109
|
return d("unary", this._transport, n, r, e);
|
|
111
110
|
}
|
|
112
|
-
}, g = new class extends
|
|
111
|
+
}, g = new class extends t {
|
|
113
112
|
constructor() {
|
|
114
113
|
super("sagittarius_rails.ModuleUpdateRequest", [{
|
|
115
114
|
no: 1,
|
|
116
115
|
name: "modules",
|
|
117
116
|
kind: "message",
|
|
118
117
|
repeat: 2,
|
|
119
|
-
T: () =>
|
|
118
|
+
T: () => c
|
|
120
119
|
}, {
|
|
121
120
|
no: 2,
|
|
122
|
-
name: "
|
|
121
|
+
name: "available_definition_sources",
|
|
123
122
|
kind: "scalar",
|
|
124
123
|
repeat: 2,
|
|
125
124
|
T: 9
|
|
@@ -127,35 +126,35 @@ var f = new class extends n {
|
|
|
127
126
|
}
|
|
128
127
|
create(e) {
|
|
129
128
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
130
|
-
return t.modules = [], t.
|
|
129
|
+
return t.modules = [], t.availableDefinitionSources = [], e !== void 0 && n(this, t, e), t;
|
|
131
130
|
}
|
|
132
|
-
internalBinaryRead(
|
|
133
|
-
let a = i ?? this.create(),
|
|
134
|
-
for (;
|
|
135
|
-
let [n, i] =
|
|
131
|
+
internalBinaryRead(t, n, r, i) {
|
|
132
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
133
|
+
for (; t.pos < o;) {
|
|
134
|
+
let [n, i] = t.tag();
|
|
136
135
|
switch (n) {
|
|
137
136
|
case 1:
|
|
138
|
-
a.modules.push(
|
|
137
|
+
a.modules.push(c.internalBinaryRead(t, t.uint32(), r));
|
|
139
138
|
break;
|
|
140
139
|
case 2:
|
|
141
|
-
a.
|
|
140
|
+
a.availableDefinitionSources.push(t.string());
|
|
142
141
|
break;
|
|
143
142
|
default:
|
|
144
|
-
let
|
|
145
|
-
if (
|
|
146
|
-
let
|
|
147
|
-
|
|
143
|
+
let o = r.readUnknownField;
|
|
144
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
145
|
+
let s = t.skip(i);
|
|
146
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
return a;
|
|
151
150
|
}
|
|
152
|
-
internalBinaryWrite(
|
|
153
|
-
for (let
|
|
154
|
-
for (let
|
|
151
|
+
internalBinaryWrite(t, n, i) {
|
|
152
|
+
for (let e = 0; e < t.modules.length; e++) c.internalBinaryWrite(t.modules[e], n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
153
|
+
for (let e = 0; e < t.availableDefinitionSources.length; e++) n.tag(2, r.LengthDelimited).string(t.availableDefinitionSources[e]);
|
|
155
154
|
let a = i.writeUnknownFields;
|
|
156
|
-
return a !== !1 && (a == 1 ?
|
|
155
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
157
156
|
}
|
|
158
|
-
}(), _ = new class extends
|
|
157
|
+
}(), _ = new class extends t {
|
|
159
158
|
constructor() {
|
|
160
159
|
super("sagittarius_rails.ModuleUpdateResponse", [{
|
|
161
160
|
no: 1,
|
|
@@ -166,37 +165,37 @@ var f = new class extends n {
|
|
|
166
165
|
no: 2,
|
|
167
166
|
name: "error",
|
|
168
167
|
kind: "message",
|
|
169
|
-
T: () =>
|
|
168
|
+
T: () => o
|
|
170
169
|
}]);
|
|
171
170
|
}
|
|
172
171
|
create(e) {
|
|
173
172
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
174
|
-
return t.success = !1, e !== void 0 &&
|
|
173
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
175
174
|
}
|
|
176
|
-
internalBinaryRead(
|
|
177
|
-
let
|
|
178
|
-
for (;
|
|
179
|
-
let [n,
|
|
175
|
+
internalBinaryRead(t, n, r, i) {
|
|
176
|
+
let a = i ?? this.create(), s = t.pos + n;
|
|
177
|
+
for (; t.pos < s;) {
|
|
178
|
+
let [n, i] = t.tag();
|
|
180
179
|
switch (n) {
|
|
181
180
|
case 1:
|
|
182
|
-
|
|
181
|
+
a.success = t.bool();
|
|
183
182
|
break;
|
|
184
183
|
case 2:
|
|
185
|
-
|
|
184
|
+
a.error = o.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
186
185
|
break;
|
|
187
186
|
default:
|
|
188
187
|
let s = r.readUnknownField;
|
|
189
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${
|
|
190
|
-
let c =
|
|
191
|
-
s !== !1 && (s === !0 ?
|
|
188
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
189
|
+
let c = t.skip(i);
|
|
190
|
+
s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
|
|
192
191
|
}
|
|
193
192
|
}
|
|
194
|
-
return
|
|
193
|
+
return a;
|
|
195
194
|
}
|
|
196
|
-
internalBinaryWrite(
|
|
197
|
-
|
|
198
|
-
let
|
|
199
|
-
return
|
|
195
|
+
internalBinaryWrite(t, n, i) {
|
|
196
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && o.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
197
|
+
let a = i.writeUnknownFields;
|
|
198
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
200
199
|
}
|
|
201
200
|
}(), v = new u("sagittarius_rails.ModuleService", [{
|
|
202
201
|
name: "Update",
|
|
@@ -211,42 +210,42 @@ var f = new class extends n {
|
|
|
211
210
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
212
211
|
return d("unary", this._transport, n, r, e);
|
|
213
212
|
}
|
|
214
|
-
}, b = new class extends
|
|
213
|
+
}, b = new class extends t {
|
|
215
214
|
constructor() {
|
|
216
215
|
super("sagittarius_rails.RuntimeStatusUpdateRequest", [{
|
|
217
216
|
no: 1,
|
|
218
217
|
name: "status",
|
|
219
218
|
kind: "message",
|
|
220
|
-
T: () =>
|
|
219
|
+
T: () => l
|
|
221
220
|
}]);
|
|
222
221
|
}
|
|
223
222
|
create(e) {
|
|
224
223
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
225
|
-
return e !== void 0 &&
|
|
224
|
+
return e !== void 0 && n(this, t, e), t;
|
|
226
225
|
}
|
|
227
|
-
internalBinaryRead(
|
|
228
|
-
let a = i ?? this.create(), o =
|
|
229
|
-
for (;
|
|
230
|
-
let [n, i] =
|
|
226
|
+
internalBinaryRead(t, n, r, i) {
|
|
227
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
228
|
+
for (; t.pos < o;) {
|
|
229
|
+
let [n, i] = t.tag();
|
|
231
230
|
switch (n) {
|
|
232
231
|
case 1:
|
|
233
|
-
a.status =
|
|
232
|
+
a.status = l.internalBinaryRead(t, t.uint32(), r, a.status);
|
|
234
233
|
break;
|
|
235
234
|
default:
|
|
236
235
|
let o = r.readUnknownField;
|
|
237
236
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
238
|
-
let
|
|
239
|
-
o !== !1 && (o === !0 ?
|
|
237
|
+
let s = t.skip(i);
|
|
238
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
240
239
|
}
|
|
241
240
|
}
|
|
242
241
|
return a;
|
|
243
242
|
}
|
|
244
|
-
internalBinaryWrite(
|
|
245
|
-
|
|
243
|
+
internalBinaryWrite(t, n, i) {
|
|
244
|
+
t.status && l.internalBinaryWrite(t.status, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
246
245
|
let a = i.writeUnknownFields;
|
|
247
|
-
return a !== !1 && (a == 1 ?
|
|
246
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
248
247
|
}
|
|
249
|
-
}(), x = new class extends
|
|
248
|
+
}(), x = new class extends t {
|
|
250
249
|
constructor() {
|
|
251
250
|
super("sagittarius_rails.RuntimeStatusUpdateResponse", [{
|
|
252
251
|
no: 1,
|
|
@@ -257,37 +256,37 @@ var f = new class extends n {
|
|
|
257
256
|
no: 2,
|
|
258
257
|
name: "error",
|
|
259
258
|
kind: "message",
|
|
260
|
-
T: () =>
|
|
259
|
+
T: () => o
|
|
261
260
|
}]);
|
|
262
261
|
}
|
|
263
262
|
create(e) {
|
|
264
263
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
265
|
-
return t.success = !1, e !== void 0 &&
|
|
264
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
266
265
|
}
|
|
267
|
-
internalBinaryRead(
|
|
268
|
-
let
|
|
269
|
-
for (;
|
|
270
|
-
let [n,
|
|
266
|
+
internalBinaryRead(t, n, r, i) {
|
|
267
|
+
let a = i ?? this.create(), s = t.pos + n;
|
|
268
|
+
for (; t.pos < s;) {
|
|
269
|
+
let [n, i] = t.tag();
|
|
271
270
|
switch (n) {
|
|
272
271
|
case 1:
|
|
273
|
-
|
|
272
|
+
a.success = t.bool();
|
|
274
273
|
break;
|
|
275
274
|
case 2:
|
|
276
|
-
|
|
275
|
+
a.error = o.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
277
276
|
break;
|
|
278
277
|
default:
|
|
279
278
|
let s = r.readUnknownField;
|
|
280
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${
|
|
281
|
-
let c =
|
|
282
|
-
s !== !1 && (s === !0 ?
|
|
279
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
280
|
+
let c = t.skip(i);
|
|
281
|
+
s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
|
|
283
282
|
}
|
|
284
283
|
}
|
|
285
|
-
return
|
|
284
|
+
return a;
|
|
286
285
|
}
|
|
287
|
-
internalBinaryWrite(
|
|
288
|
-
|
|
289
|
-
let
|
|
290
|
-
return
|
|
286
|
+
internalBinaryWrite(t, n, i) {
|
|
287
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && o.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
288
|
+
let a = i.writeUnknownFields;
|
|
289
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
291
290
|
}
|
|
292
291
|
}(), S = new u("sagittarius_rails.RuntimeStatusService", [{
|
|
293
292
|
name: "Update",
|
|
@@ -302,42 +301,42 @@ var f = new class extends n {
|
|
|
302
301
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
303
302
|
return d("unary", this._transport, n, r, e);
|
|
304
303
|
}
|
|
305
|
-
}, w = new class extends
|
|
304
|
+
}, w = new class extends t {
|
|
306
305
|
constructor() {
|
|
307
306
|
super("sagittarius_rails.ExecutionRequest", [{
|
|
308
307
|
no: 1,
|
|
309
308
|
name: "response",
|
|
310
309
|
kind: "message",
|
|
311
|
-
T: () =>
|
|
310
|
+
T: () => s
|
|
312
311
|
}]);
|
|
313
312
|
}
|
|
314
313
|
create(e) {
|
|
315
314
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
316
|
-
return e !== void 0 &&
|
|
315
|
+
return e !== void 0 && n(this, t, e), t;
|
|
317
316
|
}
|
|
318
|
-
internalBinaryRead(
|
|
319
|
-
let
|
|
320
|
-
for (;
|
|
321
|
-
let [n, i] =
|
|
317
|
+
internalBinaryRead(t, n, r, i) {
|
|
318
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
319
|
+
for (; t.pos < o;) {
|
|
320
|
+
let [n, i] = t.tag();
|
|
322
321
|
switch (n) {
|
|
323
322
|
case 1:
|
|
324
|
-
|
|
323
|
+
a.response = s.internalBinaryRead(t, t.uint32(), r, a.response);
|
|
325
324
|
break;
|
|
326
325
|
default:
|
|
327
|
-
let
|
|
328
|
-
if (
|
|
329
|
-
let c =
|
|
330
|
-
|
|
326
|
+
let o = r.readUnknownField;
|
|
327
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
328
|
+
let c = t.skip(i);
|
|
329
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, c);
|
|
331
330
|
}
|
|
332
331
|
}
|
|
333
|
-
return
|
|
332
|
+
return a;
|
|
334
333
|
}
|
|
335
|
-
internalBinaryWrite(
|
|
336
|
-
|
|
337
|
-
let
|
|
338
|
-
return
|
|
334
|
+
internalBinaryWrite(t, n, i) {
|
|
335
|
+
t.response && s.internalBinaryWrite(t.response, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
336
|
+
let a = i.writeUnknownFields;
|
|
337
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
339
338
|
}
|
|
340
|
-
}(), T = new class extends
|
|
339
|
+
}(), T = new class extends t {
|
|
341
340
|
constructor() {
|
|
342
341
|
super("sagittarius_rails.ExecutionResponse", [{
|
|
343
342
|
no: 1,
|
|
@@ -348,37 +347,37 @@ var f = new class extends n {
|
|
|
348
347
|
no: 2,
|
|
349
348
|
name: "error",
|
|
350
349
|
kind: "message",
|
|
351
|
-
T: () =>
|
|
350
|
+
T: () => o
|
|
352
351
|
}]);
|
|
353
352
|
}
|
|
354
353
|
create(e) {
|
|
355
354
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
356
|
-
return t.success = !1, e !== void 0 &&
|
|
355
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
357
356
|
}
|
|
358
|
-
internalBinaryRead(
|
|
359
|
-
let
|
|
360
|
-
for (;
|
|
361
|
-
let [n,
|
|
357
|
+
internalBinaryRead(t, n, r, i) {
|
|
358
|
+
let a = i ?? this.create(), s = t.pos + n;
|
|
359
|
+
for (; t.pos < s;) {
|
|
360
|
+
let [n, i] = t.tag();
|
|
362
361
|
switch (n) {
|
|
363
362
|
case 1:
|
|
364
|
-
|
|
363
|
+
a.success = t.bool();
|
|
365
364
|
break;
|
|
366
365
|
case 2:
|
|
367
|
-
|
|
366
|
+
a.error = o.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
368
367
|
break;
|
|
369
368
|
default:
|
|
370
369
|
let s = r.readUnknownField;
|
|
371
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${
|
|
372
|
-
let c =
|
|
373
|
-
s !== !1 && (s === !0 ?
|
|
370
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
371
|
+
let c = t.skip(i);
|
|
372
|
+
s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, a, n, i, c);
|
|
374
373
|
}
|
|
375
374
|
}
|
|
376
|
-
return
|
|
375
|
+
return a;
|
|
377
376
|
}
|
|
378
|
-
internalBinaryWrite(
|
|
379
|
-
|
|
380
|
-
let
|
|
381
|
-
return
|
|
377
|
+
internalBinaryWrite(t, n, i) {
|
|
378
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && o.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
379
|
+
let a = i.writeUnknownFields;
|
|
380
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
382
381
|
}
|
|
383
382
|
}(), E = new u("sagittarius_rails.ExecutionService", [{
|
|
384
383
|
name: "Update",
|
|
@@ -393,7 +392,7 @@ var f = new class extends n {
|
|
|
393
392
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
394
393
|
return d("unary", this._transport, n, r, e);
|
|
395
394
|
}
|
|
396
|
-
}, O = new class extends
|
|
395
|
+
}, O = new class extends t {
|
|
397
396
|
constructor() {
|
|
398
397
|
super("sagittarius_rails.TokenVerifyRequest", [{
|
|
399
398
|
no: 1,
|
|
@@ -404,31 +403,31 @@ var f = new class extends n {
|
|
|
404
403
|
}
|
|
405
404
|
create(e) {
|
|
406
405
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
407
|
-
return t.token = "", e !== void 0 &&
|
|
406
|
+
return t.token = "", e !== void 0 && n(this, t, e), t;
|
|
408
407
|
}
|
|
409
|
-
internalBinaryRead(
|
|
410
|
-
let a = i ?? this.create(), o =
|
|
411
|
-
for (;
|
|
412
|
-
let [n, i] =
|
|
408
|
+
internalBinaryRead(t, n, r, i) {
|
|
409
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
410
|
+
for (; t.pos < o;) {
|
|
411
|
+
let [n, i] = t.tag();
|
|
413
412
|
switch (n) {
|
|
414
413
|
case 1:
|
|
415
|
-
a.token =
|
|
414
|
+
a.token = t.string();
|
|
416
415
|
break;
|
|
417
416
|
default:
|
|
418
417
|
let o = r.readUnknownField;
|
|
419
418
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
420
|
-
let s =
|
|
421
|
-
o !== !1 && (o === !0 ?
|
|
419
|
+
let s = t.skip(i);
|
|
420
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
422
421
|
}
|
|
423
422
|
}
|
|
424
423
|
return a;
|
|
425
424
|
}
|
|
426
|
-
internalBinaryWrite(
|
|
427
|
-
|
|
425
|
+
internalBinaryWrite(t, n, i) {
|
|
426
|
+
t.token !== "" && n.tag(1, r.LengthDelimited).string(t.token);
|
|
428
427
|
let a = i.writeUnknownFields;
|
|
429
|
-
return a !== !1 && (a == 1 ?
|
|
428
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
430
429
|
}
|
|
431
|
-
}(), k = new class extends
|
|
430
|
+
}(), k = new class extends t {
|
|
432
431
|
constructor() {
|
|
433
432
|
super("sagittarius_rails.TokenVerifyResponse", [{
|
|
434
433
|
no: 1,
|
|
@@ -446,40 +445,40 @@ var f = new class extends n {
|
|
|
446
445
|
}
|
|
447
446
|
create(e) {
|
|
448
447
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
449
|
-
return t.data = { oneofKind: void 0 }, e !== void 0 &&
|
|
448
|
+
return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
450
449
|
}
|
|
451
|
-
internalBinaryRead(
|
|
452
|
-
let a = i ?? this.create(), o =
|
|
453
|
-
for (;
|
|
454
|
-
let [n, i] =
|
|
450
|
+
internalBinaryRead(t, n, r, i) {
|
|
451
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
452
|
+
for (; t.pos < o;) {
|
|
453
|
+
let [n, i] = t.tag();
|
|
455
454
|
switch (n) {
|
|
456
455
|
case 1:
|
|
457
456
|
a.data = {
|
|
458
457
|
oneofKind: "verified",
|
|
459
|
-
verified: A.internalBinaryRead(
|
|
458
|
+
verified: A.internalBinaryRead(t, t.uint32(), r, a.data.verified)
|
|
460
459
|
};
|
|
461
460
|
break;
|
|
462
461
|
case 2:
|
|
463
462
|
a.data = {
|
|
464
463
|
oneofKind: "unverified",
|
|
465
|
-
unverified: j.internalBinaryRead(
|
|
464
|
+
unverified: j.internalBinaryRead(t, t.uint32(), r, a.data.unverified)
|
|
466
465
|
};
|
|
467
466
|
break;
|
|
468
467
|
default:
|
|
469
468
|
let o = r.readUnknownField;
|
|
470
469
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
471
|
-
let s =
|
|
472
|
-
o !== !1 && (o === !0 ?
|
|
470
|
+
let s = t.skip(i);
|
|
471
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
473
472
|
}
|
|
474
473
|
}
|
|
475
474
|
return a;
|
|
476
475
|
}
|
|
477
|
-
internalBinaryWrite(
|
|
478
|
-
|
|
476
|
+
internalBinaryWrite(t, n, i) {
|
|
477
|
+
t.data.oneofKind === "verified" && A.internalBinaryWrite(t.data.verified, n.tag(1, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "unverified" && j.internalBinaryWrite(t.data.unverified, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
479
478
|
let a = i.writeUnknownFields;
|
|
480
|
-
return a !== !1 && (a == 1 ?
|
|
479
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
481
480
|
}
|
|
482
|
-
}(), A = new class extends
|
|
481
|
+
}(), A = new class extends t {
|
|
483
482
|
constructor() {
|
|
484
483
|
super("sagittarius_rails.VerifiedRuntime", [{
|
|
485
484
|
no: 1,
|
|
@@ -491,55 +490,55 @@ var f = new class extends n {
|
|
|
491
490
|
}
|
|
492
491
|
create(e) {
|
|
493
492
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
494
|
-
return t.runtimeId = 0n, e !== void 0 &&
|
|
493
|
+
return t.runtimeId = 0n, e !== void 0 && n(this, t, e), t;
|
|
495
494
|
}
|
|
496
|
-
internalBinaryRead(
|
|
497
|
-
let a = i ?? this.create(), o =
|
|
498
|
-
for (;
|
|
499
|
-
let [n, i] =
|
|
495
|
+
internalBinaryRead(t, n, r, i) {
|
|
496
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
497
|
+
for (; t.pos < o;) {
|
|
498
|
+
let [n, i] = t.tag();
|
|
500
499
|
switch (n) {
|
|
501
500
|
case 1:
|
|
502
|
-
a.runtimeId =
|
|
501
|
+
a.runtimeId = t.int64().toBigInt();
|
|
503
502
|
break;
|
|
504
503
|
default:
|
|
505
504
|
let o = r.readUnknownField;
|
|
506
505
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
507
|
-
let s =
|
|
508
|
-
o !== !1 && (o === !0 ?
|
|
506
|
+
let s = t.skip(i);
|
|
507
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
509
508
|
}
|
|
510
509
|
}
|
|
511
510
|
return a;
|
|
512
511
|
}
|
|
513
|
-
internalBinaryWrite(
|
|
514
|
-
|
|
512
|
+
internalBinaryWrite(t, n, i) {
|
|
513
|
+
t.runtimeId !== 0n && n.tag(1, r.Varint).int64(t.runtimeId);
|
|
515
514
|
let a = i.writeUnknownFields;
|
|
516
|
-
return a !== !1 && (a == 1 ?
|
|
515
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
517
516
|
}
|
|
518
|
-
}(), j = new class extends
|
|
517
|
+
}(), j = new class extends t {
|
|
519
518
|
constructor() {
|
|
520
519
|
super("sagittarius_rails.UnverifiedRuntime", []);
|
|
521
520
|
}
|
|
522
521
|
create(e) {
|
|
523
522
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
524
|
-
return e !== void 0 &&
|
|
523
|
+
return e !== void 0 && n(this, t, e), t;
|
|
525
524
|
}
|
|
526
|
-
internalBinaryRead(
|
|
527
|
-
let a = i ?? this.create(), o =
|
|
528
|
-
for (;
|
|
529
|
-
let [n, i] =
|
|
525
|
+
internalBinaryRead(t, n, r, i) {
|
|
526
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
527
|
+
for (; t.pos < o;) {
|
|
528
|
+
let [n, i] = t.tag();
|
|
530
529
|
switch (n) {
|
|
531
530
|
default:
|
|
532
531
|
let o = r.readUnknownField;
|
|
533
532
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
534
|
-
let s =
|
|
535
|
-
o !== !1 && (o === !0 ?
|
|
533
|
+
let s = t.skip(i);
|
|
534
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
536
535
|
}
|
|
537
536
|
}
|
|
538
537
|
return a;
|
|
539
538
|
}
|
|
540
|
-
internalBinaryWrite(
|
|
539
|
+
internalBinaryWrite(t, n, r) {
|
|
541
540
|
let i = r.writeUnknownFields;
|
|
542
|
-
return i !== !1 && (i == 1 ?
|
|
541
|
+
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
543
542
|
}
|
|
544
543
|
}(), M = new u("sagittarius_rails.TokenService", [{
|
|
545
544
|
name: "Verify",
|