@common-stack/mobile-stack-react 6.0.6-alpha.14 → 6.0.6-alpha.15
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,4 +1,4 @@
|
|
|
1
|
-
import { Middleware, Action, ReducersMapObject
|
|
1
|
+
import { Middleware, Action, ReducersMapObject } from 'redux';
|
|
2
2
|
import { EpicMiddleware, Epic } from 'redux-observable';
|
|
3
3
|
import { PersistConfig } from 'redux-persist';
|
|
4
4
|
interface IReduxStore<S = any> {
|
|
@@ -6,17 +6,17 @@ interface IReduxStore<S = any> {
|
|
|
6
6
|
isDebug: boolean;
|
|
7
7
|
isDev: boolean;
|
|
8
8
|
reducers: ReducersMapObject<S>;
|
|
9
|
-
rootEpic?: Epic<
|
|
10
|
-
epicMiddleware?: EpicMiddleware<
|
|
9
|
+
rootEpic?: Epic<any, Action<any>, void, any>;
|
|
10
|
+
epicMiddleware?: EpicMiddleware<any, Action<any>>;
|
|
11
11
|
preMiddleware?: Middleware[];
|
|
12
12
|
postMiddleware?: Middleware[];
|
|
13
13
|
middleware?: Middleware[];
|
|
14
|
-
initialState:
|
|
14
|
+
initialState: any;
|
|
15
15
|
persistConfig?: PersistConfig<S, any>;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Add any reducers required for this app dirctly in to
|
|
19
19
|
* `combineReducers`
|
|
20
20
|
*/
|
|
21
|
-
export declare const createReduxStore: ({ scope, isDebug, isDev, reducers, rootEpic, epicMiddleware, preMiddleware, postMiddleware, middleware, initialState, persistConfig, }: IReduxStore<any>) => import("redux").Store<any, import("redux").
|
|
21
|
+
export declare const createReduxStore: ({ scope, isDebug, isDev, reducers, rootEpic, epicMiddleware, preMiddleware, postMiddleware, middleware, initialState, persistConfig, }: IReduxStore<any>) => import("redux").Store<any, import("redux").UnknownAction, unknown>;
|
|
22
22
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import autoMergeLevel2 from 'redux-persist/lib/stateReconciler/autoMergeLevel2';
|
|
2
2
|
import history from './router-history';
|
|
3
3
|
export { history };
|
|
4
|
-
export declare const epicMiddlewareFunc: (apolloClient: any, services: any, container: any) => import("redux-observable").EpicMiddleware<import("redux").Action
|
|
4
|
+
export declare const epicMiddlewareFunc: (apolloClient: any, services: any, container: any) => import("redux-observable").EpicMiddleware<import("redux").Action, import("redux").Action, void, {
|
|
5
5
|
apolloClient: any;
|
|
6
6
|
routes: any;
|
|
7
7
|
services: any;
|
|
@@ -22,5 +22,5 @@ export declare const persistConfig: {
|
|
|
22
22
|
* `combineReducers`
|
|
23
23
|
*/
|
|
24
24
|
export declare const createReduxStore: (history: any, apolloClient: any, services: any, container: any) => {
|
|
25
|
-
store: import("redux").Store<any, import("redux").
|
|
25
|
+
store: import("redux").Store<any, import("redux").UnknownAction, unknown>;
|
|
26
26
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/mobile-stack-react",
|
|
3
|
-
"version": "6.0.6-alpha.
|
|
3
|
+
"version": "6.0.6-alpha.15",
|
|
4
4
|
"description": "Client Module for mobile app",
|
|
5
5
|
"homepage": "https://github.com/cdmbase/fullstack-pro#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"typescript": {
|
|
132
132
|
"definition": "lib/index.d.ts"
|
|
133
133
|
},
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "8d0ce9ee36430bbba3ee482516532d8c2482cf12"
|
|
135
135
|
}
|