@aprilium/tripsm_global-states 0.0.169 → 0.0.170
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 -7
- package/lib/index.js +5 -5
- package/package.json +2 -1
package/lib/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { State as luggageState } from "@aprilium/tripsm_luggage/lib/state";
|
|
|
23
23
|
import { State as luggageTrackingState } from "@aprilium/tripsm_luggage-tracking/lib/state";
|
|
24
24
|
import { State as identityTypeState } from "@aprilium/tripsm_identity-type/lib/state";
|
|
25
25
|
import { State as relationState } from "@aprilium/tripsm_relation/lib/state";
|
|
26
|
-
import { State as
|
|
26
|
+
import { State as passengerGroupsState } from "@aprilium/tripsm_passenger-groups/lib/state";
|
|
27
27
|
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
28
28
|
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
29
29
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
@@ -44,7 +44,7 @@ import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
|
44
44
|
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
45
45
|
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
46
46
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
47
|
-
import
|
|
47
|
+
import PassengerGroupsSaga from "@aprilium/tripsm_passenger-groups/lib/effects";
|
|
48
48
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
49
49
|
export declare const reducers: {
|
|
50
50
|
passenger: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
@@ -67,7 +67,7 @@ export declare const reducers: {
|
|
|
67
67
|
luggageTracking: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage-tracking/lib/state").LuggageTrackingState>;
|
|
68
68
|
identityType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity-type/lib/state").IdentityTypeState>;
|
|
69
69
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
70
|
-
|
|
70
|
+
passengerGroups: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-groups/lib/state").PassengerGroupsState>;
|
|
71
71
|
};
|
|
72
72
|
export declare const initialSagas: {
|
|
73
73
|
passenger: typeof passengerSaga;
|
|
@@ -90,7 +90,7 @@ export declare const initialSagas: {
|
|
|
90
90
|
luggageTracking: typeof LuggageTrackingSaga;
|
|
91
91
|
identityType: typeof IdentityTypeSaga;
|
|
92
92
|
relation: typeof RelationSaga;
|
|
93
|
-
|
|
93
|
+
passengerGroups: typeof PassengerGroupsSaga;
|
|
94
94
|
};
|
|
95
95
|
export type States = {
|
|
96
96
|
passenger: passengerState;
|
|
@@ -113,11 +113,11 @@ export type States = {
|
|
|
113
113
|
luggagTracking: luggageTrackingState;
|
|
114
114
|
identityType: identityTypeState;
|
|
115
115
|
relation: relationState;
|
|
116
|
-
|
|
116
|
+
passengerGroups: passengerGroupsState;
|
|
117
117
|
};
|
|
118
|
-
export type StateName = "passenger" | "constants" | "Trip" | "group" | "user" | "visaType" | "visaCategory" | "VisaStatus" | "visa" | "visaRequest" | "identity" | "PassengerHotel" | "hotel" | "ticket" | "PassengerGroup" | "luggage" | "luggage-tracking" | "IdentityType" | "relation" | "
|
|
118
|
+
export type StateName = "passenger" | "constants" | "Trip" | "group" | "user" | "visaType" | "visaCategory" | "VisaStatus" | "visa" | "visaRequest" | "identity" | "PassengerHotel" | "hotel" | "ticket" | "PassengerGroup" | "luggage" | "luggage-tracking" | "IdentityType" | "relation" | "passenger-groups";
|
|
119
119
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
120
|
-
export declare const sagas: (typeof passengerSaga | typeof constantsSaga | typeof groupSaga | typeof TripSaga | typeof userSaga | typeof visaTypeSaga | typeof visaCategorySaga | typeof VisaStatusSaga | typeof VisaSaga | typeof VisaRequestSaga | typeof IdentitySaga | typeof PassengerHotelSaga | typeof HotelSaga | typeof TicketSaga | typeof TripHotelSaga | typeof PassengerGroupSaga | typeof LuggageSaga | typeof LuggageTrackingSaga | typeof IdentityTypeSaga | typeof RelationSaga | typeof
|
|
120
|
+
export declare const sagas: (typeof passengerSaga | typeof constantsSaga | typeof groupSaga | typeof TripSaga | typeof userSaga | typeof visaTypeSaga | typeof visaCategorySaga | typeof VisaStatusSaga | typeof VisaSaga | typeof VisaRequestSaga | typeof IdentitySaga | typeof PassengerHotelSaga | typeof HotelSaga | typeof TicketSaga | typeof TripHotelSaga | typeof PassengerGroupSaga | typeof LuggageSaga | typeof LuggageTrackingSaga | typeof IdentityTypeSaga | typeof RelationSaga | typeof PassengerGroupsSaga)[];
|
|
121
121
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
122
122
|
waitForRehydrate?: boolean): void;
|
|
123
123
|
declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
|
package/lib/index.js
CHANGED
|
@@ -76,7 +76,7 @@ var lib_17 = require("@aprilium/tripsm_luggage/lib");
|
|
|
76
76
|
var lib_18 = require("@aprilium/tripsm_luggage-tracking/lib");
|
|
77
77
|
var lib_19 = require("@aprilium/tripsm_identity-type/lib");
|
|
78
78
|
var lib_20 = require("@aprilium/tripsm_relation/lib");
|
|
79
|
-
var lib_21 = require("@aprilium/
|
|
79
|
+
var lib_21 = require("@aprilium/tripsm_passenger-groups/lib");
|
|
80
80
|
var state_1 = require("@aprilium/tripsm_visa/lib/state");
|
|
81
81
|
var state_2 = require("@aprilium/tripsm_visa-request/lib/state");
|
|
82
82
|
var state_3 = require("@aprilium/tripsm_visa-category/lib/state");
|
|
@@ -97,7 +97,7 @@ var state_17 = require("@aprilium/tripsm_luggage/lib/state");
|
|
|
97
97
|
var state_18 = require("@aprilium/tripsm_luggage-tracking/lib/state");
|
|
98
98
|
var state_19 = require("@aprilium/tripsm_identity-type/lib/state");
|
|
99
99
|
var state_20 = require("@aprilium/tripsm_relation/lib/state");
|
|
100
|
-
var state_21 = require("@aprilium/
|
|
100
|
+
var state_21 = require("@aprilium/tripsm_passenger-groups/lib/state");
|
|
101
101
|
//import sagas
|
|
102
102
|
var effects_2 = __importDefault(require("@aprilium/tripsm_passenger/lib/effects"));
|
|
103
103
|
var effects_3 = __importDefault(require("@aprilium/tripsm_visa-type/lib/effects"));
|
|
@@ -119,7 +119,7 @@ var effects_18 = __importDefault(require("@aprilium/tripsm_luggage/lib/effects")
|
|
|
119
119
|
var effects_19 = __importDefault(require("@aprilium/tripsm_luggage-tracking/lib/effects"));
|
|
120
120
|
var effects_20 = __importDefault(require("@aprilium/tripsm_identity-type/lib/effects"));
|
|
121
121
|
var effects_21 = __importDefault(require("@aprilium/tripsm_relation/lib/effects"));
|
|
122
|
-
var effects_22 = __importDefault(require("@aprilium/
|
|
122
|
+
var effects_22 = __importDefault(require("@aprilium/tripsm_passenger-groups/lib/effects"));
|
|
123
123
|
exports.sagaMiddleware = (0, redux_saga_1.default)();
|
|
124
124
|
exports.reducers = {
|
|
125
125
|
passenger: state_6.passengerReducerFunction,
|
|
@@ -142,7 +142,7 @@ exports.reducers = {
|
|
|
142
142
|
luggageTracking: state_18.LuggageTrackingReducerFunction,
|
|
143
143
|
identityType: state_19.IdentityTypeReducerFunction,
|
|
144
144
|
relation: state_20.RelationReducerFunction,
|
|
145
|
-
|
|
145
|
+
passengerGroups: state_21.PassengerGroupsReducerFunction,
|
|
146
146
|
};
|
|
147
147
|
exports.initialSagas = {
|
|
148
148
|
passenger: effects_2.default,
|
|
@@ -165,7 +165,7 @@ exports.initialSagas = {
|
|
|
165
165
|
luggageTracking: effects_19.default,
|
|
166
166
|
identityType: effects_20.default,
|
|
167
167
|
relation: effects_21.default,
|
|
168
|
-
|
|
168
|
+
passengerGroups: effects_22.default,
|
|
169
169
|
};
|
|
170
170
|
function setUrlConfig(coreApi, debugMode) {
|
|
171
171
|
if (debugMode === void 0) { debugMode = false; }
|
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.170",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"@aprilium/tripsm_relation": "^0.0.1",
|
|
36
36
|
"@aprilium/tripsm_trips": "^0.0.2",
|
|
37
37
|
"@aprilium/tripsm_passengers": "^0.0.4",
|
|
38
|
+
"@aprilium/tripsm_passenger-groups": "^0.0.1",
|
|
38
39
|
|
|
39
40
|
|
|
40
41
|
"@types/react": "^17.0.0",
|