@qodalis/cli-files 2.0.0-beta.2 → 2.0.0-beta.3
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 +2 -2
- package/public-api.d.mts +1 -1
- package/public-api.d.ts +1 -1
- package/public-api.js +2 -2
- package/public-api.js.map +1 -1
- package/public-api.mjs +2 -2
- package/public-api.mjs.map +1 -1
- package/umd/index.global.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qodalis/cli-files",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
4
|
"description": "@qodalis/cli extension for Linux file management commands with in-memory filesystem.",
|
|
5
5
|
"author": "Nicolae Lupei, Qodalis Solutions",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"umd": "./umd/index.global.js",
|
|
24
24
|
"unpkg": "./umd/index.global.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@qodalis/cli-core": "2.0.0-beta.
|
|
26
|
+
"@qodalis/cli-core": "2.0.0-beta.3"
|
|
27
27
|
},
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"main": "./public-api.js",
|
package/public-api.d.mts
CHANGED
|
@@ -886,7 +886,7 @@ interface ServerFileSystemOptions {
|
|
|
886
886
|
}
|
|
887
887
|
/**
|
|
888
888
|
* IFileSystemService implementation that delegates operations to a CLI server's
|
|
889
|
-
* `/api/
|
|
889
|
+
* `/api/qcli/fs/*` REST endpoints.
|
|
890
890
|
*
|
|
891
891
|
* Because the IFileSystemService interface is synchronous, this service maintains
|
|
892
892
|
* an in-memory file tree that is returned immediately by read operations. Write
|
package/public-api.d.ts
CHANGED
|
@@ -886,7 +886,7 @@ interface ServerFileSystemOptions {
|
|
|
886
886
|
}
|
|
887
887
|
/**
|
|
888
888
|
* IFileSystemService implementation that delegates operations to a CLI server's
|
|
889
|
-
* `/api/
|
|
889
|
+
* `/api/qcli/fs/*` REST endpoints.
|
|
890
890
|
*
|
|
891
891
|
* Because the IFileSystemService interface is synchronous, this service maintains
|
|
892
892
|
* an in-memory file tree that is returned immediately by read operations. Write
|
package/public-api.js
CHANGED
|
@@ -6,7 +6,7 @@ var cliCore = require('@qodalis/cli-core');
|
|
|
6
6
|
var IFileSystemService_TOKEN = "cli-file-system-service";
|
|
7
7
|
|
|
8
8
|
// src/lib/version.ts
|
|
9
|
-
var LIBRARY_VERSION = "2.0.0-beta.
|
|
9
|
+
var LIBRARY_VERSION = "2.0.0-beta.3";
|
|
10
10
|
var API_VERSION = 2;
|
|
11
11
|
|
|
12
12
|
// src/lib/processors/cli-ls-command-processor.ts
|
|
@@ -4789,7 +4789,7 @@ var ServerFileSystemService = class {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
// --- Private: server communication ---
|
|
4791
4791
|
async serverFetch(endpoint, options) {
|
|
4792
|
-
const url = `${this.baseUrl}/api/
|
|
4792
|
+
const url = `${this.baseUrl}/api/qcli/fs${endpoint}`;
|
|
4793
4793
|
const response = await fetch(url, options);
|
|
4794
4794
|
if (!response.ok) {
|
|
4795
4795
|
const body = await response.text();
|