@hamak/ui-store-api 0.5.2 → 0.5.6
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/dist/api/index.d.ts +3 -3
- package/dist/api/index.js +3 -3
- package/dist/api/middleware-registry.d.ts +1 -1
- package/dist/api/reducer-registry.d.ts +1 -1
- package/dist/api/store-manager.d.ts +3 -3
- package/dist/autosave/autosave-action-factory.d.ts +2 -2
- package/dist/autosave/autosave-action-factory.js +1 -1
- package/dist/autosave/autosave-action-types.d.ts +1 -1
- package/dist/autosave/index.d.ts +3 -3
- package/dist/autosave/index.js +3 -3
- package/dist/fs/index.d.ts +2 -2
- package/dist/fs/index.js +2 -2
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/types/extension-types.d.ts +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +4 -4
- package/package.json +2 -2
package/dist/api/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* API Interfaces Export
|
|
3
3
|
*/
|
|
4
|
-
export * from './store-manager';
|
|
5
|
-
export * from './middleware-registry';
|
|
6
|
-
export * from './reducer-registry';
|
|
4
|
+
export * from './store-manager.js';
|
|
5
|
+
export * from './middleware-registry.js';
|
|
6
|
+
export * from './reducer-registry.js';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/api/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* API Interfaces Export
|
|
3
3
|
*/
|
|
4
|
-
export * from './store-manager';
|
|
5
|
-
export * from './middleware-registry';
|
|
6
|
-
export * from './reducer-registry';
|
|
4
|
+
export * from './store-manager.js';
|
|
5
|
+
export * from './middleware-registry.js';
|
|
6
|
+
export * from './reducer-registry.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Extension point for plugins to contribute middleware
|
|
4
4
|
*/
|
|
5
5
|
import type { Middleware } from 'redux';
|
|
6
|
-
import type { MiddlewareRegistration } from '../types';
|
|
6
|
+
import type { MiddlewareRegistration } from '../types/index.js';
|
|
7
7
|
export interface IMiddlewareRegistry {
|
|
8
8
|
/**
|
|
9
9
|
* Register a middleware
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Allows dynamic reducer registration and hot replacement
|
|
4
4
|
*/
|
|
5
5
|
import type { Reducer } from 'redux';
|
|
6
|
-
import type { ReducerMap, ReducerRegistration } from '../types';
|
|
6
|
+
import type { ReducerMap, ReducerRegistration } from '../types/index.js';
|
|
7
7
|
export interface IReducerRegistry {
|
|
8
8
|
/**
|
|
9
9
|
* Register a reducer for a state slice key
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Main orchestrator for Redux store management
|
|
4
4
|
*/
|
|
5
5
|
import type { Store, Reducer, Action } from 'redux';
|
|
6
|
-
import type { StoreConfig, RootState, AppAction } from '../types';
|
|
7
|
-
import type { IMiddlewareRegistry } from './middleware-registry';
|
|
8
|
-
import type { IReducerRegistry } from './reducer-registry';
|
|
6
|
+
import type { StoreConfig, RootState, AppAction } from '../types/index.js';
|
|
7
|
+
import type { IMiddlewareRegistry } from './middleware-registry.js';
|
|
8
|
+
import type { IReducerRegistry } from './reducer-registry.js';
|
|
9
9
|
export interface IStoreManager {
|
|
10
10
|
/**
|
|
11
11
|
* Get the Redux store instance
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Factory for creating autosave actions.
|
|
5
5
|
*/
|
|
6
6
|
import type { AnyAction } from 'redux';
|
|
7
|
-
import type { AutosaveConfig } from './autosave-types';
|
|
8
|
-
import { type SetAutosaveConfigAction, type ClearAutosaveConfigAction, type ChangeDetectedAction, type DebounceExpiredAction, type SaveStartedAction, type SaveSucceededAction, type SaveFailedAction, type RetryScheduledAction, type FlushPendingAction, type FlushAllPendingAction, type CancelPendingAction, type AutosaveAction } from './autosave-action-types';
|
|
7
|
+
import type { AutosaveConfig } from './autosave-types.js';
|
|
8
|
+
import { type SetAutosaveConfigAction, type ClearAutosaveConfigAction, type ChangeDetectedAction, type DebounceExpiredAction, type SaveStartedAction, type SaveSucceededAction, type SaveFailedAction, type RetryScheduledAction, type FlushPendingAction, type FlushAllPendingAction, type CancelPendingAction, type AutosaveAction } from './autosave-action-types.js';
|
|
9
9
|
/**
|
|
10
10
|
* Factory class for creating autosave actions
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Actual saves are performed by plugin providers using their own actions
|
|
6
6
|
* (e.g., PUT_REQUEST for remote-fs, UPDATE_ENTITY for remote-resource).
|
|
7
7
|
*/
|
|
8
|
-
import type { AutosaveConfig, AutosaveError } from './autosave-types';
|
|
8
|
+
import type { AutosaveConfig, AutosaveError } from './autosave-types.js';
|
|
9
9
|
/**
|
|
10
10
|
* Autosave action type constants
|
|
11
11
|
*/
|
package/dist/autosave/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Public API for autosave functionality.
|
|
5
5
|
*/
|
|
6
|
-
export * from './autosave-types';
|
|
7
|
-
export * from './autosave-action-types';
|
|
8
|
-
export * from './autosave-action-factory';
|
|
6
|
+
export * from './autosave-types.js';
|
|
7
|
+
export * from './autosave-action-types.js';
|
|
8
|
+
export * from './autosave-action-factory.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/autosave/index.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Public API for autosave functionality.
|
|
5
5
|
*/
|
|
6
|
-
export * from './autosave-types';
|
|
7
|
-
export * from './autosave-action-types';
|
|
8
|
-
export * from './autosave-action-factory';
|
|
6
|
+
export * from './autosave-types.js';
|
|
7
|
+
export * from './autosave-action-types.js';
|
|
8
|
+
export * from './autosave-action-factory.js';
|
package/dist/fs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { FileSystemNode, DirectoryNode, FileNode, FileSystemNodeBase, FileSystemNodeState, FileMemoState, FileSystemState, FileContentSchema } from '@hamak/shared-utils';
|
|
2
2
|
export { fileSystemNodeInitialState } from '@hamak/shared-utils';
|
|
3
|
-
export * from './contracts/filesystem-manager.contract';
|
|
4
|
-
export * from './contracts/filesystem-facade.contract';
|
|
3
|
+
export * from './contracts/filesystem-manager.contract.js';
|
|
4
|
+
export * from './contracts/filesystem-facade.contract.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/fs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { fileSystemNodeInitialState } from '@hamak/shared-utils';
|
|
2
2
|
// Filesystem contracts
|
|
3
|
-
export * from './contracts/filesystem-manager.contract';
|
|
4
|
-
export * from './contracts/filesystem-facade.contract';
|
|
3
|
+
export * from './contracts/filesystem-manager.contract.js';
|
|
4
|
+
export * from './contracts/filesystem-facade.contract.js';
|
package/dist/tokens/index.d.ts
CHANGED
package/dist/tokens/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Store extension types
|
|
3
3
|
*/
|
|
4
4
|
import type { Reducer } from 'redux';
|
|
5
|
-
import type { MiddlewareRegistration } from './middleware-types';
|
|
5
|
+
import type { MiddlewareRegistration } from './middleware-types.js';
|
|
6
6
|
/**
|
|
7
7
|
* Middleware contribution matches registry entries
|
|
8
8
|
*/
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Type Definitions Export
|
|
3
3
|
*/
|
|
4
|
-
export * from './store-types';
|
|
5
|
-
export * from './middleware-types';
|
|
6
|
-
export * from './reducer-types';
|
|
7
|
-
export * from './extension-types';
|
|
4
|
+
export * from './store-types.js';
|
|
5
|
+
export * from './middleware-types.js';
|
|
6
|
+
export * from './reducer-types.js';
|
|
7
|
+
export * from './extension-types.js';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Type Definitions Export
|
|
3
3
|
*/
|
|
4
|
-
export * from './store-types';
|
|
5
|
-
export * from './middleware-types';
|
|
6
|
-
export * from './reducer-types';
|
|
7
|
-
export * from './extension-types';
|
|
4
|
+
export * from './store-types.js';
|
|
5
|
+
export * from './middleware-types.js';
|
|
6
|
+
export * from './reducer-types.js';
|
|
7
|
+
export * from './extension-types.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hamak/ui-store-api",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "DEPRECATED: Use @hamak/ui-store/api instead",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"deprecated": "Use @hamak/ui-store/api instead",
|
|
22
22
|
"scripts": {
|
|
23
|
-
"build": "tsc -p tsconfig.json",
|
|
23
|
+
"build": "tsc -p tsconfig.json && node ../../../scripts/fix-esm-extensions.mjs ./dist",
|
|
24
24
|
"clean": "rm -rf dist"
|
|
25
25
|
},
|
|
26
26
|
"exports": {
|