core-3nweb-client-lib 0.27.3 → 0.27.5
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/build/api-defs/files.d.ts +92 -29
- package/build/core/asmail/config/index.d.ts +2 -2
- package/build/core/asmail/config/index.js +2 -2
- package/build/core/asmail/config/invitations-anon.d.ts +10 -24
- package/build/core/asmail/config/invitations-anon.js +43 -31
- package/build/core/asmail/config/published-intro-key.d.ts +11 -22
- package/build/core/asmail/config/published-intro-key.js +47 -38
- package/build/core/asmail/delivery/per-recipient-wip.js +2 -2
- package/build/core/asmail/inbox/inbox-events.js +10 -5
- package/build/core/asmail/inbox/index.d.ts +3 -2
- package/build/core/asmail/inbox/index.js +15 -11
- package/build/core/asmail/inbox/msg-indexing.d.ts +17 -64
- package/build/core/asmail/inbox/msg-indexing.js +440 -311
- package/build/core/asmail/inbox/msg-on-disk.js +2 -1
- package/build/core/asmail/index.d.ts +1 -1
- package/build/core/asmail/index.js +5 -4
- package/build/core/asmail/keyring/correspondent-keys.d.ts +2 -2
- package/build/core/asmail/keyring/correspondent-keys.js +4 -2
- package/build/core/asmail/keyring/index.d.ts +10 -33
- package/build/core/asmail/keyring/index.js +88 -75
- package/build/core/asmail/msg/opener.js +4 -3
- package/build/core/asmail/msg/packer.d.ts +1 -0
- package/build/core/asmail/msg/packer.js +8 -4
- package/build/core/index.js +3 -5
- package/build/core/sign-in.js +1 -1
- package/build/core/storage/local/obj-files.js +2 -1
- package/build/core/storage/synced/obj-files.d.ts +2 -0
- package/build/core/storage/synced/obj-files.js +18 -1
- package/build/core/storage/synced/obj-status.d.ts +1 -0
- package/build/core/storage/synced/obj-status.js +10 -0
- package/build/core/storage/synced/storage.js +7 -23
- package/build/core/storage/synced/upload-header-file.js +4 -2
- package/build/core/storage/synced/upsyncer.js +3 -5
- package/build/ipc-via-protobuf/asmail-cap.js +14 -15
- package/build/ipc-via-protobuf/bytes.js +42 -18
- package/build/ipc-via-protobuf/file.d.ts +7 -0
- package/build/ipc-via-protobuf/file.js +103 -66
- package/build/ipc-via-protobuf/fs.js +127 -105
- package/build/ipc-via-protobuf/mailerid.js +2 -2
- package/build/ipc-via-protobuf/protobuf-msg.d.ts +1 -0
- package/build/ipc-via-protobuf/protobuf-msg.js +5 -1
- package/build/ipc-via-protobuf/startup-cap.js +8 -8
- package/build/ipc-via-protobuf/storage-cap.js +4 -4
- package/build/lib-client/3nstorage/xsp-fs/common.js +2 -0
- package/build/lib-client/3nstorage/xsp-fs/file-node.d.ts +5 -10
- package/build/lib-client/3nstorage/xsp-fs/file-node.js +26 -45
- package/build/lib-client/3nstorage/xsp-fs/file.d.ts +8 -7
- package/build/lib-client/3nstorage/xsp-fs/file.js +12 -18
- package/build/lib-client/3nstorage/xsp-fs/folder-node.d.ts +6 -1
- package/build/lib-client/3nstorage/xsp-fs/folder-node.js +20 -8
- package/build/lib-client/3nstorage/xsp-fs/fs.d.ts +19 -18
- package/build/lib-client/3nstorage/xsp-fs/fs.js +18 -19
- package/build/lib-client/3nstorage/xsp-fs/node-in-fs.d.ts +13 -4
- package/build/lib-client/3nstorage/xsp-fs/node-in-fs.js +63 -8
- package/build/lib-client/3nstorage/xsp-fs/node-persistence.d.ts +1 -0
- package/build/lib-client/3nstorage/xsp-fs/node-persistence.js +7 -5
- package/build/lib-client/3nstorage/xsp-fs/xsp-payload-v1.js +3 -4
- package/build/lib-client/3nstorage/xsp-fs/xsp-payload-v2.js +20 -15
- package/build/lib-client/cryptor/cryptor-in-worker.js +37 -47
- package/build/lib-client/cryptor/cryptor-wasm.js +1 -1
- package/build/lib-client/cryptor/cryptor.wasm +0 -0
- package/build/lib-client/cryptor/in-proc-js.js +15 -12
- package/build/lib-client/cryptor/in-proc-wasm.js +11 -8
- package/build/lib-client/cryptor/serialization-for-wasm.d.ts +36 -0
- package/build/lib-client/cryptor/serialization-for-wasm.js +58 -0
- package/build/lib-client/cryptor-work-labels.d.ts +26 -0
- package/build/lib-client/cryptor-work-labels.js +152 -0
- package/build/lib-client/fs-sync-utils.d.ts +7 -1
- package/build/lib-client/fs-sync-utils.js +18 -7
- package/build/lib-client/local-files/dev-file-src.d.ts +2 -1
- package/build/lib-client/local-files/dev-file-src.js +5 -1
- package/build/lib-client/local-files/device-fs.js +2 -1
- package/build/lib-client/objs-on-disk/obj-on-disk.d.ts +5 -2
- package/build/lib-client/objs-on-disk/obj-on-disk.js +21 -2
- package/build/lib-client/request-utils.js +14 -14
- package/build/lib-common/async-cryptor-wrap.d.ts +9 -9
- package/build/lib-common/async-cryptor-wrap.js +13 -13
- package/build/lib-common/byte-streaming/pipe.d.ts +1 -1
- package/build/lib-common/byte-streaming/pipe.js +3 -3
- package/build/lib-common/byte-streaming/wrapping.js +4 -2
- package/build/lib-common/json-utils.js +0 -3
- package/build/lib-common/objs-on-disk/file-layout.js +1 -1
- package/build/lib-common/processes/synced.js +0 -184
- package/build/lib-sqlite-on-3nstorage/index.d.ts +32 -0
- package/build/lib-sqlite-on-3nstorage/index.js +117 -0
- package/build/lib-sqlite-on-3nstorage/sqljs.d.ts +279 -0
- package/build/lib-sqlite-on-3nstorage/sqljs.js +223 -0
- package/build/protos/asmail.proto.js +10145 -5923
- package/build/protos/bytes.proto.js +731 -204
- package/build/protos/common.proto.js +192 -44
- package/build/protos/cryptor.proto.js +184 -61
- package/build/protos/file.proto.js +2388 -502
- package/build/protos/fs.proto.js +9894 -6046
- package/build/protos/ipc.proto.js +244 -61
- package/build/protos/logger.proto.js +219 -53
- package/build/protos/mailerid.proto.js +230 -50
- package/build/protos/startup.proto.js +341 -77
- package/build/protos/storage.proto.js +276 -62
- package/package.json +8 -7
- package/protos/bytes.proto +13 -4
- package/protos/file.proto +27 -8
- package/protos/fs.proto +31 -14
|
@@ -110,9 +110,10 @@ $root.mailerid = (function() {
|
|
|
110
110
|
while (reader.pos < end) {
|
|
111
111
|
var tag = reader.uint32();
|
|
112
112
|
switch (tag >>> 3) {
|
|
113
|
-
case 1:
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
case 1: {
|
|
114
|
+
message.serviceUrl = reader.string();
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
116
117
|
default:
|
|
117
118
|
reader.skipType(tag & 7);
|
|
118
119
|
break;
|
|
@@ -202,6 +203,21 @@ $root.mailerid = (function() {
|
|
|
202
203
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
203
204
|
};
|
|
204
205
|
|
|
206
|
+
/**
|
|
207
|
+
* Gets the default type url for LoginRequestBody
|
|
208
|
+
* @function getTypeUrl
|
|
209
|
+
* @memberof mailerid.LoginRequestBody
|
|
210
|
+
* @static
|
|
211
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
212
|
+
* @returns {string} The default type url
|
|
213
|
+
*/
|
|
214
|
+
LoginRequestBody.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
215
|
+
if (typeUrlPrefix === undefined) {
|
|
216
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
217
|
+
}
|
|
218
|
+
return typeUrlPrefix + "/mailerid.LoginRequestBody";
|
|
219
|
+
};
|
|
220
|
+
|
|
205
221
|
return LoginRequestBody;
|
|
206
222
|
})();
|
|
207
223
|
|
|
@@ -297,9 +313,10 @@ $root.mailerid = (function() {
|
|
|
297
313
|
while (reader.pos < end) {
|
|
298
314
|
var tag = reader.uint32();
|
|
299
315
|
switch (tag >>> 3) {
|
|
300
|
-
case 1:
|
|
301
|
-
|
|
302
|
-
|
|
316
|
+
case 1: {
|
|
317
|
+
message.sessionId = reader.string();
|
|
318
|
+
break;
|
|
319
|
+
}
|
|
303
320
|
default:
|
|
304
321
|
reader.skipType(tag & 7);
|
|
305
322
|
break;
|
|
@@ -389,6 +406,21 @@ $root.mailerid = (function() {
|
|
|
389
406
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
390
407
|
};
|
|
391
408
|
|
|
409
|
+
/**
|
|
410
|
+
* Gets the default type url for LoginReplyBody
|
|
411
|
+
* @function getTypeUrl
|
|
412
|
+
* @memberof mailerid.LoginReplyBody
|
|
413
|
+
* @static
|
|
414
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
415
|
+
* @returns {string} The default type url
|
|
416
|
+
*/
|
|
417
|
+
LoginReplyBody.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
418
|
+
if (typeUrlPrefix === undefined) {
|
|
419
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
420
|
+
}
|
|
421
|
+
return typeUrlPrefix + "/mailerid.LoginReplyBody";
|
|
422
|
+
};
|
|
423
|
+
|
|
392
424
|
return LoginReplyBody;
|
|
393
425
|
})();
|
|
394
426
|
|
|
@@ -509,14 +541,16 @@ $root.common = (function() {
|
|
|
509
541
|
while (reader.pos < end) {
|
|
510
542
|
var tag = reader.uint32();
|
|
511
543
|
switch (tag >>> 3) {
|
|
512
|
-
case 1:
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
message.path
|
|
518
|
-
|
|
519
|
-
|
|
544
|
+
case 1: {
|
|
545
|
+
message.objType = reader.string();
|
|
546
|
+
break;
|
|
547
|
+
}
|
|
548
|
+
case 2: {
|
|
549
|
+
if (!(message.path && message.path.length))
|
|
550
|
+
message.path = [];
|
|
551
|
+
message.path.push(reader.string());
|
|
552
|
+
break;
|
|
553
|
+
}
|
|
520
554
|
default:
|
|
521
555
|
reader.skipType(tag & 7);
|
|
522
556
|
break;
|
|
@@ -627,6 +661,21 @@ $root.common = (function() {
|
|
|
627
661
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
628
662
|
};
|
|
629
663
|
|
|
664
|
+
/**
|
|
665
|
+
* Gets the default type url for ObjectReference
|
|
666
|
+
* @function getTypeUrl
|
|
667
|
+
* @memberof common.ObjectReference
|
|
668
|
+
* @static
|
|
669
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
670
|
+
* @returns {string} The default type url
|
|
671
|
+
*/
|
|
672
|
+
ObjectReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
673
|
+
if (typeUrlPrefix === undefined) {
|
|
674
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
675
|
+
}
|
|
676
|
+
return typeUrlPrefix + "/common.ObjectReference";
|
|
677
|
+
};
|
|
678
|
+
|
|
630
679
|
return ObjectReference;
|
|
631
680
|
})();
|
|
632
681
|
|
|
@@ -722,9 +771,10 @@ $root.common = (function() {
|
|
|
722
771
|
while (reader.pos < end) {
|
|
723
772
|
var tag = reader.uint32();
|
|
724
773
|
switch (tag >>> 3) {
|
|
725
|
-
case 1:
|
|
726
|
-
|
|
727
|
-
|
|
774
|
+
case 1: {
|
|
775
|
+
message.value = reader.bool();
|
|
776
|
+
break;
|
|
777
|
+
}
|
|
728
778
|
default:
|
|
729
779
|
reader.skipType(tag & 7);
|
|
730
780
|
break;
|
|
@@ -814,6 +864,21 @@ $root.common = (function() {
|
|
|
814
864
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
815
865
|
};
|
|
816
866
|
|
|
867
|
+
/**
|
|
868
|
+
* Gets the default type url for BooleanValue
|
|
869
|
+
* @function getTypeUrl
|
|
870
|
+
* @memberof common.BooleanValue
|
|
871
|
+
* @static
|
|
872
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
873
|
+
* @returns {string} The default type url
|
|
874
|
+
*/
|
|
875
|
+
BooleanValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
876
|
+
if (typeUrlPrefix === undefined) {
|
|
877
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
878
|
+
}
|
|
879
|
+
return typeUrlPrefix + "/common.BooleanValue";
|
|
880
|
+
};
|
|
881
|
+
|
|
817
882
|
return BooleanValue;
|
|
818
883
|
})();
|
|
819
884
|
|
|
@@ -911,11 +976,12 @@ $root.common = (function() {
|
|
|
911
976
|
while (reader.pos < end) {
|
|
912
977
|
var tag = reader.uint32();
|
|
913
978
|
switch (tag >>> 3) {
|
|
914
|
-
case 1:
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
979
|
+
case 1: {
|
|
980
|
+
if (!(message.values && message.values.length))
|
|
981
|
+
message.values = [];
|
|
982
|
+
message.values.push(reader.string());
|
|
983
|
+
break;
|
|
984
|
+
}
|
|
919
985
|
default:
|
|
920
986
|
reader.skipType(tag & 7);
|
|
921
987
|
break;
|
|
@@ -1017,6 +1083,21 @@ $root.common = (function() {
|
|
|
1017
1083
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1018
1084
|
};
|
|
1019
1085
|
|
|
1086
|
+
/**
|
|
1087
|
+
* Gets the default type url for StringArrayValue
|
|
1088
|
+
* @function getTypeUrl
|
|
1089
|
+
* @memberof common.StringArrayValue
|
|
1090
|
+
* @static
|
|
1091
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1092
|
+
* @returns {string} The default type url
|
|
1093
|
+
*/
|
|
1094
|
+
StringArrayValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1095
|
+
if (typeUrlPrefix === undefined) {
|
|
1096
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1097
|
+
}
|
|
1098
|
+
return typeUrlPrefix + "/common.StringArrayValue";
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1020
1101
|
return StringArrayValue;
|
|
1021
1102
|
})();
|
|
1022
1103
|
|
|
@@ -1112,9 +1193,10 @@ $root.common = (function() {
|
|
|
1112
1193
|
while (reader.pos < end) {
|
|
1113
1194
|
var tag = reader.uint32();
|
|
1114
1195
|
switch (tag >>> 3) {
|
|
1115
|
-
case 1:
|
|
1116
|
-
|
|
1117
|
-
|
|
1196
|
+
case 1: {
|
|
1197
|
+
message.value = reader.uint64();
|
|
1198
|
+
break;
|
|
1199
|
+
}
|
|
1118
1200
|
default:
|
|
1119
1201
|
reader.skipType(tag & 7);
|
|
1120
1202
|
break;
|
|
@@ -1218,6 +1300,21 @@ $root.common = (function() {
|
|
|
1218
1300
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1219
1301
|
};
|
|
1220
1302
|
|
|
1303
|
+
/**
|
|
1304
|
+
* Gets the default type url for UInt64Value
|
|
1305
|
+
* @function getTypeUrl
|
|
1306
|
+
* @memberof common.UInt64Value
|
|
1307
|
+
* @static
|
|
1308
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1309
|
+
* @returns {string} The default type url
|
|
1310
|
+
*/
|
|
1311
|
+
UInt64Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1312
|
+
if (typeUrlPrefix === undefined) {
|
|
1313
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1314
|
+
}
|
|
1315
|
+
return typeUrlPrefix + "/common.UInt64Value";
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1221
1318
|
return UInt64Value;
|
|
1222
1319
|
})();
|
|
1223
1320
|
|
|
@@ -1313,9 +1410,10 @@ $root.common = (function() {
|
|
|
1313
1410
|
while (reader.pos < end) {
|
|
1314
1411
|
var tag = reader.uint32();
|
|
1315
1412
|
switch (tag >>> 3) {
|
|
1316
|
-
case 1:
|
|
1317
|
-
|
|
1318
|
-
|
|
1413
|
+
case 1: {
|
|
1414
|
+
message.value = reader.uint32();
|
|
1415
|
+
break;
|
|
1416
|
+
}
|
|
1319
1417
|
default:
|
|
1320
1418
|
reader.skipType(tag & 7);
|
|
1321
1419
|
break;
|
|
@@ -1405,6 +1503,21 @@ $root.common = (function() {
|
|
|
1405
1503
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1406
1504
|
};
|
|
1407
1505
|
|
|
1506
|
+
/**
|
|
1507
|
+
* Gets the default type url for UInt32Value
|
|
1508
|
+
* @function getTypeUrl
|
|
1509
|
+
* @memberof common.UInt32Value
|
|
1510
|
+
* @static
|
|
1511
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1512
|
+
* @returns {string} The default type url
|
|
1513
|
+
*/
|
|
1514
|
+
UInt32Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1515
|
+
if (typeUrlPrefix === undefined) {
|
|
1516
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1517
|
+
}
|
|
1518
|
+
return typeUrlPrefix + "/common.UInt32Value";
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1408
1521
|
return UInt32Value;
|
|
1409
1522
|
})();
|
|
1410
1523
|
|
|
@@ -1500,9 +1613,10 @@ $root.common = (function() {
|
|
|
1500
1613
|
while (reader.pos < end) {
|
|
1501
1614
|
var tag = reader.uint32();
|
|
1502
1615
|
switch (tag >>> 3) {
|
|
1503
|
-
case 1:
|
|
1504
|
-
|
|
1505
|
-
|
|
1616
|
+
case 1: {
|
|
1617
|
+
message.value = reader.string();
|
|
1618
|
+
break;
|
|
1619
|
+
}
|
|
1506
1620
|
default:
|
|
1507
1621
|
reader.skipType(tag & 7);
|
|
1508
1622
|
break;
|
|
@@ -1592,6 +1706,21 @@ $root.common = (function() {
|
|
|
1592
1706
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1593
1707
|
};
|
|
1594
1708
|
|
|
1709
|
+
/**
|
|
1710
|
+
* Gets the default type url for StringValue
|
|
1711
|
+
* @function getTypeUrl
|
|
1712
|
+
* @memberof common.StringValue
|
|
1713
|
+
* @static
|
|
1714
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1715
|
+
* @returns {string} The default type url
|
|
1716
|
+
*/
|
|
1717
|
+
StringValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1718
|
+
if (typeUrlPrefix === undefined) {
|
|
1719
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1720
|
+
}
|
|
1721
|
+
return typeUrlPrefix + "/common.StringValue";
|
|
1722
|
+
};
|
|
1723
|
+
|
|
1595
1724
|
return StringValue;
|
|
1596
1725
|
})();
|
|
1597
1726
|
|
|
@@ -1687,9 +1816,10 @@ $root.common = (function() {
|
|
|
1687
1816
|
while (reader.pos < end) {
|
|
1688
1817
|
var tag = reader.uint32();
|
|
1689
1818
|
switch (tag >>> 3) {
|
|
1690
|
-
case 1:
|
|
1691
|
-
|
|
1692
|
-
|
|
1819
|
+
case 1: {
|
|
1820
|
+
message.value = reader.bytes();
|
|
1821
|
+
break;
|
|
1822
|
+
}
|
|
1693
1823
|
default:
|
|
1694
1824
|
reader.skipType(tag & 7);
|
|
1695
1825
|
break;
|
|
@@ -1746,7 +1876,7 @@ $root.common = (function() {
|
|
|
1746
1876
|
if (object.value != null)
|
|
1747
1877
|
if (typeof object.value === "string")
|
|
1748
1878
|
$util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0);
|
|
1749
|
-
else if (object.value.length)
|
|
1879
|
+
else if (object.value.length >= 0)
|
|
1750
1880
|
message.value = object.value;
|
|
1751
1881
|
return message;
|
|
1752
1882
|
};
|
|
@@ -1788,6 +1918,21 @@ $root.common = (function() {
|
|
|
1788
1918
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1789
1919
|
};
|
|
1790
1920
|
|
|
1921
|
+
/**
|
|
1922
|
+
* Gets the default type url for BytesValue
|
|
1923
|
+
* @function getTypeUrl
|
|
1924
|
+
* @memberof common.BytesValue
|
|
1925
|
+
* @static
|
|
1926
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1927
|
+
* @returns {string} The default type url
|
|
1928
|
+
*/
|
|
1929
|
+
BytesValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1930
|
+
if (typeUrlPrefix === undefined) {
|
|
1931
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1932
|
+
}
|
|
1933
|
+
return typeUrlPrefix + "/common.BytesValue";
|
|
1934
|
+
};
|
|
1935
|
+
|
|
1791
1936
|
return BytesValue;
|
|
1792
1937
|
})();
|
|
1793
1938
|
|
|
@@ -1894,12 +2039,14 @@ $root.common = (function() {
|
|
|
1894
2039
|
while (reader.pos < end) {
|
|
1895
2040
|
var tag = reader.uint32();
|
|
1896
2041
|
switch (tag >>> 3) {
|
|
1897
|
-
case 1:
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
2042
|
+
case 1: {
|
|
2043
|
+
message.runtimeExcJson = reader.string();
|
|
2044
|
+
break;
|
|
2045
|
+
}
|
|
2046
|
+
case 2: {
|
|
2047
|
+
message.err = reader.string();
|
|
2048
|
+
break;
|
|
2049
|
+
}
|
|
1903
2050
|
default:
|
|
1904
2051
|
reader.skipType(tag & 7);
|
|
1905
2052
|
break;
|
|
@@ -1998,6 +2145,21 @@ $root.common = (function() {
|
|
|
1998
2145
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1999
2146
|
};
|
|
2000
2147
|
|
|
2148
|
+
/**
|
|
2149
|
+
* Gets the default type url for ErrorValue
|
|
2150
|
+
* @function getTypeUrl
|
|
2151
|
+
* @memberof common.ErrorValue
|
|
2152
|
+
* @static
|
|
2153
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2154
|
+
* @returns {string} The default type url
|
|
2155
|
+
*/
|
|
2156
|
+
ErrorValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2157
|
+
if (typeUrlPrefix === undefined) {
|
|
2158
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
2159
|
+
}
|
|
2160
|
+
return typeUrlPrefix + "/common.ErrorValue";
|
|
2161
|
+
};
|
|
2162
|
+
|
|
2001
2163
|
return ErrorValue;
|
|
2002
2164
|
})();
|
|
2003
2165
|
|
|
@@ -2115,15 +2277,18 @@ $root.common = (function() {
|
|
|
2115
2277
|
while (reader.pos < end) {
|
|
2116
2278
|
var tag = reader.uint32();
|
|
2117
2279
|
switch (tag >>> 3) {
|
|
2118
|
-
case 1:
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2280
|
+
case 1: {
|
|
2281
|
+
message.type = reader.string();
|
|
2282
|
+
break;
|
|
2283
|
+
}
|
|
2284
|
+
case 2: {
|
|
2285
|
+
message.json = $root.common.StringValue.decode(reader, reader.uint32());
|
|
2286
|
+
break;
|
|
2287
|
+
}
|
|
2288
|
+
case 3: {
|
|
2289
|
+
message.bytes = $root.common.BytesValue.decode(reader, reader.uint32());
|
|
2290
|
+
break;
|
|
2291
|
+
}
|
|
2127
2292
|
default:
|
|
2128
2293
|
reader.skipType(tag & 7);
|
|
2129
2294
|
break;
|
|
@@ -2240,6 +2405,21 @@ $root.common = (function() {
|
|
|
2240
2405
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2241
2406
|
};
|
|
2242
2407
|
|
|
2408
|
+
/**
|
|
2409
|
+
* Gets the default type url for AnyValue
|
|
2410
|
+
* @function getTypeUrl
|
|
2411
|
+
* @memberof common.AnyValue
|
|
2412
|
+
* @static
|
|
2413
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2414
|
+
* @returns {string} The default type url
|
|
2415
|
+
*/
|
|
2416
|
+
AnyValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2417
|
+
if (typeUrlPrefix === undefined) {
|
|
2418
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
2419
|
+
}
|
|
2420
|
+
return typeUrlPrefix + "/common.AnyValue";
|
|
2421
|
+
};
|
|
2422
|
+
|
|
2243
2423
|
return AnyValue;
|
|
2244
2424
|
})();
|
|
2245
2425
|
|