mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 05:23:06 +00:00
Refactored Data Services
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
import { combineReducers } from "@ngrx/store";
|
||||
import { CacheState, cacheReducer } from "./data-services/cache/cache.reducer";
|
||||
import { dataReducer, DataState } from "./data-services/data.reducer";
|
||||
import { CacheState, cacheReducer } from "./cache/cache.reducers";
|
||||
|
||||
export interface CoreState {
|
||||
data: DataState,
|
||||
cache: CacheState
|
||||
}
|
||||
|
||||
export const reducers = {
|
||||
data: dataReducer,
|
||||
cache: cacheReducer
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user