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