Skip to content

Commit cef73de

Browse files
authored
refactor: move with-storage-sync.(spec).ts files to storage-sync (#153)
1 parent fd3ea12 commit cef73de

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

libs/ngrx-toolkit/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ export { withReset, setResetState } from './lib/with-reset';
2323
export { withLocalStorage } from './lib/storage-sync/features/with-local-storage';
2424
export { withSessionStorage } from './lib/storage-sync/features/with-session-storage';
2525
export { withIndexeddb } from './lib/storage-sync/features/with-indexeddb';
26-
export { withStorageSync, SyncConfig } from './lib/with-storage-sync';
26+
export {
27+
withStorageSync,
28+
SyncConfig,
29+
} from './lib/storage-sync/with-storage-sync';
2730
export { withImmutableState } from './lib/immutable-state/with-immutable-state';
2831
export { withFeatureFactory } from './lib/with-feature-factory';
2932
export { withConditional, emptyFeature } from './lib/with-conditional';

libs/ngrx-toolkit/src/lib/with-storage-sync.ts renamed to libs/ngrx-toolkit/src/lib/storage-sync/with-storage-sync.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import {
2222
StorageServiceFactory,
2323
WithIndexeddbSyncFeatureResult,
2424
WithStorageSyncFeatureResult,
25-
} from './storage-sync/internal/models';
26-
import { withIndexeddb } from './storage-sync/features/with-indexeddb';
25+
} from './internal/models';
26+
import { withIndexeddb } from './features/with-indexeddb';
2727

2828
export type SyncConfig<State> = {
2929
/**

0 commit comments

Comments
 (0)