core-3nweb-client-lib 0.43.17 → 0.43.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "core-3nweb-client-lib",
3
- "version": "0.43.17",
3
+ "version": "0.43.19",
4
4
  "description": "3NWeb client core library, embeddable into different environments",
5
5
  "main": "build/lib-index.js",
6
6
  "types": "build/lib-index.d.ts",
package/protos/fs.proto CHANGED
@@ -273,21 +273,21 @@ message VersionedReadBytesRequestBody {
273
273
  // ==== WritableFS referable as impl object (extends ReadonlyFS) ====
274
274
 
275
275
  // --- WritableFS.updateXAttrs ---
276
- // Reply has only status and body is empty
276
+ // Reply body is empty
277
277
  message UpdateXAttrsRequestBody {
278
278
  string path = 1;
279
279
  file.XAttrsChanges changes = 2;
280
280
  }
281
281
 
282
282
  // --- WritableFS.makeFolder ---
283
- // Reply has only status and body is empty
283
+ // Reply body is empty
284
284
  message MakeFolderRequestBody {
285
285
  string path = 1;
286
286
  common.BooleanValue exclusive = 2;
287
287
  }
288
288
 
289
289
  // --- WritableFS.deleteFolder ---
290
- // Reply has only status and body is empty
290
+ // Reply body is empty
291
291
  message DeleteFolderRequestBody {
292
292
  string path = 1;
293
293
  common.BooleanValue remove_content = 2;
@@ -295,17 +295,17 @@ message DeleteFolderRequestBody {
295
295
 
296
296
  // --- WritableFS.deleteFile ---
297
297
  // Request body is PathOnlyRequestBody
298
- // Reply has only status and body is empty
298
+ // Reply body is empty
299
299
 
300
300
  // --- WritableFS.move ---
301
- // Reply has only status and body is empty
301
+ // Reply body is empty
302
302
  message MoveRequestBody {
303
303
  string src = 1;
304
304
  string dst = 2;
305
305
  }
306
306
 
307
307
  // --- WritableFS.copyFile ---
308
- // Reply has only status and body is empty
308
+ // Reply body is empty
309
309
  message CopyFileRequestBody {
310
310
  string src = 1;
311
311
  string dst = 2;
@@ -313,7 +313,7 @@ message CopyFileRequestBody {
313
313
  }
314
314
 
315
315
  // --- WritableFS.copyFolder ---
316
- // Reply has only status and body is empty
316
+ // Reply body is empty
317
317
  message CopyFolderRequestBody {
318
318
  string src = 1;
319
319
  string dst = 2;
@@ -321,7 +321,7 @@ message CopyFolderRequestBody {
321
321
  }
322
322
 
323
323
  // --- WritableFS.saveFile ---
324
- // Reply has only status and body is empty
324
+ // Reply body is empty
325
325
  message SaveFileRequestBody {
326
326
  // file is a reference to File impl object
327
327
  common.ObjectReference file = 1;
@@ -330,7 +330,7 @@ message SaveFileRequestBody {
330
330
  }
331
331
 
332
332
  // --- WritableFS.saveFolder ---
333
- // Reply has only status and body is empty
333
+ // Reply body is empty
334
334
  message SaveFolderRequestBody {
335
335
  // file is a reference to FS impl object
336
336
  common.ObjectReference folder = 1;
@@ -340,10 +340,10 @@ message SaveFolderRequestBody {
340
340
 
341
341
  // --- WritableFS.deleteLink ---
342
342
  // Request body is PathOnlyRequestBody
343
- // Reply has only status and body is empty
343
+ // Reply body is empty
344
344
 
345
345
  // --- WritableFS.link ---
346
- // Reply has only status and body is empty
346
+ // Reply body is empty
347
347
  message LinkRequestBody {
348
348
  string path = 1;
349
349
  // target is a reference to either FS or File impl object
@@ -366,7 +366,7 @@ message FileFlags {
366
366
  }
367
367
 
368
368
  // --- WritableFS.writeJSONFile ---
369
- // Reply has only status and body is empty
369
+ // Reply body is empty
370
370
  message WriteJsonFileRequestBody {
371
371
  string path = 1;
372
372
  string json = 2;
@@ -374,7 +374,7 @@ message WriteJsonFileRequestBody {
374
374
  }
375
375
 
376
376
  // --- WritableFS.writeTxtFile ---
377
- // Reply has only status and body is empty
377
+ // Reply body is empty
378
378
  message WriteTxtFileRequestBody {
379
379
  string path = 1;
380
380
  string txt = 2;
@@ -382,7 +382,7 @@ message WriteTxtFileRequestBody {
382
382
  }
383
383
 
384
384
  // --- WritableFS.writeBytes ---
385
- // Reply has only status and body is empty
385
+ // Reply body is empty
386
386
  message WriteBytesRequestBody {
387
387
  string path = 1;
388
388
  bytes bytes = 2;
@@ -470,14 +470,14 @@ message FSSyncIsOnDiskReplyBody {
470
470
  }
471
471
 
472
472
  // --- ReadonlyFSSyncAPI.startDownload ---
473
- // Reply has only status and body is file.FileSyncStartDownloadReplyBody
473
+ // Reply body is file.FileSyncStartDownloadReplyBody
474
474
  message FSSyncStartDownloadRequestBody {
475
475
  string path = 1;
476
476
  uint64 version = 2;
477
477
  }
478
478
 
479
479
  // --- ReadonlyFSSyncAPI.adoptRemote ---
480
- // Reply has only status and body is empty
480
+ // Reply body is empty
481
481
  message AdoptRemoteRequestBody {
482
482
  string path = 1;
483
483
  file.OptionsToAdopteRemote opts = 2;
@@ -502,6 +502,10 @@ message FolderDiff {
502
502
  repeated file.NameAndXAttrValue in_remote = 2;
503
503
  repeated string name_overlaps = 3;
504
504
  }
505
+ message DifferentNames {
506
+ string local_name = 1;
507
+ string remote_name = 2;
508
+ }
505
509
  uint64 current_version = 1;
506
510
  common.UInt64Value remote_version = 2;
507
511
  repeated ListingEntryMsg in_current = 3;
@@ -510,6 +514,8 @@ message FolderDiff {
510
514
  TimeStamps ctime = 6;
511
515
  TimeStamps mtime = 7;
512
516
  XAttrs xattrs = 8;
517
+ repeated string different_keys = 9;
518
+ repeated DifferentNames different_names = 10;
513
519
  }
514
520
 
515
521
  message RemoteChildRequestBody {
@@ -549,6 +555,7 @@ message FSSyncUploadRequestBody {
549
555
  // Reply body is file.FileSyncStartUploadReplyBody
550
556
 
551
557
  // --- WritableFSSyncAPI.adoptRemoteFolderItem ---
558
+ // Reply body is common.UInt64Value
552
559
  message AdoptRemoteFolderItemRequestBody {
553
560
  message Options {
554
561
  common.UInt64Value local_version = 1;
@@ -560,3 +567,18 @@ message AdoptRemoteFolderItemRequestBody {
560
567
  string item_name = 2;
561
568
  Options opts = 3;
562
569
  }
570
+
571
+ // --- WritableFSSyncAPI.adoptAllRemoteFolderItems ---
572
+ // Reply body is common.UInt64Value
573
+ message AdoptAllRemoteFolderItemsRequestBody {
574
+ message Options {
575
+ common.UInt64Value local_version = 1;
576
+ common.StringValue postfix_for_name_overlaps = 2;
577
+ common.UInt64Value remote_version = 3;
578
+ }
579
+ string path = 1;
580
+ Options opts = 2;
581
+ }
582
+ message AdoptAllRemoteFolderItemsReplyBody {
583
+ common.UInt64Value new_version = 1;
584
+ }