|
@@ -5,9 +5,11 @@ import { ThunkAction } from 'redux-thunk';
|
|
import { TopicsState } from './topic';
|
|
import { TopicsState } from './topic';
|
|
import { AnyAction } from 'redux';
|
|
import { AnyAction } from 'redux';
|
|
import { ClustersState } from './cluster';
|
|
import { ClustersState } from './cluster';
|
|
|
|
+import { LoaderState } from './loader';
|
|
|
|
|
|
export * from './topic';
|
|
export * from './topic';
|
|
export * from './cluster';
|
|
export * from './cluster';
|
|
|
|
+export * from './loader';
|
|
|
|
|
|
export enum FetchStatus {
|
|
export enum FetchStatus {
|
|
notFetched = 'notFetched',
|
|
notFetched = 'notFetched',
|
|
@@ -19,6 +21,7 @@ export enum FetchStatus {
|
|
export interface RootState {
|
|
export interface RootState {
|
|
topics: TopicsState;
|
|
topics: TopicsState;
|
|
clusters: ClustersState;
|
|
clusters: ClustersState;
|
|
|
|
+ loader: LoaderState;
|
|
}
|
|
}
|
|
|
|
|
|
export type Action = ActionType<typeof topicsActions | typeof clustersActions>;
|
|
export type Action = ActionType<typeof topicsActions | typeof clustersActions>;
|