core-3nweb-client-lib 0.43.19 → 0.43.20
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 +3 -3
- package/build/core-ipc/fs.js +2 -2
- package/build/lib-client/cryptor/cryptor-wasm.js +1 -1
- package/build/lib-client/cryptor/cryptor.wasm +0 -0
- package/build/lib-client/xsp-fs/folder-node.js +3 -2
- package/build/protos/asmail.proto.js +46 -0
- package/build/protos/fs.proto.js +46 -0
- package/package.json +1 -1
- package/protos/fs.proto +2 -0
|
Binary file
|
|
@@ -1098,7 +1098,7 @@ class FolderNode extends node_in_fs_1.NodeInFS {
|
|
|
1098
1098
|
return {
|
|
1099
1099
|
currentVersion: this.version,
|
|
1100
1100
|
isCurrentLocal,
|
|
1101
|
-
|
|
1101
|
+
isRemoteRemoved: true,
|
|
1102
1102
|
ctime: {
|
|
1103
1103
|
current: new Date(this.attrs.ctime)
|
|
1104
1104
|
},
|
|
@@ -1113,7 +1113,7 @@ class FolderNode extends node_in_fs_1.NodeInFS {
|
|
|
1113
1113
|
return {
|
|
1114
1114
|
currentVersion: this.version,
|
|
1115
1115
|
isCurrentLocal,
|
|
1116
|
-
|
|
1116
|
+
isRemoteRemoved: false,
|
|
1117
1117
|
remoteVersion,
|
|
1118
1118
|
inCurrent,
|
|
1119
1119
|
inRemote,
|
|
@@ -1396,6 +1396,7 @@ function versionFromRemoteBranch(remote, remoteVersion) {
|
|
|
1396
1396
|
message: `Unknown remote version ${remoteVersion}`
|
|
1397
1397
|
});
|
|
1398
1398
|
}
|
|
1399
|
+
return remoteVersion;
|
|
1399
1400
|
}
|
|
1400
1401
|
else {
|
|
1401
1402
|
return remote.latest;
|
|
@@ -32084,6 +32084,8 @@ $root.fs = (function() {
|
|
|
32084
32084
|
* @property {fs.FolderDiff.IXAttrs|null} [xattrs] FolderDiff xattrs
|
|
32085
32085
|
* @property {Array.<string>|null} [differentKeys] FolderDiff differentKeys
|
|
32086
32086
|
* @property {Array.<fs.FolderDiff.IDifferentNames>|null} [differentNames] FolderDiff differentNames
|
|
32087
|
+
* @property {boolean|null} [isCurrentLocal] FolderDiff isCurrentLocal
|
|
32088
|
+
* @property {boolean|null} [isRemoteRemoved] FolderDiff isRemoteRemoved
|
|
32087
32089
|
*/
|
|
32088
32090
|
|
|
32089
32091
|
/**
|
|
@@ -32186,6 +32188,22 @@ $root.fs = (function() {
|
|
|
32186
32188
|
*/
|
|
32187
32189
|
FolderDiff.prototype.differentNames = $util.emptyArray;
|
|
32188
32190
|
|
|
32191
|
+
/**
|
|
32192
|
+
* FolderDiff isCurrentLocal.
|
|
32193
|
+
* @member {boolean} isCurrentLocal
|
|
32194
|
+
* @memberof fs.FolderDiff
|
|
32195
|
+
* @instance
|
|
32196
|
+
*/
|
|
32197
|
+
FolderDiff.prototype.isCurrentLocal = false;
|
|
32198
|
+
|
|
32199
|
+
/**
|
|
32200
|
+
* FolderDiff isRemoteRemoved.
|
|
32201
|
+
* @member {boolean} isRemoteRemoved
|
|
32202
|
+
* @memberof fs.FolderDiff
|
|
32203
|
+
* @instance
|
|
32204
|
+
*/
|
|
32205
|
+
FolderDiff.prototype.isRemoteRemoved = false;
|
|
32206
|
+
|
|
32189
32207
|
/**
|
|
32190
32208
|
* Creates a new FolderDiff instance using the specified properties.
|
|
32191
32209
|
* @function create
|
|
@@ -32235,6 +32253,10 @@ $root.fs = (function() {
|
|
|
32235
32253
|
if (message.differentNames != null && message.differentNames.length)
|
|
32236
32254
|
for (var i = 0; i < message.differentNames.length; ++i)
|
|
32237
32255
|
$root.fs.FolderDiff.DifferentNames.encode(message.differentNames[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
32256
|
+
if (message.isCurrentLocal != null && Object.hasOwnProperty.call(message, "isCurrentLocal"))
|
|
32257
|
+
writer.uint32(/* id 11, wireType 0 =*/88).bool(message.isCurrentLocal);
|
|
32258
|
+
if (message.isRemoteRemoved != null && Object.hasOwnProperty.call(message, "isRemoteRemoved"))
|
|
32259
|
+
writer.uint32(/* id 12, wireType 0 =*/96).bool(message.isRemoteRemoved);
|
|
32238
32260
|
return writer;
|
|
32239
32261
|
};
|
|
32240
32262
|
|
|
@@ -32321,6 +32343,14 @@ $root.fs = (function() {
|
|
|
32321
32343
|
message.differentNames.push($root.fs.FolderDiff.DifferentNames.decode(reader, reader.uint32()));
|
|
32322
32344
|
break;
|
|
32323
32345
|
}
|
|
32346
|
+
case 11: {
|
|
32347
|
+
message.isCurrentLocal = reader.bool();
|
|
32348
|
+
break;
|
|
32349
|
+
}
|
|
32350
|
+
case 12: {
|
|
32351
|
+
message.isRemoteRemoved = reader.bool();
|
|
32352
|
+
break;
|
|
32353
|
+
}
|
|
32324
32354
|
default:
|
|
32325
32355
|
reader.skipType(tag & 7);
|
|
32326
32356
|
break;
|
|
@@ -32420,6 +32450,12 @@ $root.fs = (function() {
|
|
|
32420
32450
|
return "differentNames." + error;
|
|
32421
32451
|
}
|
|
32422
32452
|
}
|
|
32453
|
+
if (message.isCurrentLocal != null && message.hasOwnProperty("isCurrentLocal"))
|
|
32454
|
+
if (typeof message.isCurrentLocal !== "boolean")
|
|
32455
|
+
return "isCurrentLocal: boolean expected";
|
|
32456
|
+
if (message.isRemoteRemoved != null && message.hasOwnProperty("isRemoteRemoved"))
|
|
32457
|
+
if (typeof message.isRemoteRemoved !== "boolean")
|
|
32458
|
+
return "isRemoteRemoved: boolean expected";
|
|
32423
32459
|
return null;
|
|
32424
32460
|
};
|
|
32425
32461
|
|
|
@@ -32508,6 +32544,10 @@ $root.fs = (function() {
|
|
|
32508
32544
|
message.differentNames[i] = $root.fs.FolderDiff.DifferentNames.fromObject(object.differentNames[i]);
|
|
32509
32545
|
}
|
|
32510
32546
|
}
|
|
32547
|
+
if (object.isCurrentLocal != null)
|
|
32548
|
+
message.isCurrentLocal = Boolean(object.isCurrentLocal);
|
|
32549
|
+
if (object.isRemoteRemoved != null)
|
|
32550
|
+
message.isRemoteRemoved = Boolean(object.isRemoteRemoved);
|
|
32511
32551
|
return message;
|
|
32512
32552
|
};
|
|
32513
32553
|
|
|
@@ -32541,6 +32581,8 @@ $root.fs = (function() {
|
|
|
32541
32581
|
object.ctime = null;
|
|
32542
32582
|
object.mtime = null;
|
|
32543
32583
|
object.xattrs = null;
|
|
32584
|
+
object.isCurrentLocal = false;
|
|
32585
|
+
object.isRemoteRemoved = false;
|
|
32544
32586
|
}
|
|
32545
32587
|
if (message.currentVersion != null && message.hasOwnProperty("currentVersion"))
|
|
32546
32588
|
if (typeof message.currentVersion === "number")
|
|
@@ -32580,6 +32622,10 @@ $root.fs = (function() {
|
|
|
32580
32622
|
for (var j = 0; j < message.differentNames.length; ++j)
|
|
32581
32623
|
object.differentNames[j] = $root.fs.FolderDiff.DifferentNames.toObject(message.differentNames[j], options);
|
|
32582
32624
|
}
|
|
32625
|
+
if (message.isCurrentLocal != null && message.hasOwnProperty("isCurrentLocal"))
|
|
32626
|
+
object.isCurrentLocal = message.isCurrentLocal;
|
|
32627
|
+
if (message.isRemoteRemoved != null && message.hasOwnProperty("isRemoteRemoved"))
|
|
32628
|
+
object.isRemoteRemoved = message.isRemoteRemoved;
|
|
32583
32629
|
return object;
|
|
32584
32630
|
};
|
|
32585
32631
|
|
package/build/protos/fs.proto.js
CHANGED
|
@@ -13105,6 +13105,8 @@ $root.fs = (function() {
|
|
|
13105
13105
|
* @property {fs.FolderDiff.IXAttrs|null} [xattrs] FolderDiff xattrs
|
|
13106
13106
|
* @property {Array.<string>|null} [differentKeys] FolderDiff differentKeys
|
|
13107
13107
|
* @property {Array.<fs.FolderDiff.IDifferentNames>|null} [differentNames] FolderDiff differentNames
|
|
13108
|
+
* @property {boolean|null} [isCurrentLocal] FolderDiff isCurrentLocal
|
|
13109
|
+
* @property {boolean|null} [isRemoteRemoved] FolderDiff isRemoteRemoved
|
|
13108
13110
|
*/
|
|
13109
13111
|
|
|
13110
13112
|
/**
|
|
@@ -13207,6 +13209,22 @@ $root.fs = (function() {
|
|
|
13207
13209
|
*/
|
|
13208
13210
|
FolderDiff.prototype.differentNames = $util.emptyArray;
|
|
13209
13211
|
|
|
13212
|
+
/**
|
|
13213
|
+
* FolderDiff isCurrentLocal.
|
|
13214
|
+
* @member {boolean} isCurrentLocal
|
|
13215
|
+
* @memberof fs.FolderDiff
|
|
13216
|
+
* @instance
|
|
13217
|
+
*/
|
|
13218
|
+
FolderDiff.prototype.isCurrentLocal = false;
|
|
13219
|
+
|
|
13220
|
+
/**
|
|
13221
|
+
* FolderDiff isRemoteRemoved.
|
|
13222
|
+
* @member {boolean} isRemoteRemoved
|
|
13223
|
+
* @memberof fs.FolderDiff
|
|
13224
|
+
* @instance
|
|
13225
|
+
*/
|
|
13226
|
+
FolderDiff.prototype.isRemoteRemoved = false;
|
|
13227
|
+
|
|
13210
13228
|
/**
|
|
13211
13229
|
* Creates a new FolderDiff instance using the specified properties.
|
|
13212
13230
|
* @function create
|
|
@@ -13256,6 +13274,10 @@ $root.fs = (function() {
|
|
|
13256
13274
|
if (message.differentNames != null && message.differentNames.length)
|
|
13257
13275
|
for (var i = 0; i < message.differentNames.length; ++i)
|
|
13258
13276
|
$root.fs.FolderDiff.DifferentNames.encode(message.differentNames[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
13277
|
+
if (message.isCurrentLocal != null && Object.hasOwnProperty.call(message, "isCurrentLocal"))
|
|
13278
|
+
writer.uint32(/* id 11, wireType 0 =*/88).bool(message.isCurrentLocal);
|
|
13279
|
+
if (message.isRemoteRemoved != null && Object.hasOwnProperty.call(message, "isRemoteRemoved"))
|
|
13280
|
+
writer.uint32(/* id 12, wireType 0 =*/96).bool(message.isRemoteRemoved);
|
|
13259
13281
|
return writer;
|
|
13260
13282
|
};
|
|
13261
13283
|
|
|
@@ -13342,6 +13364,14 @@ $root.fs = (function() {
|
|
|
13342
13364
|
message.differentNames.push($root.fs.FolderDiff.DifferentNames.decode(reader, reader.uint32()));
|
|
13343
13365
|
break;
|
|
13344
13366
|
}
|
|
13367
|
+
case 11: {
|
|
13368
|
+
message.isCurrentLocal = reader.bool();
|
|
13369
|
+
break;
|
|
13370
|
+
}
|
|
13371
|
+
case 12: {
|
|
13372
|
+
message.isRemoteRemoved = reader.bool();
|
|
13373
|
+
break;
|
|
13374
|
+
}
|
|
13345
13375
|
default:
|
|
13346
13376
|
reader.skipType(tag & 7);
|
|
13347
13377
|
break;
|
|
@@ -13441,6 +13471,12 @@ $root.fs = (function() {
|
|
|
13441
13471
|
return "differentNames." + error;
|
|
13442
13472
|
}
|
|
13443
13473
|
}
|
|
13474
|
+
if (message.isCurrentLocal != null && message.hasOwnProperty("isCurrentLocal"))
|
|
13475
|
+
if (typeof message.isCurrentLocal !== "boolean")
|
|
13476
|
+
return "isCurrentLocal: boolean expected";
|
|
13477
|
+
if (message.isRemoteRemoved != null && message.hasOwnProperty("isRemoteRemoved"))
|
|
13478
|
+
if (typeof message.isRemoteRemoved !== "boolean")
|
|
13479
|
+
return "isRemoteRemoved: boolean expected";
|
|
13444
13480
|
return null;
|
|
13445
13481
|
};
|
|
13446
13482
|
|
|
@@ -13529,6 +13565,10 @@ $root.fs = (function() {
|
|
|
13529
13565
|
message.differentNames[i] = $root.fs.FolderDiff.DifferentNames.fromObject(object.differentNames[i]);
|
|
13530
13566
|
}
|
|
13531
13567
|
}
|
|
13568
|
+
if (object.isCurrentLocal != null)
|
|
13569
|
+
message.isCurrentLocal = Boolean(object.isCurrentLocal);
|
|
13570
|
+
if (object.isRemoteRemoved != null)
|
|
13571
|
+
message.isRemoteRemoved = Boolean(object.isRemoteRemoved);
|
|
13532
13572
|
return message;
|
|
13533
13573
|
};
|
|
13534
13574
|
|
|
@@ -13562,6 +13602,8 @@ $root.fs = (function() {
|
|
|
13562
13602
|
object.ctime = null;
|
|
13563
13603
|
object.mtime = null;
|
|
13564
13604
|
object.xattrs = null;
|
|
13605
|
+
object.isCurrentLocal = false;
|
|
13606
|
+
object.isRemoteRemoved = false;
|
|
13565
13607
|
}
|
|
13566
13608
|
if (message.currentVersion != null && message.hasOwnProperty("currentVersion"))
|
|
13567
13609
|
if (typeof message.currentVersion === "number")
|
|
@@ -13601,6 +13643,10 @@ $root.fs = (function() {
|
|
|
13601
13643
|
for (var j = 0; j < message.differentNames.length; ++j)
|
|
13602
13644
|
object.differentNames[j] = $root.fs.FolderDiff.DifferentNames.toObject(message.differentNames[j], options);
|
|
13603
13645
|
}
|
|
13646
|
+
if (message.isCurrentLocal != null && message.hasOwnProperty("isCurrentLocal"))
|
|
13647
|
+
object.isCurrentLocal = message.isCurrentLocal;
|
|
13648
|
+
if (message.isRemoteRemoved != null && message.hasOwnProperty("isRemoteRemoved"))
|
|
13649
|
+
object.isRemoteRemoved = message.isRemoteRemoved;
|
|
13604
13650
|
return object;
|
|
13605
13651
|
};
|
|
13606
13652
|
|
package/package.json
CHANGED
package/protos/fs.proto
CHANGED