@aprilium/tripsm_global-states 0.0.93 → 0.0.95
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 +7 -5
- package/package.json +3 -4
package/lib/index.d.ts
CHANGED
|
@@ -11,20 +11,22 @@ 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';
|
|
14
16
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
15
17
|
export declare const reducers: {
|
|
16
18
|
passenger: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
17
19
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
18
20
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
19
|
-
group:
|
|
20
|
-
user:
|
|
21
|
+
group: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-group/lib/state").GroupState>;
|
|
22
|
+
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
21
23
|
};
|
|
22
24
|
export declare const initialSagas: {
|
|
23
25
|
passenger: typeof passengerSaga;
|
|
24
26
|
constants: typeof constantsSaga;
|
|
25
27
|
trip: typeof TripSaga;
|
|
26
|
-
group:
|
|
27
|
-
user:
|
|
28
|
+
group: typeof groupSaga;
|
|
29
|
+
user: typeof userSaga;
|
|
28
30
|
};
|
|
29
31
|
export type States = {
|
|
30
32
|
passenger: passengerState;
|
|
@@ -35,7 +37,7 @@ export type States = {
|
|
|
35
37
|
};
|
|
36
38
|
export type StateName = 'passenger' | 'constants' | 'trip' | 'group' | 'user';
|
|
37
39
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
38
|
-
export declare const sagas:
|
|
40
|
+
export declare const sagas: (typeof passengerSaga | typeof constantsSaga | typeof userSaga | typeof TripSaga | typeof groupSaga)[];
|
|
39
41
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
40
42
|
waitForRehydrate?: boolean): void;
|
|
41
43
|
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.95",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -15,11 +15,10 @@
|
|
|
15
15
|
"@aprilium/tripsm_passenger": "^0.0.47",
|
|
16
16
|
"@aprilium/tripsm_common": "^0.0.6",
|
|
17
17
|
"@aprilium/tripsm_constants": "^0.0.11",
|
|
18
|
-
"@aprilium/tripsm_trip": "^0.0.
|
|
19
|
-
"@aprilium/tripsm_trip-group": "^0.0.
|
|
18
|
+
"@aprilium/tripsm_trip": "^0.0.5",
|
|
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
|
-
"@aprilium/tripsm_trip-hotel": "^0.0.4",
|
|
23
22
|
"@types/react": "^17.0.0",
|
|
24
23
|
"axios": "^0.21.1",
|
|
25
24
|
"immer": "^9.0.15",
|