@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
|
@@ -273,7 +273,7 @@ function m(e, t, n) {
|
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
var h = 65536 * 65536;
|
|
276
|
-
function
|
|
276
|
+
function re(e) {
|
|
277
277
|
let t = e[0] == "-";
|
|
278
278
|
t && (e = e.slice(1));
|
|
279
279
|
let n = 1e6, r = 0, i = 0;
|
|
@@ -287,7 +287,7 @@ function g(e) {
|
|
|
287
287
|
i
|
|
288
288
|
];
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function ie(e, t) {
|
|
291
291
|
if (t >>> 0 <= 2097151) return "" + (h * t + (e >>> 0));
|
|
292
292
|
let n = e & 16777215, r = (e >>> 24 | t << 8) >>> 0 & 16777215, i = t >> 16 & 65535, a = n + r * 6777216 + i * 6710656, o = r + i * 8147497, s = i * 2, c = 1e7;
|
|
293
293
|
a >= c && (o += Math.floor(a / c), a %= c), o >= c && (s += Math.floor(o / c), o %= c);
|
|
@@ -297,7 +297,7 @@ function _(e, t) {
|
|
|
297
297
|
}
|
|
298
298
|
return l(s, 0) + l(o, s) + l(a, 1);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function ae(e, t) {
|
|
301
301
|
if (e >= 0) {
|
|
302
302
|
for (; e > 127;) t.push(e & 127 | 128), e >>>= 7;
|
|
303
303
|
t.push(e);
|
|
@@ -306,7 +306,7 @@ function re(e, t) {
|
|
|
306
306
|
t.push(1);
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function oe() {
|
|
310
310
|
let e = this.buf[this.pos++], t = e & 127;
|
|
311
311
|
if (!(e & 128) || (e = this.buf[this.pos++], t |= (e & 127) << 7, !(e & 128)) || (e = this.buf[this.pos++], t |= (e & 127) << 14, !(e & 128)) || (e = this.buf[this.pos++], t |= (e & 127) << 21, !(e & 128))) return this.assertBounds(), t;
|
|
312
312
|
e = this.buf[this.pos++], t |= (e & 15) << 28;
|
|
@@ -316,10 +316,10 @@ function ie() {
|
|
|
316
316
|
}
|
|
317
317
|
//#endregion
|
|
318
318
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/pb-long.js
|
|
319
|
-
var
|
|
320
|
-
function
|
|
319
|
+
var g;
|
|
320
|
+
function se() {
|
|
321
321
|
let e = /* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(8));
|
|
322
|
-
|
|
322
|
+
g = globalThis.BigInt !== void 0 && typeof e.getBigInt64 == "function" && typeof e.getBigUint64 == "function" && typeof e.setBigInt64 == "function" && typeof e.setBigUint64 == "function" ? {
|
|
323
323
|
MIN: BigInt("-9223372036854775808"),
|
|
324
324
|
MAX: BigInt("9223372036854775807"),
|
|
325
325
|
UMIN: BigInt("0"),
|
|
@@ -328,11 +328,11 @@ function ae() {
|
|
|
328
328
|
V: e
|
|
329
329
|
} : void 0;
|
|
330
330
|
}
|
|
331
|
-
|
|
332
|
-
function
|
|
331
|
+
se();
|
|
332
|
+
function ce(e) {
|
|
333
333
|
if (!e) throw Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support");
|
|
334
334
|
}
|
|
335
|
-
var
|
|
335
|
+
var le = /^-?[0-9]+$/, _ = 4294967296, v = 2147483648, ue = class {
|
|
336
336
|
constructor(e, t) {
|
|
337
337
|
this.lo = e | 0, this.hi = t | 0;
|
|
338
338
|
}
|
|
@@ -340,126 +340,126 @@ var y = /^-?[0-9]+$/, b = 4294967296, x = 2147483648, S = class {
|
|
|
340
340
|
return this.lo == 0 && this.hi == 0;
|
|
341
341
|
}
|
|
342
342
|
toNumber() {
|
|
343
|
-
let e = this.hi *
|
|
343
|
+
let e = this.hi * _ + (this.lo >>> 0);
|
|
344
344
|
if (!Number.isSafeInteger(e)) throw Error("cannot convert to safe number");
|
|
345
345
|
return e;
|
|
346
346
|
}
|
|
347
|
-
},
|
|
347
|
+
}, y = class e extends ue {
|
|
348
348
|
static from(t) {
|
|
349
|
-
if (
|
|
349
|
+
if (g) switch (typeof t) {
|
|
350
350
|
case "string":
|
|
351
351
|
if (t == "0") return this.ZERO;
|
|
352
352
|
if (t == "") throw Error("string is no integer");
|
|
353
|
-
t =
|
|
353
|
+
t = g.C(t);
|
|
354
354
|
case "number":
|
|
355
355
|
if (t === 0) return this.ZERO;
|
|
356
|
-
t =
|
|
356
|
+
t = g.C(t);
|
|
357
357
|
case "bigint":
|
|
358
358
|
if (!t) return this.ZERO;
|
|
359
|
-
if (t <
|
|
360
|
-
if (t >
|
|
361
|
-
return
|
|
359
|
+
if (t < g.UMIN) throw Error("signed value for ulong");
|
|
360
|
+
if (t > g.UMAX) throw Error("ulong too large");
|
|
361
|
+
return g.V.setBigUint64(0, t, !0), new e(g.V.getInt32(0, !0), g.V.getInt32(4, !0));
|
|
362
362
|
}
|
|
363
363
|
else switch (typeof t) {
|
|
364
364
|
case "string":
|
|
365
365
|
if (t == "0") return this.ZERO;
|
|
366
|
-
if (t = t.trim(), !
|
|
367
|
-
let [n, r, i] =
|
|
366
|
+
if (t = t.trim(), !le.test(t)) throw Error("string is no integer");
|
|
367
|
+
let [n, r, i] = re(t);
|
|
368
368
|
if (n) throw Error("signed value for ulong");
|
|
369
369
|
return new e(r, i);
|
|
370
370
|
case "number":
|
|
371
371
|
if (t == 0) return this.ZERO;
|
|
372
372
|
if (!Number.isSafeInteger(t)) throw Error("number is no integer");
|
|
373
373
|
if (t < 0) throw Error("signed value for ulong");
|
|
374
|
-
return new e(t, t /
|
|
374
|
+
return new e(t, t / _);
|
|
375
375
|
}
|
|
376
376
|
throw Error("unknown value " + typeof t);
|
|
377
377
|
}
|
|
378
378
|
toString() {
|
|
379
|
-
return
|
|
379
|
+
return g ? this.toBigInt().toString() : ie(this.lo, this.hi);
|
|
380
380
|
}
|
|
381
381
|
toBigInt() {
|
|
382
|
-
return
|
|
382
|
+
return ce(g), g.V.setInt32(0, this.lo, !0), g.V.setInt32(4, this.hi, !0), g.V.getBigUint64(0, !0);
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
|
-
|
|
386
|
-
var
|
|
385
|
+
y.ZERO = new y(0, 0);
|
|
386
|
+
var b = class e extends ue {
|
|
387
387
|
static from(t) {
|
|
388
|
-
if (
|
|
388
|
+
if (g) switch (typeof t) {
|
|
389
389
|
case "string":
|
|
390
390
|
if (t == "0") return this.ZERO;
|
|
391
391
|
if (t == "") throw Error("string is no integer");
|
|
392
|
-
t =
|
|
392
|
+
t = g.C(t);
|
|
393
393
|
case "number":
|
|
394
394
|
if (t === 0) return this.ZERO;
|
|
395
|
-
t =
|
|
395
|
+
t = g.C(t);
|
|
396
396
|
case "bigint":
|
|
397
397
|
if (!t) return this.ZERO;
|
|
398
|
-
if (t <
|
|
399
|
-
if (t >
|
|
400
|
-
return
|
|
398
|
+
if (t < g.MIN) throw Error("signed long too small");
|
|
399
|
+
if (t > g.MAX) throw Error("signed long too large");
|
|
400
|
+
return g.V.setBigInt64(0, t, !0), new e(g.V.getInt32(0, !0), g.V.getInt32(4, !0));
|
|
401
401
|
}
|
|
402
402
|
else switch (typeof t) {
|
|
403
403
|
case "string":
|
|
404
404
|
if (t == "0") return this.ZERO;
|
|
405
|
-
if (t = t.trim(), !
|
|
406
|
-
let [n, r, i] =
|
|
405
|
+
if (t = t.trim(), !le.test(t)) throw Error("string is no integer");
|
|
406
|
+
let [n, r, i] = re(t);
|
|
407
407
|
if (n) {
|
|
408
|
-
if (i >
|
|
409
|
-
} else if (i >=
|
|
408
|
+
if (i > v || i == v && r != 0) throw Error("signed long too small");
|
|
409
|
+
} else if (i >= v) throw Error("signed long too large");
|
|
410
410
|
let a = new e(r, i);
|
|
411
411
|
return n ? a.negate() : a;
|
|
412
412
|
case "number":
|
|
413
413
|
if (t == 0) return this.ZERO;
|
|
414
414
|
if (!Number.isSafeInteger(t)) throw Error("number is no integer");
|
|
415
|
-
return t > 0 ? new e(t, t /
|
|
415
|
+
return t > 0 ? new e(t, t / _) : new e(-t, -t / _).negate();
|
|
416
416
|
}
|
|
417
417
|
throw Error("unknown value " + typeof t);
|
|
418
418
|
}
|
|
419
419
|
isNegative() {
|
|
420
|
-
return (this.hi &
|
|
420
|
+
return (this.hi & v) !== 0;
|
|
421
421
|
}
|
|
422
422
|
negate() {
|
|
423
423
|
let t = ~this.hi, n = this.lo;
|
|
424
424
|
return n ? n = ~n + 1 : t += 1, new e(n, t);
|
|
425
425
|
}
|
|
426
426
|
toString() {
|
|
427
|
-
if (
|
|
427
|
+
if (g) return this.toBigInt().toString();
|
|
428
428
|
if (this.isNegative()) {
|
|
429
429
|
let e = this.negate();
|
|
430
|
-
return "-" +
|
|
430
|
+
return "-" + ie(e.lo, e.hi);
|
|
431
431
|
}
|
|
432
|
-
return
|
|
432
|
+
return ie(this.lo, this.hi);
|
|
433
433
|
}
|
|
434
434
|
toBigInt() {
|
|
435
|
-
return
|
|
435
|
+
return ce(g), g.V.setInt32(0, this.lo, !0), g.V.setInt32(4, this.hi, !0), g.V.getBigInt64(0, !0);
|
|
436
436
|
}
|
|
437
437
|
};
|
|
438
|
-
|
|
438
|
+
b.ZERO = new b(0, 0);
|
|
439
439
|
//#endregion
|
|
440
440
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/assert.js
|
|
441
|
-
function
|
|
441
|
+
function x(e, t) {
|
|
442
442
|
if (!e) throw Error(t);
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function de(e, t) {
|
|
445
445
|
throw Error(t ?? "Unexpected object: " + e);
|
|
446
446
|
}
|
|
447
|
-
var
|
|
448
|
-
function
|
|
447
|
+
var fe = 34028234663852886e22, pe = -34028234663852886e22, me = 4294967295, he = 2147483647, ge = -2147483648;
|
|
448
|
+
function S(e) {
|
|
449
449
|
if (typeof e != "number") throw Error("invalid int 32: " + typeof e);
|
|
450
|
-
if (!Number.isInteger(e) || e >
|
|
450
|
+
if (!Number.isInteger(e) || e > he || e < ge) throw Error("invalid int 32: " + e);
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function C(e) {
|
|
453
453
|
if (typeof e != "number") throw Error("invalid uint 32: " + typeof e);
|
|
454
|
-
if (!Number.isInteger(e) || e >
|
|
454
|
+
if (!Number.isInteger(e) || e > me || e < 0) throw Error("invalid uint 32: " + e);
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function w(e) {
|
|
457
457
|
if (typeof e != "number") throw Error("invalid float 32: " + typeof e);
|
|
458
|
-
if (Number.isFinite(e) && (e >
|
|
458
|
+
if (Number.isFinite(e) && (e > fe || e < pe)) throw Error("invalid float 32: " + e);
|
|
459
459
|
}
|
|
460
460
|
//#endregion
|
|
461
461
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/reflection-long-convert.js
|
|
462
|
-
function
|
|
462
|
+
function T(e, t) {
|
|
463
463
|
switch (t) {
|
|
464
464
|
case a.BIGINT: return e.toBigInt();
|
|
465
465
|
case a.NUMBER: return e.toNumber();
|
|
@@ -468,7 +468,7 @@ function k(e, t) {
|
|
|
468
468
|
}
|
|
469
469
|
//#endregion
|
|
470
470
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/reflection-json-reader.js
|
|
471
|
-
var
|
|
471
|
+
var _e = class {
|
|
472
472
|
constructor(e) {
|
|
473
473
|
this.info = e;
|
|
474
474
|
}
|
|
@@ -564,16 +564,16 @@ var pe = class {
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
enum(e, t, n, r) {
|
|
567
|
-
if (e[0] == "google.protobuf.NullValue" &&
|
|
567
|
+
if (e[0] == "google.protobuf.NullValue" && x(t === null || t === "NULL_VALUE", `Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`), t === null) return 0;
|
|
568
568
|
switch (typeof t) {
|
|
569
|
-
case "number": return
|
|
569
|
+
case "number": return x(Number.isInteger(t), `Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${t}.`), t;
|
|
570
570
|
case "string":
|
|
571
571
|
let i = t;
|
|
572
572
|
e[2] && t.substring(0, e[2].length) === e[2] && (i = t.substring(e[2].length));
|
|
573
573
|
let a = e[1][i];
|
|
574
|
-
return a === void 0 && r ? !1 : (
|
|
574
|
+
return a === void 0 && r ? !1 : (x(typeof a == "number", `Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${t}".`), a);
|
|
575
575
|
}
|
|
576
|
-
|
|
576
|
+
x(!1, `Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof t}".`);
|
|
577
577
|
}
|
|
578
578
|
scalar(e, t, n, r) {
|
|
579
579
|
let a;
|
|
@@ -603,7 +603,7 @@ var pe = class {
|
|
|
603
603
|
a = "too large or small";
|
|
604
604
|
break;
|
|
605
605
|
}
|
|
606
|
-
return t == i.FLOAT &&
|
|
606
|
+
return t == i.FLOAT && w(r), r;
|
|
607
607
|
case i.INT32:
|
|
608
608
|
case i.FIXED32:
|
|
609
609
|
case i.SFIXED32:
|
|
@@ -612,18 +612,18 @@ var pe = class {
|
|
|
612
612
|
if (e === null) return 0;
|
|
613
613
|
let o;
|
|
614
614
|
if (typeof e == "number" ? o = e : e === "" ? a = "empty string" : typeof e == "string" && (e.trim().length === e.length ? o = Number(e) : a = "extra whitespace"), o === void 0) break;
|
|
615
|
-
return t == i.UINT32 ?
|
|
615
|
+
return t == i.UINT32 ? C(o) : S(o), o;
|
|
616
616
|
case i.INT64:
|
|
617
617
|
case i.SFIXED64:
|
|
618
618
|
case i.SINT64:
|
|
619
|
-
if (e === null) return
|
|
619
|
+
if (e === null) return T(b.ZERO, n);
|
|
620
620
|
if (typeof e != "number" && typeof e != "string") break;
|
|
621
|
-
return
|
|
621
|
+
return T(b.from(e), n);
|
|
622
622
|
case i.FIXED64:
|
|
623
623
|
case i.UINT64:
|
|
624
|
-
if (e === null) return
|
|
624
|
+
if (e === null) return T(y.ZERO, n);
|
|
625
625
|
if (typeof e != "number" && typeof e != "string") break;
|
|
626
|
-
return
|
|
626
|
+
return T(y.from(e), n);
|
|
627
627
|
case i.BOOL:
|
|
628
628
|
if (e === null) return !1;
|
|
629
629
|
if (typeof e != "boolean") break;
|
|
@@ -645,7 +645,7 @@ var pe = class {
|
|
|
645
645
|
}
|
|
646
646
|
this.assert(!1, r + (a ? " - " + a : ""), e);
|
|
647
647
|
}
|
|
648
|
-
},
|
|
648
|
+
}, ve = class {
|
|
649
649
|
constructor(e) {
|
|
650
650
|
this.fields = e.fields ?? [];
|
|
651
651
|
}
|
|
@@ -660,62 +660,62 @@ var pe = class {
|
|
|
660
660
|
let i = r[e.oneof];
|
|
661
661
|
if (i.oneofKind !== e.localName) continue;
|
|
662
662
|
let a = e.kind == "scalar" || e.kind == "enum" ? Object.assign(Object.assign({}, t), { emitDefaultValues: !0 }) : t, o = this.field(e, i[e.localName], a);
|
|
663
|
-
|
|
663
|
+
x(o !== void 0), n[t.useProtoFieldName ? e.name : e.jsonName] = o;
|
|
664
664
|
}
|
|
665
665
|
return n;
|
|
666
666
|
}
|
|
667
667
|
field(e, t, n) {
|
|
668
668
|
let r;
|
|
669
669
|
if (e.kind == "map") {
|
|
670
|
-
|
|
670
|
+
x(typeof t == "object" && !!t);
|
|
671
671
|
let i = {};
|
|
672
672
|
switch (e.V.kind) {
|
|
673
673
|
case "scalar":
|
|
674
674
|
for (let [n, r] of Object.entries(t)) {
|
|
675
675
|
let t = this.scalar(e.V.T, r, e.name, !1, !0);
|
|
676
|
-
|
|
676
|
+
x(t !== void 0), i[n.toString()] = t;
|
|
677
677
|
}
|
|
678
678
|
break;
|
|
679
679
|
case "message":
|
|
680
680
|
let r = e.V.T();
|
|
681
681
|
for (let [a, o] of Object.entries(t)) {
|
|
682
682
|
let t = this.message(r, o, e.name, n);
|
|
683
|
-
|
|
683
|
+
x(t !== void 0), i[a.toString()] = t;
|
|
684
684
|
}
|
|
685
685
|
break;
|
|
686
686
|
case "enum":
|
|
687
687
|
let a = e.V.T();
|
|
688
688
|
for (let [r, o] of Object.entries(t)) {
|
|
689
|
-
|
|
689
|
+
x(o === void 0 || typeof o == "number");
|
|
690
690
|
let t = this.enum(a, o, e.name, !1, !0, n.enumAsInteger);
|
|
691
|
-
|
|
691
|
+
x(t !== void 0), i[r.toString()] = t;
|
|
692
692
|
}
|
|
693
693
|
break;
|
|
694
694
|
}
|
|
695
695
|
(n.emitDefaultValues || Object.keys(i).length > 0) && (r = i);
|
|
696
696
|
} else if (e.repeat) {
|
|
697
|
-
|
|
697
|
+
x(Array.isArray(t));
|
|
698
698
|
let i = [];
|
|
699
699
|
switch (e.kind) {
|
|
700
700
|
case "scalar":
|
|
701
701
|
for (let n = 0; n < t.length; n++) {
|
|
702
702
|
let r = this.scalar(e.T, t[n], e.name, e.opt, !0);
|
|
703
|
-
|
|
703
|
+
x(r !== void 0), i.push(r);
|
|
704
704
|
}
|
|
705
705
|
break;
|
|
706
706
|
case "enum":
|
|
707
707
|
let r = e.T();
|
|
708
708
|
for (let a = 0; a < t.length; a++) {
|
|
709
|
-
|
|
709
|
+
x(t[a] === void 0 || typeof t[a] == "number");
|
|
710
710
|
let o = this.enum(r, t[a], e.name, e.opt, !0, n.enumAsInteger);
|
|
711
|
-
|
|
711
|
+
x(o !== void 0), i.push(o);
|
|
712
712
|
}
|
|
713
713
|
break;
|
|
714
714
|
case "message":
|
|
715
715
|
let a = e.T();
|
|
716
716
|
for (let r = 0; r < t.length; r++) {
|
|
717
717
|
let o = this.message(a, t[r], e.name, n);
|
|
718
|
-
|
|
718
|
+
x(o !== void 0), i.push(o);
|
|
719
719
|
}
|
|
720
720
|
break;
|
|
721
721
|
}
|
|
@@ -736,55 +736,55 @@ var pe = class {
|
|
|
736
736
|
enum(e, t, n, r, i, a) {
|
|
737
737
|
if (e[0] == "google.protobuf.NullValue") return !i && !r ? void 0 : null;
|
|
738
738
|
if (t === void 0) {
|
|
739
|
-
|
|
739
|
+
x(r);
|
|
740
740
|
return;
|
|
741
741
|
}
|
|
742
|
-
if (!(t === 0 && !i && !r)) return
|
|
742
|
+
if (!(t === 0 && !i && !r)) return x(typeof t == "number"), x(Number.isInteger(t)), a || !e[1].hasOwnProperty(t) ? t : e[2] ? e[2] + e[1][t] : e[1][t];
|
|
743
743
|
}
|
|
744
744
|
message(e, t, n, r) {
|
|
745
745
|
return t === void 0 ? r.emitDefaultValues ? null : void 0 : e.internalJsonWrite(t, r);
|
|
746
746
|
}
|
|
747
747
|
scalar(e, t, n, r, a) {
|
|
748
748
|
if (t === void 0) {
|
|
749
|
-
|
|
749
|
+
x(r);
|
|
750
750
|
return;
|
|
751
751
|
}
|
|
752
752
|
let o = a || r;
|
|
753
753
|
switch (e) {
|
|
754
754
|
case i.INT32:
|
|
755
755
|
case i.SFIXED32:
|
|
756
|
-
case i.SINT32: return t === 0 ? o ? 0 : void 0 : (
|
|
756
|
+
case i.SINT32: return t === 0 ? o ? 0 : void 0 : (S(t), t);
|
|
757
757
|
case i.FIXED32:
|
|
758
|
-
case i.UINT32: return t === 0 ? o ? 0 : void 0 : (
|
|
759
|
-
case i.FLOAT:
|
|
760
|
-
case i.DOUBLE: return t === 0 ? o ? 0 : void 0 : (
|
|
761
|
-
case i.STRING: return t === "" ? o ? "" : void 0 : (
|
|
762
|
-
case i.BOOL: return t === !1 ? o ? !1 : void 0 : (
|
|
758
|
+
case i.UINT32: return t === 0 ? o ? 0 : void 0 : (C(t), t);
|
|
759
|
+
case i.FLOAT: w(t);
|
|
760
|
+
case i.DOUBLE: return t === 0 ? o ? 0 : void 0 : (x(typeof t == "number"), Number.isNaN(t) ? "NaN" : t === Infinity ? "Infinity" : t === -Infinity ? "-Infinity" : t);
|
|
761
|
+
case i.STRING: return t === "" ? o ? "" : void 0 : (x(typeof t == "string"), t);
|
|
762
|
+
case i.BOOL: return t === !1 ? o ? !1 : void 0 : (x(typeof t == "boolean"), t);
|
|
763
763
|
case i.UINT64:
|
|
764
764
|
case i.FIXED64:
|
|
765
|
-
|
|
766
|
-
let e =
|
|
765
|
+
x(typeof t == "number" || typeof t == "string" || typeof t == "bigint");
|
|
766
|
+
let e = y.from(t);
|
|
767
767
|
return e.isZero() && !o ? void 0 : e.toString();
|
|
768
768
|
case i.INT64:
|
|
769
769
|
case i.SFIXED64:
|
|
770
770
|
case i.SINT64:
|
|
771
|
-
|
|
772
|
-
let n =
|
|
771
|
+
x(typeof t == "number" || typeof t == "string" || typeof t == "bigint");
|
|
772
|
+
let n = b.from(t);
|
|
773
773
|
return n.isZero() && !o ? void 0 : n.toString();
|
|
774
|
-
case i.BYTES: return
|
|
774
|
+
case i.BYTES: return x(t instanceof Uint8Array), t.byteLength ? te(t) : o ? "" : void 0;
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
777
|
};
|
|
778
778
|
//#endregion
|
|
779
779
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/reflection-scalar-default.js
|
|
780
|
-
function
|
|
780
|
+
function E(e, t = a.STRING) {
|
|
781
781
|
switch (e) {
|
|
782
782
|
case i.BOOL: return !1;
|
|
783
783
|
case i.UINT64:
|
|
784
|
-
case i.FIXED64: return
|
|
784
|
+
case i.FIXED64: return T(y.ZERO, t);
|
|
785
785
|
case i.INT64:
|
|
786
786
|
case i.SFIXED64:
|
|
787
|
-
case i.SINT64: return
|
|
787
|
+
case i.SINT64: return T(b.ZERO, t);
|
|
788
788
|
case i.DOUBLE:
|
|
789
789
|
case i.FLOAT: return 0;
|
|
790
790
|
case i.BYTES: return /* @__PURE__ */ new Uint8Array();
|
|
@@ -794,7 +794,7 @@ function A(e, t = a.STRING) {
|
|
|
794
794
|
}
|
|
795
795
|
//#endregion
|
|
796
796
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/reflection-binary-reader.js
|
|
797
|
-
var
|
|
797
|
+
var ye = class {
|
|
798
798
|
constructor(e) {
|
|
799
799
|
this.info = e;
|
|
800
800
|
}
|
|
@@ -867,12 +867,12 @@ var he = class {
|
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
869
|
if (s === void 0) {
|
|
870
|
-
let t =
|
|
870
|
+
let t = E(e.K);
|
|
871
871
|
s = e.K == i.BOOL ? t.toString() : t;
|
|
872
872
|
}
|
|
873
873
|
if (c === void 0) switch (e.V.kind) {
|
|
874
874
|
case "scalar":
|
|
875
|
-
c =
|
|
875
|
+
c = E(e.V.T, e.V.L);
|
|
876
876
|
break;
|
|
877
877
|
case "enum":
|
|
878
878
|
c = 0;
|
|
@@ -890,19 +890,19 @@ var he = class {
|
|
|
890
890
|
case i.BOOL: return e.bool();
|
|
891
891
|
case i.DOUBLE: return e.double();
|
|
892
892
|
case i.FLOAT: return e.float();
|
|
893
|
-
case i.INT64: return
|
|
894
|
-
case i.UINT64: return
|
|
895
|
-
case i.FIXED64: return
|
|
893
|
+
case i.INT64: return T(e.int64(), n);
|
|
894
|
+
case i.UINT64: return T(e.uint64(), n);
|
|
895
|
+
case i.FIXED64: return T(e.fixed64(), n);
|
|
896
896
|
case i.FIXED32: return e.fixed32();
|
|
897
897
|
case i.BYTES: return e.bytes();
|
|
898
898
|
case i.UINT32: return e.uint32();
|
|
899
899
|
case i.SFIXED32: return e.sfixed32();
|
|
900
|
-
case i.SFIXED64: return
|
|
900
|
+
case i.SFIXED64: return T(e.sfixed64(), n);
|
|
901
901
|
case i.SINT32: return e.sint32();
|
|
902
|
-
case i.SINT64: return
|
|
902
|
+
case i.SINT64: return T(e.sint64(), n);
|
|
903
903
|
}
|
|
904
904
|
}
|
|
905
|
-
},
|
|
905
|
+
}, be = class {
|
|
906
906
|
constructor(e) {
|
|
907
907
|
this.info = e;
|
|
908
908
|
}
|
|
@@ -925,18 +925,18 @@ var he = class {
|
|
|
925
925
|
case "scalar":
|
|
926
926
|
case "enum":
|
|
927
927
|
let t = e.kind == "enum" ? i.INT32 : e.T;
|
|
928
|
-
if (c) if (
|
|
928
|
+
if (c) if (x(Array.isArray(a)), c == o.PACKED) this.packed(n, t, e.no, a);
|
|
929
929
|
else for (let r of a) this.scalar(n, t, e.no, r, !0);
|
|
930
|
-
else a === void 0 ?
|
|
930
|
+
else a === void 0 ? x(e.opt) : this.scalar(n, t, e.no, a, s || e.opt);
|
|
931
931
|
break;
|
|
932
932
|
case "message":
|
|
933
933
|
if (c) {
|
|
934
|
-
|
|
934
|
+
x(Array.isArray(a));
|
|
935
935
|
for (let t of a) this.message(n, r, e.T(), e.no, t);
|
|
936
936
|
} else this.message(n, r, e.T(), e.no, a);
|
|
937
937
|
break;
|
|
938
938
|
case "map":
|
|
939
|
-
|
|
939
|
+
x(typeof a == "object" && !!a);
|
|
940
940
|
for (let [t, i] of Object.entries(a)) this.mapEntry(n, r, e, t, i);
|
|
941
941
|
break;
|
|
942
942
|
}
|
|
@@ -956,7 +956,7 @@ var he = class {
|
|
|
956
956
|
s = Number.parseInt(a);
|
|
957
957
|
break;
|
|
958
958
|
case i.BOOL:
|
|
959
|
-
|
|
959
|
+
x(a == "true" || a == "false"), s = a == "true";
|
|
960
960
|
break;
|
|
961
961
|
}
|
|
962
962
|
switch (this.scalar(e, r.K, 1, s, !0), r.V.kind) {
|
|
@@ -981,7 +981,7 @@ var he = class {
|
|
|
981
981
|
}
|
|
982
982
|
packed(e, n, r, a) {
|
|
983
983
|
if (!a.length) return;
|
|
984
|
-
|
|
984
|
+
x(n !== i.BYTES && n !== i.STRING), e.tag(r, t.LengthDelimited), e.fork();
|
|
985
985
|
let [, o] = this.scalarInfo(n);
|
|
986
986
|
for (let t = 0; t < a.length; t++) e[o](a[t]);
|
|
987
987
|
e.join();
|
|
@@ -1008,13 +1008,13 @@ var he = class {
|
|
|
1008
1008
|
r = t.Bit32, a = "float";
|
|
1009
1009
|
break;
|
|
1010
1010
|
case i.INT64:
|
|
1011
|
-
s = o ||
|
|
1011
|
+
s = o || b.from(n).isZero(), a = "int64";
|
|
1012
1012
|
break;
|
|
1013
1013
|
case i.UINT64:
|
|
1014
|
-
s = o ||
|
|
1014
|
+
s = o || y.from(n).isZero(), a = "uint64";
|
|
1015
1015
|
break;
|
|
1016
1016
|
case i.FIXED64:
|
|
1017
|
-
s = o ||
|
|
1017
|
+
s = o || y.from(n).isZero(), r = t.Bit64, a = "fixed64";
|
|
1018
1018
|
break;
|
|
1019
1019
|
case i.BYTES:
|
|
1020
1020
|
s = o || !n.byteLength, r = t.LengthDelimited, a = "bytes";
|
|
@@ -1026,13 +1026,13 @@ var he = class {
|
|
|
1026
1026
|
r = t.Bit32, a = "sfixed32";
|
|
1027
1027
|
break;
|
|
1028
1028
|
case i.SFIXED64:
|
|
1029
|
-
s = o ||
|
|
1029
|
+
s = o || b.from(n).isZero(), r = t.Bit64, a = "sfixed64";
|
|
1030
1030
|
break;
|
|
1031
1031
|
case i.SINT32:
|
|
1032
1032
|
a = "sint32";
|
|
1033
1033
|
break;
|
|
1034
1034
|
case i.SINT64:
|
|
1035
|
-
s = o ||
|
|
1035
|
+
s = o || b.from(n).isZero(), a = "sint64";
|
|
1036
1036
|
break;
|
|
1037
1037
|
}
|
|
1038
1038
|
return [
|
|
@@ -1044,7 +1044,7 @@ var he = class {
|
|
|
1044
1044
|
};
|
|
1045
1045
|
//#endregion
|
|
1046
1046
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/reflection-create.js
|
|
1047
|
-
function
|
|
1047
|
+
function xe(e) {
|
|
1048
1048
|
let t = e.messagePrototype ? Object.create(e.messagePrototype) : Object.defineProperty({}, n, { value: e });
|
|
1049
1049
|
for (let n of e.fields) {
|
|
1050
1050
|
let e = n.localName;
|
|
@@ -1052,7 +1052,7 @@ function _e(e) {
|
|
|
1052
1052
|
else if (n.repeat) t[e] = [];
|
|
1053
1053
|
else switch (n.kind) {
|
|
1054
1054
|
case "scalar":
|
|
1055
|
-
t[e] =
|
|
1055
|
+
t[e] = E(n.T, n.L);
|
|
1056
1056
|
break;
|
|
1057
1057
|
case "enum":
|
|
1058
1058
|
t[e] = 0;
|
|
@@ -1066,7 +1066,7 @@ function _e(e) {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
//#endregion
|
|
1068
1068
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/reflection-merge-partial.js
|
|
1069
|
-
function
|
|
1069
|
+
function D(e, t, n) {
|
|
1070
1070
|
let r, i = n, a;
|
|
1071
1071
|
for (let n of e.fields) {
|
|
1072
1072
|
let e = n.localName;
|
|
@@ -1106,21 +1106,21 @@ function j(e, t, n) {
|
|
|
1106
1106
|
}
|
|
1107
1107
|
//#endregion
|
|
1108
1108
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/json-format-contract.js
|
|
1109
|
-
var
|
|
1109
|
+
var Se = {
|
|
1110
1110
|
emitDefaultValues: !1,
|
|
1111
1111
|
enumAsInteger: !1,
|
|
1112
1112
|
useProtoFieldName: !1,
|
|
1113
1113
|
prettySpaces: 0
|
|
1114
|
-
},
|
|
1115
|
-
function
|
|
1116
|
-
return e ? Object.assign(Object.assign({},
|
|
1114
|
+
}, Ce = { ignoreUnknownFields: !1 };
|
|
1115
|
+
function we(e) {
|
|
1116
|
+
return e ? Object.assign(Object.assign({}, Ce), e) : Ce;
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1119
|
-
return e ? Object.assign(Object.assign({},
|
|
1118
|
+
function Te(e) {
|
|
1119
|
+
return e ? Object.assign(Object.assign({}, Se), e) : Se;
|
|
1120
1120
|
}
|
|
1121
1121
|
//#endregion
|
|
1122
1122
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/reflection-equals.js
|
|
1123
|
-
function
|
|
1123
|
+
function Ee(e, t, n) {
|
|
1124
1124
|
if (t === n) return !0;
|
|
1125
1125
|
if (!t || !n) return !1;
|
|
1126
1126
|
for (let r of e.fields) {
|
|
@@ -1129,21 +1129,21 @@ function be(e, t, n) {
|
|
|
1129
1129
|
case "enum":
|
|
1130
1130
|
case "scalar":
|
|
1131
1131
|
let e = r.kind == "enum" ? i.INT32 : r.T;
|
|
1132
|
-
if (!(r.repeat ?
|
|
1132
|
+
if (!(r.repeat ? Oe(e, a, o) : De(e, a, o))) return !1;
|
|
1133
1133
|
break;
|
|
1134
1134
|
case "map":
|
|
1135
|
-
if (!(r.V.kind == "message" ?
|
|
1135
|
+
if (!(r.V.kind == "message" ? ke(r.V.T(), O(a), O(o)) : Oe(r.V.kind == "enum" ? i.INT32 : r.V.T, O(a), O(o)))) return !1;
|
|
1136
1136
|
break;
|
|
1137
1137
|
case "message":
|
|
1138
1138
|
let t = r.T();
|
|
1139
|
-
if (!(r.repeat ?
|
|
1139
|
+
if (!(r.repeat ? ke(t, a, o) : t.equals(a, o))) return !1;
|
|
1140
1140
|
break;
|
|
1141
1141
|
}
|
|
1142
1142
|
}
|
|
1143
1143
|
return !0;
|
|
1144
1144
|
}
|
|
1145
|
-
var
|
|
1146
|
-
function
|
|
1145
|
+
var O = Object.values;
|
|
1146
|
+
function De(e, t, n) {
|
|
1147
1147
|
if (t === n) return !0;
|
|
1148
1148
|
if (e !== i.BYTES) return !1;
|
|
1149
1149
|
let r = t, a = n;
|
|
@@ -1151,26 +1151,26 @@ function F(e, t, n) {
|
|
|
1151
1151
|
for (let e = 0; e < r.length; e++) if (r[e] != a[e]) return !1;
|
|
1152
1152
|
return !0;
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function Oe(e, t, n) {
|
|
1155
1155
|
if (t.length !== n.length) return !1;
|
|
1156
|
-
for (let r = 0; r < t.length; r++) if (!
|
|
1156
|
+
for (let r = 0; r < t.length; r++) if (!De(e, t[r], n[r])) return !1;
|
|
1157
1157
|
return !0;
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function ke(e, t, n) {
|
|
1160
1160
|
if (t.length !== n.length) return !1;
|
|
1161
1161
|
for (let r = 0; r < t.length; r++) if (!e.equals(t[r], n[r])) return !1;
|
|
1162
1162
|
return !0;
|
|
1163
1163
|
}
|
|
1164
1164
|
//#endregion
|
|
1165
1165
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/binary-writer.js
|
|
1166
|
-
var
|
|
1166
|
+
var Ae = {
|
|
1167
1167
|
writeUnknownFields: !0,
|
|
1168
|
-
writerFactory: () => new
|
|
1168
|
+
writerFactory: () => new Me()
|
|
1169
1169
|
};
|
|
1170
|
-
function
|
|
1171
|
-
return e ? Object.assign(Object.assign({},
|
|
1170
|
+
function je(e) {
|
|
1171
|
+
return e ? Object.assign(Object.assign({}, Ae), e) : Ae;
|
|
1172
1172
|
}
|
|
1173
|
-
var
|
|
1173
|
+
var Me = class {
|
|
1174
1174
|
constructor(e) {
|
|
1175
1175
|
this.stack = [], this.textEncoder = e ?? new TextEncoder(), this.chunks = [], this.buf = [];
|
|
1176
1176
|
}
|
|
@@ -1200,11 +1200,11 @@ var Se = class {
|
|
|
1200
1200
|
return this.buf.length && (this.chunks.push(new Uint8Array(this.buf)), this.buf = []), this.chunks.push(e), this;
|
|
1201
1201
|
}
|
|
1202
1202
|
uint32(e) {
|
|
1203
|
-
for (
|
|
1203
|
+
for (C(e); e > 127;) this.buf.push(e & 127 | 128), e >>>= 7;
|
|
1204
1204
|
return this.buf.push(e), this;
|
|
1205
1205
|
}
|
|
1206
1206
|
int32(e) {
|
|
1207
|
-
return
|
|
1207
|
+
return S(e), ae(e, this.buf), this;
|
|
1208
1208
|
}
|
|
1209
1209
|
bool(e) {
|
|
1210
1210
|
return this.buf.push(+!!e), this;
|
|
@@ -1217,7 +1217,7 @@ var Se = class {
|
|
|
1217
1217
|
return this.uint32(t.byteLength), this.raw(t);
|
|
1218
1218
|
}
|
|
1219
1219
|
float(e) {
|
|
1220
|
-
|
|
1220
|
+
w(e);
|
|
1221
1221
|
let t = /* @__PURE__ */ new Uint8Array(4);
|
|
1222
1222
|
return new DataView(t.buffer).setFloat32(0, e, !0), this.raw(t);
|
|
1223
1223
|
}
|
|
@@ -1226,48 +1226,48 @@ var Se = class {
|
|
|
1226
1226
|
return new DataView(t.buffer).setFloat64(0, e, !0), this.raw(t);
|
|
1227
1227
|
}
|
|
1228
1228
|
fixed32(e) {
|
|
1229
|
-
|
|
1229
|
+
C(e);
|
|
1230
1230
|
let t = /* @__PURE__ */ new Uint8Array(4);
|
|
1231
1231
|
return new DataView(t.buffer).setUint32(0, e, !0), this.raw(t);
|
|
1232
1232
|
}
|
|
1233
1233
|
sfixed32(e) {
|
|
1234
|
-
|
|
1234
|
+
S(e);
|
|
1235
1235
|
let t = /* @__PURE__ */ new Uint8Array(4);
|
|
1236
1236
|
return new DataView(t.buffer).setInt32(0, e, !0), this.raw(t);
|
|
1237
1237
|
}
|
|
1238
1238
|
sint32(e) {
|
|
1239
|
-
return
|
|
1239
|
+
return S(e), e = (e << 1 ^ e >> 31) >>> 0, ae(e, this.buf), this;
|
|
1240
1240
|
}
|
|
1241
1241
|
sfixed64(e) {
|
|
1242
|
-
let t = /* @__PURE__ */ new Uint8Array(8), n = new DataView(t.buffer), r =
|
|
1242
|
+
let t = /* @__PURE__ */ new Uint8Array(8), n = new DataView(t.buffer), r = b.from(e);
|
|
1243
1243
|
return n.setInt32(0, r.lo, !0), n.setInt32(4, r.hi, !0), this.raw(t);
|
|
1244
1244
|
}
|
|
1245
1245
|
fixed64(e) {
|
|
1246
|
-
let t = /* @__PURE__ */ new Uint8Array(8), n = new DataView(t.buffer), r =
|
|
1246
|
+
let t = /* @__PURE__ */ new Uint8Array(8), n = new DataView(t.buffer), r = y.from(e);
|
|
1247
1247
|
return n.setInt32(0, r.lo, !0), n.setInt32(4, r.hi, !0), this.raw(t);
|
|
1248
1248
|
}
|
|
1249
1249
|
int64(e) {
|
|
1250
|
-
let t =
|
|
1250
|
+
let t = b.from(e);
|
|
1251
1251
|
return m(t.lo, t.hi, this.buf), this;
|
|
1252
1252
|
}
|
|
1253
1253
|
sint64(e) {
|
|
1254
|
-
let t =
|
|
1254
|
+
let t = b.from(e), n = t.hi >> 31;
|
|
1255
1255
|
return m(t.lo << 1 ^ n, (t.hi << 1 | t.lo >>> 31) ^ n, this.buf), this;
|
|
1256
1256
|
}
|
|
1257
1257
|
uint64(e) {
|
|
1258
|
-
let t =
|
|
1258
|
+
let t = y.from(e);
|
|
1259
1259
|
return m(t.lo, t.hi, this.buf), this;
|
|
1260
1260
|
}
|
|
1261
|
-
},
|
|
1261
|
+
}, Ne = {
|
|
1262
1262
|
readUnknownField: !0,
|
|
1263
|
-
readerFactory: (e) => new
|
|
1263
|
+
readerFactory: (e) => new Fe(e)
|
|
1264
1264
|
};
|
|
1265
|
-
function
|
|
1266
|
-
return e ? Object.assign(Object.assign({},
|
|
1265
|
+
function Pe(e) {
|
|
1266
|
+
return e ? Object.assign(Object.assign({}, Ne), e) : Ne;
|
|
1267
1267
|
}
|
|
1268
|
-
var
|
|
1268
|
+
var Fe = class {
|
|
1269
1269
|
constructor(e, t) {
|
|
1270
|
-
this.varint64 = ne, this.uint32 =
|
|
1270
|
+
this.varint64 = ne, this.uint32 = oe, this.buf = e, this.len = e.length, this.pos = 0, this.view = new DataView(e.buffer, e.byteOffset, e.byteLength), this.textDecoder = t ?? new TextDecoder("utf-8", {
|
|
1271
1271
|
fatal: !0,
|
|
1272
1272
|
ignoreBOM: !0
|
|
1273
1273
|
});
|
|
@@ -1310,14 +1310,14 @@ var we = class {
|
|
|
1310
1310
|
return e >>> 1 ^ -(e & 1);
|
|
1311
1311
|
}
|
|
1312
1312
|
int64() {
|
|
1313
|
-
return new
|
|
1313
|
+
return new b(...this.varint64());
|
|
1314
1314
|
}
|
|
1315
1315
|
uint64() {
|
|
1316
|
-
return new
|
|
1316
|
+
return new y(...this.varint64());
|
|
1317
1317
|
}
|
|
1318
1318
|
sint64() {
|
|
1319
1319
|
let [e, t] = this.varint64(), n = -(e & 1);
|
|
1320
|
-
return e = (e >>> 1 | (t & 1) << 31) ^ n, t = t >>> 1 ^ n, new
|
|
1320
|
+
return e = (e >>> 1 | (t & 1) << 31) ^ n, t = t >>> 1 ^ n, new b(e, t);
|
|
1321
1321
|
}
|
|
1322
1322
|
bool() {
|
|
1323
1323
|
let [e, t] = this.varint64();
|
|
@@ -1330,10 +1330,10 @@ var we = class {
|
|
|
1330
1330
|
return this.view.getInt32((this.pos += 4) - 4, !0);
|
|
1331
1331
|
}
|
|
1332
1332
|
fixed64() {
|
|
1333
|
-
return new
|
|
1333
|
+
return new y(this.sfixed32(), this.sfixed32());
|
|
1334
1334
|
}
|
|
1335
1335
|
sfixed64() {
|
|
1336
|
-
return new
|
|
1336
|
+
return new b(this.sfixed32(), this.sfixed32());
|
|
1337
1337
|
}
|
|
1338
1338
|
float() {
|
|
1339
1339
|
return this.view.getFloat32((this.pos += 4) - 4, !0);
|
|
@@ -1348,20 +1348,20 @@ var we = class {
|
|
|
1348
1348
|
string() {
|
|
1349
1349
|
return this.textDecoder.decode(this.bytes());
|
|
1350
1350
|
}
|
|
1351
|
-
},
|
|
1351
|
+
}, Ie = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), Le = Ie[n] = {}, k = class {
|
|
1352
1352
|
constructor(e, t, n) {
|
|
1353
|
-
this.defaultCheckDepth = 16, this.typeName = e, this.fields = t.map(s), this.options = n ?? {},
|
|
1353
|
+
this.defaultCheckDepth = 16, this.typeName = e, this.fields = t.map(s), this.options = n ?? {}, Le.value = this, this.messagePrototype = Object.create(null, Ie), this.refTypeCheck = new l(this), this.refJsonReader = new _e(this), this.refJsonWriter = new ve(this), this.refBinReader = new ye(this), this.refBinWriter = new be(this);
|
|
1354
1354
|
}
|
|
1355
1355
|
create(e) {
|
|
1356
|
-
let t =
|
|
1357
|
-
return e !== void 0 &&
|
|
1356
|
+
let t = xe(this);
|
|
1357
|
+
return e !== void 0 && D(this, t, e), t;
|
|
1358
1358
|
}
|
|
1359
1359
|
clone(e) {
|
|
1360
1360
|
let t = this.create();
|
|
1361
|
-
return
|
|
1361
|
+
return D(this, t, e), t;
|
|
1362
1362
|
}
|
|
1363
1363
|
equals(e, t) {
|
|
1364
|
-
return
|
|
1364
|
+
return Ee(this, e, t);
|
|
1365
1365
|
}
|
|
1366
1366
|
is(e, t = this.defaultCheckDepth) {
|
|
1367
1367
|
return this.refTypeCheck.is(e, t, !1);
|
|
@@ -1370,28 +1370,28 @@ var we = class {
|
|
|
1370
1370
|
return this.refTypeCheck.is(e, t, !0);
|
|
1371
1371
|
}
|
|
1372
1372
|
mergePartial(e, t) {
|
|
1373
|
-
|
|
1373
|
+
D(this, e, t);
|
|
1374
1374
|
}
|
|
1375
1375
|
fromBinary(e, t) {
|
|
1376
|
-
let n =
|
|
1376
|
+
let n = Pe(t);
|
|
1377
1377
|
return this.internalBinaryRead(n.readerFactory(e), e.byteLength, n);
|
|
1378
1378
|
}
|
|
1379
1379
|
fromJson(e, t) {
|
|
1380
|
-
return this.internalJsonRead(e,
|
|
1380
|
+
return this.internalJsonRead(e, we(t));
|
|
1381
1381
|
}
|
|
1382
1382
|
fromJsonString(e, t) {
|
|
1383
1383
|
let n = JSON.parse(e);
|
|
1384
1384
|
return this.fromJson(n, t);
|
|
1385
1385
|
}
|
|
1386
1386
|
toJson(e, t) {
|
|
1387
|
-
return this.internalJsonWrite(e,
|
|
1387
|
+
return this.internalJsonWrite(e, Te(t));
|
|
1388
1388
|
}
|
|
1389
1389
|
toJsonString(e, t) {
|
|
1390
1390
|
let n = this.toJson(e, t);
|
|
1391
1391
|
return JSON.stringify(n, null, t?.prettySpaces ?? 0);
|
|
1392
1392
|
}
|
|
1393
1393
|
toBinary(e, t) {
|
|
1394
|
-
let n =
|
|
1394
|
+
let n = je(t);
|
|
1395
1395
|
return this.internalBinaryWrite(e, n.writerFactory(), n).finish();
|
|
1396
1396
|
}
|
|
1397
1397
|
internalJsonRead(e, t, n) {
|
|
@@ -1411,7 +1411,7 @@ var we = class {
|
|
|
1411
1411
|
let i = r ?? this.create();
|
|
1412
1412
|
return this.refBinReader.read(e, i, n, t), i;
|
|
1413
1413
|
}
|
|
1414
|
-
},
|
|
1414
|
+
}, A = new class extends k {
|
|
1415
1415
|
constructor() {
|
|
1416
1416
|
super("shared.Translation", [{
|
|
1417
1417
|
no: 1,
|
|
@@ -1427,7 +1427,7 @@ var we = class {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
create(e) {
|
|
1429
1429
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1430
|
-
return t.code = "", t.content = "", e !== void 0 &&
|
|
1430
|
+
return t.code = "", t.content = "", e !== void 0 && D(this, t, e), t;
|
|
1431
1431
|
}
|
|
1432
1432
|
internalBinaryRead(t, n, r, i) {
|
|
1433
1433
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1454,7 +1454,7 @@ var we = class {
|
|
|
1454
1454
|
let a = i.writeUnknownFields;
|
|
1455
1455
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1456
1456
|
}
|
|
1457
|
-
}(),
|
|
1457
|
+
}(), Re = new class extends k {
|
|
1458
1458
|
constructor() {
|
|
1459
1459
|
super("shared.DefinitionDataType", [
|
|
1460
1460
|
{
|
|
@@ -1468,28 +1468,28 @@ var we = class {
|
|
|
1468
1468
|
name: "name",
|
|
1469
1469
|
kind: "message",
|
|
1470
1470
|
repeat: 2,
|
|
1471
|
-
T: () =>
|
|
1471
|
+
T: () => A
|
|
1472
1472
|
},
|
|
1473
1473
|
{
|
|
1474
1474
|
no: 3,
|
|
1475
1475
|
name: "display_message",
|
|
1476
1476
|
kind: "message",
|
|
1477
1477
|
repeat: 2,
|
|
1478
|
-
T: () =>
|
|
1478
|
+
T: () => A
|
|
1479
1479
|
},
|
|
1480
1480
|
{
|
|
1481
1481
|
no: 4,
|
|
1482
1482
|
name: "alias",
|
|
1483
1483
|
kind: "message",
|
|
1484
1484
|
repeat: 2,
|
|
1485
|
-
T: () =>
|
|
1485
|
+
T: () => A
|
|
1486
1486
|
},
|
|
1487
1487
|
{
|
|
1488
1488
|
no: 5,
|
|
1489
1489
|
name: "rules",
|
|
1490
1490
|
kind: "message",
|
|
1491
1491
|
repeat: 2,
|
|
1492
|
-
T: () =>
|
|
1492
|
+
T: () => M
|
|
1493
1493
|
},
|
|
1494
1494
|
{
|
|
1495
1495
|
no: 6,
|
|
@@ -1527,7 +1527,7 @@ var we = class {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
create(e) {
|
|
1529
1529
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1530
|
-
return t.identifier = "", t.name = [], t.displayMessage = [], t.alias = [], t.rules = [], t.genericKeys = [], t.type = "", t.linkedDataTypeIdentifiers = [], t.version = "", t.definitionSource = "", e !== void 0 &&
|
|
1530
|
+
return t.identifier = "", t.name = [], t.displayMessage = [], t.alias = [], t.rules = [], t.genericKeys = [], t.type = "", t.linkedDataTypeIdentifiers = [], t.version = "", t.definitionSource = "", e !== void 0 && D(this, t, e), t;
|
|
1531
1531
|
}
|
|
1532
1532
|
internalBinaryRead(t, n, r, i) {
|
|
1533
1533
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1538,16 +1538,16 @@ var we = class {
|
|
|
1538
1538
|
a.identifier = t.string();
|
|
1539
1539
|
break;
|
|
1540
1540
|
case 2:
|
|
1541
|
-
a.name.push(
|
|
1541
|
+
a.name.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
1542
1542
|
break;
|
|
1543
1543
|
case 3:
|
|
1544
|
-
a.displayMessage.push(
|
|
1544
|
+
a.displayMessage.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
1545
1545
|
break;
|
|
1546
1546
|
case 4:
|
|
1547
|
-
a.alias.push(
|
|
1547
|
+
a.alias.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
1548
1548
|
break;
|
|
1549
1549
|
case 5:
|
|
1550
|
-
a.rules.push(
|
|
1550
|
+
a.rules.push(M.internalBinaryRead(t, t.uint32(), r));
|
|
1551
1551
|
break;
|
|
1552
1552
|
case 6:
|
|
1553
1553
|
a.genericKeys.push(t.string());
|
|
@@ -1575,10 +1575,10 @@ var we = class {
|
|
|
1575
1575
|
}
|
|
1576
1576
|
internalBinaryWrite(n, r, i) {
|
|
1577
1577
|
n.identifier !== "" && r.tag(1, t.LengthDelimited).string(n.identifier);
|
|
1578
|
-
for (let e = 0; e < n.name.length; e++)
|
|
1579
|
-
for (let e = 0; e < n.displayMessage.length; e++)
|
|
1580
|
-
for (let e = 0; e < n.alias.length; e++)
|
|
1581
|
-
for (let e = 0; e < n.rules.length; e++)
|
|
1578
|
+
for (let e = 0; e < n.name.length; e++) A.internalBinaryWrite(n.name[e], r.tag(2, t.LengthDelimited).fork(), i).join();
|
|
1579
|
+
for (let e = 0; e < n.displayMessage.length; e++) A.internalBinaryWrite(n.displayMessage[e], r.tag(3, t.LengthDelimited).fork(), i).join();
|
|
1580
|
+
for (let e = 0; e < n.alias.length; e++) A.internalBinaryWrite(n.alias[e], r.tag(4, t.LengthDelimited).fork(), i).join();
|
|
1581
|
+
for (let e = 0; e < n.rules.length; e++) M.internalBinaryWrite(n.rules[e], r.tag(5, t.LengthDelimited).fork(), i).join();
|
|
1582
1582
|
for (let e = 0; e < n.genericKeys.length; e++) r.tag(6, t.LengthDelimited).string(n.genericKeys[e]);
|
|
1583
1583
|
n.type !== "" && r.tag(7, t.LengthDelimited).string(n.type);
|
|
1584
1584
|
for (let e = 0; e < n.linkedDataTypeIdentifiers.length; e++) r.tag(8, t.LengthDelimited).string(n.linkedDataTypeIdentifiers[e]);
|
|
@@ -1586,7 +1586,7 @@ var we = class {
|
|
|
1586
1586
|
let a = i.writeUnknownFields;
|
|
1587
1587
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1588
1588
|
}
|
|
1589
|
-
}(),
|
|
1589
|
+
}(), j = new class extends k {
|
|
1590
1590
|
constructor() {
|
|
1591
1591
|
super("shared.ExecutionDataType", [{
|
|
1592
1592
|
no: 1,
|
|
@@ -1598,12 +1598,12 @@ var we = class {
|
|
|
1598
1598
|
name: "rules",
|
|
1599
1599
|
kind: "message",
|
|
1600
1600
|
repeat: 2,
|
|
1601
|
-
T: () =>
|
|
1601
|
+
T: () => N
|
|
1602
1602
|
}]);
|
|
1603
1603
|
}
|
|
1604
1604
|
create(e) {
|
|
1605
1605
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1606
|
-
return t.identifier = "", t.rules = [], e !== void 0 &&
|
|
1606
|
+
return t.identifier = "", t.rules = [], e !== void 0 && D(this, t, e), t;
|
|
1607
1607
|
}
|
|
1608
1608
|
internalBinaryRead(t, n, r, i) {
|
|
1609
1609
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1614,7 +1614,7 @@ var we = class {
|
|
|
1614
1614
|
a.identifier = t.string();
|
|
1615
1615
|
break;
|
|
1616
1616
|
case 2:
|
|
1617
|
-
a.rules.push(
|
|
1617
|
+
a.rules.push(N.internalBinaryRead(t, t.uint32(), r));
|
|
1618
1618
|
break;
|
|
1619
1619
|
default:
|
|
1620
1620
|
let o = r.readUnknownField;
|
|
@@ -1627,29 +1627,29 @@ var we = class {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
internalBinaryWrite(n, r, i) {
|
|
1629
1629
|
n.identifier !== "" && r.tag(1, t.LengthDelimited).string(n.identifier);
|
|
1630
|
-
for (let e = 0; e < n.rules.length; e++)
|
|
1630
|
+
for (let e = 0; e < n.rules.length; e++) N.internalBinaryWrite(n.rules[e], r.tag(2, t.LengthDelimited).fork(), i).join();
|
|
1631
1631
|
let a = i.writeUnknownFields;
|
|
1632
1632
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1633
1633
|
}
|
|
1634
|
-
}(),
|
|
1634
|
+
}(), M = new class extends k {
|
|
1635
1635
|
constructor() {
|
|
1636
1636
|
super("shared.DefinitionDataTypeRule", [{
|
|
1637
1637
|
no: 1,
|
|
1638
1638
|
name: "number_range",
|
|
1639
1639
|
kind: "message",
|
|
1640
1640
|
oneof: "config",
|
|
1641
|
-
T: () =>
|
|
1641
|
+
T: () => P
|
|
1642
1642
|
}, {
|
|
1643
1643
|
no: 2,
|
|
1644
1644
|
name: "regex",
|
|
1645
1645
|
kind: "message",
|
|
1646
1646
|
oneof: "config",
|
|
1647
|
-
T: () =>
|
|
1647
|
+
T: () => F
|
|
1648
1648
|
}]);
|
|
1649
1649
|
}
|
|
1650
1650
|
create(e) {
|
|
1651
1651
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1652
|
-
return t.config = { oneofKind: void 0 }, e !== void 0 &&
|
|
1652
|
+
return t.config = { oneofKind: void 0 }, e !== void 0 && D(this, t, e), t;
|
|
1653
1653
|
}
|
|
1654
1654
|
internalBinaryRead(t, n, r, i) {
|
|
1655
1655
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1659,13 +1659,13 @@ var we = class {
|
|
|
1659
1659
|
case 1:
|
|
1660
1660
|
a.config = {
|
|
1661
1661
|
oneofKind: "numberRange",
|
|
1662
|
-
numberRange:
|
|
1662
|
+
numberRange: P.internalBinaryRead(t, t.uint32(), r, a.config.numberRange)
|
|
1663
1663
|
};
|
|
1664
1664
|
break;
|
|
1665
1665
|
case 2:
|
|
1666
1666
|
a.config = {
|
|
1667
1667
|
oneofKind: "regex",
|
|
1668
|
-
regex:
|
|
1668
|
+
regex: F.internalBinaryRead(t, t.uint32(), r, a.config.regex)
|
|
1669
1669
|
};
|
|
1670
1670
|
break;
|
|
1671
1671
|
default:
|
|
@@ -1678,29 +1678,29 @@ var we = class {
|
|
|
1678
1678
|
return a;
|
|
1679
1679
|
}
|
|
1680
1680
|
internalBinaryWrite(n, r, i) {
|
|
1681
|
-
n.config.oneofKind === "numberRange" &&
|
|
1681
|
+
n.config.oneofKind === "numberRange" && P.internalBinaryWrite(n.config.numberRange, r.tag(1, t.LengthDelimited).fork(), i).join(), n.config.oneofKind === "regex" && F.internalBinaryWrite(n.config.regex, r.tag(2, t.LengthDelimited).fork(), i).join();
|
|
1682
1682
|
let a = i.writeUnknownFields;
|
|
1683
1683
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1684
1684
|
}
|
|
1685
|
-
}(),
|
|
1685
|
+
}(), N = new class extends k {
|
|
1686
1686
|
constructor() {
|
|
1687
1687
|
super("shared.ExecutionDataTypeRule", [{
|
|
1688
1688
|
no: 1,
|
|
1689
1689
|
name: "number_range",
|
|
1690
1690
|
kind: "message",
|
|
1691
1691
|
oneof: "config",
|
|
1692
|
-
T: () =>
|
|
1692
|
+
T: () => P
|
|
1693
1693
|
}, {
|
|
1694
1694
|
no: 2,
|
|
1695
1695
|
name: "regex",
|
|
1696
1696
|
kind: "message",
|
|
1697
1697
|
oneof: "config",
|
|
1698
|
-
T: () =>
|
|
1698
|
+
T: () => F
|
|
1699
1699
|
}]);
|
|
1700
1700
|
}
|
|
1701
1701
|
create(e) {
|
|
1702
1702
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1703
|
-
return t.config = { oneofKind: void 0 }, e !== void 0 &&
|
|
1703
|
+
return t.config = { oneofKind: void 0 }, e !== void 0 && D(this, t, e), t;
|
|
1704
1704
|
}
|
|
1705
1705
|
internalBinaryRead(t, n, r, i) {
|
|
1706
1706
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1710,13 +1710,13 @@ var we = class {
|
|
|
1710
1710
|
case 1:
|
|
1711
1711
|
a.config = {
|
|
1712
1712
|
oneofKind: "numberRange",
|
|
1713
|
-
numberRange:
|
|
1713
|
+
numberRange: P.internalBinaryRead(t, t.uint32(), r, a.config.numberRange)
|
|
1714
1714
|
};
|
|
1715
1715
|
break;
|
|
1716
1716
|
case 2:
|
|
1717
1717
|
a.config = {
|
|
1718
1718
|
oneofKind: "regex",
|
|
1719
|
-
regex:
|
|
1719
|
+
regex: F.internalBinaryRead(t, t.uint32(), r, a.config.regex)
|
|
1720
1720
|
};
|
|
1721
1721
|
break;
|
|
1722
1722
|
default:
|
|
@@ -1729,11 +1729,11 @@ var we = class {
|
|
|
1729
1729
|
return a;
|
|
1730
1730
|
}
|
|
1731
1731
|
internalBinaryWrite(n, r, i) {
|
|
1732
|
-
n.config.oneofKind === "numberRange" &&
|
|
1732
|
+
n.config.oneofKind === "numberRange" && P.internalBinaryWrite(n.config.numberRange, r.tag(1, t.LengthDelimited).fork(), i).join(), n.config.oneofKind === "regex" && F.internalBinaryWrite(n.config.regex, r.tag(2, t.LengthDelimited).fork(), i).join();
|
|
1733
1733
|
let a = i.writeUnknownFields;
|
|
1734
1734
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1735
1735
|
}
|
|
1736
|
-
}(),
|
|
1736
|
+
}(), P = new class extends k {
|
|
1737
1737
|
constructor() {
|
|
1738
1738
|
super("shared.DataTypeNumberRangeRuleConfig", [
|
|
1739
1739
|
{
|
|
@@ -1762,7 +1762,7 @@ var we = class {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
create(e) {
|
|
1764
1764
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1765
|
-
return t.from = 0n, t.to = 0n, e !== void 0 &&
|
|
1765
|
+
return t.from = 0n, t.to = 0n, e !== void 0 && D(this, t, e), t;
|
|
1766
1766
|
}
|
|
1767
1767
|
internalBinaryRead(t, n, r, i) {
|
|
1768
1768
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1792,7 +1792,7 @@ var we = class {
|
|
|
1792
1792
|
let a = i.writeUnknownFields;
|
|
1793
1793
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1794
1794
|
}
|
|
1795
|
-
}(),
|
|
1795
|
+
}(), F = new class extends k {
|
|
1796
1796
|
constructor() {
|
|
1797
1797
|
super("shared.DataTypeRegexRuleConfig", [{
|
|
1798
1798
|
no: 1,
|
|
@@ -1803,7 +1803,7 @@ var we = class {
|
|
|
1803
1803
|
}
|
|
1804
1804
|
create(e) {
|
|
1805
1805
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1806
|
-
return t.pattern = "", e !== void 0 &&
|
|
1806
|
+
return t.pattern = "", e !== void 0 && D(this, t, e), t;
|
|
1807
1807
|
}
|
|
1808
1808
|
internalBinaryRead(t, n, r, i) {
|
|
1809
1809
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1827,9 +1827,9 @@ var we = class {
|
|
|
1827
1827
|
let a = i.writeUnknownFields;
|
|
1828
1828
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1829
1829
|
}
|
|
1830
|
-
}(),
|
|
1830
|
+
}(), ze = /* @__PURE__ */ function(e) {
|
|
1831
1831
|
return e[e.NULL_VALUE = 0] = "NULL_VALUE", e;
|
|
1832
|
-
}({}),
|
|
1832
|
+
}({}), I = new class extends k {
|
|
1833
1833
|
constructor() {
|
|
1834
1834
|
super("shared.Struct", [{
|
|
1835
1835
|
no: 1,
|
|
@@ -1838,13 +1838,13 @@ var we = class {
|
|
|
1838
1838
|
K: 9,
|
|
1839
1839
|
V: {
|
|
1840
1840
|
kind: "message",
|
|
1841
|
-
T: () =>
|
|
1841
|
+
T: () => L
|
|
1842
1842
|
}
|
|
1843
1843
|
}]);
|
|
1844
1844
|
}
|
|
1845
1845
|
create(e) {
|
|
1846
1846
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1847
|
-
return t.fields = {}, e !== void 0 &&
|
|
1847
|
+
return t.fields = {}, e !== void 0 && D(this, t, e), t;
|
|
1848
1848
|
}
|
|
1849
1849
|
internalBinaryRead(t, n, r, i) {
|
|
1850
1850
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1872,19 +1872,19 @@ var we = class {
|
|
|
1872
1872
|
a = t.string();
|
|
1873
1873
|
break;
|
|
1874
1874
|
case 2:
|
|
1875
|
-
o =
|
|
1875
|
+
o = L.internalBinaryRead(t, t.uint32(), n);
|
|
1876
1876
|
break;
|
|
1877
1877
|
default: throw new globalThis.Error("unknown map entry field for shared.Struct.fields");
|
|
1878
1878
|
}
|
|
1879
1879
|
}
|
|
1880
|
-
e[a ?? ""] = o ??
|
|
1880
|
+
e[a ?? ""] = o ?? L.create();
|
|
1881
1881
|
}
|
|
1882
1882
|
internalBinaryWrite(n, r, i) {
|
|
1883
|
-
for (let e of globalThis.Object.keys(n.fields)) r.tag(1, t.LengthDelimited).fork().tag(1, t.LengthDelimited).string(e), r.tag(2, t.LengthDelimited).fork(),
|
|
1883
|
+
for (let e of globalThis.Object.keys(n.fields)) r.tag(1, t.LengthDelimited).fork().tag(1, t.LengthDelimited).string(e), r.tag(2, t.LengthDelimited).fork(), L.internalBinaryWrite(n.fields[e], r, i), r.join().join();
|
|
1884
1884
|
let a = i.writeUnknownFields;
|
|
1885
1885
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1886
1886
|
}
|
|
1887
|
-
}(),
|
|
1887
|
+
}(), L = new class extends k {
|
|
1888
1888
|
constructor() {
|
|
1889
1889
|
super("shared.Value", [
|
|
1890
1890
|
{
|
|
@@ -1892,14 +1892,14 @@ var we = class {
|
|
|
1892
1892
|
name: "null_value",
|
|
1893
1893
|
kind: "enum",
|
|
1894
1894
|
oneof: "kind",
|
|
1895
|
-
T: () => ["shared.NullValue",
|
|
1895
|
+
T: () => ["shared.NullValue", ze]
|
|
1896
1896
|
},
|
|
1897
1897
|
{
|
|
1898
1898
|
no: 2,
|
|
1899
1899
|
name: "number_value",
|
|
1900
1900
|
kind: "message",
|
|
1901
1901
|
oneof: "kind",
|
|
1902
|
-
T: () =>
|
|
1902
|
+
T: () => R
|
|
1903
1903
|
},
|
|
1904
1904
|
{
|
|
1905
1905
|
no: 3,
|
|
@@ -1920,20 +1920,20 @@ var we = class {
|
|
|
1920
1920
|
name: "struct_value",
|
|
1921
1921
|
kind: "message",
|
|
1922
1922
|
oneof: "kind",
|
|
1923
|
-
T: () =>
|
|
1923
|
+
T: () => I
|
|
1924
1924
|
},
|
|
1925
1925
|
{
|
|
1926
1926
|
no: 6,
|
|
1927
1927
|
name: "list_value",
|
|
1928
1928
|
kind: "message",
|
|
1929
1929
|
oneof: "kind",
|
|
1930
|
-
T: () =>
|
|
1930
|
+
T: () => z
|
|
1931
1931
|
}
|
|
1932
1932
|
]);
|
|
1933
1933
|
}
|
|
1934
1934
|
create(e) {
|
|
1935
1935
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
1936
|
-
return t.kind = { oneofKind: void 0 }, e !== void 0 &&
|
|
1936
|
+
return t.kind = { oneofKind: void 0 }, e !== void 0 && D(this, t, e), t;
|
|
1937
1937
|
}
|
|
1938
1938
|
internalBinaryRead(t, n, r, i) {
|
|
1939
1939
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -1949,7 +1949,7 @@ var we = class {
|
|
|
1949
1949
|
case 2:
|
|
1950
1950
|
a.kind = {
|
|
1951
1951
|
oneofKind: "numberValue",
|
|
1952
|
-
numberValue:
|
|
1952
|
+
numberValue: R.internalBinaryRead(t, t.uint32(), r, a.kind.numberValue)
|
|
1953
1953
|
};
|
|
1954
1954
|
break;
|
|
1955
1955
|
case 3:
|
|
@@ -1967,13 +1967,13 @@ var we = class {
|
|
|
1967
1967
|
case 5:
|
|
1968
1968
|
a.kind = {
|
|
1969
1969
|
oneofKind: "structValue",
|
|
1970
|
-
structValue:
|
|
1970
|
+
structValue: I.internalBinaryRead(t, t.uint32(), r, a.kind.structValue)
|
|
1971
1971
|
};
|
|
1972
1972
|
break;
|
|
1973
1973
|
case 6:
|
|
1974
1974
|
a.kind = {
|
|
1975
1975
|
oneofKind: "listValue",
|
|
1976
|
-
listValue:
|
|
1976
|
+
listValue: z.internalBinaryRead(t, t.uint32(), r, a.kind.listValue)
|
|
1977
1977
|
};
|
|
1978
1978
|
break;
|
|
1979
1979
|
default:
|
|
@@ -1986,11 +1986,11 @@ var we = class {
|
|
|
1986
1986
|
return a;
|
|
1987
1987
|
}
|
|
1988
1988
|
internalBinaryWrite(n, r, i) {
|
|
1989
|
-
n.kind.oneofKind === "nullValue" && r.tag(1, t.Varint).int32(n.kind.nullValue), n.kind.oneofKind === "numberValue" &&
|
|
1989
|
+
n.kind.oneofKind === "nullValue" && r.tag(1, t.Varint).int32(n.kind.nullValue), n.kind.oneofKind === "numberValue" && R.internalBinaryWrite(n.kind.numberValue, r.tag(2, t.LengthDelimited).fork(), i).join(), n.kind.oneofKind === "stringValue" && r.tag(3, t.LengthDelimited).string(n.kind.stringValue), n.kind.oneofKind === "boolValue" && r.tag(4, t.Varint).bool(n.kind.boolValue), n.kind.oneofKind === "structValue" && I.internalBinaryWrite(n.kind.structValue, r.tag(5, t.LengthDelimited).fork(), i).join(), n.kind.oneofKind === "listValue" && z.internalBinaryWrite(n.kind.listValue, r.tag(6, t.LengthDelimited).fork(), i).join();
|
|
1990
1990
|
let a = i.writeUnknownFields;
|
|
1991
1991
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
1992
1992
|
}
|
|
1993
|
-
}(),
|
|
1993
|
+
}(), R = new class extends k {
|
|
1994
1994
|
constructor() {
|
|
1995
1995
|
super("shared.NumberValue", [{
|
|
1996
1996
|
no: 1,
|
|
@@ -2009,7 +2009,7 @@ var we = class {
|
|
|
2009
2009
|
}
|
|
2010
2010
|
create(e) {
|
|
2011
2011
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
2012
|
-
return t.number = { oneofKind: void 0 }, e !== void 0 &&
|
|
2012
|
+
return t.number = { oneofKind: void 0 }, e !== void 0 && D(this, t, e), t;
|
|
2013
2013
|
}
|
|
2014
2014
|
internalBinaryRead(t, n, r, i) {
|
|
2015
2015
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -2042,19 +2042,19 @@ var we = class {
|
|
|
2042
2042
|
let a = i.writeUnknownFields;
|
|
2043
2043
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2044
2044
|
}
|
|
2045
|
-
}(),
|
|
2045
|
+
}(), z = new class extends k {
|
|
2046
2046
|
constructor() {
|
|
2047
2047
|
super("shared.ListValue", [{
|
|
2048
2048
|
no: 1,
|
|
2049
2049
|
name: "values",
|
|
2050
2050
|
kind: "message",
|
|
2051
2051
|
repeat: 2,
|
|
2052
|
-
T: () =>
|
|
2052
|
+
T: () => L
|
|
2053
2053
|
}]);
|
|
2054
2054
|
}
|
|
2055
2055
|
create(e) {
|
|
2056
2056
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
2057
|
-
return t.values = [], e !== void 0 &&
|
|
2057
|
+
return t.values = [], e !== void 0 && D(this, t, e), t;
|
|
2058
2058
|
}
|
|
2059
2059
|
internalBinaryRead(t, n, r, i) {
|
|
2060
2060
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -2062,7 +2062,7 @@ var we = class {
|
|
|
2062
2062
|
let [n, i] = t.tag();
|
|
2063
2063
|
switch (n) {
|
|
2064
2064
|
case 1:
|
|
2065
|
-
a.values.push(
|
|
2065
|
+
a.values.push(L.internalBinaryRead(t, t.uint32(), r));
|
|
2066
2066
|
break;
|
|
2067
2067
|
default:
|
|
2068
2068
|
let o = r.readUnknownField;
|
|
@@ -2074,78 +2074,77 @@ var we = class {
|
|
|
2074
2074
|
return a;
|
|
2075
2075
|
}
|
|
2076
2076
|
internalBinaryWrite(n, r, i) {
|
|
2077
|
-
for (let e = 0; e < n.values.length; e++)
|
|
2077
|
+
for (let e = 0; e < n.values.length; e++) L.internalBinaryWrite(n.values[e], r.tag(1, t.LengthDelimited).fork(), i).join();
|
|
2078
2078
|
let a = i.writeUnknownFields;
|
|
2079
2079
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2080
2080
|
}
|
|
2081
|
-
}(),
|
|
2082
|
-
return e[e.UNKNOWN = 0] = "UNKNOWN", e[e.NONE = 1] = "NONE", e[e.PROJECT = 2] = "PROJECT", e;
|
|
2083
|
-
}({}), ke = new class extends V {
|
|
2081
|
+
}(), B = new class extends k {
|
|
2084
2082
|
constructor() {
|
|
2085
|
-
super("shared.
|
|
2083
|
+
super("shared.ValidationFlow", [
|
|
2086
2084
|
{
|
|
2087
2085
|
no: 1,
|
|
2088
|
-
name: "
|
|
2086
|
+
name: "flow_id",
|
|
2089
2087
|
kind: "scalar",
|
|
2090
|
-
T:
|
|
2088
|
+
T: 3,
|
|
2089
|
+
L: 0
|
|
2091
2090
|
},
|
|
2092
2091
|
{
|
|
2093
2092
|
no: 2,
|
|
2094
|
-
name: "
|
|
2095
|
-
kind: "
|
|
2096
|
-
|
|
2097
|
-
|
|
2093
|
+
name: "project_id",
|
|
2094
|
+
kind: "scalar",
|
|
2095
|
+
T: 3,
|
|
2096
|
+
L: 0
|
|
2098
2097
|
},
|
|
2099
2098
|
{
|
|
2100
2099
|
no: 3,
|
|
2101
|
-
name: "
|
|
2100
|
+
name: "type",
|
|
2102
2101
|
kind: "scalar",
|
|
2103
|
-
T:
|
|
2102
|
+
T: 9
|
|
2104
2103
|
},
|
|
2105
2104
|
{
|
|
2106
2105
|
no: 4,
|
|
2107
|
-
name: "
|
|
2106
|
+
name: "data_types",
|
|
2108
2107
|
kind: "message",
|
|
2109
2108
|
repeat: 2,
|
|
2110
|
-
T: () =>
|
|
2109
|
+
T: () => j
|
|
2111
2110
|
},
|
|
2112
2111
|
{
|
|
2113
2112
|
no: 5,
|
|
2114
|
-
name: "
|
|
2113
|
+
name: "settings",
|
|
2115
2114
|
kind: "message",
|
|
2116
2115
|
repeat: 2,
|
|
2117
|
-
T: () =>
|
|
2116
|
+
T: () => V
|
|
2118
2117
|
},
|
|
2119
2118
|
{
|
|
2120
2119
|
no: 6,
|
|
2121
|
-
name: "
|
|
2122
|
-
kind: "
|
|
2123
|
-
|
|
2124
|
-
|
|
2120
|
+
name: "starting_node_id",
|
|
2121
|
+
kind: "scalar",
|
|
2122
|
+
T: 3,
|
|
2123
|
+
L: 0
|
|
2125
2124
|
},
|
|
2126
2125
|
{
|
|
2127
2126
|
no: 7,
|
|
2128
|
-
name: "
|
|
2127
|
+
name: "node_functions",
|
|
2129
2128
|
kind: "message",
|
|
2130
2129
|
repeat: 2,
|
|
2131
2130
|
T: () => H
|
|
2132
2131
|
},
|
|
2133
2132
|
{
|
|
2134
2133
|
no: 8,
|
|
2135
|
-
name: "
|
|
2136
|
-
kind: "
|
|
2137
|
-
|
|
2138
|
-
T: () => H
|
|
2134
|
+
name: "project_slug",
|
|
2135
|
+
kind: "scalar",
|
|
2136
|
+
T: 9
|
|
2139
2137
|
},
|
|
2140
2138
|
{
|
|
2141
2139
|
no: 9,
|
|
2142
|
-
name: "
|
|
2140
|
+
name: "disable_reason",
|
|
2143
2141
|
kind: "scalar",
|
|
2142
|
+
opt: !0,
|
|
2144
2143
|
T: 9
|
|
2145
2144
|
},
|
|
2146
2145
|
{
|
|
2147
2146
|
no: 10,
|
|
2148
|
-
name: "
|
|
2147
|
+
name: "signature",
|
|
2149
2148
|
kind: "scalar",
|
|
2150
2149
|
T: 9
|
|
2151
2150
|
},
|
|
@@ -2158,20 +2157,19 @@ var we = class {
|
|
|
2158
2157
|
},
|
|
2159
2158
|
{
|
|
2160
2159
|
no: 12,
|
|
2161
|
-
name: "
|
|
2162
|
-
kind: "
|
|
2163
|
-
|
|
2164
|
-
T: 9
|
|
2160
|
+
name: "input_schema",
|
|
2161
|
+
kind: "message",
|
|
2162
|
+
T: () => I
|
|
2165
2163
|
},
|
|
2166
2164
|
{
|
|
2167
2165
|
no: 13,
|
|
2168
|
-
name: "
|
|
2169
|
-
kind: "
|
|
2170
|
-
T:
|
|
2166
|
+
name: "output_schema",
|
|
2167
|
+
kind: "message",
|
|
2168
|
+
T: () => I
|
|
2171
2169
|
},
|
|
2172
2170
|
{
|
|
2173
2171
|
no: 14,
|
|
2174
|
-
name: "
|
|
2172
|
+
name: "name",
|
|
2175
2173
|
kind: "scalar",
|
|
2176
2174
|
T: 9
|
|
2177
2175
|
}
|
|
@@ -2179,7 +2177,7 @@ var we = class {
|
|
|
2179
2177
|
}
|
|
2180
2178
|
create(e) {
|
|
2181
2179
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
2182
|
-
return t.
|
|
2180
|
+
return t.flowId = 0n, t.projectId = 0n, t.type = "", t.dataTypes = [], t.settings = [], t.startingNodeId = 0n, t.nodeFunctions = [], t.projectSlug = "", t.signature = "", t.name = "", e !== void 0 && D(this, t, e), t;
|
|
2183
2181
|
}
|
|
2184
2182
|
internalBinaryRead(t, n, r, i) {
|
|
2185
2183
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -2187,46 +2185,46 @@ var we = class {
|
|
|
2187
2185
|
let [n, i] = t.tag();
|
|
2188
2186
|
switch (n) {
|
|
2189
2187
|
case 1:
|
|
2190
|
-
a.
|
|
2188
|
+
a.flowId = t.int64().toBigInt();
|
|
2191
2189
|
break;
|
|
2192
2190
|
case 2:
|
|
2193
|
-
a.
|
|
2191
|
+
a.projectId = t.int64().toBigInt();
|
|
2194
2192
|
break;
|
|
2195
2193
|
case 3:
|
|
2196
|
-
a.
|
|
2194
|
+
a.type = t.string();
|
|
2197
2195
|
break;
|
|
2198
2196
|
case 4:
|
|
2199
|
-
a.
|
|
2197
|
+
a.dataTypes.push(j.internalBinaryRead(t, t.uint32(), r));
|
|
2200
2198
|
break;
|
|
2201
2199
|
case 5:
|
|
2202
|
-
a.
|
|
2200
|
+
a.settings.push(V.internalBinaryRead(t, t.uint32(), r));
|
|
2203
2201
|
break;
|
|
2204
2202
|
case 6:
|
|
2205
|
-
a.
|
|
2203
|
+
a.startingNodeId = t.int64().toBigInt();
|
|
2206
2204
|
break;
|
|
2207
2205
|
case 7:
|
|
2208
|
-
a.
|
|
2206
|
+
a.nodeFunctions.push(H.internalBinaryRead(t, t.uint32(), r));
|
|
2209
2207
|
break;
|
|
2210
2208
|
case 8:
|
|
2211
|
-
a.
|
|
2209
|
+
a.projectSlug = t.string();
|
|
2212
2210
|
break;
|
|
2213
2211
|
case 9:
|
|
2214
|
-
a.
|
|
2212
|
+
a.disableReason = t.string();
|
|
2215
2213
|
break;
|
|
2216
2214
|
case 10:
|
|
2217
|
-
a.
|
|
2215
|
+
a.signature = t.string();
|
|
2218
2216
|
break;
|
|
2219
2217
|
case 11:
|
|
2220
2218
|
a.definitionSource = t.string();
|
|
2221
2219
|
break;
|
|
2222
2220
|
case 12:
|
|
2223
|
-
a.
|
|
2221
|
+
a.inputSchema = I.internalBinaryRead(t, t.uint32(), r, a.inputSchema);
|
|
2224
2222
|
break;
|
|
2225
2223
|
case 13:
|
|
2226
|
-
a.
|
|
2224
|
+
a.outputSchema = I.internalBinaryRead(t, t.uint32(), r, a.outputSchema);
|
|
2227
2225
|
break;
|
|
2228
2226
|
case 14:
|
|
2229
|
-
a.
|
|
2227
|
+
a.name = t.string();
|
|
2230
2228
|
break;
|
|
2231
2229
|
default:
|
|
2232
2230
|
let o = r.readUnknownField;
|
|
@@ -2238,74 +2236,57 @@ var we = class {
|
|
|
2238
2236
|
return a;
|
|
2239
2237
|
}
|
|
2240
2238
|
internalBinaryWrite(n, r, i) {
|
|
2241
|
-
n.
|
|
2242
|
-
for (let e = 0; e < n.
|
|
2243
|
-
n.
|
|
2244
|
-
|
|
2245
|
-
for (let e = 0; e < n.
|
|
2246
|
-
|
|
2247
|
-
for (let e = 0; e < n.displayMessage.length; e++) H.internalBinaryWrite(n.displayMessage[e], r.tag(7, t.LengthDelimited).fork(), i).join();
|
|
2248
|
-
for (let e = 0; e < n.alias.length; e++) H.internalBinaryWrite(n.alias[e], r.tag(8, t.LengthDelimited).fork(), i).join();
|
|
2249
|
-
n.version !== "" && r.tag(9, t.LengthDelimited).string(n.version), n.displayIcon !== "" && r.tag(10, t.LengthDelimited).string(n.displayIcon), n.definitionSource !== void 0 && r.tag(11, t.LengthDelimited).string(n.definitionSource);
|
|
2250
|
-
for (let e = 0; e < n.linkedDataTypeIdentifiers.length; e++) r.tag(12, t.LengthDelimited).string(n.linkedDataTypeIdentifiers[e]);
|
|
2251
|
-
n.signature !== "" && r.tag(13, t.LengthDelimited).string(n.signature), n.runtimeIdentifier !== "" && r.tag(14, t.LengthDelimited).string(n.runtimeIdentifier);
|
|
2239
|
+
n.flowId !== 0n && r.tag(1, t.Varint).int64(n.flowId), n.projectId !== 0n && r.tag(2, t.Varint).int64(n.projectId), n.type !== "" && r.tag(3, t.LengthDelimited).string(n.type);
|
|
2240
|
+
for (let e = 0; e < n.dataTypes.length; e++) j.internalBinaryWrite(n.dataTypes[e], r.tag(4, t.LengthDelimited).fork(), i).join();
|
|
2241
|
+
for (let e = 0; e < n.settings.length; e++) V.internalBinaryWrite(n.settings[e], r.tag(5, t.LengthDelimited).fork(), i).join();
|
|
2242
|
+
n.startingNodeId !== 0n && r.tag(6, t.Varint).int64(n.startingNodeId);
|
|
2243
|
+
for (let e = 0; e < n.nodeFunctions.length; e++) H.internalBinaryWrite(n.nodeFunctions[e], r.tag(7, t.LengthDelimited).fork(), i).join();
|
|
2244
|
+
n.projectSlug !== "" && r.tag(8, t.LengthDelimited).string(n.projectSlug), n.disableReason !== void 0 && r.tag(9, t.LengthDelimited).string(n.disableReason), n.signature !== "" && r.tag(10, t.LengthDelimited).string(n.signature), n.definitionSource !== void 0 && r.tag(11, t.LengthDelimited).string(n.definitionSource), n.inputSchema && I.internalBinaryWrite(n.inputSchema, r.tag(12, t.LengthDelimited).fork(), i).join(), n.outputSchema && I.internalBinaryWrite(n.outputSchema, r.tag(13, t.LengthDelimited).fork(), i).join(), n.name !== "" && r.tag(14, t.LengthDelimited).string(n.name);
|
|
2252
2245
|
let a = i.writeUnknownFields;
|
|
2253
2246
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2254
2247
|
}
|
|
2255
|
-
}(),
|
|
2248
|
+
}(), Be = new class extends k {
|
|
2256
2249
|
constructor() {
|
|
2257
|
-
super("shared.
|
|
2250
|
+
super("shared.ExecutionFlow", [
|
|
2258
2251
|
{
|
|
2259
2252
|
no: 1,
|
|
2260
|
-
name: "
|
|
2253
|
+
name: "flow_id",
|
|
2261
2254
|
kind: "scalar",
|
|
2262
|
-
T:
|
|
2255
|
+
T: 3,
|
|
2256
|
+
L: 0
|
|
2263
2257
|
},
|
|
2264
2258
|
{
|
|
2265
|
-
no:
|
|
2266
|
-
name: "
|
|
2267
|
-
kind: "
|
|
2268
|
-
T:
|
|
2259
|
+
no: 5,
|
|
2260
|
+
name: "project_id",
|
|
2261
|
+
kind: "scalar",
|
|
2262
|
+
T: 3,
|
|
2263
|
+
L: 0
|
|
2269
2264
|
},
|
|
2270
2265
|
{
|
|
2271
|
-
no:
|
|
2272
|
-
name: "
|
|
2273
|
-
kind: "
|
|
2274
|
-
T:
|
|
2266
|
+
no: 2,
|
|
2267
|
+
name: "starting_node_id",
|
|
2268
|
+
kind: "scalar",
|
|
2269
|
+
T: 3,
|
|
2270
|
+
L: 0
|
|
2275
2271
|
},
|
|
2276
2272
|
{
|
|
2277
2273
|
no: 4,
|
|
2278
|
-
name: "
|
|
2274
|
+
name: "node_functions",
|
|
2279
2275
|
kind: "message",
|
|
2280
2276
|
repeat: 2,
|
|
2281
2277
|
T: () => H
|
|
2282
2278
|
},
|
|
2283
2279
|
{
|
|
2284
|
-
no:
|
|
2285
|
-
name: "
|
|
2280
|
+
no: 3,
|
|
2281
|
+
name: "input_value",
|
|
2286
2282
|
kind: "message",
|
|
2287
|
-
|
|
2288
|
-
T: () => H
|
|
2289
|
-
},
|
|
2290
|
-
{
|
|
2291
|
-
no: 6,
|
|
2292
|
-
name: "optional",
|
|
2293
|
-
kind: "scalar",
|
|
2294
|
-
opt: !0,
|
|
2295
|
-
T: 8
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
no: 7,
|
|
2299
|
-
name: "hidden",
|
|
2300
|
-
kind: "scalar",
|
|
2301
|
-
opt: !0,
|
|
2302
|
-
T: 8
|
|
2283
|
+
T: () => L
|
|
2303
2284
|
}
|
|
2304
2285
|
]);
|
|
2305
2286
|
}
|
|
2306
2287
|
create(e) {
|
|
2307
2288
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
2308
|
-
return t.
|
|
2289
|
+
return t.flowId = 0n, t.projectId = 0n, t.startingNodeId = 0n, t.nodeFunctions = [], e !== void 0 && D(this, t, e), t;
|
|
2309
2290
|
}
|
|
2310
2291
|
internalBinaryRead(t, n, r, i) {
|
|
2311
2292
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -2313,25 +2294,19 @@ var we = class {
|
|
|
2313
2294
|
let [n, i] = t.tag();
|
|
2314
2295
|
switch (n) {
|
|
2315
2296
|
case 1:
|
|
2316
|
-
a.
|
|
2297
|
+
a.flowId = t.int64().toBigInt();
|
|
2317
2298
|
break;
|
|
2318
|
-
case
|
|
2319
|
-
a.
|
|
2299
|
+
case 5:
|
|
2300
|
+
a.projectId = t.int64().toBigInt();
|
|
2320
2301
|
break;
|
|
2321
|
-
case
|
|
2322
|
-
a.
|
|
2302
|
+
case 2:
|
|
2303
|
+
a.startingNodeId = t.int64().toBigInt();
|
|
2323
2304
|
break;
|
|
2324
2305
|
case 4:
|
|
2325
|
-
a.
|
|
2326
|
-
break;
|
|
2327
|
-
case 5:
|
|
2328
|
-
a.description.push(H.internalBinaryRead(t, t.uint32(), r));
|
|
2329
|
-
break;
|
|
2330
|
-
case 6:
|
|
2331
|
-
a.optional = t.bool();
|
|
2306
|
+
a.nodeFunctions.push(H.internalBinaryRead(t, t.uint32(), r));
|
|
2332
2307
|
break;
|
|
2333
|
-
case
|
|
2334
|
-
a.
|
|
2308
|
+
case 3:
|
|
2309
|
+
a.inputValue = L.internalBinaryRead(t, t.uint32(), r, a.inputValue);
|
|
2335
2310
|
break;
|
|
2336
2311
|
default:
|
|
2337
2312
|
let o = r.readUnknownField;
|
|
@@ -2343,126 +2318,52 @@ var we = class {
|
|
|
2343
2318
|
return a;
|
|
2344
2319
|
}
|
|
2345
2320
|
internalBinaryWrite(n, r, i) {
|
|
2346
|
-
n.
|
|
2347
|
-
for (let e = 0; e < n.
|
|
2348
|
-
|
|
2349
|
-
n.optional !== void 0 && r.tag(6, t.Varint).bool(n.optional), n.hidden !== void 0 && r.tag(7, t.Varint).bool(n.hidden);
|
|
2321
|
+
n.flowId !== 0n && r.tag(1, t.Varint).int64(n.flowId), n.startingNodeId !== 0n && r.tag(2, t.Varint).int64(n.startingNodeId), n.inputValue && L.internalBinaryWrite(n.inputValue, r.tag(3, t.LengthDelimited).fork(), i).join();
|
|
2322
|
+
for (let e = 0; e < n.nodeFunctions.length; e++) H.internalBinaryWrite(n.nodeFunctions[e], r.tag(4, t.LengthDelimited).fork(), i).join();
|
|
2323
|
+
n.projectId !== 0n && r.tag(5, t.Varint).int64(n.projectId);
|
|
2350
2324
|
let a = i.writeUnknownFields;
|
|
2351
2325
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2352
2326
|
}
|
|
2353
|
-
}(),
|
|
2327
|
+
}(), Ve = new class extends k {
|
|
2354
2328
|
constructor() {
|
|
2355
|
-
super("shared.
|
|
2329
|
+
super("shared.GenerationFlow", [
|
|
2356
2330
|
{
|
|
2357
2331
|
no: 1,
|
|
2358
|
-
name: "
|
|
2332
|
+
name: "name",
|
|
2359
2333
|
kind: "scalar",
|
|
2360
2334
|
T: 9
|
|
2361
2335
|
},
|
|
2362
2336
|
{
|
|
2363
2337
|
no: 2,
|
|
2364
|
-
name: "
|
|
2365
|
-
kind: "
|
|
2366
|
-
|
|
2367
|
-
T: () => $
|
|
2338
|
+
name: "type",
|
|
2339
|
+
kind: "scalar",
|
|
2340
|
+
T: 9
|
|
2368
2341
|
},
|
|
2369
2342
|
{
|
|
2370
2343
|
no: 3,
|
|
2371
|
-
name: "
|
|
2344
|
+
name: "starting_node_id",
|
|
2372
2345
|
kind: "scalar",
|
|
2373
2346
|
T: 9
|
|
2374
2347
|
},
|
|
2375
2348
|
{
|
|
2376
2349
|
no: 4,
|
|
2377
|
-
name: "
|
|
2378
|
-
kind: "scalar",
|
|
2379
|
-
T: 8
|
|
2380
|
-
},
|
|
2381
|
-
{
|
|
2382
|
-
no: 5,
|
|
2383
|
-
name: "name",
|
|
2384
|
-
kind: "message",
|
|
2385
|
-
repeat: 2,
|
|
2386
|
-
T: () => H
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
no: 6,
|
|
2390
|
-
name: "description",
|
|
2391
|
-
kind: "message",
|
|
2392
|
-
repeat: 2,
|
|
2393
|
-
T: () => H
|
|
2394
|
-
},
|
|
2395
|
-
{
|
|
2396
|
-
no: 7,
|
|
2397
|
-
name: "documentation",
|
|
2398
|
-
kind: "message",
|
|
2399
|
-
repeat: 2,
|
|
2400
|
-
T: () => H
|
|
2401
|
-
},
|
|
2402
|
-
{
|
|
2403
|
-
no: 8,
|
|
2404
|
-
name: "deprecation_message",
|
|
2405
|
-
kind: "message",
|
|
2406
|
-
repeat: 2,
|
|
2407
|
-
T: () => H
|
|
2408
|
-
},
|
|
2409
|
-
{
|
|
2410
|
-
no: 9,
|
|
2411
|
-
name: "display_message",
|
|
2350
|
+
name: "node_functions",
|
|
2412
2351
|
kind: "message",
|
|
2413
2352
|
repeat: 2,
|
|
2414
2353
|
T: () => H
|
|
2415
2354
|
},
|
|
2416
2355
|
{
|
|
2417
|
-
no:
|
|
2418
|
-
name: "
|
|
2356
|
+
no: 5,
|
|
2357
|
+
name: "settings",
|
|
2419
2358
|
kind: "message",
|
|
2420
2359
|
repeat: 2,
|
|
2421
|
-
T: () =>
|
|
2422
|
-
},
|
|
2423
|
-
{
|
|
2424
|
-
no: 11,
|
|
2425
|
-
name: "linked_data_type_identifiers",
|
|
2426
|
-
kind: "scalar",
|
|
2427
|
-
repeat: 2,
|
|
2428
|
-
T: 9
|
|
2429
|
-
},
|
|
2430
|
-
{
|
|
2431
|
-
no: 12,
|
|
2432
|
-
name: "version",
|
|
2433
|
-
kind: "scalar",
|
|
2434
|
-
T: 9
|
|
2435
|
-
},
|
|
2436
|
-
{
|
|
2437
|
-
no: 13,
|
|
2438
|
-
name: "display_icon",
|
|
2439
|
-
kind: "scalar",
|
|
2440
|
-
T: 9
|
|
2441
|
-
},
|
|
2442
|
-
{
|
|
2443
|
-
no: 14,
|
|
2444
|
-
name: "definition_source",
|
|
2445
|
-
kind: "scalar",
|
|
2446
|
-
T: 9
|
|
2447
|
-
},
|
|
2448
|
-
{
|
|
2449
|
-
no: 15,
|
|
2450
|
-
name: "runtime_definition_name",
|
|
2451
|
-
kind: "scalar",
|
|
2452
|
-
T: 9
|
|
2453
|
-
},
|
|
2454
|
-
{
|
|
2455
|
-
no: 16,
|
|
2456
|
-
name: "design",
|
|
2457
|
-
kind: "scalar",
|
|
2458
|
-
opt: !0,
|
|
2459
|
-
T: 9
|
|
2360
|
+
T: () => V
|
|
2460
2361
|
}
|
|
2461
2362
|
]);
|
|
2462
2363
|
}
|
|
2463
2364
|
create(e) {
|
|
2464
2365
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
2465
|
-
return t.
|
|
2366
|
+
return t.name = "", t.type = "", t.startingNodeId = "", t.nodeFunctions = [], t.settings = [], e !== void 0 && D(this, t, e), t;
|
|
2466
2367
|
}
|
|
2467
2368
|
internalBinaryRead(t, n, r, i) {
|
|
2468
2369
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -2470,52 +2371,1203 @@ var we = class {
|
|
|
2470
2371
|
let [n, i] = t.tag();
|
|
2471
2372
|
switch (n) {
|
|
2472
2373
|
case 1:
|
|
2473
|
-
a.
|
|
2374
|
+
a.name = t.string();
|
|
2474
2375
|
break;
|
|
2475
2376
|
case 2:
|
|
2476
|
-
a.
|
|
2377
|
+
a.type = t.string();
|
|
2477
2378
|
break;
|
|
2478
2379
|
case 3:
|
|
2479
|
-
a.
|
|
2380
|
+
a.startingNodeId = t.string();
|
|
2480
2381
|
break;
|
|
2481
2382
|
case 4:
|
|
2482
|
-
a.
|
|
2383
|
+
a.nodeFunctions.push(H.internalBinaryRead(t, t.uint32(), r));
|
|
2483
2384
|
break;
|
|
2484
2385
|
case 5:
|
|
2485
|
-
a.
|
|
2486
|
-
break;
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2386
|
+
a.settings.push(V.internalBinaryRead(t, t.uint32(), r));
|
|
2387
|
+
break;
|
|
2388
|
+
default:
|
|
2389
|
+
let o = r.readUnknownField;
|
|
2390
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2391
|
+
let s = t.skip(i);
|
|
2392
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
return a;
|
|
2396
|
+
}
|
|
2397
|
+
internalBinaryWrite(n, r, i) {
|
|
2398
|
+
n.name !== "" && r.tag(1, t.LengthDelimited).string(n.name), n.type !== "" && r.tag(2, t.LengthDelimited).string(n.type), n.startingNodeId !== "" && r.tag(3, t.LengthDelimited).string(n.startingNodeId);
|
|
2399
|
+
for (let e = 0; e < n.nodeFunctions.length; e++) H.internalBinaryWrite(n.nodeFunctions[e], r.tag(4, t.LengthDelimited).fork(), i).join();
|
|
2400
|
+
for (let e = 0; e < n.settings.length; e++) V.internalBinaryWrite(n.settings[e], r.tag(5, t.LengthDelimited).fork(), i).join();
|
|
2401
|
+
let a = i.writeUnknownFields;
|
|
2402
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2403
|
+
}
|
|
2404
|
+
}(), V = new class extends k {
|
|
2405
|
+
constructor() {
|
|
2406
|
+
super("shared.FlowSetting", [
|
|
2407
|
+
{
|
|
2408
|
+
no: 1,
|
|
2409
|
+
name: "database_id",
|
|
2410
|
+
kind: "scalar",
|
|
2411
|
+
opt: !0,
|
|
2412
|
+
T: 3,
|
|
2413
|
+
L: 0
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
no: 2,
|
|
2417
|
+
name: "flow_setting_id",
|
|
2418
|
+
kind: "scalar",
|
|
2419
|
+
T: 9
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
no: 3,
|
|
2423
|
+
name: "value",
|
|
2424
|
+
kind: "message",
|
|
2425
|
+
T: () => L
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
no: 4,
|
|
2429
|
+
name: "cast",
|
|
2430
|
+
kind: "scalar",
|
|
2431
|
+
opt: !0,
|
|
2432
|
+
T: 9
|
|
2433
|
+
}
|
|
2434
|
+
]);
|
|
2435
|
+
}
|
|
2436
|
+
create(e) {
|
|
2437
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2438
|
+
return t.flowSettingId = "", e !== void 0 && D(this, t, e), t;
|
|
2439
|
+
}
|
|
2440
|
+
internalBinaryRead(t, n, r, i) {
|
|
2441
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2442
|
+
for (; t.pos < o;) {
|
|
2443
|
+
let [n, i] = t.tag();
|
|
2444
|
+
switch (n) {
|
|
2445
|
+
case 1:
|
|
2446
|
+
a.databaseId = t.int64().toBigInt();
|
|
2447
|
+
break;
|
|
2448
|
+
case 2:
|
|
2449
|
+
a.flowSettingId = t.string();
|
|
2450
|
+
break;
|
|
2451
|
+
case 3:
|
|
2452
|
+
a.value = L.internalBinaryRead(t, t.uint32(), r, a.value);
|
|
2453
|
+
break;
|
|
2454
|
+
case 4:
|
|
2455
|
+
a.cast = t.string();
|
|
2456
|
+
break;
|
|
2457
|
+
default:
|
|
2458
|
+
let o = r.readUnknownField;
|
|
2459
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2460
|
+
let s = t.skip(i);
|
|
2461
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2464
|
+
return a;
|
|
2465
|
+
}
|
|
2466
|
+
internalBinaryWrite(n, r, i) {
|
|
2467
|
+
n.databaseId !== void 0 && r.tag(1, t.Varint).int64(n.databaseId), n.flowSettingId !== "" && r.tag(2, t.LengthDelimited).string(n.flowSettingId), n.value && L.internalBinaryWrite(n.value, r.tag(3, t.LengthDelimited).fork(), i).join(), n.cast !== void 0 && r.tag(4, t.LengthDelimited).string(n.cast);
|
|
2468
|
+
let a = i.writeUnknownFields;
|
|
2469
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2470
|
+
}
|
|
2471
|
+
}(), H = new class extends k {
|
|
2472
|
+
constructor() {
|
|
2473
|
+
super("shared.NodeFunction", [
|
|
2474
|
+
{
|
|
2475
|
+
no: 1,
|
|
2476
|
+
name: "database_id",
|
|
2477
|
+
kind: "scalar",
|
|
2478
|
+
opt: !0,
|
|
2479
|
+
T: 3,
|
|
2480
|
+
L: 0
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
no: 2,
|
|
2484
|
+
name: "runtime_function_id",
|
|
2485
|
+
kind: "scalar",
|
|
2486
|
+
T: 9
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
no: 3,
|
|
2490
|
+
name: "parameters",
|
|
2491
|
+
kind: "message",
|
|
2492
|
+
repeat: 2,
|
|
2493
|
+
T: () => W
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
no: 4,
|
|
2497
|
+
name: "next_node_id",
|
|
2498
|
+
kind: "scalar",
|
|
2499
|
+
opt: !0,
|
|
2500
|
+
T: 3,
|
|
2501
|
+
L: 0
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
no: 5,
|
|
2505
|
+
name: "definition_source",
|
|
2506
|
+
kind: "scalar",
|
|
2507
|
+
opt: !0,
|
|
2508
|
+
T: 9
|
|
2509
|
+
}
|
|
2510
|
+
]);
|
|
2511
|
+
}
|
|
2512
|
+
create(e) {
|
|
2513
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2514
|
+
return t.runtimeFunctionId = "", t.parameters = [], e !== void 0 && D(this, t, e), t;
|
|
2515
|
+
}
|
|
2516
|
+
internalBinaryRead(t, n, r, i) {
|
|
2517
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2518
|
+
for (; t.pos < o;) {
|
|
2519
|
+
let [n, i] = t.tag();
|
|
2520
|
+
switch (n) {
|
|
2521
|
+
case 1:
|
|
2522
|
+
a.databaseId = t.int64().toBigInt();
|
|
2523
|
+
break;
|
|
2524
|
+
case 2:
|
|
2525
|
+
a.runtimeFunctionId = t.string();
|
|
2526
|
+
break;
|
|
2527
|
+
case 3:
|
|
2528
|
+
a.parameters.push(W.internalBinaryRead(t, t.uint32(), r));
|
|
2529
|
+
break;
|
|
2530
|
+
case 4:
|
|
2531
|
+
a.nextNodeId = t.int64().toBigInt();
|
|
2532
|
+
break;
|
|
2533
|
+
case 5:
|
|
2534
|
+
a.definitionSource = t.string();
|
|
2535
|
+
break;
|
|
2536
|
+
default:
|
|
2537
|
+
let o = r.readUnknownField;
|
|
2538
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2539
|
+
let s = t.skip(i);
|
|
2540
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
return a;
|
|
2544
|
+
}
|
|
2545
|
+
internalBinaryWrite(n, r, i) {
|
|
2546
|
+
n.databaseId !== void 0 && r.tag(1, t.Varint).int64(n.databaseId), n.runtimeFunctionId !== "" && r.tag(2, t.LengthDelimited).string(n.runtimeFunctionId);
|
|
2547
|
+
for (let e = 0; e < n.parameters.length; e++) W.internalBinaryWrite(n.parameters[e], r.tag(3, t.LengthDelimited).fork(), i).join();
|
|
2548
|
+
n.nextNodeId !== void 0 && r.tag(4, t.Varint).int64(n.nextNodeId), n.definitionSource !== void 0 && r.tag(5, t.LengthDelimited).string(n.definitionSource);
|
|
2549
|
+
let a = i.writeUnknownFields;
|
|
2550
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2551
|
+
}
|
|
2552
|
+
}(), U = new class extends k {
|
|
2553
|
+
constructor() {
|
|
2554
|
+
super("shared.NodeValue", [
|
|
2555
|
+
{
|
|
2556
|
+
no: 1,
|
|
2557
|
+
name: "literal_value",
|
|
2558
|
+
kind: "message",
|
|
2559
|
+
oneof: "value",
|
|
2560
|
+
T: () => L
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
no: 2,
|
|
2564
|
+
name: "reference_value",
|
|
2565
|
+
kind: "message",
|
|
2566
|
+
oneof: "value",
|
|
2567
|
+
T: () => G
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
no: 3,
|
|
2571
|
+
name: "sub_flow",
|
|
2572
|
+
kind: "message",
|
|
2573
|
+
oneof: "value",
|
|
2574
|
+
T: () => q
|
|
2575
|
+
}
|
|
2576
|
+
]);
|
|
2577
|
+
}
|
|
2578
|
+
create(e) {
|
|
2579
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2580
|
+
return t.value = { oneofKind: void 0 }, e !== void 0 && D(this, t, e), t;
|
|
2581
|
+
}
|
|
2582
|
+
internalBinaryRead(t, n, r, i) {
|
|
2583
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2584
|
+
for (; t.pos < o;) {
|
|
2585
|
+
let [n, i] = t.tag();
|
|
2586
|
+
switch (n) {
|
|
2587
|
+
case 1:
|
|
2588
|
+
a.value = {
|
|
2589
|
+
oneofKind: "literalValue",
|
|
2590
|
+
literalValue: L.internalBinaryRead(t, t.uint32(), r, a.value.literalValue)
|
|
2591
|
+
};
|
|
2592
|
+
break;
|
|
2593
|
+
case 2:
|
|
2594
|
+
a.value = {
|
|
2595
|
+
oneofKind: "referenceValue",
|
|
2596
|
+
referenceValue: G.internalBinaryRead(t, t.uint32(), r, a.value.referenceValue)
|
|
2597
|
+
};
|
|
2598
|
+
break;
|
|
2599
|
+
case 3:
|
|
2600
|
+
a.value = {
|
|
2601
|
+
oneofKind: "subFlow",
|
|
2602
|
+
subFlow: q.internalBinaryRead(t, t.uint32(), r, a.value.subFlow)
|
|
2603
|
+
};
|
|
2604
|
+
break;
|
|
2605
|
+
default:
|
|
2606
|
+
let o = r.readUnknownField;
|
|
2607
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2608
|
+
let s = t.skip(i);
|
|
2609
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
return a;
|
|
2613
|
+
}
|
|
2614
|
+
internalBinaryWrite(n, r, i) {
|
|
2615
|
+
n.value.oneofKind === "literalValue" && L.internalBinaryWrite(n.value.literalValue, r.tag(1, t.LengthDelimited).fork(), i).join(), n.value.oneofKind === "referenceValue" && G.internalBinaryWrite(n.value.referenceValue, r.tag(2, t.LengthDelimited).fork(), i).join(), n.value.oneofKind === "subFlow" && q.internalBinaryWrite(n.value.subFlow, r.tag(3, t.LengthDelimited).fork(), i).join();
|
|
2616
|
+
let a = i.writeUnknownFields;
|
|
2617
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2618
|
+
}
|
|
2619
|
+
}(), W = new class extends k {
|
|
2620
|
+
constructor() {
|
|
2621
|
+
super("shared.NodeParameter", [
|
|
2622
|
+
{
|
|
2623
|
+
no: 1,
|
|
2624
|
+
name: "database_id",
|
|
2625
|
+
kind: "scalar",
|
|
2626
|
+
T: 3,
|
|
2627
|
+
L: 0
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
no: 2,
|
|
2631
|
+
name: "runtime_parameter_id",
|
|
2632
|
+
kind: "scalar",
|
|
2633
|
+
T: 9
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
no: 3,
|
|
2637
|
+
name: "value",
|
|
2638
|
+
kind: "message",
|
|
2639
|
+
T: () => U
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
no: 4,
|
|
2643
|
+
name: "cast",
|
|
2644
|
+
kind: "scalar",
|
|
2645
|
+
opt: !0,
|
|
2646
|
+
T: 9
|
|
2647
|
+
}
|
|
2648
|
+
]);
|
|
2649
|
+
}
|
|
2650
|
+
create(e) {
|
|
2651
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2652
|
+
return t.databaseId = 0n, t.runtimeParameterId = "", e !== void 0 && D(this, t, e), t;
|
|
2653
|
+
}
|
|
2654
|
+
internalBinaryRead(t, n, r, i) {
|
|
2655
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2656
|
+
for (; t.pos < o;) {
|
|
2657
|
+
let [n, i] = t.tag();
|
|
2658
|
+
switch (n) {
|
|
2659
|
+
case 1:
|
|
2660
|
+
a.databaseId = t.int64().toBigInt();
|
|
2661
|
+
break;
|
|
2662
|
+
case 2:
|
|
2663
|
+
a.runtimeParameterId = t.string();
|
|
2664
|
+
break;
|
|
2665
|
+
case 3:
|
|
2666
|
+
a.value = U.internalBinaryRead(t, t.uint32(), r, a.value);
|
|
2667
|
+
break;
|
|
2668
|
+
case 4:
|
|
2669
|
+
a.cast = t.string();
|
|
2670
|
+
break;
|
|
2671
|
+
default:
|
|
2672
|
+
let o = r.readUnknownField;
|
|
2673
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2674
|
+
let s = t.skip(i);
|
|
2675
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
return a;
|
|
2679
|
+
}
|
|
2680
|
+
internalBinaryWrite(n, r, i) {
|
|
2681
|
+
n.databaseId !== 0n && r.tag(1, t.Varint).int64(n.databaseId), n.runtimeParameterId !== "" && r.tag(2, t.LengthDelimited).string(n.runtimeParameterId), n.value && U.internalBinaryWrite(n.value, r.tag(3, t.LengthDelimited).fork(), i).join(), n.cast !== void 0 && r.tag(4, t.LengthDelimited).string(n.cast);
|
|
2682
|
+
let a = i.writeUnknownFields;
|
|
2683
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2684
|
+
}
|
|
2685
|
+
}(), G = new class extends k {
|
|
2686
|
+
constructor() {
|
|
2687
|
+
super("shared.ReferenceValue", [
|
|
2688
|
+
{
|
|
2689
|
+
no: 1,
|
|
2690
|
+
name: "flow_input",
|
|
2691
|
+
kind: "message",
|
|
2692
|
+
oneof: "target",
|
|
2693
|
+
T: () => Y
|
|
2694
|
+
},
|
|
2695
|
+
{
|
|
2696
|
+
no: 2,
|
|
2697
|
+
name: "node_id",
|
|
2698
|
+
kind: "scalar",
|
|
2699
|
+
oneof: "target",
|
|
2700
|
+
T: 3,
|
|
2701
|
+
L: 0
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
no: 3,
|
|
2705
|
+
name: "input_type",
|
|
2706
|
+
kind: "message",
|
|
2707
|
+
oneof: "target",
|
|
2708
|
+
T: () => X
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
no: 4,
|
|
2712
|
+
name: "paths",
|
|
2713
|
+
kind: "message",
|
|
2714
|
+
repeat: 2,
|
|
2715
|
+
T: () => Z
|
|
2716
|
+
}
|
|
2717
|
+
]);
|
|
2718
|
+
}
|
|
2719
|
+
create(e) {
|
|
2720
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2721
|
+
return t.target = { oneofKind: void 0 }, t.paths = [], e !== void 0 && D(this, t, e), t;
|
|
2722
|
+
}
|
|
2723
|
+
internalBinaryRead(t, n, r, i) {
|
|
2724
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2725
|
+
for (; t.pos < o;) {
|
|
2726
|
+
let [n, i] = t.tag();
|
|
2727
|
+
switch (n) {
|
|
2728
|
+
case 1:
|
|
2729
|
+
a.target = {
|
|
2730
|
+
oneofKind: "flowInput",
|
|
2731
|
+
flowInput: Y.internalBinaryRead(t, t.uint32(), r, a.target.flowInput)
|
|
2732
|
+
};
|
|
2733
|
+
break;
|
|
2734
|
+
case 2:
|
|
2735
|
+
a.target = {
|
|
2736
|
+
oneofKind: "nodeId",
|
|
2737
|
+
nodeId: t.int64().toBigInt()
|
|
2738
|
+
};
|
|
2739
|
+
break;
|
|
2740
|
+
case 3:
|
|
2741
|
+
a.target = {
|
|
2742
|
+
oneofKind: "inputType",
|
|
2743
|
+
inputType: X.internalBinaryRead(t, t.uint32(), r, a.target.inputType)
|
|
2744
|
+
};
|
|
2745
|
+
break;
|
|
2746
|
+
case 4:
|
|
2747
|
+
a.paths.push(Z.internalBinaryRead(t, t.uint32(), r));
|
|
2748
|
+
break;
|
|
2749
|
+
default:
|
|
2750
|
+
let o = r.readUnknownField;
|
|
2751
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2752
|
+
let s = t.skip(i);
|
|
2753
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
return a;
|
|
2757
|
+
}
|
|
2758
|
+
internalBinaryWrite(n, r, i) {
|
|
2759
|
+
n.target.oneofKind === "flowInput" && Y.internalBinaryWrite(n.target.flowInput, r.tag(1, t.LengthDelimited).fork(), i).join(), n.target.oneofKind === "nodeId" && r.tag(2, t.Varint).int64(n.target.nodeId), n.target.oneofKind === "inputType" && X.internalBinaryWrite(n.target.inputType, r.tag(3, t.LengthDelimited).fork(), i).join();
|
|
2760
|
+
for (let e = 0; e < n.paths.length; e++) Z.internalBinaryWrite(n.paths[e], r.tag(4, t.LengthDelimited).fork(), i).join();
|
|
2761
|
+
let a = i.writeUnknownFields;
|
|
2762
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2763
|
+
}
|
|
2764
|
+
}(), K = new class extends k {
|
|
2765
|
+
constructor() {
|
|
2766
|
+
super("shared.SubFlowFunction", [{
|
|
2767
|
+
no: 1,
|
|
2768
|
+
name: "function_identifier",
|
|
2769
|
+
kind: "scalar",
|
|
2770
|
+
T: 9
|
|
2771
|
+
}, {
|
|
2772
|
+
no: 2,
|
|
2773
|
+
name: "definition_source",
|
|
2774
|
+
kind: "scalar",
|
|
2775
|
+
opt: !0,
|
|
2776
|
+
T: 9
|
|
2777
|
+
}]);
|
|
2778
|
+
}
|
|
2779
|
+
create(e) {
|
|
2780
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2781
|
+
return t.functionIdentifier = "", e !== void 0 && D(this, t, e), t;
|
|
2782
|
+
}
|
|
2783
|
+
internalBinaryRead(t, n, r, i) {
|
|
2784
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2785
|
+
for (; t.pos < o;) {
|
|
2786
|
+
let [n, i] = t.tag();
|
|
2787
|
+
switch (n) {
|
|
2788
|
+
case 1:
|
|
2789
|
+
a.functionIdentifier = t.string();
|
|
2790
|
+
break;
|
|
2791
|
+
case 2:
|
|
2792
|
+
a.definitionSource = t.string();
|
|
2793
|
+
break;
|
|
2794
|
+
default:
|
|
2795
|
+
let o = r.readUnknownField;
|
|
2796
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2797
|
+
let s = t.skip(i);
|
|
2798
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
return a;
|
|
2802
|
+
}
|
|
2803
|
+
internalBinaryWrite(n, r, i) {
|
|
2804
|
+
n.functionIdentifier !== "" && r.tag(1, t.LengthDelimited).string(n.functionIdentifier), n.definitionSource !== void 0 && r.tag(2, t.LengthDelimited).string(n.definitionSource);
|
|
2805
|
+
let a = i.writeUnknownFields;
|
|
2806
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2807
|
+
}
|
|
2808
|
+
}(), q = new class extends k {
|
|
2809
|
+
constructor() {
|
|
2810
|
+
super("shared.SubFlow", [
|
|
2811
|
+
{
|
|
2812
|
+
no: 1,
|
|
2813
|
+
name: "starting_node_id",
|
|
2814
|
+
kind: "scalar",
|
|
2815
|
+
oneof: "executionReference",
|
|
2816
|
+
T: 3,
|
|
2817
|
+
L: 0
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
no: 2,
|
|
2821
|
+
name: "function",
|
|
2822
|
+
kind: "message",
|
|
2823
|
+
oneof: "executionReference",
|
|
2824
|
+
T: () => K
|
|
2825
|
+
},
|
|
2826
|
+
{
|
|
2827
|
+
no: 3,
|
|
2828
|
+
name: "input_schema",
|
|
2829
|
+
kind: "message",
|
|
2830
|
+
T: () => I
|
|
2831
|
+
},
|
|
2832
|
+
{
|
|
2833
|
+
no: 4,
|
|
2834
|
+
name: "output_schema",
|
|
2835
|
+
kind: "message",
|
|
2836
|
+
T: () => I
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
no: 5,
|
|
2840
|
+
name: "signature",
|
|
2841
|
+
kind: "scalar",
|
|
2842
|
+
T: 9
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
no: 6,
|
|
2846
|
+
name: "settings",
|
|
2847
|
+
kind: "message",
|
|
2848
|
+
repeat: 2,
|
|
2849
|
+
T: () => J
|
|
2850
|
+
}
|
|
2851
|
+
]);
|
|
2852
|
+
}
|
|
2853
|
+
create(e) {
|
|
2854
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2855
|
+
return t.executionReference = { oneofKind: void 0 }, t.signature = "", t.settings = [], e !== void 0 && D(this, t, e), t;
|
|
2856
|
+
}
|
|
2857
|
+
internalBinaryRead(t, n, r, i) {
|
|
2858
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2859
|
+
for (; t.pos < o;) {
|
|
2860
|
+
let [n, i] = t.tag();
|
|
2861
|
+
switch (n) {
|
|
2862
|
+
case 1:
|
|
2863
|
+
a.executionReference = {
|
|
2864
|
+
oneofKind: "startingNodeId",
|
|
2865
|
+
startingNodeId: t.int64().toBigInt()
|
|
2866
|
+
};
|
|
2867
|
+
break;
|
|
2868
|
+
case 2:
|
|
2869
|
+
a.executionReference = {
|
|
2870
|
+
oneofKind: "function",
|
|
2871
|
+
function: K.internalBinaryRead(t, t.uint32(), r, a.executionReference.function)
|
|
2872
|
+
};
|
|
2873
|
+
break;
|
|
2874
|
+
case 3:
|
|
2875
|
+
a.inputSchema = I.internalBinaryRead(t, t.uint32(), r, a.inputSchema);
|
|
2876
|
+
break;
|
|
2877
|
+
case 4:
|
|
2878
|
+
a.outputSchema = I.internalBinaryRead(t, t.uint32(), r, a.outputSchema);
|
|
2879
|
+
break;
|
|
2880
|
+
case 5:
|
|
2881
|
+
a.signature = t.string();
|
|
2882
|
+
break;
|
|
2883
|
+
case 6:
|
|
2884
|
+
a.settings.push(J.internalBinaryRead(t, t.uint32(), r));
|
|
2885
|
+
break;
|
|
2886
|
+
default:
|
|
2887
|
+
let o = r.readUnknownField;
|
|
2888
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2889
|
+
let s = t.skip(i);
|
|
2890
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
return a;
|
|
2894
|
+
}
|
|
2895
|
+
internalBinaryWrite(n, r, i) {
|
|
2896
|
+
n.executionReference.oneofKind === "startingNodeId" && r.tag(1, t.Varint).int64(n.executionReference.startingNodeId), n.executionReference.oneofKind === "function" && K.internalBinaryWrite(n.executionReference.function, r.tag(2, t.LengthDelimited).fork(), i).join(), n.inputSchema && I.internalBinaryWrite(n.inputSchema, r.tag(3, t.LengthDelimited).fork(), i).join(), n.outputSchema && I.internalBinaryWrite(n.outputSchema, r.tag(4, t.LengthDelimited).fork(), i).join(), n.signature !== "" && r.tag(5, t.LengthDelimited).string(n.signature);
|
|
2897
|
+
for (let e = 0; e < n.settings.length; e++) J.internalBinaryWrite(n.settings[e], r.tag(6, t.LengthDelimited).fork(), i).join();
|
|
2898
|
+
let a = i.writeUnknownFields;
|
|
2899
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2900
|
+
}
|
|
2901
|
+
}(), J = new class extends k {
|
|
2902
|
+
constructor() {
|
|
2903
|
+
super("shared.SubFlowSetting", [
|
|
2904
|
+
{
|
|
2905
|
+
no: 1,
|
|
2906
|
+
name: "identifier",
|
|
2907
|
+
kind: "scalar",
|
|
2908
|
+
T: 9
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
no: 2,
|
|
2912
|
+
name: "default_value",
|
|
2913
|
+
kind: "message",
|
|
2914
|
+
T: () => L
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
no: 3,
|
|
2918
|
+
name: "optional",
|
|
2919
|
+
kind: "scalar",
|
|
2920
|
+
opt: !0,
|
|
2921
|
+
T: 8
|
|
2922
|
+
},
|
|
2923
|
+
{
|
|
2924
|
+
no: 4,
|
|
2925
|
+
name: "hidden",
|
|
2926
|
+
kind: "scalar",
|
|
2927
|
+
opt: !0,
|
|
2928
|
+
T: 8
|
|
2929
|
+
}
|
|
2930
|
+
]);
|
|
2931
|
+
}
|
|
2932
|
+
create(e) {
|
|
2933
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2934
|
+
return t.identifier = "", e !== void 0 && D(this, t, e), t;
|
|
2935
|
+
}
|
|
2936
|
+
internalBinaryRead(t, n, r, i) {
|
|
2937
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2938
|
+
for (; t.pos < o;) {
|
|
2939
|
+
let [n, i] = t.tag();
|
|
2940
|
+
switch (n) {
|
|
2941
|
+
case 1:
|
|
2942
|
+
a.identifier = t.string();
|
|
2943
|
+
break;
|
|
2944
|
+
case 2:
|
|
2945
|
+
a.defaultValue = L.internalBinaryRead(t, t.uint32(), r, a.defaultValue);
|
|
2946
|
+
break;
|
|
2947
|
+
case 3:
|
|
2948
|
+
a.optional = t.bool();
|
|
2949
|
+
break;
|
|
2950
|
+
case 4:
|
|
2951
|
+
a.hidden = t.bool();
|
|
2952
|
+
break;
|
|
2953
|
+
default:
|
|
2954
|
+
let o = r.readUnknownField;
|
|
2955
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2956
|
+
let s = t.skip(i);
|
|
2957
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
return a;
|
|
2961
|
+
}
|
|
2962
|
+
internalBinaryWrite(n, r, i) {
|
|
2963
|
+
n.identifier !== "" && r.tag(1, t.LengthDelimited).string(n.identifier), n.defaultValue && L.internalBinaryWrite(n.defaultValue, r.tag(2, t.LengthDelimited).fork(), i).join(), n.optional !== void 0 && r.tag(3, t.Varint).bool(n.optional), n.hidden !== void 0 && r.tag(4, t.Varint).bool(n.hidden);
|
|
2964
|
+
let a = i.writeUnknownFields;
|
|
2965
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2966
|
+
}
|
|
2967
|
+
}(), Y = new class extends k {
|
|
2968
|
+
constructor() {
|
|
2969
|
+
super("shared.FlowInput", []);
|
|
2970
|
+
}
|
|
2971
|
+
create(e) {
|
|
2972
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2973
|
+
return e !== void 0 && D(this, t, e), t;
|
|
2974
|
+
}
|
|
2975
|
+
internalBinaryRead(t, n, r, i) {
|
|
2976
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
2977
|
+
for (; t.pos < o;) {
|
|
2978
|
+
let [n, i] = t.tag();
|
|
2979
|
+
switch (n) {
|
|
2980
|
+
default:
|
|
2981
|
+
let o = r.readUnknownField;
|
|
2982
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
2983
|
+
let s = t.skip(i);
|
|
2984
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2987
|
+
return a;
|
|
2988
|
+
}
|
|
2989
|
+
internalBinaryWrite(t, n, r) {
|
|
2990
|
+
let i = r.writeUnknownFields;
|
|
2991
|
+
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
2992
|
+
}
|
|
2993
|
+
}(), X = new class extends k {
|
|
2994
|
+
constructor() {
|
|
2995
|
+
super("shared.InputType", [
|
|
2996
|
+
{
|
|
2997
|
+
no: 1,
|
|
2998
|
+
name: "node_id",
|
|
2999
|
+
kind: "scalar",
|
|
3000
|
+
T: 3,
|
|
3001
|
+
L: 0
|
|
3002
|
+
},
|
|
3003
|
+
{
|
|
3004
|
+
no: 2,
|
|
3005
|
+
name: "parameter_index",
|
|
3006
|
+
kind: "scalar",
|
|
3007
|
+
T: 3,
|
|
3008
|
+
L: 0
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
no: 3,
|
|
3012
|
+
name: "input_index",
|
|
3013
|
+
kind: "scalar",
|
|
3014
|
+
T: 3,
|
|
3015
|
+
L: 0
|
|
3016
|
+
}
|
|
3017
|
+
]);
|
|
3018
|
+
}
|
|
3019
|
+
create(e) {
|
|
3020
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
3021
|
+
return t.nodeId = 0n, t.parameterIndex = 0n, t.inputIndex = 0n, e !== void 0 && D(this, t, e), t;
|
|
3022
|
+
}
|
|
3023
|
+
internalBinaryRead(t, n, r, i) {
|
|
3024
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
3025
|
+
for (; t.pos < o;) {
|
|
3026
|
+
let [n, i] = t.tag();
|
|
3027
|
+
switch (n) {
|
|
3028
|
+
case 1:
|
|
3029
|
+
a.nodeId = t.int64().toBigInt();
|
|
3030
|
+
break;
|
|
3031
|
+
case 2:
|
|
3032
|
+
a.parameterIndex = t.int64().toBigInt();
|
|
3033
|
+
break;
|
|
3034
|
+
case 3:
|
|
3035
|
+
a.inputIndex = t.int64().toBigInt();
|
|
3036
|
+
break;
|
|
3037
|
+
default:
|
|
3038
|
+
let o = r.readUnknownField;
|
|
3039
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
3040
|
+
let s = t.skip(i);
|
|
3041
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
return a;
|
|
3045
|
+
}
|
|
3046
|
+
internalBinaryWrite(n, r, i) {
|
|
3047
|
+
n.nodeId !== 0n && r.tag(1, t.Varint).int64(n.nodeId), n.parameterIndex !== 0n && r.tag(2, t.Varint).int64(n.parameterIndex), n.inputIndex !== 0n && r.tag(3, t.Varint).int64(n.inputIndex);
|
|
3048
|
+
let a = i.writeUnknownFields;
|
|
3049
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
3050
|
+
}
|
|
3051
|
+
}(), Z = new class extends k {
|
|
3052
|
+
constructor() {
|
|
3053
|
+
super("shared.ReferencePath", [{
|
|
3054
|
+
no: 1,
|
|
3055
|
+
name: "path",
|
|
3056
|
+
kind: "scalar",
|
|
3057
|
+
opt: !0,
|
|
3058
|
+
T: 9
|
|
3059
|
+
}, {
|
|
3060
|
+
no: 2,
|
|
3061
|
+
name: "array_index",
|
|
3062
|
+
kind: "scalar",
|
|
3063
|
+
opt: !0,
|
|
3064
|
+
T: 3,
|
|
3065
|
+
L: 0
|
|
3066
|
+
}]);
|
|
3067
|
+
}
|
|
3068
|
+
create(e) {
|
|
3069
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
3070
|
+
return e !== void 0 && D(this, t, e), t;
|
|
3071
|
+
}
|
|
3072
|
+
internalBinaryRead(t, n, r, i) {
|
|
3073
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
3074
|
+
for (; t.pos < o;) {
|
|
3075
|
+
let [n, i] = t.tag();
|
|
3076
|
+
switch (n) {
|
|
3077
|
+
case 1:
|
|
3078
|
+
a.path = t.string();
|
|
3079
|
+
break;
|
|
3080
|
+
case 2:
|
|
3081
|
+
a.arrayIndex = t.int64().toBigInt();
|
|
3082
|
+
break;
|
|
3083
|
+
default:
|
|
3084
|
+
let o = r.readUnknownField;
|
|
3085
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
3086
|
+
let s = t.skip(i);
|
|
3087
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
return a;
|
|
3091
|
+
}
|
|
3092
|
+
internalBinaryWrite(n, r, i) {
|
|
3093
|
+
n.path !== void 0 && r.tag(1, t.LengthDelimited).string(n.path), n.arrayIndex !== void 0 && r.tag(2, t.Varint).int64(n.arrayIndex);
|
|
3094
|
+
let a = i.writeUnknownFields;
|
|
3095
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
3096
|
+
}
|
|
3097
|
+
}(), He = new class extends k {
|
|
3098
|
+
constructor() {
|
|
3099
|
+
super("shared.Flows", [{
|
|
3100
|
+
no: 1,
|
|
3101
|
+
name: "flows",
|
|
3102
|
+
kind: "message",
|
|
3103
|
+
repeat: 2,
|
|
3104
|
+
T: () => B
|
|
3105
|
+
}]);
|
|
3106
|
+
}
|
|
3107
|
+
create(e) {
|
|
3108
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
3109
|
+
return t.flows = [], e !== void 0 && D(this, t, e), t;
|
|
3110
|
+
}
|
|
3111
|
+
internalBinaryRead(t, n, r, i) {
|
|
3112
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
3113
|
+
for (; t.pos < o;) {
|
|
3114
|
+
let [n, i] = t.tag();
|
|
3115
|
+
switch (n) {
|
|
3116
|
+
case 1:
|
|
3117
|
+
a.flows.push(B.internalBinaryRead(t, t.uint32(), r));
|
|
3118
|
+
break;
|
|
3119
|
+
default:
|
|
3120
|
+
let o = r.readUnknownField;
|
|
3121
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
3122
|
+
let s = t.skip(i);
|
|
3123
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
return a;
|
|
3127
|
+
}
|
|
3128
|
+
internalBinaryWrite(n, r, i) {
|
|
3129
|
+
for (let e = 0; e < n.flows.length; e++) B.internalBinaryWrite(n.flows[e], r.tag(1, t.LengthDelimited).fork(), i).join();
|
|
3130
|
+
let a = i.writeUnknownFields;
|
|
3131
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
3132
|
+
}
|
|
3133
|
+
}(), Ue = /* @__PURE__ */ function(e) {
|
|
3134
|
+
return e[e.UNKNOWN = 0] = "UNKNOWN", e[e.NONE = 1] = "NONE", e[e.PROJECT = 2] = "PROJECT", e;
|
|
3135
|
+
}({}), We = new class extends k {
|
|
3136
|
+
constructor() {
|
|
3137
|
+
super("shared.FlowType", [
|
|
3138
|
+
{
|
|
3139
|
+
no: 1,
|
|
3140
|
+
name: "identifier",
|
|
3141
|
+
kind: "scalar",
|
|
3142
|
+
T: 9
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
no: 2,
|
|
3146
|
+
name: "settings",
|
|
3147
|
+
kind: "message",
|
|
3148
|
+
repeat: 2,
|
|
3149
|
+
T: () => Q
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
no: 3,
|
|
3153
|
+
name: "editable",
|
|
3154
|
+
kind: "scalar",
|
|
3155
|
+
T: 8
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
no: 4,
|
|
3159
|
+
name: "name",
|
|
3160
|
+
kind: "message",
|
|
3161
|
+
repeat: 2,
|
|
3162
|
+
T: () => A
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
no: 5,
|
|
3166
|
+
name: "description",
|
|
3167
|
+
kind: "message",
|
|
3168
|
+
repeat: 2,
|
|
3169
|
+
T: () => A
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
no: 6,
|
|
3173
|
+
name: "documentation",
|
|
3174
|
+
kind: "message",
|
|
3175
|
+
repeat: 2,
|
|
3176
|
+
T: () => A
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
no: 7,
|
|
3180
|
+
name: "display_message",
|
|
3181
|
+
kind: "message",
|
|
3182
|
+
repeat: 2,
|
|
3183
|
+
T: () => A
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
no: 8,
|
|
3187
|
+
name: "alias",
|
|
3188
|
+
kind: "message",
|
|
3189
|
+
repeat: 2,
|
|
3190
|
+
T: () => A
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
no: 9,
|
|
3194
|
+
name: "version",
|
|
3195
|
+
kind: "scalar",
|
|
3196
|
+
T: 9
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
no: 10,
|
|
3200
|
+
name: "display_icon",
|
|
3201
|
+
kind: "scalar",
|
|
3202
|
+
T: 9
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
no: 11,
|
|
3206
|
+
name: "definition_source",
|
|
3207
|
+
kind: "scalar",
|
|
3208
|
+
opt: !0,
|
|
3209
|
+
T: 9
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
no: 12,
|
|
3213
|
+
name: "linked_data_type_identifiers",
|
|
3214
|
+
kind: "scalar",
|
|
3215
|
+
repeat: 2,
|
|
3216
|
+
T: 9
|
|
3217
|
+
},
|
|
3218
|
+
{
|
|
3219
|
+
no: 13,
|
|
3220
|
+
name: "signature",
|
|
3221
|
+
kind: "scalar",
|
|
3222
|
+
T: 9
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
no: 14,
|
|
3226
|
+
name: "runtime_identifier",
|
|
3227
|
+
kind: "scalar",
|
|
3228
|
+
T: 9
|
|
3229
|
+
}
|
|
3230
|
+
]);
|
|
3231
|
+
}
|
|
3232
|
+
create(e) {
|
|
3233
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
3234
|
+
return t.identifier = "", t.settings = [], t.editable = !1, t.name = [], t.description = [], t.documentation = [], t.displayMessage = [], t.alias = [], t.version = "", t.displayIcon = "", t.linkedDataTypeIdentifiers = [], t.signature = "", t.runtimeIdentifier = "", e !== void 0 && D(this, t, e), t;
|
|
3235
|
+
}
|
|
3236
|
+
internalBinaryRead(t, n, r, i) {
|
|
3237
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
3238
|
+
for (; t.pos < o;) {
|
|
3239
|
+
let [n, i] = t.tag();
|
|
3240
|
+
switch (n) {
|
|
3241
|
+
case 1:
|
|
3242
|
+
a.identifier = t.string();
|
|
3243
|
+
break;
|
|
3244
|
+
case 2:
|
|
3245
|
+
a.settings.push(Q.internalBinaryRead(t, t.uint32(), r));
|
|
3246
|
+
break;
|
|
3247
|
+
case 3:
|
|
3248
|
+
a.editable = t.bool();
|
|
3249
|
+
break;
|
|
3250
|
+
case 4:
|
|
3251
|
+
a.name.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3252
|
+
break;
|
|
3253
|
+
case 5:
|
|
3254
|
+
a.description.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3255
|
+
break;
|
|
3256
|
+
case 6:
|
|
3257
|
+
a.documentation.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3258
|
+
break;
|
|
3259
|
+
case 7:
|
|
3260
|
+
a.displayMessage.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3261
|
+
break;
|
|
3262
|
+
case 8:
|
|
3263
|
+
a.alias.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3264
|
+
break;
|
|
3265
|
+
case 9:
|
|
3266
|
+
a.version = t.string();
|
|
3267
|
+
break;
|
|
3268
|
+
case 10:
|
|
3269
|
+
a.displayIcon = t.string();
|
|
3270
|
+
break;
|
|
3271
|
+
case 11:
|
|
3272
|
+
a.definitionSource = t.string();
|
|
3273
|
+
break;
|
|
3274
|
+
case 12:
|
|
3275
|
+
a.linkedDataTypeIdentifiers.push(t.string());
|
|
3276
|
+
break;
|
|
3277
|
+
case 13:
|
|
3278
|
+
a.signature = t.string();
|
|
3279
|
+
break;
|
|
3280
|
+
case 14:
|
|
3281
|
+
a.runtimeIdentifier = t.string();
|
|
3282
|
+
break;
|
|
3283
|
+
default:
|
|
3284
|
+
let o = r.readUnknownField;
|
|
3285
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
3286
|
+
let s = t.skip(i);
|
|
3287
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
return a;
|
|
3291
|
+
}
|
|
3292
|
+
internalBinaryWrite(n, r, i) {
|
|
3293
|
+
n.identifier !== "" && r.tag(1, t.LengthDelimited).string(n.identifier);
|
|
3294
|
+
for (let e = 0; e < n.settings.length; e++) Q.internalBinaryWrite(n.settings[e], r.tag(2, t.LengthDelimited).fork(), i).join();
|
|
3295
|
+
n.editable !== !1 && r.tag(3, t.Varint).bool(n.editable);
|
|
3296
|
+
for (let e = 0; e < n.name.length; e++) A.internalBinaryWrite(n.name[e], r.tag(4, t.LengthDelimited).fork(), i).join();
|
|
3297
|
+
for (let e = 0; e < n.description.length; e++) A.internalBinaryWrite(n.description[e], r.tag(5, t.LengthDelimited).fork(), i).join();
|
|
3298
|
+
for (let e = 0; e < n.documentation.length; e++) A.internalBinaryWrite(n.documentation[e], r.tag(6, t.LengthDelimited).fork(), i).join();
|
|
3299
|
+
for (let e = 0; e < n.displayMessage.length; e++) A.internalBinaryWrite(n.displayMessage[e], r.tag(7, t.LengthDelimited).fork(), i).join();
|
|
3300
|
+
for (let e = 0; e < n.alias.length; e++) A.internalBinaryWrite(n.alias[e], r.tag(8, t.LengthDelimited).fork(), i).join();
|
|
3301
|
+
n.version !== "" && r.tag(9, t.LengthDelimited).string(n.version), n.displayIcon !== "" && r.tag(10, t.LengthDelimited).string(n.displayIcon), n.definitionSource !== void 0 && r.tag(11, t.LengthDelimited).string(n.definitionSource);
|
|
3302
|
+
for (let e = 0; e < n.linkedDataTypeIdentifiers.length; e++) r.tag(12, t.LengthDelimited).string(n.linkedDataTypeIdentifiers[e]);
|
|
3303
|
+
n.signature !== "" && r.tag(13, t.LengthDelimited).string(n.signature), n.runtimeIdentifier !== "" && r.tag(14, t.LengthDelimited).string(n.runtimeIdentifier);
|
|
3304
|
+
let a = i.writeUnknownFields;
|
|
3305
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
3306
|
+
}
|
|
3307
|
+
}(), Q = new class extends k {
|
|
3308
|
+
constructor() {
|
|
3309
|
+
super("shared.FlowTypeSetting", [
|
|
3310
|
+
{
|
|
3311
|
+
no: 1,
|
|
3312
|
+
name: "identifier",
|
|
3313
|
+
kind: "scalar",
|
|
3314
|
+
T: 9
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
no: 2,
|
|
3318
|
+
name: "unique",
|
|
3319
|
+
kind: "enum",
|
|
3320
|
+
T: () => ["shared.FlowTypeSetting.UniquenessScope", Ue]
|
|
3321
|
+
},
|
|
3322
|
+
{
|
|
3323
|
+
no: 3,
|
|
3324
|
+
name: "default_value",
|
|
3325
|
+
kind: "message",
|
|
3326
|
+
T: () => L
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
no: 4,
|
|
3330
|
+
name: "name",
|
|
3331
|
+
kind: "message",
|
|
3332
|
+
repeat: 2,
|
|
3333
|
+
T: () => A
|
|
3334
|
+
},
|
|
3335
|
+
{
|
|
3336
|
+
no: 5,
|
|
3337
|
+
name: "description",
|
|
3338
|
+
kind: "message",
|
|
3339
|
+
repeat: 2,
|
|
3340
|
+
T: () => A
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
no: 6,
|
|
3344
|
+
name: "optional",
|
|
3345
|
+
kind: "scalar",
|
|
3346
|
+
opt: !0,
|
|
3347
|
+
T: 8
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
no: 7,
|
|
3351
|
+
name: "hidden",
|
|
3352
|
+
kind: "scalar",
|
|
3353
|
+
opt: !0,
|
|
3354
|
+
T: 8
|
|
3355
|
+
}
|
|
3356
|
+
]);
|
|
3357
|
+
}
|
|
3358
|
+
create(e) {
|
|
3359
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
3360
|
+
return t.identifier = "", t.unique = 0, t.name = [], t.description = [], e !== void 0 && D(this, t, e), t;
|
|
3361
|
+
}
|
|
3362
|
+
internalBinaryRead(t, n, r, i) {
|
|
3363
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
3364
|
+
for (; t.pos < o;) {
|
|
3365
|
+
let [n, i] = t.tag();
|
|
3366
|
+
switch (n) {
|
|
3367
|
+
case 1:
|
|
3368
|
+
a.identifier = t.string();
|
|
3369
|
+
break;
|
|
3370
|
+
case 2:
|
|
3371
|
+
a.unique = t.int32();
|
|
3372
|
+
break;
|
|
3373
|
+
case 3:
|
|
3374
|
+
a.defaultValue = L.internalBinaryRead(t, t.uint32(), r, a.defaultValue);
|
|
3375
|
+
break;
|
|
3376
|
+
case 4:
|
|
3377
|
+
a.name.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3378
|
+
break;
|
|
3379
|
+
case 5:
|
|
3380
|
+
a.description.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3381
|
+
break;
|
|
3382
|
+
case 6:
|
|
3383
|
+
a.optional = t.bool();
|
|
3384
|
+
break;
|
|
3385
|
+
case 7:
|
|
3386
|
+
a.hidden = t.bool();
|
|
3387
|
+
break;
|
|
3388
|
+
default:
|
|
3389
|
+
let o = r.readUnknownField;
|
|
3390
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
3391
|
+
let s = t.skip(i);
|
|
3392
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
return a;
|
|
3396
|
+
}
|
|
3397
|
+
internalBinaryWrite(n, r, i) {
|
|
3398
|
+
n.identifier !== "" && r.tag(1, t.LengthDelimited).string(n.identifier), n.unique !== 0 && r.tag(2, t.Varint).int32(n.unique), n.defaultValue && L.internalBinaryWrite(n.defaultValue, r.tag(3, t.LengthDelimited).fork(), i).join();
|
|
3399
|
+
for (let e = 0; e < n.name.length; e++) A.internalBinaryWrite(n.name[e], r.tag(4, t.LengthDelimited).fork(), i).join();
|
|
3400
|
+
for (let e = 0; e < n.description.length; e++) A.internalBinaryWrite(n.description[e], r.tag(5, t.LengthDelimited).fork(), i).join();
|
|
3401
|
+
n.optional !== void 0 && r.tag(6, t.Varint).bool(n.optional), n.hidden !== void 0 && r.tag(7, t.Varint).bool(n.hidden);
|
|
3402
|
+
let a = i.writeUnknownFields;
|
|
3403
|
+
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
3404
|
+
}
|
|
3405
|
+
}(), Ge = new class extends k {
|
|
3406
|
+
constructor() {
|
|
3407
|
+
super("shared.FunctionDefinition", [
|
|
3408
|
+
{
|
|
3409
|
+
no: 1,
|
|
3410
|
+
name: "runtime_name",
|
|
3411
|
+
kind: "scalar",
|
|
3412
|
+
T: 9
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
no: 2,
|
|
3416
|
+
name: "parameter_definitions",
|
|
3417
|
+
kind: "message",
|
|
3418
|
+
repeat: 2,
|
|
3419
|
+
T: () => $
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
no: 3,
|
|
3423
|
+
name: "signature",
|
|
3424
|
+
kind: "scalar",
|
|
3425
|
+
T: 9
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
no: 4,
|
|
3429
|
+
name: "throws_error",
|
|
3430
|
+
kind: "scalar",
|
|
3431
|
+
T: 8
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
no: 5,
|
|
3435
|
+
name: "name",
|
|
3436
|
+
kind: "message",
|
|
3437
|
+
repeat: 2,
|
|
3438
|
+
T: () => A
|
|
3439
|
+
},
|
|
3440
|
+
{
|
|
3441
|
+
no: 6,
|
|
3442
|
+
name: "description",
|
|
3443
|
+
kind: "message",
|
|
3444
|
+
repeat: 2,
|
|
3445
|
+
T: () => A
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
no: 7,
|
|
3449
|
+
name: "documentation",
|
|
3450
|
+
kind: "message",
|
|
3451
|
+
repeat: 2,
|
|
3452
|
+
T: () => A
|
|
3453
|
+
},
|
|
3454
|
+
{
|
|
3455
|
+
no: 8,
|
|
3456
|
+
name: "deprecation_message",
|
|
3457
|
+
kind: "message",
|
|
3458
|
+
repeat: 2,
|
|
3459
|
+
T: () => A
|
|
3460
|
+
},
|
|
3461
|
+
{
|
|
3462
|
+
no: 9,
|
|
3463
|
+
name: "display_message",
|
|
3464
|
+
kind: "message",
|
|
3465
|
+
repeat: 2,
|
|
3466
|
+
T: () => A
|
|
3467
|
+
},
|
|
3468
|
+
{
|
|
3469
|
+
no: 10,
|
|
3470
|
+
name: "alias",
|
|
3471
|
+
kind: "message",
|
|
3472
|
+
repeat: 2,
|
|
3473
|
+
T: () => A
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
no: 11,
|
|
3477
|
+
name: "linked_data_type_identifiers",
|
|
3478
|
+
kind: "scalar",
|
|
3479
|
+
repeat: 2,
|
|
3480
|
+
T: 9
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
no: 12,
|
|
3484
|
+
name: "version",
|
|
3485
|
+
kind: "scalar",
|
|
3486
|
+
T: 9
|
|
3487
|
+
},
|
|
3488
|
+
{
|
|
3489
|
+
no: 13,
|
|
3490
|
+
name: "display_icon",
|
|
3491
|
+
kind: "scalar",
|
|
3492
|
+
T: 9
|
|
3493
|
+
},
|
|
3494
|
+
{
|
|
3495
|
+
no: 14,
|
|
3496
|
+
name: "definition_source",
|
|
3497
|
+
kind: "scalar",
|
|
3498
|
+
T: 9
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
no: 15,
|
|
3502
|
+
name: "runtime_definition_name",
|
|
3503
|
+
kind: "scalar",
|
|
3504
|
+
T: 9
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
no: 16,
|
|
3508
|
+
name: "design",
|
|
3509
|
+
kind: "scalar",
|
|
3510
|
+
opt: !0,
|
|
3511
|
+
T: 9
|
|
3512
|
+
}
|
|
3513
|
+
]);
|
|
3514
|
+
}
|
|
3515
|
+
create(e) {
|
|
3516
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
3517
|
+
return t.runtimeName = "", t.parameterDefinitions = [], t.signature = "", t.throwsError = !1, t.name = [], t.description = [], t.documentation = [], t.deprecationMessage = [], t.displayMessage = [], t.alias = [], t.linkedDataTypeIdentifiers = [], t.version = "", t.displayIcon = "", t.definitionSource = "", t.runtimeDefinitionName = "", e !== void 0 && D(this, t, e), t;
|
|
3518
|
+
}
|
|
3519
|
+
internalBinaryRead(t, n, r, i) {
|
|
3520
|
+
let a = i ?? this.create(), o = t.pos + n;
|
|
3521
|
+
for (; t.pos < o;) {
|
|
3522
|
+
let [n, i] = t.tag();
|
|
3523
|
+
switch (n) {
|
|
3524
|
+
case 1:
|
|
3525
|
+
a.runtimeName = t.string();
|
|
3526
|
+
break;
|
|
3527
|
+
case 2:
|
|
3528
|
+
a.parameterDefinitions.push($.internalBinaryRead(t, t.uint32(), r));
|
|
3529
|
+
break;
|
|
3530
|
+
case 3:
|
|
3531
|
+
a.signature = t.string();
|
|
3532
|
+
break;
|
|
3533
|
+
case 4:
|
|
3534
|
+
a.throwsError = t.bool();
|
|
3535
|
+
break;
|
|
3536
|
+
case 5:
|
|
3537
|
+
a.name.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3538
|
+
break;
|
|
3539
|
+
case 6:
|
|
3540
|
+
a.description.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3541
|
+
break;
|
|
3542
|
+
case 7:
|
|
3543
|
+
a.documentation.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3544
|
+
break;
|
|
3545
|
+
case 8:
|
|
3546
|
+
a.deprecationMessage.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3547
|
+
break;
|
|
3548
|
+
case 9:
|
|
3549
|
+
a.displayMessage.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3550
|
+
break;
|
|
3551
|
+
case 10:
|
|
3552
|
+
a.alias.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
3553
|
+
break;
|
|
3554
|
+
case 11:
|
|
3555
|
+
a.linkedDataTypeIdentifiers.push(t.string());
|
|
3556
|
+
break;
|
|
3557
|
+
case 12:
|
|
3558
|
+
a.version = t.string();
|
|
3559
|
+
break;
|
|
3560
|
+
case 13:
|
|
3561
|
+
a.displayIcon = t.string();
|
|
3562
|
+
break;
|
|
3563
|
+
case 14:
|
|
3564
|
+
a.definitionSource = t.string();
|
|
3565
|
+
break;
|
|
3566
|
+
case 15:
|
|
3567
|
+
a.runtimeDefinitionName = t.string();
|
|
3568
|
+
break;
|
|
3569
|
+
case 16:
|
|
3570
|
+
a.design = t.string();
|
|
2519
3571
|
break;
|
|
2520
3572
|
default:
|
|
2521
3573
|
let o = r.readUnknownField;
|
|
@@ -2530,18 +3582,18 @@ var we = class {
|
|
|
2530
3582
|
n.runtimeName !== "" && r.tag(1, t.LengthDelimited).string(n.runtimeName);
|
|
2531
3583
|
for (let e = 0; e < n.parameterDefinitions.length; e++) $.internalBinaryWrite(n.parameterDefinitions[e], r.tag(2, t.LengthDelimited).fork(), i).join();
|
|
2532
3584
|
n.signature !== "" && r.tag(3, t.LengthDelimited).string(n.signature), n.throwsError !== !1 && r.tag(4, t.Varint).bool(n.throwsError);
|
|
2533
|
-
for (let e = 0; e < n.name.length; e++)
|
|
2534
|
-
for (let e = 0; e < n.description.length; e++)
|
|
2535
|
-
for (let e = 0; e < n.documentation.length; e++)
|
|
2536
|
-
for (let e = 0; e < n.deprecationMessage.length; e++)
|
|
2537
|
-
for (let e = 0; e < n.displayMessage.length; e++)
|
|
2538
|
-
for (let e = 0; e < n.alias.length; e++)
|
|
3585
|
+
for (let e = 0; e < n.name.length; e++) A.internalBinaryWrite(n.name[e], r.tag(5, t.LengthDelimited).fork(), i).join();
|
|
3586
|
+
for (let e = 0; e < n.description.length; e++) A.internalBinaryWrite(n.description[e], r.tag(6, t.LengthDelimited).fork(), i).join();
|
|
3587
|
+
for (let e = 0; e < n.documentation.length; e++) A.internalBinaryWrite(n.documentation[e], r.tag(7, t.LengthDelimited).fork(), i).join();
|
|
3588
|
+
for (let e = 0; e < n.deprecationMessage.length; e++) A.internalBinaryWrite(n.deprecationMessage[e], r.tag(8, t.LengthDelimited).fork(), i).join();
|
|
3589
|
+
for (let e = 0; e < n.displayMessage.length; e++) A.internalBinaryWrite(n.displayMessage[e], r.tag(9, t.LengthDelimited).fork(), i).join();
|
|
3590
|
+
for (let e = 0; e < n.alias.length; e++) A.internalBinaryWrite(n.alias[e], r.tag(10, t.LengthDelimited).fork(), i).join();
|
|
2539
3591
|
for (let e = 0; e < n.linkedDataTypeIdentifiers.length; e++) r.tag(11, t.LengthDelimited).string(n.linkedDataTypeIdentifiers[e]);
|
|
2540
3592
|
n.version !== "" && r.tag(12, t.LengthDelimited).string(n.version), n.displayIcon !== "" && r.tag(13, t.LengthDelimited).string(n.displayIcon), n.definitionSource !== "" && r.tag(14, t.LengthDelimited).string(n.definitionSource), n.runtimeDefinitionName !== "" && r.tag(15, t.LengthDelimited).string(n.runtimeDefinitionName), n.design !== void 0 && r.tag(16, t.LengthDelimited).string(n.design);
|
|
2541
3593
|
let a = i.writeUnknownFields;
|
|
2542
3594
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2543
3595
|
}
|
|
2544
|
-
}(), $ = new class extends
|
|
3596
|
+
}(), $ = new class extends k {
|
|
2545
3597
|
constructor() {
|
|
2546
3598
|
super("shared.ParameterDefinition", [
|
|
2547
3599
|
{
|
|
@@ -2554,7 +3606,7 @@ var we = class {
|
|
|
2554
3606
|
no: 2,
|
|
2555
3607
|
name: "default_value",
|
|
2556
3608
|
kind: "message",
|
|
2557
|
-
T: () =>
|
|
3609
|
+
T: () => L
|
|
2558
3610
|
},
|
|
2559
3611
|
{
|
|
2560
3612
|
no: 3,
|
|
@@ -2575,21 +3627,21 @@ var we = class {
|
|
|
2575
3627
|
name: "name",
|
|
2576
3628
|
kind: "message",
|
|
2577
3629
|
repeat: 2,
|
|
2578
|
-
T: () =>
|
|
3630
|
+
T: () => A
|
|
2579
3631
|
},
|
|
2580
3632
|
{
|
|
2581
3633
|
no: 6,
|
|
2582
3634
|
name: "description",
|
|
2583
3635
|
kind: "message",
|
|
2584
3636
|
repeat: 2,
|
|
2585
|
-
T: () =>
|
|
3637
|
+
T: () => A
|
|
2586
3638
|
},
|
|
2587
3639
|
{
|
|
2588
3640
|
no: 7,
|
|
2589
3641
|
name: "documentation",
|
|
2590
3642
|
kind: "message",
|
|
2591
3643
|
repeat: 2,
|
|
2592
|
-
T: () =>
|
|
3644
|
+
T: () => A
|
|
2593
3645
|
},
|
|
2594
3646
|
{
|
|
2595
3647
|
no: 8,
|
|
@@ -2601,7 +3653,7 @@ var we = class {
|
|
|
2601
3653
|
}
|
|
2602
3654
|
create(e) {
|
|
2603
3655
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
2604
|
-
return t.runtimeName = "", t.name = [], t.description = [], t.documentation = [], t.runtimeDefinitionName = "", e !== void 0 &&
|
|
3656
|
+
return t.runtimeName = "", t.name = [], t.description = [], t.documentation = [], t.runtimeDefinitionName = "", e !== void 0 && D(this, t, e), t;
|
|
2605
3657
|
}
|
|
2606
3658
|
internalBinaryRead(t, n, r, i) {
|
|
2607
3659
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -2612,7 +3664,7 @@ var we = class {
|
|
|
2612
3664
|
a.runtimeName = t.string();
|
|
2613
3665
|
break;
|
|
2614
3666
|
case 2:
|
|
2615
|
-
a.defaultValue =
|
|
3667
|
+
a.defaultValue = L.internalBinaryRead(t, t.uint32(), r, a.defaultValue);
|
|
2616
3668
|
break;
|
|
2617
3669
|
case 3:
|
|
2618
3670
|
a.optional = t.bool();
|
|
@@ -2621,13 +3673,13 @@ var we = class {
|
|
|
2621
3673
|
a.hidden = t.bool();
|
|
2622
3674
|
break;
|
|
2623
3675
|
case 5:
|
|
2624
|
-
a.name.push(
|
|
3676
|
+
a.name.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
2625
3677
|
break;
|
|
2626
3678
|
case 6:
|
|
2627
|
-
a.description.push(
|
|
3679
|
+
a.description.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
2628
3680
|
break;
|
|
2629
3681
|
case 7:
|
|
2630
|
-
a.documentation.push(
|
|
3682
|
+
a.documentation.push(A.internalBinaryRead(t, t.uint32(), r));
|
|
2631
3683
|
break;
|
|
2632
3684
|
case 8:
|
|
2633
3685
|
a.runtimeDefinitionName = t.string();
|
|
@@ -2642,14 +3694,14 @@ var we = class {
|
|
|
2642
3694
|
return a;
|
|
2643
3695
|
}
|
|
2644
3696
|
internalBinaryWrite(n, r, i) {
|
|
2645
|
-
n.runtimeName !== "" && r.tag(1, t.LengthDelimited).string(n.runtimeName), n.defaultValue &&
|
|
2646
|
-
for (let e = 0; e < n.name.length; e++)
|
|
2647
|
-
for (let e = 0; e < n.description.length; e++)
|
|
2648
|
-
for (let e = 0; e < n.documentation.length; e++)
|
|
3697
|
+
n.runtimeName !== "" && r.tag(1, t.LengthDelimited).string(n.runtimeName), n.defaultValue && L.internalBinaryWrite(n.defaultValue, r.tag(2, t.LengthDelimited).fork(), i).join(), n.optional !== void 0 && r.tag(3, t.Varint).bool(n.optional), n.hidden !== void 0 && r.tag(4, t.Varint).bool(n.hidden);
|
|
3698
|
+
for (let e = 0; e < n.name.length; e++) A.internalBinaryWrite(n.name[e], r.tag(5, t.LengthDelimited).fork(), i).join();
|
|
3699
|
+
for (let e = 0; e < n.description.length; e++) A.internalBinaryWrite(n.description[e], r.tag(6, t.LengthDelimited).fork(), i).join();
|
|
3700
|
+
for (let e = 0; e < n.documentation.length; e++) A.internalBinaryWrite(n.documentation[e], r.tag(7, t.LengthDelimited).fork(), i).join();
|
|
2649
3701
|
n.runtimeDefinitionName !== "" && r.tag(8, t.LengthDelimited).string(n.runtimeDefinitionName);
|
|
2650
3702
|
let a = i.writeUnknownFields;
|
|
2651
3703
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, n, r), r;
|
|
2652
3704
|
}
|
|
2653
3705
|
}();
|
|
2654
3706
|
//#endregion
|
|
2655
|
-
export {
|
|
3707
|
+
export { j as A, R as C, F as D, P as E, de as F, r as I, e as L, A as M, k as N, Re as O, D as P, t as R, ze as S, L as T, q as _, Ue as a, B as b, V as c, X as d, H as f, G as g, Z as h, Q as i, N as j, M as k, He as l, U as m, $ as n, Be as o, W as p, We as r, Y as s, Ge as t, Ve as u, K as v, I as w, z as x, J as y };
|