@code0-tech/tucana 0.0.71 → 0.0.72
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 +221 -221
- package/dist/pb/_generated/velorum.generate_pb.d.ts +21 -4
- package/dist/pb/_generated/velorum.info_pb.d.ts +8 -4
- package/dist/{rpc-interceptor-CRhk15Dz.cjs → rpc-interceptor-DOeBkZHU.cjs} +1 -1
- package/dist/{rpc-interceptor-Bq56L_Jg.js → rpc-interceptor-az_TTCBK.js} +1 -1
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +227 -227
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +4 -4
- package/dist/shared.flow_pb-C4ewDq2u.js +957 -0
- package/dist/{shared.flow_pb-BNS2UoJj.cjs → shared.flow_pb-DrDw61IF.cjs} +1 -1
- package/dist/shared.function_pb-BErnwHWO.cjs +2 -0
- package/dist/{shared.function_pb-CMAwFz4S.js → shared.function_pb-e1jkWYE_.js} +430 -158
- package/dist/shared.runtime_usage_pb-CSRup69H.cjs +1 -0
- package/dist/shared.runtime_usage_pb-Hn8yNrjw.js +1779 -0
- package/dist/velorum.cjs.js +1 -1
- package/dist/velorum.es.js +206 -151
- package/package.json +1 -1
- package/dist/shared.flow_pb-BV09VLFs.js +0 -957
- package/dist/shared.function_pb-B9l5kdQt.cjs +0 -2
- package/dist/shared.runtime_usage_pb-BwOAdgPp.js +0 -2051
- package/dist/shared.runtime_usage_pb-CVahFg9u.cjs +0 -1
|
@@ -282,14 +282,14 @@ var x = class e extends y {
|
|
|
282
282
|
x.ZERO = new x(0, 0);
|
|
283
283
|
//#endregion
|
|
284
284
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/binary-reader.js
|
|
285
|
-
var
|
|
285
|
+
var S = {
|
|
286
286
|
readUnknownField: !0,
|
|
287
|
-
readerFactory: (e) => new
|
|
287
|
+
readerFactory: (e) => new re(e)
|
|
288
288
|
};
|
|
289
|
-
function
|
|
290
|
-
return e ? Object.assign(Object.assign({},
|
|
289
|
+
function ne(e) {
|
|
290
|
+
return e ? Object.assign(Object.assign({}, S), e) : S;
|
|
291
291
|
}
|
|
292
|
-
var
|
|
292
|
+
var re = class {
|
|
293
293
|
constructor(e, t) {
|
|
294
294
|
this.varint64 = c, this.uint32 = ee, 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", {
|
|
295
295
|
fatal: !0,
|
|
@@ -375,35 +375,35 @@ var ie = class {
|
|
|
375
375
|
};
|
|
376
376
|
//#endregion
|
|
377
377
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/assert.js
|
|
378
|
-
function
|
|
378
|
+
function C(e, t) {
|
|
379
379
|
if (!e) throw Error(t);
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function ie(e, t) {
|
|
382
382
|
throw Error(t ?? "Unexpected object: " + e);
|
|
383
383
|
}
|
|
384
|
-
var
|
|
385
|
-
function
|
|
384
|
+
var ae = 34028234663852886e22, oe = -34028234663852886e22, se = 4294967295, ce = 2147483647, le = -2147483648;
|
|
385
|
+
function w(e) {
|
|
386
386
|
if (typeof e != "number") throw Error("invalid int 32: " + typeof e);
|
|
387
|
-
if (!Number.isInteger(e) || e >
|
|
387
|
+
if (!Number.isInteger(e) || e > ce || e < le) throw Error("invalid int 32: " + e);
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function T(e) {
|
|
390
390
|
if (typeof e != "number") throw Error("invalid uint 32: " + typeof e);
|
|
391
|
-
if (!Number.isInteger(e) || e >
|
|
391
|
+
if (!Number.isInteger(e) || e > se || e < 0) throw Error("invalid uint 32: " + e);
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function E(e) {
|
|
394
394
|
if (typeof e != "number") throw Error("invalid float 32: " + typeof e);
|
|
395
|
-
if (Number.isFinite(e) && (e >
|
|
395
|
+
if (Number.isFinite(e) && (e > ae || e < oe)) throw Error("invalid float 32: " + e);
|
|
396
396
|
}
|
|
397
397
|
//#endregion
|
|
398
398
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/binary-writer.js
|
|
399
|
-
var
|
|
399
|
+
var D = {
|
|
400
400
|
writeUnknownFields: !0,
|
|
401
|
-
writerFactory: () => new
|
|
401
|
+
writerFactory: () => new de()
|
|
402
402
|
};
|
|
403
|
-
function
|
|
404
|
-
return e ? Object.assign(Object.assign({},
|
|
403
|
+
function ue(e) {
|
|
404
|
+
return e ? Object.assign(Object.assign({}, D), e) : D;
|
|
405
405
|
}
|
|
406
|
-
var
|
|
406
|
+
var de = class {
|
|
407
407
|
constructor(e) {
|
|
408
408
|
this.stack = [], this.textEncoder = e ?? new TextEncoder(), this.chunks = [], this.buf = [];
|
|
409
409
|
}
|
|
@@ -433,11 +433,11 @@ var fe = class {
|
|
|
433
433
|
return this.buf.length && (this.chunks.push(new Uint8Array(this.buf)), this.buf = []), this.chunks.push(e), this;
|
|
434
434
|
}
|
|
435
435
|
uint32(e) {
|
|
436
|
-
for (
|
|
436
|
+
for (T(e); e > 127;) this.buf.push(e & 127 | 128), e >>>= 7;
|
|
437
437
|
return this.buf.push(e), this;
|
|
438
438
|
}
|
|
439
439
|
int32(e) {
|
|
440
|
-
return
|
|
440
|
+
return w(e), p(e, this.buf), this;
|
|
441
441
|
}
|
|
442
442
|
bool(e) {
|
|
443
443
|
return this.buf.push(+!!e), this;
|
|
@@ -450,7 +450,7 @@ var fe = class {
|
|
|
450
450
|
return this.uint32(t.byteLength), this.raw(t);
|
|
451
451
|
}
|
|
452
452
|
float(e) {
|
|
453
|
-
|
|
453
|
+
E(e);
|
|
454
454
|
let t = new Uint8Array(4);
|
|
455
455
|
return new DataView(t.buffer).setFloat32(0, e, !0), this.raw(t);
|
|
456
456
|
}
|
|
@@ -459,17 +459,17 @@ var fe = class {
|
|
|
459
459
|
return new DataView(t.buffer).setFloat64(0, e, !0), this.raw(t);
|
|
460
460
|
}
|
|
461
461
|
fixed32(e) {
|
|
462
|
-
|
|
462
|
+
T(e);
|
|
463
463
|
let t = new Uint8Array(4);
|
|
464
464
|
return new DataView(t.buffer).setUint32(0, e, !0), this.raw(t);
|
|
465
465
|
}
|
|
466
466
|
sfixed32(e) {
|
|
467
|
-
|
|
467
|
+
w(e);
|
|
468
468
|
let t = new Uint8Array(4);
|
|
469
469
|
return new DataView(t.buffer).setInt32(0, e, !0), this.raw(t);
|
|
470
470
|
}
|
|
471
471
|
sint32(e) {
|
|
472
|
-
return
|
|
472
|
+
return w(e), e = (e << 1 ^ e >> 31) >>> 0, p(e, this.buf), this;
|
|
473
473
|
}
|
|
474
474
|
sfixed64(e) {
|
|
475
475
|
let t = new Uint8Array(8), n = new DataView(t.buffer), r = x.from(e);
|
|
@@ -491,17 +491,17 @@ var fe = class {
|
|
|
491
491
|
let t = b.from(e);
|
|
492
492
|
return l(t.lo, t.hi, this.buf), this;
|
|
493
493
|
}
|
|
494
|
-
},
|
|
494
|
+
}, O = {
|
|
495
495
|
emitDefaultValues: !1,
|
|
496
496
|
enumAsInteger: !1,
|
|
497
497
|
useProtoFieldName: !1,
|
|
498
498
|
prettySpaces: 0
|
|
499
|
-
},
|
|
499
|
+
}, fe = { ignoreUnknownFields: !1 };
|
|
500
500
|
function pe(e) {
|
|
501
|
-
return e ? Object.assign(Object.assign({},
|
|
501
|
+
return e ? Object.assign(Object.assign({}, fe), e) : fe;
|
|
502
502
|
}
|
|
503
503
|
function me(e) {
|
|
504
|
-
return e ? Object.assign(Object.assign({},
|
|
504
|
+
return e ? Object.assign(Object.assign({}, O), e) : O;
|
|
505
505
|
}
|
|
506
506
|
//#endregion
|
|
507
507
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/message-type-contract.js
|
|
@@ -766,16 +766,16 @@ var ve = class {
|
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
enum(e, t, n, r) {
|
|
769
|
-
if (e[0] == "google.protobuf.NullValue" &&
|
|
769
|
+
if (e[0] == "google.protobuf.NullValue" && C(t === null || t === "NULL_VALUE", `Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`), t === null) return 0;
|
|
770
770
|
switch (typeof t) {
|
|
771
|
-
case "number": return
|
|
771
|
+
case "number": return C(Number.isInteger(t), `Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${t}.`), t;
|
|
772
772
|
case "string":
|
|
773
773
|
let i = t;
|
|
774
774
|
e[2] && t.substring(0, e[2].length) === e[2] && (i = t.substring(e[2].length));
|
|
775
775
|
let a = e[1][i];
|
|
776
|
-
return a === void 0 && r ? !1 : (
|
|
776
|
+
return a === void 0 && r ? !1 : (C(typeof a == "number", `Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${t}".`), a);
|
|
777
777
|
}
|
|
778
|
-
|
|
778
|
+
C(!1, `Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof t}".`);
|
|
779
779
|
}
|
|
780
780
|
scalar(e, t, n, r) {
|
|
781
781
|
let a;
|
|
@@ -805,7 +805,7 @@ var ve = class {
|
|
|
805
805
|
a = "too large or small";
|
|
806
806
|
break;
|
|
807
807
|
}
|
|
808
|
-
return t == j.FLOAT &&
|
|
808
|
+
return t == j.FLOAT && E(r), r;
|
|
809
809
|
case j.INT32:
|
|
810
810
|
case j.FIXED32:
|
|
811
811
|
case j.SFIXED32:
|
|
@@ -814,7 +814,7 @@ var ve = class {
|
|
|
814
814
|
if (e === null) return 0;
|
|
815
815
|
let o;
|
|
816
816
|
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;
|
|
817
|
-
return t == j.UINT32 ?
|
|
817
|
+
return t == j.UINT32 ? T(o) : w(o), o;
|
|
818
818
|
case j.INT64:
|
|
819
819
|
case j.SFIXED64:
|
|
820
820
|
case j.SINT64:
|
|
@@ -862,62 +862,62 @@ var ve = class {
|
|
|
862
862
|
let i = r[e.oneof];
|
|
863
863
|
if (i.oneofKind !== e.localName) continue;
|
|
864
864
|
let a = e.kind == "scalar" || e.kind == "enum" ? Object.assign(Object.assign({}, t), { emitDefaultValues: !0 }) : t, o = this.field(e, i[e.localName], a);
|
|
865
|
-
|
|
865
|
+
C(o !== void 0), n[t.useProtoFieldName ? e.name : e.jsonName] = o;
|
|
866
866
|
}
|
|
867
867
|
return n;
|
|
868
868
|
}
|
|
869
869
|
field(e, t, n) {
|
|
870
870
|
let r;
|
|
871
871
|
if (e.kind == "map") {
|
|
872
|
-
|
|
872
|
+
C(typeof t == "object" && !!t);
|
|
873
873
|
let i = {};
|
|
874
874
|
switch (e.V.kind) {
|
|
875
875
|
case "scalar":
|
|
876
876
|
for (let [n, r] of Object.entries(t)) {
|
|
877
877
|
let t = this.scalar(e.V.T, r, e.name, !1, !0);
|
|
878
|
-
|
|
878
|
+
C(t !== void 0), i[n.toString()] = t;
|
|
879
879
|
}
|
|
880
880
|
break;
|
|
881
881
|
case "message":
|
|
882
882
|
let r = e.V.T();
|
|
883
883
|
for (let [a, o] of Object.entries(t)) {
|
|
884
884
|
let t = this.message(r, o, e.name, n);
|
|
885
|
-
|
|
885
|
+
C(t !== void 0), i[a.toString()] = t;
|
|
886
886
|
}
|
|
887
887
|
break;
|
|
888
888
|
case "enum":
|
|
889
889
|
let a = e.V.T();
|
|
890
890
|
for (let [r, o] of Object.entries(t)) {
|
|
891
|
-
|
|
891
|
+
C(o === void 0 || typeof o == "number");
|
|
892
892
|
let t = this.enum(a, o, e.name, !1, !0, n.enumAsInteger);
|
|
893
|
-
|
|
893
|
+
C(t !== void 0), i[r.toString()] = t;
|
|
894
894
|
}
|
|
895
895
|
break;
|
|
896
896
|
}
|
|
897
897
|
(n.emitDefaultValues || Object.keys(i).length > 0) && (r = i);
|
|
898
898
|
} else if (e.repeat) {
|
|
899
|
-
|
|
899
|
+
C(Array.isArray(t));
|
|
900
900
|
let i = [];
|
|
901
901
|
switch (e.kind) {
|
|
902
902
|
case "scalar":
|
|
903
903
|
for (let n = 0; n < t.length; n++) {
|
|
904
904
|
let r = this.scalar(e.T, t[n], e.name, e.opt, !0);
|
|
905
|
-
|
|
905
|
+
C(r !== void 0), i.push(r);
|
|
906
906
|
}
|
|
907
907
|
break;
|
|
908
908
|
case "enum":
|
|
909
909
|
let r = e.T();
|
|
910
910
|
for (let a = 0; a < t.length; a++) {
|
|
911
|
-
|
|
911
|
+
C(t[a] === void 0 || typeof t[a] == "number");
|
|
912
912
|
let o = this.enum(r, t[a], e.name, e.opt, !0, n.enumAsInteger);
|
|
913
|
-
|
|
913
|
+
C(o !== void 0), i.push(o);
|
|
914
914
|
}
|
|
915
915
|
break;
|
|
916
916
|
case "message":
|
|
917
917
|
let a = e.T();
|
|
918
918
|
for (let r = 0; r < t.length; r++) {
|
|
919
919
|
let o = this.message(a, t[r], e.name, n);
|
|
920
|
-
|
|
920
|
+
C(o !== void 0), i.push(o);
|
|
921
921
|
}
|
|
922
922
|
break;
|
|
923
923
|
}
|
|
@@ -938,42 +938,42 @@ var ve = class {
|
|
|
938
938
|
enum(e, t, n, r, i, a) {
|
|
939
939
|
if (e[0] == "google.protobuf.NullValue") return !i && !r ? void 0 : null;
|
|
940
940
|
if (t === void 0) {
|
|
941
|
-
|
|
941
|
+
C(r);
|
|
942
942
|
return;
|
|
943
943
|
}
|
|
944
|
-
if (!(t === 0 && !i && !r)) return
|
|
944
|
+
if (!(t === 0 && !i && !r)) return C(typeof t == "number"), C(Number.isInteger(t)), a || !e[1].hasOwnProperty(t) ? t : e[2] ? e[2] + e[1][t] : e[1][t];
|
|
945
945
|
}
|
|
946
946
|
message(e, t, n, r) {
|
|
947
947
|
return t === void 0 ? r.emitDefaultValues ? null : void 0 : e.internalJsonWrite(t, r);
|
|
948
948
|
}
|
|
949
949
|
scalar(e, t, n, r, i) {
|
|
950
950
|
if (t === void 0) {
|
|
951
|
-
|
|
951
|
+
C(r);
|
|
952
952
|
return;
|
|
953
953
|
}
|
|
954
954
|
let o = i || r;
|
|
955
955
|
switch (e) {
|
|
956
956
|
case j.INT32:
|
|
957
957
|
case j.SFIXED32:
|
|
958
|
-
case j.SINT32: return t === 0 ? o ? 0 : void 0 : (
|
|
958
|
+
case j.SINT32: return t === 0 ? o ? 0 : void 0 : (w(t), t);
|
|
959
959
|
case j.FIXED32:
|
|
960
|
-
case j.UINT32: return t === 0 ? o ? 0 : void 0 : (
|
|
961
|
-
case j.FLOAT:
|
|
962
|
-
case j.DOUBLE: return t === 0 ? o ? 0 : void 0 : (
|
|
963
|
-
case j.STRING: return t === "" ? o ? "" : void 0 : (
|
|
964
|
-
case j.BOOL: return t === !1 ? o ? !1 : void 0 : (
|
|
960
|
+
case j.UINT32: return t === 0 ? o ? 0 : void 0 : (T(t), t);
|
|
961
|
+
case j.FLOAT: E(t);
|
|
962
|
+
case j.DOUBLE: return t === 0 ? o ? 0 : void 0 : (C(typeof t == "number"), Number.isNaN(t) ? "NaN" : t === Infinity ? "Infinity" : t === -Infinity ? "-Infinity" : t);
|
|
963
|
+
case j.STRING: return t === "" ? o ? "" : void 0 : (C(typeof t == "string"), t);
|
|
964
|
+
case j.BOOL: return t === !1 ? o ? !1 : void 0 : (C(typeof t == "boolean"), t);
|
|
965
965
|
case j.UINT64:
|
|
966
966
|
case j.FIXED64:
|
|
967
|
-
|
|
967
|
+
C(typeof t == "number" || typeof t == "string" || typeof t == "bigint");
|
|
968
968
|
let e = b.from(t);
|
|
969
969
|
return e.isZero() && !o ? void 0 : e.toString();
|
|
970
970
|
case j.INT64:
|
|
971
971
|
case j.SFIXED64:
|
|
972
972
|
case j.SINT64:
|
|
973
|
-
|
|
973
|
+
C(typeof t == "number" || typeof t == "string" || typeof t == "bigint");
|
|
974
974
|
let n = x.from(t);
|
|
975
975
|
return n.isZero() && !o ? void 0 : n.toString();
|
|
976
|
-
case j.BYTES: return
|
|
976
|
+
case j.BYTES: return C(t instanceof Uint8Array), t.byteLength ? a(t) : o ? "" : void 0;
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
979
|
};
|
|
@@ -1124,18 +1124,18 @@ var be = class {
|
|
|
1124
1124
|
case "scalar":
|
|
1125
1125
|
case "enum":
|
|
1126
1126
|
let e = r.kind == "enum" ? j.INT32 : r.T;
|
|
1127
|
-
if (o) if (
|
|
1127
|
+
if (o) if (C(Array.isArray(i)), o == N.PACKED) this.packed(t, e, r.no, i);
|
|
1128
1128
|
else for (let n of i) this.scalar(t, e, r.no, n, !0);
|
|
1129
|
-
else i === void 0 ?
|
|
1129
|
+
else i === void 0 ? C(r.opt) : this.scalar(t, e, r.no, i, a || r.opt);
|
|
1130
1130
|
break;
|
|
1131
1131
|
case "message":
|
|
1132
1132
|
if (o) {
|
|
1133
|
-
|
|
1133
|
+
C(Array.isArray(i));
|
|
1134
1134
|
for (let e of i) this.message(t, n, r.T(), r.no, e);
|
|
1135
1135
|
} else this.message(t, n, r.T(), r.no, i);
|
|
1136
1136
|
break;
|
|
1137
1137
|
case "map":
|
|
1138
|
-
|
|
1138
|
+
C(typeof i == "object" && !!i);
|
|
1139
1139
|
for (let [e, a] of Object.entries(i)) this.mapEntry(t, n, r, e, a);
|
|
1140
1140
|
break;
|
|
1141
1141
|
}
|
|
@@ -1155,7 +1155,7 @@ var be = class {
|
|
|
1155
1155
|
a = Number.parseInt(r);
|
|
1156
1156
|
break;
|
|
1157
1157
|
case j.BOOL:
|
|
1158
|
-
|
|
1158
|
+
C(r == "true" || r == "false"), a = r == "true";
|
|
1159
1159
|
break;
|
|
1160
1160
|
}
|
|
1161
1161
|
switch (this.scalar(e, n.K, 1, a, !0), n.V.kind) {
|
|
@@ -1180,7 +1180,7 @@ var be = class {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
packed(e, t, n, r) {
|
|
1182
1182
|
if (!r.length) return;
|
|
1183
|
-
|
|
1183
|
+
C(t !== j.BYTES && t !== j.STRING), e.tag(n, s.LengthDelimited), e.fork();
|
|
1184
1184
|
let [, i] = this.scalarInfo(t);
|
|
1185
1185
|
for (let t = 0; t < r.length; t++) e[i](r[t]);
|
|
1186
1186
|
e.join();
|
|
@@ -1314,14 +1314,14 @@ function Ce(e, t, n) {
|
|
|
1314
1314
|
case "enum":
|
|
1315
1315
|
case "scalar":
|
|
1316
1316
|
let e = r.kind == "enum" ? j.INT32 : r.T;
|
|
1317
|
-
if (!(r.repeat ?
|
|
1317
|
+
if (!(r.repeat ? we(e, i, a) : R(e, i, a))) return !1;
|
|
1318
1318
|
break;
|
|
1319
1319
|
case "map":
|
|
1320
|
-
if (!(r.V.kind == "message" ?
|
|
1320
|
+
if (!(r.V.kind == "message" ? z(r.V.T(), L(i), L(a)) : we(r.V.kind == "enum" ? j.INT32 : r.V.T, L(i), L(a)))) return !1;
|
|
1321
1321
|
break;
|
|
1322
1322
|
case "message":
|
|
1323
1323
|
let t = r.T();
|
|
1324
|
-
if (!(r.repeat ?
|
|
1324
|
+
if (!(r.repeat ? z(t, i, a) : t.equals(i, a))) return !1;
|
|
1325
1325
|
break;
|
|
1326
1326
|
}
|
|
1327
1327
|
}
|
|
@@ -1336,21 +1336,21 @@ function R(e, t, n) {
|
|
|
1336
1336
|
for (let e = 0; e < r.length; e++) if (r[e] != i[e]) return !1;
|
|
1337
1337
|
return !0;
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function we(e, t, n) {
|
|
1340
1340
|
if (t.length !== n.length) return !1;
|
|
1341
1341
|
for (let r = 0; r < t.length; r++) if (!R(e, t[r], n[r])) return !1;
|
|
1342
1342
|
return !0;
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1344
|
+
function z(e, t, n) {
|
|
1345
1345
|
if (t.length !== n.length) return !1;
|
|
1346
1346
|
for (let r = 0; r < t.length; r++) if (!e.equals(t[r], n[r])) return !1;
|
|
1347
1347
|
return !0;
|
|
1348
1348
|
}
|
|
1349
1349
|
//#endregion
|
|
1350
1350
|
//#region node_modules/@protobuf-ts/runtime/build/es2015/message-type.js
|
|
1351
|
-
var
|
|
1351
|
+
var B = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), Te = B[k] = {}, V = class {
|
|
1352
1352
|
constructor(e, t, n) {
|
|
1353
|
-
this.defaultCheckDepth = 16, this.typeName = e, this.fields = t.map(he), this.options = n ?? {},
|
|
1353
|
+
this.defaultCheckDepth = 16, this.typeName = e, this.fields = t.map(he), this.options = n ?? {}, Te.value = this, this.messagePrototype = Object.create(null, B), this.refTypeCheck = new _e(this), this.refJsonReader = new ve(this), this.refJsonWriter = new ye(this), this.refBinReader = new be(this), this.refBinWriter = new xe(this);
|
|
1354
1354
|
}
|
|
1355
1355
|
create(e) {
|
|
1356
1356
|
let t = Se(this);
|
|
@@ -1373,7 +1373,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1373
1373
|
I(this, e, t);
|
|
1374
1374
|
}
|
|
1375
1375
|
fromBinary(e, t) {
|
|
1376
|
-
let n =
|
|
1376
|
+
let n = ne(t);
|
|
1377
1377
|
return this.internalBinaryRead(n.readerFactory(e), e.byteLength, n);
|
|
1378
1378
|
}
|
|
1379
1379
|
fromJson(e, t) {
|
|
@@ -1391,7 +1391,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1391
1391
|
return JSON.stringify(n, null, t?.prettySpaces ?? 0);
|
|
1392
1392
|
}
|
|
1393
1393
|
toBinary(e, t) {
|
|
1394
|
-
let n =
|
|
1394
|
+
let n = ue(t);
|
|
1395
1395
|
return this.internalBinaryWrite(e, n.writerFactory(), n).finish();
|
|
1396
1396
|
}
|
|
1397
1397
|
internalJsonRead(t, n, r) {
|
|
@@ -1411,7 +1411,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1411
1411
|
let i = r ?? this.create();
|
|
1412
1412
|
return this.refBinReader.read(e, i, n, t), i;
|
|
1413
1413
|
}
|
|
1414
|
-
},
|
|
1414
|
+
}, H = new class extends V {
|
|
1415
1415
|
constructor() {
|
|
1416
1416
|
super("shared.Translation", [{
|
|
1417
1417
|
no: 1,
|
|
@@ -1454,7 +1454,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1454
1454
|
let r = n.writeUnknownFields;
|
|
1455
1455
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1456
1456
|
}
|
|
1457
|
-
}(),
|
|
1457
|
+
}(), Ee = new class extends V {
|
|
1458
1458
|
constructor() {
|
|
1459
1459
|
super("shared.DefinitionDataType", [
|
|
1460
1460
|
{
|
|
@@ -1468,28 +1468,28 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1468
1468
|
name: "name",
|
|
1469
1469
|
kind: "message",
|
|
1470
1470
|
repeat: 2,
|
|
1471
|
-
T: () =>
|
|
1471
|
+
T: () => H
|
|
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: () => H
|
|
1479
1479
|
},
|
|
1480
1480
|
{
|
|
1481
1481
|
no: 4,
|
|
1482
1482
|
name: "alias",
|
|
1483
1483
|
kind: "message",
|
|
1484
1484
|
repeat: 2,
|
|
1485
|
-
T: () =>
|
|
1485
|
+
T: () => H
|
|
1486
1486
|
},
|
|
1487
1487
|
{
|
|
1488
1488
|
no: 5,
|
|
1489
1489
|
name: "rules",
|
|
1490
1490
|
kind: "message",
|
|
1491
1491
|
repeat: 2,
|
|
1492
|
-
T: () =>
|
|
1492
|
+
T: () => U
|
|
1493
1493
|
},
|
|
1494
1494
|
{
|
|
1495
1495
|
no: 6,
|
|
@@ -1538,16 +1538,16 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1538
1538
|
i.identifier = e.string();
|
|
1539
1539
|
break;
|
|
1540
1540
|
case 2:
|
|
1541
|
-
i.name.push(
|
|
1541
|
+
i.name.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
1542
1542
|
break;
|
|
1543
1543
|
case 3:
|
|
1544
|
-
i.displayMessage.push(
|
|
1544
|
+
i.displayMessage.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
1545
1545
|
break;
|
|
1546
1546
|
case 4:
|
|
1547
|
-
i.alias.push(
|
|
1547
|
+
i.alias.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
1548
1548
|
break;
|
|
1549
1549
|
case 5:
|
|
1550
|
-
i.rules.push(
|
|
1550
|
+
i.rules.push(U.internalBinaryRead(e, e.uint32(), n));
|
|
1551
1551
|
break;
|
|
1552
1552
|
case 6:
|
|
1553
1553
|
i.genericKeys.push(e.string());
|
|
@@ -1575,10 +1575,10 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1575
1575
|
}
|
|
1576
1576
|
internalBinaryWrite(e, t, n) {
|
|
1577
1577
|
e.identifier !== "" && t.tag(1, s.LengthDelimited).string(e.identifier);
|
|
1578
|
-
for (let r = 0; r < e.name.length; r++)
|
|
1579
|
-
for (let r = 0; r < e.displayMessage.length; r++)
|
|
1580
|
-
for (let r = 0; r < e.alias.length; r++)
|
|
1581
|
-
for (let r = 0; r < e.rules.length; r++)
|
|
1578
|
+
for (let r = 0; r < e.name.length; r++) H.internalBinaryWrite(e.name[r], t.tag(2, s.LengthDelimited).fork(), n).join();
|
|
1579
|
+
for (let r = 0; r < e.displayMessage.length; r++) H.internalBinaryWrite(e.displayMessage[r], t.tag(3, s.LengthDelimited).fork(), n).join();
|
|
1580
|
+
for (let r = 0; r < e.alias.length; r++) H.internalBinaryWrite(e.alias[r], t.tag(4, s.LengthDelimited).fork(), n).join();
|
|
1581
|
+
for (let r = 0; r < e.rules.length; r++) U.internalBinaryWrite(e.rules[r], t.tag(5, s.LengthDelimited).fork(), n).join();
|
|
1582
1582
|
for (let n = 0; n < e.genericKeys.length; n++) t.tag(6, s.LengthDelimited).string(e.genericKeys[n]);
|
|
1583
1583
|
e.type !== "" && t.tag(7, s.LengthDelimited).string(e.type);
|
|
1584
1584
|
for (let n = 0; n < e.linkedDataTypeIdentifiers.length; n++) t.tag(8, s.LengthDelimited).string(e.linkedDataTypeIdentifiers[n]);
|
|
@@ -1586,7 +1586,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1586
1586
|
let r = n.writeUnknownFields;
|
|
1587
1587
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1588
1588
|
}
|
|
1589
|
-
}(),
|
|
1589
|
+
}(), De = new class extends V {
|
|
1590
1590
|
constructor() {
|
|
1591
1591
|
super("shared.ExecutionDataType", [{
|
|
1592
1592
|
no: 1,
|
|
@@ -1598,7 +1598,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1598
1598
|
name: "rules",
|
|
1599
1599
|
kind: "message",
|
|
1600
1600
|
repeat: 2,
|
|
1601
|
-
T: () =>
|
|
1601
|
+
T: () => W
|
|
1602
1602
|
}]);
|
|
1603
1603
|
}
|
|
1604
1604
|
create(e) {
|
|
@@ -1614,7 +1614,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1614
1614
|
i.identifier = e.string();
|
|
1615
1615
|
break;
|
|
1616
1616
|
case 2:
|
|
1617
|
-
i.rules.push(
|
|
1617
|
+
i.rules.push(W.internalBinaryRead(e, e.uint32(), n));
|
|
1618
1618
|
break;
|
|
1619
1619
|
default:
|
|
1620
1620
|
let a = n.readUnknownField;
|
|
@@ -1627,24 +1627,24 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1627
1627
|
}
|
|
1628
1628
|
internalBinaryWrite(e, t, n) {
|
|
1629
1629
|
e.identifier !== "" && t.tag(1, s.LengthDelimited).string(e.identifier);
|
|
1630
|
-
for (let r = 0; r < e.rules.length; r++)
|
|
1630
|
+
for (let r = 0; r < e.rules.length; r++) W.internalBinaryWrite(e.rules[r], t.tag(2, s.LengthDelimited).fork(), n).join();
|
|
1631
1631
|
let r = n.writeUnknownFields;
|
|
1632
1632
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1633
1633
|
}
|
|
1634
|
-
}(),
|
|
1634
|
+
}(), U = new class extends V {
|
|
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: () => G
|
|
1642
1642
|
}, {
|
|
1643
1643
|
no: 2,
|
|
1644
1644
|
name: "regex",
|
|
1645
1645
|
kind: "message",
|
|
1646
1646
|
oneof: "config",
|
|
1647
|
-
T: () =>
|
|
1647
|
+
T: () => K
|
|
1648
1648
|
}]);
|
|
1649
1649
|
}
|
|
1650
1650
|
create(e) {
|
|
@@ -1659,13 +1659,13 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1659
1659
|
case 1:
|
|
1660
1660
|
i.config = {
|
|
1661
1661
|
oneofKind: "numberRange",
|
|
1662
|
-
numberRange:
|
|
1662
|
+
numberRange: G.internalBinaryRead(e, e.uint32(), n, i.config.numberRange)
|
|
1663
1663
|
};
|
|
1664
1664
|
break;
|
|
1665
1665
|
case 2:
|
|
1666
1666
|
i.config = {
|
|
1667
1667
|
oneofKind: "regex",
|
|
1668
|
-
regex:
|
|
1668
|
+
regex: K.internalBinaryRead(e, e.uint32(), n, i.config.regex)
|
|
1669
1669
|
};
|
|
1670
1670
|
break;
|
|
1671
1671
|
default:
|
|
@@ -1678,24 +1678,24 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1678
1678
|
return i;
|
|
1679
1679
|
}
|
|
1680
1680
|
internalBinaryWrite(e, t, n) {
|
|
1681
|
-
e.config.oneofKind === "numberRange" &&
|
|
1681
|
+
e.config.oneofKind === "numberRange" && G.internalBinaryWrite(e.config.numberRange, t.tag(1, s.LengthDelimited).fork(), n).join(), e.config.oneofKind === "regex" && K.internalBinaryWrite(e.config.regex, t.tag(2, s.LengthDelimited).fork(), n).join();
|
|
1682
1682
|
let r = n.writeUnknownFields;
|
|
1683
1683
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1684
1684
|
}
|
|
1685
|
-
}(),
|
|
1685
|
+
}(), W = new class extends V {
|
|
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: () => G
|
|
1693
1693
|
}, {
|
|
1694
1694
|
no: 2,
|
|
1695
1695
|
name: "regex",
|
|
1696
1696
|
kind: "message",
|
|
1697
1697
|
oneof: "config",
|
|
1698
|
-
T: () =>
|
|
1698
|
+
T: () => K
|
|
1699
1699
|
}]);
|
|
1700
1700
|
}
|
|
1701
1701
|
create(e) {
|
|
@@ -1710,13 +1710,13 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1710
1710
|
case 1:
|
|
1711
1711
|
i.config = {
|
|
1712
1712
|
oneofKind: "numberRange",
|
|
1713
|
-
numberRange:
|
|
1713
|
+
numberRange: G.internalBinaryRead(e, e.uint32(), n, i.config.numberRange)
|
|
1714
1714
|
};
|
|
1715
1715
|
break;
|
|
1716
1716
|
case 2:
|
|
1717
1717
|
i.config = {
|
|
1718
1718
|
oneofKind: "regex",
|
|
1719
|
-
regex:
|
|
1719
|
+
regex: K.internalBinaryRead(e, e.uint32(), n, i.config.regex)
|
|
1720
1720
|
};
|
|
1721
1721
|
break;
|
|
1722
1722
|
default:
|
|
@@ -1729,11 +1729,11 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1729
1729
|
return i;
|
|
1730
1730
|
}
|
|
1731
1731
|
internalBinaryWrite(e, t, n) {
|
|
1732
|
-
e.config.oneofKind === "numberRange" &&
|
|
1732
|
+
e.config.oneofKind === "numberRange" && G.internalBinaryWrite(e.config.numberRange, t.tag(1, s.LengthDelimited).fork(), n).join(), e.config.oneofKind === "regex" && K.internalBinaryWrite(e.config.regex, t.tag(2, s.LengthDelimited).fork(), n).join();
|
|
1733
1733
|
let r = n.writeUnknownFields;
|
|
1734
1734
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1735
1735
|
}
|
|
1736
|
-
}(),
|
|
1736
|
+
}(), G = new class extends V {
|
|
1737
1737
|
constructor() {
|
|
1738
1738
|
super("shared.DataTypeNumberRangeRuleConfig", [
|
|
1739
1739
|
{
|
|
@@ -1792,7 +1792,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1792
1792
|
let r = n.writeUnknownFields;
|
|
1793
1793
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1794
1794
|
}
|
|
1795
|
-
}(),
|
|
1795
|
+
}(), K = new class extends V {
|
|
1796
1796
|
constructor() {
|
|
1797
1797
|
super("shared.DataTypeRegexRuleConfig", [{
|
|
1798
1798
|
no: 1,
|
|
@@ -1827,9 +1827,9 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1827
1827
|
let r = n.writeUnknownFields;
|
|
1828
1828
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1829
1829
|
}
|
|
1830
|
-
}(),
|
|
1830
|
+
}(), q = /* @__PURE__ */ function(e) {
|
|
1831
1831
|
return e[e.NULL_VALUE = 0] = "NULL_VALUE", e;
|
|
1832
|
-
}({}),
|
|
1832
|
+
}({}), J = new class extends V {
|
|
1833
1833
|
constructor() {
|
|
1834
1834
|
super("shared.Struct", [{
|
|
1835
1835
|
no: 1,
|
|
@@ -1838,7 +1838,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1838
1838
|
K: 9,
|
|
1839
1839
|
V: {
|
|
1840
1840
|
kind: "message",
|
|
1841
|
-
T: () =>
|
|
1841
|
+
T: () => Y
|
|
1842
1842
|
}
|
|
1843
1843
|
}]);
|
|
1844
1844
|
}
|
|
@@ -1872,19 +1872,19 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1872
1872
|
a = t.string();
|
|
1873
1873
|
break;
|
|
1874
1874
|
case 2:
|
|
1875
|
-
o =
|
|
1875
|
+
o = Y.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 ?? Y.create();
|
|
1881
1881
|
}
|
|
1882
1882
|
internalBinaryWrite(e, t, n) {
|
|
1883
|
-
for (let r of globalThis.Object.keys(e.fields)) t.tag(1, s.LengthDelimited).fork().tag(1, s.LengthDelimited).string(r), t.tag(2, s.LengthDelimited).fork(),
|
|
1883
|
+
for (let r of globalThis.Object.keys(e.fields)) t.tag(1, s.LengthDelimited).fork().tag(1, s.LengthDelimited).string(r), t.tag(2, s.LengthDelimited).fork(), Y.internalBinaryWrite(e.fields[r], t, n), t.join().join();
|
|
1884
1884
|
let r = n.writeUnknownFields;
|
|
1885
1885
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1886
1886
|
}
|
|
1887
|
-
}(),
|
|
1887
|
+
}(), Y = new class extends V {
|
|
1888
1888
|
constructor() {
|
|
1889
1889
|
super("shared.Value", [
|
|
1890
1890
|
{
|
|
@@ -1892,14 +1892,14 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1892
1892
|
name: "null_value",
|
|
1893
1893
|
kind: "enum",
|
|
1894
1894
|
oneof: "kind",
|
|
1895
|
-
T: () => ["shared.NullValue",
|
|
1895
|
+
T: () => ["shared.NullValue", q]
|
|
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: () => X
|
|
1903
1903
|
},
|
|
1904
1904
|
{
|
|
1905
1905
|
no: 3,
|
|
@@ -1920,14 +1920,14 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1920
1920
|
name: "struct_value",
|
|
1921
1921
|
kind: "message",
|
|
1922
1922
|
oneof: "kind",
|
|
1923
|
-
T: () =>
|
|
1923
|
+
T: () => J
|
|
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
|
}
|
|
@@ -1949,7 +1949,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1949
1949
|
case 2:
|
|
1950
1950
|
i.kind = {
|
|
1951
1951
|
oneofKind: "numberValue",
|
|
1952
|
-
numberValue:
|
|
1952
|
+
numberValue: X.internalBinaryRead(e, e.uint32(), n, i.kind.numberValue)
|
|
1953
1953
|
};
|
|
1954
1954
|
break;
|
|
1955
1955
|
case 3:
|
|
@@ -1967,13 +1967,13 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1967
1967
|
case 5:
|
|
1968
1968
|
i.kind = {
|
|
1969
1969
|
oneofKind: "structValue",
|
|
1970
|
-
structValue:
|
|
1970
|
+
structValue: J.internalBinaryRead(e, e.uint32(), n, i.kind.structValue)
|
|
1971
1971
|
};
|
|
1972
1972
|
break;
|
|
1973
1973
|
case 6:
|
|
1974
1974
|
i.kind = {
|
|
1975
1975
|
oneofKind: "listValue",
|
|
1976
|
-
listValue:
|
|
1976
|
+
listValue: Z.internalBinaryRead(e, e.uint32(), n, i.kind.listValue)
|
|
1977
1977
|
};
|
|
1978
1978
|
break;
|
|
1979
1979
|
default:
|
|
@@ -1986,11 +1986,11 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
1986
1986
|
return i;
|
|
1987
1987
|
}
|
|
1988
1988
|
internalBinaryWrite(e, t, n) {
|
|
1989
|
-
e.kind.oneofKind === "nullValue" && t.tag(1, s.Varint).int32(e.kind.nullValue), e.kind.oneofKind === "numberValue" &&
|
|
1989
|
+
e.kind.oneofKind === "nullValue" && t.tag(1, s.Varint).int32(e.kind.nullValue), e.kind.oneofKind === "numberValue" && X.internalBinaryWrite(e.kind.numberValue, t.tag(2, s.LengthDelimited).fork(), n).join(), e.kind.oneofKind === "stringValue" && t.tag(3, s.LengthDelimited).string(e.kind.stringValue), e.kind.oneofKind === "boolValue" && t.tag(4, s.Varint).bool(e.kind.boolValue), e.kind.oneofKind === "structValue" && J.internalBinaryWrite(e.kind.structValue, t.tag(5, s.LengthDelimited).fork(), n).join(), e.kind.oneofKind === "listValue" && Z.internalBinaryWrite(e.kind.listValue, t.tag(6, s.LengthDelimited).fork(), n).join();
|
|
1990
1990
|
let r = n.writeUnknownFields;
|
|
1991
1991
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
1992
1992
|
}
|
|
1993
|
-
}(),
|
|
1993
|
+
}(), X = new class extends V {
|
|
1994
1994
|
constructor() {
|
|
1995
1995
|
super("shared.NumberValue", [{
|
|
1996
1996
|
no: 1,
|
|
@@ -2042,14 +2042,14 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2042
2042
|
let r = n.writeUnknownFields;
|
|
2043
2043
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
2044
2044
|
}
|
|
2045
|
-
}(),
|
|
2045
|
+
}(), Z = new class extends V {
|
|
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: () => Y
|
|
2053
2053
|
}]);
|
|
2054
2054
|
}
|
|
2055
2055
|
create(e) {
|
|
@@ -2062,7 +2062,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2062
2062
|
let [t, r] = e.tag();
|
|
2063
2063
|
switch (t) {
|
|
2064
2064
|
case 1:
|
|
2065
|
-
i.values.push(
|
|
2065
|
+
i.values.push(Y.internalBinaryRead(e, e.uint32(), n));
|
|
2066
2066
|
break;
|
|
2067
2067
|
default:
|
|
2068
2068
|
let a = n.readUnknownField;
|
|
@@ -2074,11 +2074,283 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2074
2074
|
return i;
|
|
2075
2075
|
}
|
|
2076
2076
|
internalBinaryWrite(e, t, n) {
|
|
2077
|
-
for (let r = 0; r < e.values.length; r++)
|
|
2077
|
+
for (let r = 0; r < e.values.length; r++) Y.internalBinaryWrite(e.values[r], t.tag(1, s.LengthDelimited).fork(), n).join();
|
|
2078
2078
|
let r = n.writeUnknownFields;
|
|
2079
2079
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
2080
2080
|
}
|
|
2081
|
-
}(),
|
|
2081
|
+
}(), Oe = /* @__PURE__ */ function(e) {
|
|
2082
|
+
return e[e.UNKNOWN = 0] = "UNKNOWN", e[e.NONE = 1] = "NONE", e[e.PROJECT = 2] = "PROJECT", e;
|
|
2083
|
+
}({}), ke = new class extends V {
|
|
2084
|
+
constructor() {
|
|
2085
|
+
super("shared.FlowType", [
|
|
2086
|
+
{
|
|
2087
|
+
no: 1,
|
|
2088
|
+
name: "identifier",
|
|
2089
|
+
kind: "scalar",
|
|
2090
|
+
T: 9
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
no: 2,
|
|
2094
|
+
name: "settings",
|
|
2095
|
+
kind: "message",
|
|
2096
|
+
repeat: 2,
|
|
2097
|
+
T: () => Q
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
no: 3,
|
|
2101
|
+
name: "editable",
|
|
2102
|
+
kind: "scalar",
|
|
2103
|
+
T: 8
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
no: 4,
|
|
2107
|
+
name: "name",
|
|
2108
|
+
kind: "message",
|
|
2109
|
+
repeat: 2,
|
|
2110
|
+
T: () => H
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
no: 5,
|
|
2114
|
+
name: "description",
|
|
2115
|
+
kind: "message",
|
|
2116
|
+
repeat: 2,
|
|
2117
|
+
T: () => H
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
no: 6,
|
|
2121
|
+
name: "documentation",
|
|
2122
|
+
kind: "message",
|
|
2123
|
+
repeat: 2,
|
|
2124
|
+
T: () => H
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
no: 7,
|
|
2128
|
+
name: "display_message",
|
|
2129
|
+
kind: "message",
|
|
2130
|
+
repeat: 2,
|
|
2131
|
+
T: () => H
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
no: 8,
|
|
2135
|
+
name: "alias",
|
|
2136
|
+
kind: "message",
|
|
2137
|
+
repeat: 2,
|
|
2138
|
+
T: () => H
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
no: 9,
|
|
2142
|
+
name: "version",
|
|
2143
|
+
kind: "scalar",
|
|
2144
|
+
T: 9
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
no: 10,
|
|
2148
|
+
name: "display_icon",
|
|
2149
|
+
kind: "scalar",
|
|
2150
|
+
T: 9
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
no: 11,
|
|
2154
|
+
name: "definition_source",
|
|
2155
|
+
kind: "scalar",
|
|
2156
|
+
opt: !0,
|
|
2157
|
+
T: 9
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
no: 12,
|
|
2161
|
+
name: "linked_data_type_identifiers",
|
|
2162
|
+
kind: "scalar",
|
|
2163
|
+
repeat: 2,
|
|
2164
|
+
T: 9
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
no: 13,
|
|
2168
|
+
name: "signature",
|
|
2169
|
+
kind: "scalar",
|
|
2170
|
+
T: 9
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
no: 14,
|
|
2174
|
+
name: "runtime_identifier",
|
|
2175
|
+
kind: "scalar",
|
|
2176
|
+
T: 9
|
|
2177
|
+
}
|
|
2178
|
+
]);
|
|
2179
|
+
}
|
|
2180
|
+
create(e) {
|
|
2181
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2182
|
+
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 && I(this, t, e), t;
|
|
2183
|
+
}
|
|
2184
|
+
internalBinaryRead(e, t, n, r) {
|
|
2185
|
+
let i = r ?? this.create(), a = e.pos + t;
|
|
2186
|
+
for (; e.pos < a;) {
|
|
2187
|
+
let [t, r] = e.tag();
|
|
2188
|
+
switch (t) {
|
|
2189
|
+
case 1:
|
|
2190
|
+
i.identifier = e.string();
|
|
2191
|
+
break;
|
|
2192
|
+
case 2:
|
|
2193
|
+
i.settings.push(Q.internalBinaryRead(e, e.uint32(), n));
|
|
2194
|
+
break;
|
|
2195
|
+
case 3:
|
|
2196
|
+
i.editable = e.bool();
|
|
2197
|
+
break;
|
|
2198
|
+
case 4:
|
|
2199
|
+
i.name.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2200
|
+
break;
|
|
2201
|
+
case 5:
|
|
2202
|
+
i.description.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2203
|
+
break;
|
|
2204
|
+
case 6:
|
|
2205
|
+
i.documentation.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2206
|
+
break;
|
|
2207
|
+
case 7:
|
|
2208
|
+
i.displayMessage.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2209
|
+
break;
|
|
2210
|
+
case 8:
|
|
2211
|
+
i.alias.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2212
|
+
break;
|
|
2213
|
+
case 9:
|
|
2214
|
+
i.version = e.string();
|
|
2215
|
+
break;
|
|
2216
|
+
case 10:
|
|
2217
|
+
i.displayIcon = e.string();
|
|
2218
|
+
break;
|
|
2219
|
+
case 11:
|
|
2220
|
+
i.definitionSource = e.string();
|
|
2221
|
+
break;
|
|
2222
|
+
case 12:
|
|
2223
|
+
i.linkedDataTypeIdentifiers.push(e.string());
|
|
2224
|
+
break;
|
|
2225
|
+
case 13:
|
|
2226
|
+
i.signature = e.string();
|
|
2227
|
+
break;
|
|
2228
|
+
case 14:
|
|
2229
|
+
i.runtimeIdentifier = e.string();
|
|
2230
|
+
break;
|
|
2231
|
+
default:
|
|
2232
|
+
let a = n.readUnknownField;
|
|
2233
|
+
if (a === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
2234
|
+
let s = e.skip(r);
|
|
2235
|
+
a !== !1 && (a === !0 ? o.onRead : a)(this.typeName, i, t, r, s);
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
return i;
|
|
2239
|
+
}
|
|
2240
|
+
internalBinaryWrite(e, t, n) {
|
|
2241
|
+
e.identifier !== "" && t.tag(1, s.LengthDelimited).string(e.identifier);
|
|
2242
|
+
for (let r = 0; r < e.settings.length; r++) Q.internalBinaryWrite(e.settings[r], t.tag(2, s.LengthDelimited).fork(), n).join();
|
|
2243
|
+
e.editable !== !1 && t.tag(3, s.Varint).bool(e.editable);
|
|
2244
|
+
for (let r = 0; r < e.name.length; r++) H.internalBinaryWrite(e.name[r], t.tag(4, s.LengthDelimited).fork(), n).join();
|
|
2245
|
+
for (let r = 0; r < e.description.length; r++) H.internalBinaryWrite(e.description[r], t.tag(5, s.LengthDelimited).fork(), n).join();
|
|
2246
|
+
for (let r = 0; r < e.documentation.length; r++) H.internalBinaryWrite(e.documentation[r], t.tag(6, s.LengthDelimited).fork(), n).join();
|
|
2247
|
+
for (let r = 0; r < e.displayMessage.length; r++) H.internalBinaryWrite(e.displayMessage[r], t.tag(7, s.LengthDelimited).fork(), n).join();
|
|
2248
|
+
for (let r = 0; r < e.alias.length; r++) H.internalBinaryWrite(e.alias[r], t.tag(8, s.LengthDelimited).fork(), n).join();
|
|
2249
|
+
e.version !== "" && t.tag(9, s.LengthDelimited).string(e.version), e.displayIcon !== "" && t.tag(10, s.LengthDelimited).string(e.displayIcon), e.definitionSource !== void 0 && t.tag(11, s.LengthDelimited).string(e.definitionSource);
|
|
2250
|
+
for (let n = 0; n < e.linkedDataTypeIdentifiers.length; n++) t.tag(12, s.LengthDelimited).string(e.linkedDataTypeIdentifiers[n]);
|
|
2251
|
+
e.signature !== "" && t.tag(13, s.LengthDelimited).string(e.signature), e.runtimeIdentifier !== "" && t.tag(14, s.LengthDelimited).string(e.runtimeIdentifier);
|
|
2252
|
+
let r = n.writeUnknownFields;
|
|
2253
|
+
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
2254
|
+
}
|
|
2255
|
+
}(), Q = new class extends V {
|
|
2256
|
+
constructor() {
|
|
2257
|
+
super("shared.FlowTypeSetting", [
|
|
2258
|
+
{
|
|
2259
|
+
no: 1,
|
|
2260
|
+
name: "identifier",
|
|
2261
|
+
kind: "scalar",
|
|
2262
|
+
T: 9
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
no: 2,
|
|
2266
|
+
name: "unique",
|
|
2267
|
+
kind: "enum",
|
|
2268
|
+
T: () => ["shared.FlowTypeSetting.UniquenessScope", Oe]
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
no: 3,
|
|
2272
|
+
name: "default_value",
|
|
2273
|
+
kind: "message",
|
|
2274
|
+
T: () => Y
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
no: 4,
|
|
2278
|
+
name: "name",
|
|
2279
|
+
kind: "message",
|
|
2280
|
+
repeat: 2,
|
|
2281
|
+
T: () => H
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
no: 5,
|
|
2285
|
+
name: "description",
|
|
2286
|
+
kind: "message",
|
|
2287
|
+
repeat: 2,
|
|
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
|
|
2303
|
+
}
|
|
2304
|
+
]);
|
|
2305
|
+
}
|
|
2306
|
+
create(e) {
|
|
2307
|
+
let t = globalThis.Object.create(this.messagePrototype);
|
|
2308
|
+
return t.identifier = "", t.unique = 0, t.name = [], t.description = [], e !== void 0 && I(this, t, e), t;
|
|
2309
|
+
}
|
|
2310
|
+
internalBinaryRead(e, t, n, r) {
|
|
2311
|
+
let i = r ?? this.create(), a = e.pos + t;
|
|
2312
|
+
for (; e.pos < a;) {
|
|
2313
|
+
let [t, r] = e.tag();
|
|
2314
|
+
switch (t) {
|
|
2315
|
+
case 1:
|
|
2316
|
+
i.identifier = e.string();
|
|
2317
|
+
break;
|
|
2318
|
+
case 2:
|
|
2319
|
+
i.unique = e.int32();
|
|
2320
|
+
break;
|
|
2321
|
+
case 3:
|
|
2322
|
+
i.defaultValue = Y.internalBinaryRead(e, e.uint32(), n, i.defaultValue);
|
|
2323
|
+
break;
|
|
2324
|
+
case 4:
|
|
2325
|
+
i.name.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2326
|
+
break;
|
|
2327
|
+
case 5:
|
|
2328
|
+
i.description.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2329
|
+
break;
|
|
2330
|
+
case 6:
|
|
2331
|
+
i.optional = e.bool();
|
|
2332
|
+
break;
|
|
2333
|
+
case 7:
|
|
2334
|
+
i.hidden = e.bool();
|
|
2335
|
+
break;
|
|
2336
|
+
default:
|
|
2337
|
+
let a = n.readUnknownField;
|
|
2338
|
+
if (a === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
2339
|
+
let s = e.skip(r);
|
|
2340
|
+
a !== !1 && (a === !0 ? o.onRead : a)(this.typeName, i, t, r, s);
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
return i;
|
|
2344
|
+
}
|
|
2345
|
+
internalBinaryWrite(e, t, n) {
|
|
2346
|
+
e.identifier !== "" && t.tag(1, s.LengthDelimited).string(e.identifier), e.unique !== 0 && t.tag(2, s.Varint).int32(e.unique), e.defaultValue && Y.internalBinaryWrite(e.defaultValue, t.tag(3, s.LengthDelimited).fork(), n).join();
|
|
2347
|
+
for (let r = 0; r < e.name.length; r++) H.internalBinaryWrite(e.name[r], t.tag(4, s.LengthDelimited).fork(), n).join();
|
|
2348
|
+
for (let r = 0; r < e.description.length; r++) H.internalBinaryWrite(e.description[r], t.tag(5, s.LengthDelimited).fork(), n).join();
|
|
2349
|
+
e.optional !== void 0 && t.tag(6, s.Varint).bool(e.optional), e.hidden !== void 0 && t.tag(7, s.Varint).bool(e.hidden);
|
|
2350
|
+
let r = n.writeUnknownFields;
|
|
2351
|
+
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
2352
|
+
}
|
|
2353
|
+
}(), Ae = new class extends V {
|
|
2082
2354
|
constructor() {
|
|
2083
2355
|
super("shared.FunctionDefinition", [
|
|
2084
2356
|
{
|
|
@@ -2111,42 +2383,42 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2111
2383
|
name: "name",
|
|
2112
2384
|
kind: "message",
|
|
2113
2385
|
repeat: 2,
|
|
2114
|
-
T: () =>
|
|
2386
|
+
T: () => H
|
|
2115
2387
|
},
|
|
2116
2388
|
{
|
|
2117
2389
|
no: 6,
|
|
2118
2390
|
name: "description",
|
|
2119
2391
|
kind: "message",
|
|
2120
2392
|
repeat: 2,
|
|
2121
|
-
T: () =>
|
|
2393
|
+
T: () => H
|
|
2122
2394
|
},
|
|
2123
2395
|
{
|
|
2124
2396
|
no: 7,
|
|
2125
2397
|
name: "documentation",
|
|
2126
2398
|
kind: "message",
|
|
2127
2399
|
repeat: 2,
|
|
2128
|
-
T: () =>
|
|
2400
|
+
T: () => H
|
|
2129
2401
|
},
|
|
2130
2402
|
{
|
|
2131
2403
|
no: 8,
|
|
2132
2404
|
name: "deprecation_message",
|
|
2133
2405
|
kind: "message",
|
|
2134
2406
|
repeat: 2,
|
|
2135
|
-
T: () =>
|
|
2407
|
+
T: () => H
|
|
2136
2408
|
},
|
|
2137
2409
|
{
|
|
2138
2410
|
no: 9,
|
|
2139
2411
|
name: "display_message",
|
|
2140
2412
|
kind: "message",
|
|
2141
2413
|
repeat: 2,
|
|
2142
|
-
T: () =>
|
|
2414
|
+
T: () => H
|
|
2143
2415
|
},
|
|
2144
2416
|
{
|
|
2145
2417
|
no: 10,
|
|
2146
2418
|
name: "alias",
|
|
2147
2419
|
kind: "message",
|
|
2148
2420
|
repeat: 2,
|
|
2149
|
-
T: () =>
|
|
2421
|
+
T: () => H
|
|
2150
2422
|
},
|
|
2151
2423
|
{
|
|
2152
2424
|
no: 11,
|
|
@@ -2210,22 +2482,22 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2210
2482
|
i.throwsError = e.bool();
|
|
2211
2483
|
break;
|
|
2212
2484
|
case 5:
|
|
2213
|
-
i.name.push(
|
|
2485
|
+
i.name.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2214
2486
|
break;
|
|
2215
2487
|
case 6:
|
|
2216
|
-
i.description.push(
|
|
2488
|
+
i.description.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2217
2489
|
break;
|
|
2218
2490
|
case 7:
|
|
2219
|
-
i.documentation.push(
|
|
2491
|
+
i.documentation.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2220
2492
|
break;
|
|
2221
2493
|
case 8:
|
|
2222
|
-
i.deprecationMessage.push(
|
|
2494
|
+
i.deprecationMessage.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2223
2495
|
break;
|
|
2224
2496
|
case 9:
|
|
2225
|
-
i.displayMessage.push(
|
|
2497
|
+
i.displayMessage.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2226
2498
|
break;
|
|
2227
2499
|
case 10:
|
|
2228
|
-
i.alias.push(
|
|
2500
|
+
i.alias.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2229
2501
|
break;
|
|
2230
2502
|
case 11:
|
|
2231
2503
|
i.linkedDataTypeIdentifiers.push(e.string());
|
|
@@ -2258,18 +2530,18 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2258
2530
|
e.runtimeName !== "" && t.tag(1, s.LengthDelimited).string(e.runtimeName);
|
|
2259
2531
|
for (let r = 0; r < e.parameterDefinitions.length; r++) $.internalBinaryWrite(e.parameterDefinitions[r], t.tag(2, s.LengthDelimited).fork(), n).join();
|
|
2260
2532
|
e.signature !== "" && t.tag(3, s.LengthDelimited).string(e.signature), e.throwsError !== !1 && t.tag(4, s.Varint).bool(e.throwsError);
|
|
2261
|
-
for (let r = 0; r < e.name.length; r++)
|
|
2262
|
-
for (let r = 0; r < e.description.length; r++)
|
|
2263
|
-
for (let r = 0; r < e.documentation.length; r++)
|
|
2264
|
-
for (let r = 0; r < e.deprecationMessage.length; r++)
|
|
2265
|
-
for (let r = 0; r < e.displayMessage.length; r++)
|
|
2266
|
-
for (let r = 0; r < e.alias.length; r++)
|
|
2533
|
+
for (let r = 0; r < e.name.length; r++) H.internalBinaryWrite(e.name[r], t.tag(5, s.LengthDelimited).fork(), n).join();
|
|
2534
|
+
for (let r = 0; r < e.description.length; r++) H.internalBinaryWrite(e.description[r], t.tag(6, s.LengthDelimited).fork(), n).join();
|
|
2535
|
+
for (let r = 0; r < e.documentation.length; r++) H.internalBinaryWrite(e.documentation[r], t.tag(7, s.LengthDelimited).fork(), n).join();
|
|
2536
|
+
for (let r = 0; r < e.deprecationMessage.length; r++) H.internalBinaryWrite(e.deprecationMessage[r], t.tag(8, s.LengthDelimited).fork(), n).join();
|
|
2537
|
+
for (let r = 0; r < e.displayMessage.length; r++) H.internalBinaryWrite(e.displayMessage[r], t.tag(9, s.LengthDelimited).fork(), n).join();
|
|
2538
|
+
for (let r = 0; r < e.alias.length; r++) H.internalBinaryWrite(e.alias[r], t.tag(10, s.LengthDelimited).fork(), n).join();
|
|
2267
2539
|
for (let n = 0; n < e.linkedDataTypeIdentifiers.length; n++) t.tag(11, s.LengthDelimited).string(e.linkedDataTypeIdentifiers[n]);
|
|
2268
2540
|
e.version !== "" && t.tag(12, s.LengthDelimited).string(e.version), e.displayIcon !== "" && t.tag(13, s.LengthDelimited).string(e.displayIcon), e.definitionSource !== "" && t.tag(14, s.LengthDelimited).string(e.definitionSource), e.runtimeDefinitionName !== "" && t.tag(15, s.LengthDelimited).string(e.runtimeDefinitionName), e.design !== void 0 && t.tag(16, s.LengthDelimited).string(e.design);
|
|
2269
2541
|
let r = n.writeUnknownFields;
|
|
2270
2542
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
2271
2543
|
}
|
|
2272
|
-
}(), $ = new class extends
|
|
2544
|
+
}(), $ = new class extends V {
|
|
2273
2545
|
constructor() {
|
|
2274
2546
|
super("shared.ParameterDefinition", [
|
|
2275
2547
|
{
|
|
@@ -2282,7 +2554,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2282
2554
|
no: 2,
|
|
2283
2555
|
name: "default_value",
|
|
2284
2556
|
kind: "message",
|
|
2285
|
-
T: () =>
|
|
2557
|
+
T: () => Y
|
|
2286
2558
|
},
|
|
2287
2559
|
{
|
|
2288
2560
|
no: 3,
|
|
@@ -2303,21 +2575,21 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2303
2575
|
name: "name",
|
|
2304
2576
|
kind: "message",
|
|
2305
2577
|
repeat: 2,
|
|
2306
|
-
T: () =>
|
|
2578
|
+
T: () => H
|
|
2307
2579
|
},
|
|
2308
2580
|
{
|
|
2309
2581
|
no: 6,
|
|
2310
2582
|
name: "description",
|
|
2311
2583
|
kind: "message",
|
|
2312
2584
|
repeat: 2,
|
|
2313
|
-
T: () =>
|
|
2585
|
+
T: () => H
|
|
2314
2586
|
},
|
|
2315
2587
|
{
|
|
2316
2588
|
no: 7,
|
|
2317
2589
|
name: "documentation",
|
|
2318
2590
|
kind: "message",
|
|
2319
2591
|
repeat: 2,
|
|
2320
|
-
T: () =>
|
|
2592
|
+
T: () => H
|
|
2321
2593
|
},
|
|
2322
2594
|
{
|
|
2323
2595
|
no: 8,
|
|
@@ -2340,7 +2612,7 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2340
2612
|
i.runtimeName = e.string();
|
|
2341
2613
|
break;
|
|
2342
2614
|
case 2:
|
|
2343
|
-
i.defaultValue =
|
|
2615
|
+
i.defaultValue = Y.internalBinaryRead(e, e.uint32(), n, i.defaultValue);
|
|
2344
2616
|
break;
|
|
2345
2617
|
case 3:
|
|
2346
2618
|
i.optional = e.bool();
|
|
@@ -2349,13 +2621,13 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2349
2621
|
i.hidden = e.bool();
|
|
2350
2622
|
break;
|
|
2351
2623
|
case 5:
|
|
2352
|
-
i.name.push(
|
|
2624
|
+
i.name.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2353
2625
|
break;
|
|
2354
2626
|
case 6:
|
|
2355
|
-
i.description.push(
|
|
2627
|
+
i.description.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2356
2628
|
break;
|
|
2357
2629
|
case 7:
|
|
2358
|
-
i.documentation.push(
|
|
2630
|
+
i.documentation.push(H.internalBinaryRead(e, e.uint32(), n));
|
|
2359
2631
|
break;
|
|
2360
2632
|
case 8:
|
|
2361
2633
|
i.runtimeDefinitionName = e.string();
|
|
@@ -2370,14 +2642,14 @@ var V = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})), we = V[k] =
|
|
|
2370
2642
|
return i;
|
|
2371
2643
|
}
|
|
2372
2644
|
internalBinaryWrite(e, t, n) {
|
|
2373
|
-
e.runtimeName !== "" && t.tag(1, s.LengthDelimited).string(e.runtimeName), e.defaultValue &&
|
|
2374
|
-
for (let r = 0; r < e.name.length; r++)
|
|
2375
|
-
for (let r = 0; r < e.description.length; r++)
|
|
2376
|
-
for (let r = 0; r < e.documentation.length; r++)
|
|
2645
|
+
e.runtimeName !== "" && t.tag(1, s.LengthDelimited).string(e.runtimeName), e.defaultValue && Y.internalBinaryWrite(e.defaultValue, t.tag(2, s.LengthDelimited).fork(), n).join(), e.optional !== void 0 && t.tag(3, s.Varint).bool(e.optional), e.hidden !== void 0 && t.tag(4, s.Varint).bool(e.hidden);
|
|
2646
|
+
for (let r = 0; r < e.name.length; r++) H.internalBinaryWrite(e.name[r], t.tag(5, s.LengthDelimited).fork(), n).join();
|
|
2647
|
+
for (let r = 0; r < e.description.length; r++) H.internalBinaryWrite(e.description[r], t.tag(6, s.LengthDelimited).fork(), n).join();
|
|
2648
|
+
for (let r = 0; r < e.documentation.length; r++) H.internalBinaryWrite(e.documentation[r], t.tag(7, s.LengthDelimited).fork(), n).join();
|
|
2377
2649
|
e.runtimeDefinitionName !== "" && t.tag(8, s.LengthDelimited).string(e.runtimeDefinitionName);
|
|
2378
2650
|
let r = n.writeUnknownFields;
|
|
2379
2651
|
return r !== !1 && (r == 1 ? o.onWrite : r)(this.typeName, e, t), t;
|
|
2380
2652
|
}
|
|
2381
2653
|
}();
|
|
2382
2654
|
//#endregion
|
|
2383
|
-
export {
|
|
2655
|
+
export { s as C, o as S, H as _, Oe as a, A as b, X as c, G as d, K as f, W as g, De as h, Q as i, J as l, U as m, $ as n, Z as o, Ee as p, ke as r, q as s, Ae as t, Y as u, V as v, ie as x, I as y };
|