core-3nweb-client-lib 0.43.17 → 0.43.18
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 +43 -4
- package/build/core-ipc/fs.d.ts +0 -9
- package/build/core-ipc/fs.js +69 -27
- package/build/lib-client/fs-utils/files.js +2 -1
- package/build/lib-client/xsp-fs/folder-node.d.ts +12 -0
- package/build/lib-client/xsp-fs/folder-node.js +143 -87
- package/build/lib-client/xsp-fs/fs.d.ts +2 -0
- package/build/lib-client/xsp-fs/fs.js +9 -9
- package/build/protos/asmail.proto.js +711 -0
- package/build/protos/fs.proto.js +711 -0
- package/package.json +1 -1
- package/protos/fs.proto +32 -16
package/package.json
CHANGED
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
|
|
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
|
|
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
|
|
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
|
|
298
|
+
// Reply body is empty
|
|
299
299
|
|
|
300
300
|
// --- WritableFS.move ---
|
|
301
|
-
// Reply
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
343
|
+
// Reply body is empty
|
|
344
344
|
|
|
345
345
|
// --- WritableFS.link ---
|
|
346
|
-
// Reply
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
480
|
+
// Reply body is empty
|
|
481
481
|
message AdoptRemoteRequestBody {
|
|
482
482
|
string path = 1;
|
|
483
483
|
file.OptionsToAdopteRemote opts = 2;
|
|
@@ -549,6 +549,7 @@ message FSSyncUploadRequestBody {
|
|
|
549
549
|
// Reply body is file.FileSyncStartUploadReplyBody
|
|
550
550
|
|
|
551
551
|
// --- WritableFSSyncAPI.adoptRemoteFolderItem ---
|
|
552
|
+
// Reply body is common.UInt64Value
|
|
552
553
|
message AdoptRemoteFolderItemRequestBody {
|
|
553
554
|
message Options {
|
|
554
555
|
common.UInt64Value local_version = 1;
|
|
@@ -560,3 +561,18 @@ message AdoptRemoteFolderItemRequestBody {
|
|
|
560
561
|
string item_name = 2;
|
|
561
562
|
Options opts = 3;
|
|
562
563
|
}
|
|
564
|
+
|
|
565
|
+
// --- WritableFSSyncAPI.adoptAllRemoteFolderItems ---
|
|
566
|
+
// Reply body is common.UInt64Value
|
|
567
|
+
message AdoptAllRemoteFolderItemsRequestBody {
|
|
568
|
+
message Options {
|
|
569
|
+
common.UInt64Value local_version = 1;
|
|
570
|
+
common.StringValue postfix_for_name_overlaps = 2;
|
|
571
|
+
common.UInt64Value remote_version = 3;
|
|
572
|
+
}
|
|
573
|
+
string path = 1;
|
|
574
|
+
Options opts = 2;
|
|
575
|
+
}
|
|
576
|
+
message AdoptAllRemoteFolderItemsReplyBody {
|
|
577
|
+
common.UInt64Value new_version = 1;
|
|
578
|
+
}
|