mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-04-26 19:23:43 +03:00
* Move background to top-level * Move devpanel to top-level * Move devtools to top-level * Move options to top-level * Move window to top-level * Move chromeApiMock to top-level * Move manifests to top-level * Move contentScript to top-level * Move pageScript to top-level * Update tests * Update Webpack config * Fix path
42 lines
856 B
TypeScript
42 lines
856 B
TypeScript
import { combineReducers, Reducer } from 'redux';
|
|
import {
|
|
connection,
|
|
ConnectionState,
|
|
instances,
|
|
InstancesState,
|
|
monitor,
|
|
MonitorState,
|
|
notification,
|
|
NotificationState,
|
|
reports,
|
|
ReportsState,
|
|
section,
|
|
SectionState,
|
|
StoreAction,
|
|
theme,
|
|
ThemeState,
|
|
} from '@redux-devtools/app';
|
|
|
|
export interface StoreStateWithoutSocket {
|
|
readonly section: SectionState;
|
|
readonly theme: ThemeState;
|
|
readonly connection: ConnectionState;
|
|
readonly monitor: MonitorState;
|
|
readonly instances: InstancesState;
|
|
readonly reports: ReportsState;
|
|
readonly notification: NotificationState;
|
|
}
|
|
|
|
const rootReducer: Reducer<StoreStateWithoutSocket, StoreAction> =
|
|
combineReducers<StoreStateWithoutSocket>({
|
|
instances,
|
|
monitor,
|
|
reports,
|
|
notification,
|
|
section,
|
|
theme,
|
|
connection,
|
|
});
|
|
|
|
export default rootReducer;
|