@aprilium/tripsm_global-states 0.0.111 → 0.0.112
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.
- package/lib/index.d.ts +5 -7
- package/package.json +2 -3
package/lib/index.d.ts
CHANGED
|
@@ -11,22 +11,20 @@ import { State as userState } from '@aprilium/tripsm_user/lib/state';
|
|
|
11
11
|
import passengerSaga from '@aprilium/tripsm_passenger/lib/effects';
|
|
12
12
|
import constantsSaga from '@aprilium/tripsm_constants/lib/effects';
|
|
13
13
|
import TripSaga from '@aprilium/tripsm_trip/lib/effects';
|
|
14
|
-
import groupSaga from '@aprilium/tripsm_trip-group/lib/effects';
|
|
15
|
-
import userSaga from '@aprilium/tripsm_user/lib/effects';
|
|
16
14
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
17
15
|
export declare const reducers: {
|
|
18
16
|
passenger: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
19
17
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
20
18
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
21
|
-
group:
|
|
22
|
-
user:
|
|
19
|
+
group: any;
|
|
20
|
+
user: any;
|
|
23
21
|
};
|
|
24
22
|
export declare const initialSagas: {
|
|
25
23
|
passenger: typeof passengerSaga;
|
|
26
24
|
constants: typeof constantsSaga;
|
|
27
25
|
trip: typeof TripSaga;
|
|
28
|
-
group:
|
|
29
|
-
user:
|
|
26
|
+
group: any;
|
|
27
|
+
user: any;
|
|
30
28
|
};
|
|
31
29
|
export type States = {
|
|
32
30
|
passenger: passengerState;
|
|
@@ -37,7 +35,7 @@ export type States = {
|
|
|
37
35
|
};
|
|
38
36
|
export type StateName = 'passenger' | 'constants' | 'trip' | 'group' | 'user';
|
|
39
37
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
40
|
-
export declare const sagas:
|
|
38
|
+
export declare const sagas: any[];
|
|
41
39
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
42
40
|
waitForRehydrate?: boolean): void;
|
|
43
41
|
declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aprilium/tripsm_global-states",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.112",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -14,13 +14,12 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@aprilium/tripsm_passenger": "^0.0.49",
|
|
16
16
|
"@aprilium/tripsm_common": "^0.0.6",
|
|
17
|
-
"@aprilium/tripsm_constants": "^0.0.
|
|
17
|
+
"@aprilium/tripsm_constants": "^0.0.17",
|
|
18
18
|
"@aprilium/tripsm_trip": "^0.0.5",
|
|
19
19
|
"@aprilium/tripsm_trip-group": "^0.0.2",
|
|
20
20
|
"@aprilium/tripsm_user":"^0.0.6",
|
|
21
21
|
"@aprilium/tripsm_passenger-hotel":"^0.0.2",
|
|
22
22
|
"@aprilium/tripsm_identity-type":"^0.0.2",
|
|
23
|
-
"@aprilium/tripsm_relation":"^0.0.1",
|
|
24
23
|
"@types/react": "^17.0.0",
|
|
25
24
|
"axios": "^0.21.1",
|
|
26
25
|
"immer": "^9.0.15",
|