@code0-tech/tucana 0.0.69 → 0.0.71
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 +229 -185
- package/dist/pb/_generated/aquila.action_pb.d.ts +29 -2
- package/dist/pb/_generated/shared.flow_pb.d.ts +41 -6
- package/dist/pb/_generated/velorum.generate_pb.client.d.ts +35 -0
- package/dist/pb/_generated/velorum.generate_pb.d.ts +103 -0
- package/dist/pb/_generated/velorum.info_pb.client.d.ts +27 -0
- package/dist/pb/_generated/velorum.info_pb.d.ts +85 -0
- package/dist/pb/velorum.d.ts +4 -0
- package/dist/{rpc-interceptor-DpAjfIVk.js → rpc-interceptor-Bq56L_Jg.js} +1 -1
- package/dist/rpc-interceptor-CRhk15Dz.cjs +1 -0
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +165 -164
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +4 -3
- package/dist/shared.flow_pb-BNS2UoJj.cjs +1 -0
- package/dist/shared.flow_pb-BV09VLFs.js +957 -0
- package/dist/shared.function_pb-B9l5kdQt.cjs +2 -0
- package/dist/shared.function_pb-CMAwFz4S.js +2383 -0
- package/dist/shared.runtime_usage_pb-BwOAdgPp.js +2051 -0
- package/dist/shared.runtime_usage_pb-CVahFg9u.cjs +1 -0
- package/dist/velorum.cjs.js +1 -0
- package/dist/velorum.d.ts +2 -0
- package/dist/velorum.es.js +364 -0
- package/package.json +9 -3
- package/dist/rpc-interceptor-4ZNqeHp7.cjs +0 -1
- package/dist/shared.flow_pb-CAu-uZAs.cjs +0 -1
- package/dist/shared.flow_pb-YdrVU_yH.js +0 -877
- package/dist/shared.runtime_usage_pb-6pp995qK.cjs +0 -2
- package/dist/shared.runtime_usage_pb-Qa9pCiee.js +0 -4430
|
@@ -0,0 +1,957 @@
|
|
|
1
|
+
import { b as e, f as t, g as n, h as r, s as i, y as a } from "./shared.function_pb-CMAwFz4S.js";
|
|
2
|
+
var o = new class extends r {
|
|
3
|
+
constructor() {
|
|
4
|
+
super("shared.ValidationFlow", [
|
|
5
|
+
{
|
|
6
|
+
no: 1,
|
|
7
|
+
name: "flow_id",
|
|
8
|
+
kind: "scalar",
|
|
9
|
+
T: 3,
|
|
10
|
+
L: 0
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
no: 2,
|
|
14
|
+
name: "project_id",
|
|
15
|
+
kind: "scalar",
|
|
16
|
+
T: 3,
|
|
17
|
+
L: 0
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
no: 3,
|
|
21
|
+
name: "type",
|
|
22
|
+
kind: "scalar",
|
|
23
|
+
T: 9
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
no: 4,
|
|
27
|
+
name: "data_types",
|
|
28
|
+
kind: "message",
|
|
29
|
+
repeat: 2,
|
|
30
|
+
T: () => t
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
no: 5,
|
|
34
|
+
name: "settings",
|
|
35
|
+
kind: "message",
|
|
36
|
+
repeat: 2,
|
|
37
|
+
T: () => l
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
no: 6,
|
|
41
|
+
name: "starting_node_id",
|
|
42
|
+
kind: "scalar",
|
|
43
|
+
T: 3,
|
|
44
|
+
L: 0
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
no: 7,
|
|
48
|
+
name: "node_functions",
|
|
49
|
+
kind: "message",
|
|
50
|
+
repeat: 2,
|
|
51
|
+
T: () => u
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
no: 8,
|
|
55
|
+
name: "project_slug",
|
|
56
|
+
kind: "scalar",
|
|
57
|
+
T: 9
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
no: 9,
|
|
61
|
+
name: "disable_reason",
|
|
62
|
+
kind: "scalar",
|
|
63
|
+
opt: !0,
|
|
64
|
+
T: 9
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
no: 10,
|
|
68
|
+
name: "signature",
|
|
69
|
+
kind: "scalar",
|
|
70
|
+
T: 9
|
|
71
|
+
}
|
|
72
|
+
]);
|
|
73
|
+
}
|
|
74
|
+
create(e) {
|
|
75
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
76
|
+
return t.flowId = 0n, t.projectId = 0n, t.type = "", t.dataTypes = [], t.settings = [], t.startingNodeId = 0n, t.nodeFunctions = [], t.projectSlug = "", t.signature = "", e !== void 0 && n(this, t, e), t;
|
|
77
|
+
}
|
|
78
|
+
internalBinaryRead(e, n, r, i) {
|
|
79
|
+
let o = i ?? this.create(), s = e.pos + n;
|
|
80
|
+
for (; e.pos < s;) {
|
|
81
|
+
let [n, i] = e.tag();
|
|
82
|
+
switch (n) {
|
|
83
|
+
case 1:
|
|
84
|
+
o.flowId = e.int64().toBigInt();
|
|
85
|
+
break;
|
|
86
|
+
case 2:
|
|
87
|
+
o.projectId = e.int64().toBigInt();
|
|
88
|
+
break;
|
|
89
|
+
case 3:
|
|
90
|
+
o.type = e.string();
|
|
91
|
+
break;
|
|
92
|
+
case 4:
|
|
93
|
+
o.dataTypes.push(t.internalBinaryRead(e, e.uint32(), r));
|
|
94
|
+
break;
|
|
95
|
+
case 5:
|
|
96
|
+
o.settings.push(l.internalBinaryRead(e, e.uint32(), r));
|
|
97
|
+
break;
|
|
98
|
+
case 6:
|
|
99
|
+
o.startingNodeId = e.int64().toBigInt();
|
|
100
|
+
break;
|
|
101
|
+
case 7:
|
|
102
|
+
o.nodeFunctions.push(u.internalBinaryRead(e, e.uint32(), r));
|
|
103
|
+
break;
|
|
104
|
+
case 8:
|
|
105
|
+
o.projectSlug = e.string();
|
|
106
|
+
break;
|
|
107
|
+
case 9:
|
|
108
|
+
o.disableReason = e.string();
|
|
109
|
+
break;
|
|
110
|
+
case 10:
|
|
111
|
+
o.signature = e.string();
|
|
112
|
+
break;
|
|
113
|
+
default:
|
|
114
|
+
let s = r.readUnknownField;
|
|
115
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
116
|
+
let c = e.skip(i);
|
|
117
|
+
s !== !1 && (s === !0 ? a.onRead : s)(this.typeName, o, n, i, c);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return o;
|
|
121
|
+
}
|
|
122
|
+
internalBinaryWrite(n, r, i) {
|
|
123
|
+
n.flowId !== 0n && r.tag(1, e.Varint).int64(n.flowId), n.projectId !== 0n && r.tag(2, e.Varint).int64(n.projectId), n.type !== "" && r.tag(3, e.LengthDelimited).string(n.type);
|
|
124
|
+
for (let a = 0; a < n.dataTypes.length; a++) t.internalBinaryWrite(n.dataTypes[a], r.tag(4, e.LengthDelimited).fork(), i).join();
|
|
125
|
+
for (let t = 0; t < n.settings.length; t++) l.internalBinaryWrite(n.settings[t], r.tag(5, e.LengthDelimited).fork(), i).join();
|
|
126
|
+
n.startingNodeId !== 0n && r.tag(6, e.Varint).int64(n.startingNodeId);
|
|
127
|
+
for (let t = 0; t < n.nodeFunctions.length; t++) u.internalBinaryWrite(n.nodeFunctions[t], r.tag(7, e.LengthDelimited).fork(), i).join();
|
|
128
|
+
n.projectSlug !== "" && r.tag(8, e.LengthDelimited).string(n.projectSlug), n.disableReason !== void 0 && r.tag(9, e.LengthDelimited).string(n.disableReason), n.signature !== "" && r.tag(10, e.LengthDelimited).string(n.signature);
|
|
129
|
+
let o = i.writeUnknownFields;
|
|
130
|
+
return o !== !1 && (o == 1 ? a.onWrite : o)(this.typeName, n, r), r;
|
|
131
|
+
}
|
|
132
|
+
}(), s = new class extends r {
|
|
133
|
+
constructor() {
|
|
134
|
+
super("shared.ExecutionFlow", [
|
|
135
|
+
{
|
|
136
|
+
no: 1,
|
|
137
|
+
name: "flow_id",
|
|
138
|
+
kind: "scalar",
|
|
139
|
+
T: 3,
|
|
140
|
+
L: 0
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
no: 5,
|
|
144
|
+
name: "project_id",
|
|
145
|
+
kind: "scalar",
|
|
146
|
+
T: 3,
|
|
147
|
+
L: 0
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
no: 2,
|
|
151
|
+
name: "starting_node_id",
|
|
152
|
+
kind: "scalar",
|
|
153
|
+
T: 3,
|
|
154
|
+
L: 0
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
no: 4,
|
|
158
|
+
name: "node_functions",
|
|
159
|
+
kind: "message",
|
|
160
|
+
repeat: 2,
|
|
161
|
+
T: () => u
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
no: 3,
|
|
165
|
+
name: "input_value",
|
|
166
|
+
kind: "message",
|
|
167
|
+
T: () => i
|
|
168
|
+
}
|
|
169
|
+
]);
|
|
170
|
+
}
|
|
171
|
+
create(e) {
|
|
172
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
173
|
+
return t.flowId = 0n, t.projectId = 0n, t.startingNodeId = 0n, t.nodeFunctions = [], e !== void 0 && n(this, t, e), t;
|
|
174
|
+
}
|
|
175
|
+
internalBinaryRead(e, t, n, r) {
|
|
176
|
+
let o = r ?? this.create(), s = e.pos + t;
|
|
177
|
+
for (; e.pos < s;) {
|
|
178
|
+
let [t, r] = e.tag();
|
|
179
|
+
switch (t) {
|
|
180
|
+
case 1:
|
|
181
|
+
o.flowId = e.int64().toBigInt();
|
|
182
|
+
break;
|
|
183
|
+
case 5:
|
|
184
|
+
o.projectId = e.int64().toBigInt();
|
|
185
|
+
break;
|
|
186
|
+
case 2:
|
|
187
|
+
o.startingNodeId = e.int64().toBigInt();
|
|
188
|
+
break;
|
|
189
|
+
case 4:
|
|
190
|
+
o.nodeFunctions.push(u.internalBinaryRead(e, e.uint32(), n));
|
|
191
|
+
break;
|
|
192
|
+
case 3:
|
|
193
|
+
o.inputValue = i.internalBinaryRead(e, e.uint32(), n, o.inputValue);
|
|
194
|
+
break;
|
|
195
|
+
default:
|
|
196
|
+
let s = n.readUnknownField;
|
|
197
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
198
|
+
let c = e.skip(r);
|
|
199
|
+
s !== !1 && (s === !0 ? a.onRead : s)(this.typeName, o, t, r, c);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return o;
|
|
203
|
+
}
|
|
204
|
+
internalBinaryWrite(t, n, r) {
|
|
205
|
+
t.flowId !== 0n && n.tag(1, e.Varint).int64(t.flowId), t.startingNodeId !== 0n && n.tag(2, e.Varint).int64(t.startingNodeId), t.inputValue && i.internalBinaryWrite(t.inputValue, n.tag(3, e.LengthDelimited).fork(), r).join();
|
|
206
|
+
for (let i = 0; i < t.nodeFunctions.length; i++) u.internalBinaryWrite(t.nodeFunctions[i], n.tag(4, e.LengthDelimited).fork(), r).join();
|
|
207
|
+
t.projectId !== 0n && n.tag(5, e.Varint).int64(t.projectId);
|
|
208
|
+
let o = r.writeUnknownFields;
|
|
209
|
+
return o !== !1 && (o == 1 ? a.onWrite : o)(this.typeName, t, n), n;
|
|
210
|
+
}
|
|
211
|
+
}(), c = new class extends r {
|
|
212
|
+
constructor() {
|
|
213
|
+
super("shared.GenerationFlow", [
|
|
214
|
+
{
|
|
215
|
+
no: 1,
|
|
216
|
+
name: "name",
|
|
217
|
+
kind: "scalar",
|
|
218
|
+
T: 9
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
no: 2,
|
|
222
|
+
name: "type",
|
|
223
|
+
kind: "scalar",
|
|
224
|
+
T: 9
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
no: 3,
|
|
228
|
+
name: "starting_node_id",
|
|
229
|
+
kind: "scalar",
|
|
230
|
+
T: 9
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
no: 4,
|
|
234
|
+
name: "node_functions",
|
|
235
|
+
kind: "message",
|
|
236
|
+
repeat: 2,
|
|
237
|
+
T: () => u
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
no: 5,
|
|
241
|
+
name: "settings",
|
|
242
|
+
kind: "message",
|
|
243
|
+
repeat: 2,
|
|
244
|
+
T: () => l
|
|
245
|
+
}
|
|
246
|
+
]);
|
|
247
|
+
}
|
|
248
|
+
create(e) {
|
|
249
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
250
|
+
return t.name = "", t.type = "", t.startingNodeId = "", t.nodeFunctions = [], t.settings = [], e !== void 0 && n(this, t, e), t;
|
|
251
|
+
}
|
|
252
|
+
internalBinaryRead(e, t, n, r) {
|
|
253
|
+
let i = r ?? this.create(), o = e.pos + t;
|
|
254
|
+
for (; e.pos < o;) {
|
|
255
|
+
let [t, r] = e.tag();
|
|
256
|
+
switch (t) {
|
|
257
|
+
case 1:
|
|
258
|
+
i.name = e.string();
|
|
259
|
+
break;
|
|
260
|
+
case 2:
|
|
261
|
+
i.type = e.string();
|
|
262
|
+
break;
|
|
263
|
+
case 3:
|
|
264
|
+
i.startingNodeId = e.string();
|
|
265
|
+
break;
|
|
266
|
+
case 4:
|
|
267
|
+
i.nodeFunctions.push(u.internalBinaryRead(e, e.uint32(), n));
|
|
268
|
+
break;
|
|
269
|
+
case 5:
|
|
270
|
+
i.settings.push(l.internalBinaryRead(e, e.uint32(), n));
|
|
271
|
+
break;
|
|
272
|
+
default:
|
|
273
|
+
let o = n.readUnknownField;
|
|
274
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
275
|
+
let s = e.skip(r);
|
|
276
|
+
o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return i;
|
|
280
|
+
}
|
|
281
|
+
internalBinaryWrite(t, n, r) {
|
|
282
|
+
t.name !== "" && n.tag(1, e.LengthDelimited).string(t.name), t.type !== "" && n.tag(2, e.LengthDelimited).string(t.type), t.startingNodeId !== "" && n.tag(3, e.LengthDelimited).string(t.startingNodeId);
|
|
283
|
+
for (let i = 0; i < t.nodeFunctions.length; i++) u.internalBinaryWrite(t.nodeFunctions[i], n.tag(4, e.LengthDelimited).fork(), r).join();
|
|
284
|
+
for (let i = 0; i < t.settings.length; i++) l.internalBinaryWrite(t.settings[i], n.tag(5, e.LengthDelimited).fork(), r).join();
|
|
285
|
+
let i = r.writeUnknownFields;
|
|
286
|
+
return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
|
|
287
|
+
}
|
|
288
|
+
}(), l = new class extends r {
|
|
289
|
+
constructor() {
|
|
290
|
+
super("shared.FlowSetting", [
|
|
291
|
+
{
|
|
292
|
+
no: 1,
|
|
293
|
+
name: "database_id",
|
|
294
|
+
kind: "scalar",
|
|
295
|
+
opt: !0,
|
|
296
|
+
T: 3,
|
|
297
|
+
L: 0
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
no: 2,
|
|
301
|
+
name: "flow_setting_id",
|
|
302
|
+
kind: "scalar",
|
|
303
|
+
T: 9
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
no: 3,
|
|
307
|
+
name: "value",
|
|
308
|
+
kind: "message",
|
|
309
|
+
T: () => i
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
no: 4,
|
|
313
|
+
name: "cast",
|
|
314
|
+
kind: "scalar",
|
|
315
|
+
opt: !0,
|
|
316
|
+
T: 9
|
|
317
|
+
}
|
|
318
|
+
]);
|
|
319
|
+
}
|
|
320
|
+
create(e) {
|
|
321
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
322
|
+
return t.flowSettingId = "", e !== void 0 && n(this, t, e), t;
|
|
323
|
+
}
|
|
324
|
+
internalBinaryRead(e, t, n, r) {
|
|
325
|
+
let o = r ?? this.create(), s = e.pos + t;
|
|
326
|
+
for (; e.pos < s;) {
|
|
327
|
+
let [t, r] = e.tag();
|
|
328
|
+
switch (t) {
|
|
329
|
+
case 1:
|
|
330
|
+
o.databaseId = e.int64().toBigInt();
|
|
331
|
+
break;
|
|
332
|
+
case 2:
|
|
333
|
+
o.flowSettingId = e.string();
|
|
334
|
+
break;
|
|
335
|
+
case 3:
|
|
336
|
+
o.value = i.internalBinaryRead(e, e.uint32(), n, o.value);
|
|
337
|
+
break;
|
|
338
|
+
case 4:
|
|
339
|
+
o.cast = e.string();
|
|
340
|
+
break;
|
|
341
|
+
default:
|
|
342
|
+
let s = n.readUnknownField;
|
|
343
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
344
|
+
let c = e.skip(r);
|
|
345
|
+
s !== !1 && (s === !0 ? a.onRead : s)(this.typeName, o, t, r, c);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
return o;
|
|
349
|
+
}
|
|
350
|
+
internalBinaryWrite(t, n, r) {
|
|
351
|
+
t.databaseId !== void 0 && n.tag(1, e.Varint).int64(t.databaseId), t.flowSettingId !== "" && n.tag(2, e.LengthDelimited).string(t.flowSettingId), t.value && i.internalBinaryWrite(t.value, n.tag(3, e.LengthDelimited).fork(), r).join(), t.cast !== void 0 && n.tag(4, e.LengthDelimited).string(t.cast);
|
|
352
|
+
let o = r.writeUnknownFields;
|
|
353
|
+
return o !== !1 && (o == 1 ? a.onWrite : o)(this.typeName, t, n), n;
|
|
354
|
+
}
|
|
355
|
+
}(), u = new class extends r {
|
|
356
|
+
constructor() {
|
|
357
|
+
super("shared.NodeFunction", [
|
|
358
|
+
{
|
|
359
|
+
no: 1,
|
|
360
|
+
name: "database_id",
|
|
361
|
+
kind: "scalar",
|
|
362
|
+
opt: !0,
|
|
363
|
+
T: 3,
|
|
364
|
+
L: 0
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
no: 2,
|
|
368
|
+
name: "runtime_function_id",
|
|
369
|
+
kind: "scalar",
|
|
370
|
+
T: 9
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
no: 3,
|
|
374
|
+
name: "parameters",
|
|
375
|
+
kind: "message",
|
|
376
|
+
repeat: 2,
|
|
377
|
+
T: () => f
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
no: 4,
|
|
381
|
+
name: "next_node_id",
|
|
382
|
+
kind: "scalar",
|
|
383
|
+
opt: !0,
|
|
384
|
+
T: 3,
|
|
385
|
+
L: 0
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
no: 5,
|
|
389
|
+
name: "definition_source",
|
|
390
|
+
kind: "scalar",
|
|
391
|
+
opt: !0,
|
|
392
|
+
T: 9
|
|
393
|
+
}
|
|
394
|
+
]);
|
|
395
|
+
}
|
|
396
|
+
create(e) {
|
|
397
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
398
|
+
return t.runtimeFunctionId = "", t.parameters = [], e !== void 0 && n(this, t, e), t;
|
|
399
|
+
}
|
|
400
|
+
internalBinaryRead(e, t, n, r) {
|
|
401
|
+
let i = r ?? this.create(), o = e.pos + t;
|
|
402
|
+
for (; e.pos < o;) {
|
|
403
|
+
let [t, r] = e.tag();
|
|
404
|
+
switch (t) {
|
|
405
|
+
case 1:
|
|
406
|
+
i.databaseId = e.int64().toBigInt();
|
|
407
|
+
break;
|
|
408
|
+
case 2:
|
|
409
|
+
i.runtimeFunctionId = e.string();
|
|
410
|
+
break;
|
|
411
|
+
case 3:
|
|
412
|
+
i.parameters.push(f.internalBinaryRead(e, e.uint32(), n));
|
|
413
|
+
break;
|
|
414
|
+
case 4:
|
|
415
|
+
i.nextNodeId = e.int64().toBigInt();
|
|
416
|
+
break;
|
|
417
|
+
case 5:
|
|
418
|
+
i.definitionSource = e.string();
|
|
419
|
+
break;
|
|
420
|
+
default:
|
|
421
|
+
let o = n.readUnknownField;
|
|
422
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
423
|
+
let s = e.skip(r);
|
|
424
|
+
o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
return i;
|
|
428
|
+
}
|
|
429
|
+
internalBinaryWrite(t, n, r) {
|
|
430
|
+
t.databaseId !== void 0 && n.tag(1, e.Varint).int64(t.databaseId), t.runtimeFunctionId !== "" && n.tag(2, e.LengthDelimited).string(t.runtimeFunctionId);
|
|
431
|
+
for (let i = 0; i < t.parameters.length; i++) f.internalBinaryWrite(t.parameters[i], n.tag(3, e.LengthDelimited).fork(), r).join();
|
|
432
|
+
t.nextNodeId !== void 0 && n.tag(4, e.Varint).int64(t.nextNodeId), t.definitionSource !== void 0 && n.tag(5, e.LengthDelimited).string(t.definitionSource);
|
|
433
|
+
let i = r.writeUnknownFields;
|
|
434
|
+
return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
|
|
435
|
+
}
|
|
436
|
+
}(), d = new class extends r {
|
|
437
|
+
constructor() {
|
|
438
|
+
super("shared.NodeValue", [
|
|
439
|
+
{
|
|
440
|
+
no: 1,
|
|
441
|
+
name: "literal_value",
|
|
442
|
+
kind: "message",
|
|
443
|
+
oneof: "value",
|
|
444
|
+
T: () => i
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
no: 2,
|
|
448
|
+
name: "reference_value",
|
|
449
|
+
kind: "message",
|
|
450
|
+
oneof: "value",
|
|
451
|
+
T: () => p
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
no: 3,
|
|
455
|
+
name: "sub_flow",
|
|
456
|
+
kind: "message",
|
|
457
|
+
oneof: "value",
|
|
458
|
+
T: () => m
|
|
459
|
+
}
|
|
460
|
+
]);
|
|
461
|
+
}
|
|
462
|
+
create(e) {
|
|
463
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
464
|
+
return t.value = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
465
|
+
}
|
|
466
|
+
internalBinaryRead(e, t, n, r) {
|
|
467
|
+
let o = r ?? this.create(), s = e.pos + t;
|
|
468
|
+
for (; e.pos < s;) {
|
|
469
|
+
let [t, r] = e.tag();
|
|
470
|
+
switch (t) {
|
|
471
|
+
case 1:
|
|
472
|
+
o.value = {
|
|
473
|
+
oneofKind: "literalValue",
|
|
474
|
+
literalValue: i.internalBinaryRead(e, e.uint32(), n, o.value.literalValue)
|
|
475
|
+
};
|
|
476
|
+
break;
|
|
477
|
+
case 2:
|
|
478
|
+
o.value = {
|
|
479
|
+
oneofKind: "referenceValue",
|
|
480
|
+
referenceValue: p.internalBinaryRead(e, e.uint32(), n, o.value.referenceValue)
|
|
481
|
+
};
|
|
482
|
+
break;
|
|
483
|
+
case 3:
|
|
484
|
+
o.value = {
|
|
485
|
+
oneofKind: "subFlow",
|
|
486
|
+
subFlow: m.internalBinaryRead(e, e.uint32(), n, o.value.subFlow)
|
|
487
|
+
};
|
|
488
|
+
break;
|
|
489
|
+
default:
|
|
490
|
+
let s = n.readUnknownField;
|
|
491
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
492
|
+
let c = e.skip(r);
|
|
493
|
+
s !== !1 && (s === !0 ? a.onRead : s)(this.typeName, o, t, r, c);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
return o;
|
|
497
|
+
}
|
|
498
|
+
internalBinaryWrite(t, n, r) {
|
|
499
|
+
t.value.oneofKind === "literalValue" && i.internalBinaryWrite(t.value.literalValue, n.tag(1, e.LengthDelimited).fork(), r).join(), t.value.oneofKind === "referenceValue" && p.internalBinaryWrite(t.value.referenceValue, n.tag(2, e.LengthDelimited).fork(), r).join(), t.value.oneofKind === "subFlow" && m.internalBinaryWrite(t.value.subFlow, n.tag(3, e.LengthDelimited).fork(), r).join();
|
|
500
|
+
let o = r.writeUnknownFields;
|
|
501
|
+
return o !== !1 && (o == 1 ? a.onWrite : o)(this.typeName, t, n), n;
|
|
502
|
+
}
|
|
503
|
+
}(), f = new class extends r {
|
|
504
|
+
constructor() {
|
|
505
|
+
super("shared.NodeParameter", [
|
|
506
|
+
{
|
|
507
|
+
no: 1,
|
|
508
|
+
name: "database_id",
|
|
509
|
+
kind: "scalar",
|
|
510
|
+
T: 3,
|
|
511
|
+
L: 0
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
no: 2,
|
|
515
|
+
name: "runtime_parameter_id",
|
|
516
|
+
kind: "scalar",
|
|
517
|
+
T: 9
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
no: 3,
|
|
521
|
+
name: "value",
|
|
522
|
+
kind: "message",
|
|
523
|
+
T: () => d
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
no: 4,
|
|
527
|
+
name: "cast",
|
|
528
|
+
kind: "scalar",
|
|
529
|
+
opt: !0,
|
|
530
|
+
T: 9
|
|
531
|
+
}
|
|
532
|
+
]);
|
|
533
|
+
}
|
|
534
|
+
create(e) {
|
|
535
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
536
|
+
return t.databaseId = 0n, t.runtimeParameterId = "", e !== void 0 && n(this, t, e), t;
|
|
537
|
+
}
|
|
538
|
+
internalBinaryRead(e, t, n, r) {
|
|
539
|
+
let i = r ?? this.create(), o = e.pos + t;
|
|
540
|
+
for (; e.pos < o;) {
|
|
541
|
+
let [t, r] = e.tag();
|
|
542
|
+
switch (t) {
|
|
543
|
+
case 1:
|
|
544
|
+
i.databaseId = e.int64().toBigInt();
|
|
545
|
+
break;
|
|
546
|
+
case 2:
|
|
547
|
+
i.runtimeParameterId = e.string();
|
|
548
|
+
break;
|
|
549
|
+
case 3:
|
|
550
|
+
i.value = d.internalBinaryRead(e, e.uint32(), n, i.value);
|
|
551
|
+
break;
|
|
552
|
+
case 4:
|
|
553
|
+
i.cast = e.string();
|
|
554
|
+
break;
|
|
555
|
+
default:
|
|
556
|
+
let o = n.readUnknownField;
|
|
557
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
558
|
+
let s = e.skip(r);
|
|
559
|
+
o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return i;
|
|
563
|
+
}
|
|
564
|
+
internalBinaryWrite(t, n, r) {
|
|
565
|
+
t.databaseId !== 0n && n.tag(1, e.Varint).int64(t.databaseId), t.runtimeParameterId !== "" && n.tag(2, e.LengthDelimited).string(t.runtimeParameterId), t.value && d.internalBinaryWrite(t.value, n.tag(3, e.LengthDelimited).fork(), r).join(), t.cast !== void 0 && n.tag(4, e.LengthDelimited).string(t.cast);
|
|
566
|
+
let i = r.writeUnknownFields;
|
|
567
|
+
return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
|
|
568
|
+
}
|
|
569
|
+
}(), p = new class extends r {
|
|
570
|
+
constructor() {
|
|
571
|
+
super("shared.ReferenceValue", [
|
|
572
|
+
{
|
|
573
|
+
no: 1,
|
|
574
|
+
name: "flow_input",
|
|
575
|
+
kind: "message",
|
|
576
|
+
oneof: "target",
|
|
577
|
+
T: () => g
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
no: 2,
|
|
581
|
+
name: "node_id",
|
|
582
|
+
kind: "scalar",
|
|
583
|
+
oneof: "target",
|
|
584
|
+
T: 3,
|
|
585
|
+
L: 0
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
no: 3,
|
|
589
|
+
name: "input_type",
|
|
590
|
+
kind: "message",
|
|
591
|
+
oneof: "target",
|
|
592
|
+
T: () => _
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
no: 4,
|
|
596
|
+
name: "paths",
|
|
597
|
+
kind: "message",
|
|
598
|
+
repeat: 2,
|
|
599
|
+
T: () => v
|
|
600
|
+
}
|
|
601
|
+
]);
|
|
602
|
+
}
|
|
603
|
+
create(e) {
|
|
604
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
605
|
+
return t.target = { oneofKind: void 0 }, t.paths = [], e !== void 0 && n(this, t, e), t;
|
|
606
|
+
}
|
|
607
|
+
internalBinaryRead(e, t, n, r) {
|
|
608
|
+
let i = r ?? this.create(), o = e.pos + t;
|
|
609
|
+
for (; e.pos < o;) {
|
|
610
|
+
let [t, r] = e.tag();
|
|
611
|
+
switch (t) {
|
|
612
|
+
case 1:
|
|
613
|
+
i.target = {
|
|
614
|
+
oneofKind: "flowInput",
|
|
615
|
+
flowInput: g.internalBinaryRead(e, e.uint32(), n, i.target.flowInput)
|
|
616
|
+
};
|
|
617
|
+
break;
|
|
618
|
+
case 2:
|
|
619
|
+
i.target = {
|
|
620
|
+
oneofKind: "nodeId",
|
|
621
|
+
nodeId: e.int64().toBigInt()
|
|
622
|
+
};
|
|
623
|
+
break;
|
|
624
|
+
case 3:
|
|
625
|
+
i.target = {
|
|
626
|
+
oneofKind: "inputType",
|
|
627
|
+
inputType: _.internalBinaryRead(e, e.uint32(), n, i.target.inputType)
|
|
628
|
+
};
|
|
629
|
+
break;
|
|
630
|
+
case 4:
|
|
631
|
+
i.paths.push(v.internalBinaryRead(e, e.uint32(), n));
|
|
632
|
+
break;
|
|
633
|
+
default:
|
|
634
|
+
let o = n.readUnknownField;
|
|
635
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
636
|
+
let s = e.skip(r);
|
|
637
|
+
o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
return i;
|
|
641
|
+
}
|
|
642
|
+
internalBinaryWrite(t, n, r) {
|
|
643
|
+
t.target.oneofKind === "flowInput" && g.internalBinaryWrite(t.target.flowInput, n.tag(1, e.LengthDelimited).fork(), r).join(), t.target.oneofKind === "nodeId" && n.tag(2, e.Varint).int64(t.target.nodeId), t.target.oneofKind === "inputType" && _.internalBinaryWrite(t.target.inputType, n.tag(3, e.LengthDelimited).fork(), r).join();
|
|
644
|
+
for (let i = 0; i < t.paths.length; i++) v.internalBinaryWrite(t.paths[i], n.tag(4, e.LengthDelimited).fork(), r).join();
|
|
645
|
+
let i = r.writeUnknownFields;
|
|
646
|
+
return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
|
|
647
|
+
}
|
|
648
|
+
}(), m = new class extends r {
|
|
649
|
+
constructor() {
|
|
650
|
+
super("shared.SubFlow", [
|
|
651
|
+
{
|
|
652
|
+
no: 1,
|
|
653
|
+
name: "starting_node_id",
|
|
654
|
+
kind: "scalar",
|
|
655
|
+
oneof: "executionReference",
|
|
656
|
+
T: 3,
|
|
657
|
+
L: 0
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
no: 2,
|
|
661
|
+
name: "function_identifier",
|
|
662
|
+
kind: "scalar",
|
|
663
|
+
oneof: "executionReference",
|
|
664
|
+
T: 9
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
no: 3,
|
|
668
|
+
name: "signature",
|
|
669
|
+
kind: "scalar",
|
|
670
|
+
T: 9
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
no: 4,
|
|
674
|
+
name: "settings",
|
|
675
|
+
kind: "message",
|
|
676
|
+
repeat: 2,
|
|
677
|
+
T: () => h
|
|
678
|
+
}
|
|
679
|
+
]);
|
|
680
|
+
}
|
|
681
|
+
create(e) {
|
|
682
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
683
|
+
return t.executionReference = { oneofKind: void 0 }, t.signature = "", t.settings = [], e !== void 0 && n(this, t, e), t;
|
|
684
|
+
}
|
|
685
|
+
internalBinaryRead(e, t, n, r) {
|
|
686
|
+
let i = r ?? this.create(), o = e.pos + t;
|
|
687
|
+
for (; e.pos < o;) {
|
|
688
|
+
let [t, r] = e.tag();
|
|
689
|
+
switch (t) {
|
|
690
|
+
case 1:
|
|
691
|
+
i.executionReference = {
|
|
692
|
+
oneofKind: "startingNodeId",
|
|
693
|
+
startingNodeId: e.int64().toBigInt()
|
|
694
|
+
};
|
|
695
|
+
break;
|
|
696
|
+
case 2:
|
|
697
|
+
i.executionReference = {
|
|
698
|
+
oneofKind: "functionIdentifier",
|
|
699
|
+
functionIdentifier: e.string()
|
|
700
|
+
};
|
|
701
|
+
break;
|
|
702
|
+
case 3:
|
|
703
|
+
i.signature = e.string();
|
|
704
|
+
break;
|
|
705
|
+
case 4:
|
|
706
|
+
i.settings.push(h.internalBinaryRead(e, e.uint32(), n));
|
|
707
|
+
break;
|
|
708
|
+
default:
|
|
709
|
+
let o = n.readUnknownField;
|
|
710
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
711
|
+
let s = e.skip(r);
|
|
712
|
+
o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
return i;
|
|
716
|
+
}
|
|
717
|
+
internalBinaryWrite(t, n, r) {
|
|
718
|
+
t.executionReference.oneofKind === "startingNodeId" && n.tag(1, e.Varint).int64(t.executionReference.startingNodeId), t.executionReference.oneofKind === "functionIdentifier" && n.tag(2, e.LengthDelimited).string(t.executionReference.functionIdentifier), t.signature !== "" && n.tag(3, e.LengthDelimited).string(t.signature);
|
|
719
|
+
for (let i = 0; i < t.settings.length; i++) h.internalBinaryWrite(t.settings[i], n.tag(4, e.LengthDelimited).fork(), r).join();
|
|
720
|
+
let i = r.writeUnknownFields;
|
|
721
|
+
return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
|
|
722
|
+
}
|
|
723
|
+
}(), h = new class extends r {
|
|
724
|
+
constructor() {
|
|
725
|
+
super("shared.SubFlowSetting", [
|
|
726
|
+
{
|
|
727
|
+
no: 1,
|
|
728
|
+
name: "identifier",
|
|
729
|
+
kind: "scalar",
|
|
730
|
+
T: 9
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
no: 2,
|
|
734
|
+
name: "default_value",
|
|
735
|
+
kind: "message",
|
|
736
|
+
T: () => i
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
no: 3,
|
|
740
|
+
name: "optional",
|
|
741
|
+
kind: "scalar",
|
|
742
|
+
opt: !0,
|
|
743
|
+
T: 8
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
no: 4,
|
|
747
|
+
name: "hidden",
|
|
748
|
+
kind: "scalar",
|
|
749
|
+
opt: !0,
|
|
750
|
+
T: 8
|
|
751
|
+
}
|
|
752
|
+
]);
|
|
753
|
+
}
|
|
754
|
+
create(e) {
|
|
755
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
756
|
+
return t.identifier = "", e !== void 0 && n(this, t, e), t;
|
|
757
|
+
}
|
|
758
|
+
internalBinaryRead(e, t, n, r) {
|
|
759
|
+
let o = r ?? this.create(), s = e.pos + t;
|
|
760
|
+
for (; e.pos < s;) {
|
|
761
|
+
let [t, r] = e.tag();
|
|
762
|
+
switch (t) {
|
|
763
|
+
case 1:
|
|
764
|
+
o.identifier = e.string();
|
|
765
|
+
break;
|
|
766
|
+
case 2:
|
|
767
|
+
o.defaultValue = i.internalBinaryRead(e, e.uint32(), n, o.defaultValue);
|
|
768
|
+
break;
|
|
769
|
+
case 3:
|
|
770
|
+
o.optional = e.bool();
|
|
771
|
+
break;
|
|
772
|
+
case 4:
|
|
773
|
+
o.hidden = e.bool();
|
|
774
|
+
break;
|
|
775
|
+
default:
|
|
776
|
+
let s = n.readUnknownField;
|
|
777
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
778
|
+
let c = e.skip(r);
|
|
779
|
+
s !== !1 && (s === !0 ? a.onRead : s)(this.typeName, o, t, r, c);
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
return o;
|
|
783
|
+
}
|
|
784
|
+
internalBinaryWrite(t, n, r) {
|
|
785
|
+
t.identifier !== "" && n.tag(1, e.LengthDelimited).string(t.identifier), t.defaultValue && i.internalBinaryWrite(t.defaultValue, n.tag(2, e.LengthDelimited).fork(), r).join(), t.optional !== void 0 && n.tag(3, e.Varint).bool(t.optional), t.hidden !== void 0 && n.tag(4, e.Varint).bool(t.hidden);
|
|
786
|
+
let o = r.writeUnknownFields;
|
|
787
|
+
return o !== !1 && (o == 1 ? a.onWrite : o)(this.typeName, t, n), n;
|
|
788
|
+
}
|
|
789
|
+
}(), g = new class extends r {
|
|
790
|
+
constructor() {
|
|
791
|
+
super("shared.FlowInput", []);
|
|
792
|
+
}
|
|
793
|
+
create(e) {
|
|
794
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
795
|
+
return e !== void 0 && n(this, t, e), t;
|
|
796
|
+
}
|
|
797
|
+
internalBinaryRead(e, t, n, r) {
|
|
798
|
+
let i = r ?? this.create(), o = e.pos + t;
|
|
799
|
+
for (; e.pos < o;) {
|
|
800
|
+
let [t, r] = e.tag();
|
|
801
|
+
switch (t) {
|
|
802
|
+
default:
|
|
803
|
+
let o = n.readUnknownField;
|
|
804
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
805
|
+
let s = e.skip(r);
|
|
806
|
+
o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
return i;
|
|
810
|
+
}
|
|
811
|
+
internalBinaryWrite(e, t, n) {
|
|
812
|
+
let r = n.writeUnknownFields;
|
|
813
|
+
return r !== !1 && (r == 1 ? a.onWrite : r)(this.typeName, e, t), t;
|
|
814
|
+
}
|
|
815
|
+
}(), _ = new class extends r {
|
|
816
|
+
constructor() {
|
|
817
|
+
super("shared.InputType", [
|
|
818
|
+
{
|
|
819
|
+
no: 1,
|
|
820
|
+
name: "node_id",
|
|
821
|
+
kind: "scalar",
|
|
822
|
+
T: 3,
|
|
823
|
+
L: 0
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
no: 2,
|
|
827
|
+
name: "parameter_index",
|
|
828
|
+
kind: "scalar",
|
|
829
|
+
T: 3,
|
|
830
|
+
L: 0
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
no: 3,
|
|
834
|
+
name: "input_index",
|
|
835
|
+
kind: "scalar",
|
|
836
|
+
T: 3,
|
|
837
|
+
L: 0
|
|
838
|
+
}
|
|
839
|
+
]);
|
|
840
|
+
}
|
|
841
|
+
create(e) {
|
|
842
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
843
|
+
return t.nodeId = 0n, t.parameterIndex = 0n, t.inputIndex = 0n, e !== void 0 && n(this, t, e), t;
|
|
844
|
+
}
|
|
845
|
+
internalBinaryRead(e, t, n, r) {
|
|
846
|
+
let i = r ?? this.create(), o = e.pos + t;
|
|
847
|
+
for (; e.pos < o;) {
|
|
848
|
+
let [t, r] = e.tag();
|
|
849
|
+
switch (t) {
|
|
850
|
+
case 1:
|
|
851
|
+
i.nodeId = e.int64().toBigInt();
|
|
852
|
+
break;
|
|
853
|
+
case 2:
|
|
854
|
+
i.parameterIndex = e.int64().toBigInt();
|
|
855
|
+
break;
|
|
856
|
+
case 3:
|
|
857
|
+
i.inputIndex = e.int64().toBigInt();
|
|
858
|
+
break;
|
|
859
|
+
default:
|
|
860
|
+
let o = n.readUnknownField;
|
|
861
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
862
|
+
let s = e.skip(r);
|
|
863
|
+
o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
return i;
|
|
867
|
+
}
|
|
868
|
+
internalBinaryWrite(t, n, r) {
|
|
869
|
+
t.nodeId !== 0n && n.tag(1, e.Varint).int64(t.nodeId), t.parameterIndex !== 0n && n.tag(2, e.Varint).int64(t.parameterIndex), t.inputIndex !== 0n && n.tag(3, e.Varint).int64(t.inputIndex);
|
|
870
|
+
let i = r.writeUnknownFields;
|
|
871
|
+
return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
|
|
872
|
+
}
|
|
873
|
+
}(), v = new class extends r {
|
|
874
|
+
constructor() {
|
|
875
|
+
super("shared.ReferencePath", [{
|
|
876
|
+
no: 1,
|
|
877
|
+
name: "path",
|
|
878
|
+
kind: "scalar",
|
|
879
|
+
opt: !0,
|
|
880
|
+
T: 9
|
|
881
|
+
}, {
|
|
882
|
+
no: 2,
|
|
883
|
+
name: "array_index",
|
|
884
|
+
kind: "scalar",
|
|
885
|
+
opt: !0,
|
|
886
|
+
T: 3,
|
|
887
|
+
L: 0
|
|
888
|
+
}]);
|
|
889
|
+
}
|
|
890
|
+
create(e) {
|
|
891
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
892
|
+
return e !== void 0 && n(this, t, e), t;
|
|
893
|
+
}
|
|
894
|
+
internalBinaryRead(e, t, n, r) {
|
|
895
|
+
let i = r ?? this.create(), o = e.pos + t;
|
|
896
|
+
for (; e.pos < o;) {
|
|
897
|
+
let [t, r] = e.tag();
|
|
898
|
+
switch (t) {
|
|
899
|
+
case 1:
|
|
900
|
+
i.path = e.string();
|
|
901
|
+
break;
|
|
902
|
+
case 2:
|
|
903
|
+
i.arrayIndex = e.int64().toBigInt();
|
|
904
|
+
break;
|
|
905
|
+
default:
|
|
906
|
+
let o = n.readUnknownField;
|
|
907
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
908
|
+
let s = e.skip(r);
|
|
909
|
+
o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
return i;
|
|
913
|
+
}
|
|
914
|
+
internalBinaryWrite(t, n, r) {
|
|
915
|
+
t.path !== void 0 && n.tag(1, e.LengthDelimited).string(t.path), t.arrayIndex !== void 0 && n.tag(2, e.Varint).int64(t.arrayIndex);
|
|
916
|
+
let i = r.writeUnknownFields;
|
|
917
|
+
return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
|
|
918
|
+
}
|
|
919
|
+
}(), y = new class extends r {
|
|
920
|
+
constructor() {
|
|
921
|
+
super("shared.Flows", [{
|
|
922
|
+
no: 1,
|
|
923
|
+
name: "flows",
|
|
924
|
+
kind: "message",
|
|
925
|
+
repeat: 2,
|
|
926
|
+
T: () => o
|
|
927
|
+
}]);
|
|
928
|
+
}
|
|
929
|
+
create(e) {
|
|
930
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
931
|
+
return t.flows = [], e !== void 0 && n(this, t, e), t;
|
|
932
|
+
}
|
|
933
|
+
internalBinaryRead(e, t, n, r) {
|
|
934
|
+
let i = r ?? this.create(), s = e.pos + t;
|
|
935
|
+
for (; e.pos < s;) {
|
|
936
|
+
let [t, r] = e.tag();
|
|
937
|
+
switch (t) {
|
|
938
|
+
case 1:
|
|
939
|
+
i.flows.push(o.internalBinaryRead(e, e.uint32(), n));
|
|
940
|
+
break;
|
|
941
|
+
default:
|
|
942
|
+
let s = n.readUnknownField;
|
|
943
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
944
|
+
let c = e.skip(r);
|
|
945
|
+
s !== !1 && (s === !0 ? a.onRead : s)(this.typeName, i, t, r, c);
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
return i;
|
|
949
|
+
}
|
|
950
|
+
internalBinaryWrite(t, n, r) {
|
|
951
|
+
for (let i = 0; i < t.flows.length; i++) o.internalBinaryWrite(t.flows[i], n.tag(1, e.LengthDelimited).fork(), r).join();
|
|
952
|
+
let i = r.writeUnknownFields;
|
|
953
|
+
return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
|
|
954
|
+
}
|
|
955
|
+
}();
|
|
956
|
+
//#endregion
|
|
957
|
+
export { c as a, f as c, p as d, m as f, y as i, d as l, o as m, g as n, _ as o, h as p, l as r, u as s, s as t, v as u };
|