@hamak/ui-remote-fs 0.14.1 → 0.15.0
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { Dispatch, AnyAction } from 'redux';
|
|
8
8
|
import type { FileSystemNode } from '@hamak/shared-utils';
|
|
9
|
-
import type { IAutosaveProvider, AutosaveResult } from '@hamak/ui-store
|
|
9
|
+
import type { IAutosaveProvider, AutosaveResult } from '@hamak/ui-store/spi';
|
|
10
10
|
import type { IPathTranslator } from '../../spi/index.js';
|
|
11
11
|
/**
|
|
12
12
|
* Configuration for RemoteFsAutosaveProvider
|
|
@@ -77,7 +77,7 @@ export interface RemoteFsPluginFactoryConfig {
|
|
|
77
77
|
* @example
|
|
78
78
|
* ```typescript
|
|
79
79
|
* import { Pathway } from '@hamak/shared-utils';
|
|
80
|
-
* import { createRemoteFsPlugin } from '@hamak/ui-remote-fs
|
|
80
|
+
* import { createRemoteFsPlugin } from '@hamak/ui-remote-fs';
|
|
81
81
|
*
|
|
82
82
|
* const plugin = createRemoteFsPlugin({
|
|
83
83
|
* workspaceId: '0',
|
|
@@ -9,7 +9,7 @@ import { PathTranslator } from '../../spi/index.js';
|
|
|
9
9
|
import { HttpWorkspaceClient } from '../providers/http-workspace-client.js';
|
|
10
10
|
import { createRemoteFsMiddleware } from '../middleware/remote-fs-middleware.js';
|
|
11
11
|
import { createStoreSyncMiddleware } from '../middleware/store-sync-middleware.js';
|
|
12
|
-
import { STORE_MANAGER_TOKEN, STORE_EXTENSIONS_TOKEN, } from '@hamak/ui-store
|
|
12
|
+
import { STORE_MANAGER_TOKEN, STORE_EXTENSIONS_TOKEN, } from '@hamak/ui-store/api';
|
|
13
13
|
/**
|
|
14
14
|
* Create Remote FS plugin
|
|
15
15
|
*
|
|
@@ -24,7 +24,7 @@ import { STORE_MANAGER_TOKEN, STORE_EXTENSIONS_TOKEN, } from '@hamak/ui-store-ap
|
|
|
24
24
|
* @example
|
|
25
25
|
* ```typescript
|
|
26
26
|
* import { Pathway } from '@hamak/shared-utils';
|
|
27
|
-
* import { createRemoteFsPlugin } from '@hamak/ui-remote-fs
|
|
27
|
+
* import { createRemoteFsPlugin } from '@hamak/ui-remote-fs';
|
|
28
28
|
*
|
|
29
29
|
* const plugin = createRemoteFsPlugin({
|
|
30
30
|
* workspaceId: '0',
|
|
@@ -33,7 +33,7 @@ export interface RemoteFsMiddlewareConfig {
|
|
|
33
33
|
export interface StoreSyncMiddlewareConfig {
|
|
34
34
|
/**
|
|
35
35
|
* Filesystem adapter for Store FS operations
|
|
36
|
-
* Must be obtained from @hamak/ui-store
|
|
36
|
+
* Must be obtained from @hamak/ui-store
|
|
37
37
|
*/
|
|
38
38
|
fileSystemAdapter: any;
|
|
39
39
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hamak/ui-remote-fs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Remote filesystem synchronization for microkernel-based applications",
|
|
@@ -52,17 +52,15 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@hamak/shared-utils": "^0.
|
|
56
|
-
"@hamak/ui-store
|
|
57
|
-
"@hamak/
|
|
58
|
-
"@hamak/microkernel-
|
|
59
|
-
"@hamak/microkernel-spi": "^0.14.1",
|
|
55
|
+
"@hamak/shared-utils": "^0.15.0",
|
|
56
|
+
"@hamak/ui-store": "^0.15.0",
|
|
57
|
+
"@hamak/microkernel-api": "^0.15.0",
|
|
58
|
+
"@hamak/microkernel-spi": "^0.15.0",
|
|
60
59
|
"@reduxjs/toolkit": "^2.0.0",
|
|
61
60
|
"axios": "^1.6.0",
|
|
62
61
|
"redux": "^5.0.1"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
65
|
-
"@hamak/ui-store": "^0.14.1",
|
|
66
64
|
"@types/node": "^20.0.0",
|
|
67
65
|
"typescript": "~5.4.0",
|
|
68
66
|
"vitest": "^2.0.0"
|