@hamak/ui-store-api 0.6.0 → 0.7.2

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.
@@ -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
  */
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Factory for creating autosave actions.
5
5
  */
6
- import { AutosaveActionTypes, } from './autosave-action-types';
6
+ import { AutosaveActionTypes, } from './autosave-action-types.js';
7
7
  /**
8
8
  * Factory class for creating autosave actions
9
9
  */
@@ -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
  */
@@ -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
@@ -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';
@@ -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';
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Tokens Export
3
3
  */
4
- export * from './service-tokens';
4
+ export * from './service-tokens.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Tokens Export
3
3
  */
4
- export * from './service-tokens';
4
+ export * from './service-tokens.js';
@@ -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
  */
@@ -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
@@ -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.6.0",
3
+ "version": "0.7.2",
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": {