@aprilium/tripsm_global-states 0.0.657 → 0.0.659
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 +6 -6
- package/lib/index.js +19 -19
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -17,9 +17,9 @@ import { State as passengerHotelState } from "@aprilium/tripsm_passenger-hotel/l
|
|
|
17
17
|
import { State as hotelState } from "@aprilium/tripsm_hotel/lib/packages/hotel/src/state";
|
|
18
18
|
import { State as ticketState } from "@aprilium/tripsm_ticket/lib/packages/ticket/src/state";
|
|
19
19
|
import { State as tripHotelState } from "@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/state";
|
|
20
|
-
import { State as tripFavorisState } from "@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/state";
|
|
21
20
|
import { State as passengerGroupState } from "@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/state";
|
|
22
21
|
import { State as passengerPackState } from "@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/state";
|
|
22
|
+
import { State as tripFavorisState } from "@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/state";
|
|
23
23
|
import { State as luggageState } from "@aprilium/tripsm_luggage/lib/packages/luggage/src/state";
|
|
24
24
|
import { State as luggageTrackingState } from "@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/state";
|
|
25
25
|
import { State as identityTypeState } from "@aprilium/tripsm_identity-type/lib/packages/identity-type/src/state";
|
|
@@ -56,9 +56,9 @@ import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/packages/pa
|
|
|
56
56
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/packages/hotel/src/effects";
|
|
57
57
|
import TicketSaga from "@aprilium/tripsm_ticket/lib/packages/ticket/src/effects";
|
|
58
58
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/effects";
|
|
59
|
-
import TripFavorisSaga from "@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/effects";
|
|
60
59
|
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/effects";
|
|
61
60
|
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/effects";
|
|
61
|
+
import TripFavorisSaga from "@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/effects";
|
|
62
62
|
import LuggageSaga from "@aprilium/tripsm_luggage/lib/packages/luggage/src/effects";
|
|
63
63
|
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/effects";
|
|
64
64
|
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/packages/identity-type/src/effects";
|
|
@@ -98,9 +98,9 @@ export declare const reducers: {
|
|
|
98
98
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/packages/hotel/src/state").HotelState>;
|
|
99
99
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/packages/ticket/src/state").TicketState>;
|
|
100
100
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/state").TripHotelState>;
|
|
101
|
-
tripFavoris: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/state").TripFavorisState>;
|
|
102
101
|
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/state").PassengerGroupState>;
|
|
103
102
|
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/state").PassengerPackState>;
|
|
103
|
+
tripFavoris: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/state").TripFavorisState>;
|
|
104
104
|
luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/packages/luggage/src/state").LuggageState>;
|
|
105
105
|
luggageTracking: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/state").LuggageTrackingState>;
|
|
106
106
|
identityType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity-type/lib/packages/identity-type/src/state").IdentityTypeState>;
|
|
@@ -138,9 +138,9 @@ export declare const initialSagas: {
|
|
|
138
138
|
hotel: typeof HotelSaga;
|
|
139
139
|
ticket: typeof TicketSaga;
|
|
140
140
|
tripHotel: typeof TripHotelSaga;
|
|
141
|
-
tripFavoris: typeof TripFavorisSaga;
|
|
142
141
|
passengerGroup: typeof PassengerGroupSaga;
|
|
143
142
|
passengerPack: typeof PassengerPackSaga;
|
|
143
|
+
tripFavoris: typeof TripFavorisSaga;
|
|
144
144
|
luggage: typeof LuggageSaga;
|
|
145
145
|
luggageTracking: typeof LuggageTrackingSaga;
|
|
146
146
|
identityType: typeof IdentityTypeSaga;
|
|
@@ -180,6 +180,7 @@ export type States = {
|
|
|
180
180
|
tripHotel: tripHotelState;
|
|
181
181
|
passengerGroup: passengerGroupState;
|
|
182
182
|
passengerPack: passengerPackState;
|
|
183
|
+
tripFavoris: tripFavorisState;
|
|
183
184
|
luggage: luggageState;
|
|
184
185
|
luggagTracking: luggageTrackingState;
|
|
185
186
|
identityType: identityTypeState;
|
|
@@ -197,12 +198,11 @@ export type States = {
|
|
|
197
198
|
packTransportation: packTransportationState;
|
|
198
199
|
passengerLocation: passengerLocationState;
|
|
199
200
|
reservationRequest: reservationRequestState;
|
|
200
|
-
tripFavoris: tripFavorisState;
|
|
201
201
|
packFavoris: packFavorisState;
|
|
202
202
|
};
|
|
203
203
|
export type StateName = "passenger-pack" | "room" | "pack" | "guest" | "passengersState" | "constants" | "group" | "user" | "visaType" | "visaCategory" | "VisaStatus" | "visa" | "visaRequest" | "identity" | "passengerHotel" | "tripHotel" | "hotel" | "ticket" | "passenger-group" | "luggage" | "luggage-tracking" | "identity-type" | "relation" | "trip" | "trip-picture" | "payment-state" | "payment-history" | "customer" | "reservation" | "trip-transportation" | "passenger-pathology" | "packOption" | "pack-hotel" | "pack-transportation" | "passenger-location" | "reservation-request";
|
|
204
204
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
205
|
-
export declare const sagas: (typeof passengerSaga | typeof constantsSaga | typeof TripSaga | typeof TripPictureSaga | typeof groupSaga | typeof userSaga | typeof guestSaga | typeof visaTypeSaga | typeof visaCategorySaga | typeof VisaStatusSaga | typeof VisaSaga | typeof VisaRequestSaga | typeof IdentitySaga | typeof PassengerHotelSaga | typeof HotelSaga | typeof TicketSaga | typeof TripHotelSaga | typeof
|
|
205
|
+
export declare const sagas: (typeof passengerSaga | typeof constantsSaga | typeof TripSaga | typeof TripPictureSaga | typeof groupSaga | typeof userSaga | typeof guestSaga | typeof visaTypeSaga | typeof visaCategorySaga | typeof VisaStatusSaga | typeof VisaSaga | typeof VisaRequestSaga | typeof IdentitySaga | typeof PassengerHotelSaga | typeof HotelSaga | typeof TicketSaga | typeof TripHotelSaga | typeof PassengerGroupSaga | typeof PassengerPackSaga | typeof TripFavorisSaga | typeof LuggageSaga | typeof LuggageTrackingSaga | typeof IdentityTypeSaga | typeof RelationSaga | typeof PaymentSaga | typeof ReservationSaga | typeof RoomSaga | typeof PackSaga | typeof PaymentHistorySaga | typeof CustomerSaga | typeof TripTransportationSaga | typeof PassengerPathologySaga | typeof packOptionSaga | typeof PackHotelSaga | typeof PackTransportationSaga | typeof PassengerLocationSaga | typeof ReservationRequestSaga | typeof PackFavorisSaga)[];
|
|
206
206
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
207
207
|
waitForRehydrate?: boolean): void;
|
|
208
208
|
declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
|
package/lib/index.js
CHANGED
|
@@ -71,9 +71,9 @@ var index_12 = require("@aprilium/tripsm_passenger-hotel/lib/packages/passenger-
|
|
|
71
71
|
var index_13 = require("@aprilium/tripsm_hotel/lib/packages/hotel/src/index");
|
|
72
72
|
var index_14 = require("@aprilium/tripsm_ticket/lib/packages/ticket/src/index");
|
|
73
73
|
var index_15 = require("@aprilium//tripsm_trip-hotel/lib/packages/trip-hotel/src/index");
|
|
74
|
-
var index_16 = require("@aprilium
|
|
75
|
-
var index_17 = require("@aprilium/tripsm_passenger-
|
|
76
|
-
var index_18 = require("@aprilium
|
|
74
|
+
var index_16 = require("@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/index");
|
|
75
|
+
var index_17 = require("@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/index");
|
|
76
|
+
var index_18 = require("@aprilium//tripsm_trip-favoris/lib/packages/trip-favoris/src/index");
|
|
77
77
|
var index_19 = require("@aprilium/tripsm_luggage/lib/packages/luggage/src/index");
|
|
78
78
|
var index_20 = require("@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/index");
|
|
79
79
|
var index_21 = require("@aprilium/tripsm_identity-type/lib/packages/identity-type/src/index");
|
|
@@ -109,9 +109,9 @@ var state_11 = require("@aprilium/tripsm_passenger-hotel/lib/packages/passenger-
|
|
|
109
109
|
var state_12 = require("@aprilium/tripsm_hotel/lib/packages/hotel/src/state");
|
|
110
110
|
var state_13 = require("@aprilium/tripsm_ticket/lib/packages/ticket/src/state");
|
|
111
111
|
var state_14 = require("@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/state");
|
|
112
|
-
var state_15 = require("@aprilium/
|
|
113
|
-
var state_16 = require("@aprilium/tripsm_passenger-
|
|
114
|
-
var state_17 = require("@aprilium/
|
|
112
|
+
var state_15 = require("@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/state");
|
|
113
|
+
var state_16 = require("@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/state");
|
|
114
|
+
var state_17 = require("@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/state");
|
|
115
115
|
var state_18 = require("@aprilium/tripsm_luggage/lib/packages/luggage/src/state");
|
|
116
116
|
var state_19 = require("@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/state");
|
|
117
117
|
var state_20 = require("@aprilium/tripsm_identity-type/lib/packages/identity-type/src/state");
|
|
@@ -149,9 +149,9 @@ var effects_13 = __importDefault(require("@aprilium/tripsm_passenger-hotel/lib/p
|
|
|
149
149
|
var effects_14 = __importDefault(require("@aprilium/tripsm_hotel/lib/packages/hotel/src/effects"));
|
|
150
150
|
var effects_15 = __importDefault(require("@aprilium/tripsm_ticket/lib/packages/ticket/src/effects"));
|
|
151
151
|
var effects_16 = __importDefault(require("@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/effects"));
|
|
152
|
-
var effects_17 = __importDefault(require("@aprilium/
|
|
153
|
-
var effects_18 = __importDefault(require("@aprilium/tripsm_passenger-
|
|
154
|
-
var effects_19 = __importDefault(require("@aprilium/
|
|
152
|
+
var effects_17 = __importDefault(require("@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/effects"));
|
|
153
|
+
var effects_18 = __importDefault(require("@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/effects"));
|
|
154
|
+
var effects_19 = __importDefault(require("@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/effects"));
|
|
155
155
|
var effects_20 = __importDefault(require("@aprilium/tripsm_luggage/lib/packages/luggage/src/effects"));
|
|
156
156
|
var effects_21 = __importDefault(require("@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/effects"));
|
|
157
157
|
var effects_22 = __importDefault(require("@aprilium/tripsm_identity-type/lib/packages/identity-type/src/effects"));
|
|
@@ -191,9 +191,9 @@ exports.reducers = {
|
|
|
191
191
|
hotel: state_12.HotelReducerFunction,
|
|
192
192
|
ticket: state_13.TicketReducerFunction,
|
|
193
193
|
tripHotel: state_14.TripHotelReducerFunction,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
194
|
+
passengerGroup: state_15.PassengerGroupReducerFunction,
|
|
195
|
+
passengerPack: state_16.PassengerPackReducerFunction,
|
|
196
|
+
tripFavoris: state_17.TripFavorisReducerFunction,
|
|
197
197
|
luggage: state_18.LuggageReducerFunction,
|
|
198
198
|
luggageTracking: state_19.LuggageTrackingReducerFunction,
|
|
199
199
|
identityType: state_20.IdentityTypeReducerFunction,
|
|
@@ -231,9 +231,9 @@ exports.initialSagas = {
|
|
|
231
231
|
hotel: effects_14.default,
|
|
232
232
|
ticket: effects_15.default,
|
|
233
233
|
tripHotel: effects_16.default,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
passengerGroup: effects_17.default,
|
|
235
|
+
passengerPack: effects_18.default,
|
|
236
|
+
tripFavoris: effects_19.default,
|
|
237
237
|
luggage: effects_20.default,
|
|
238
238
|
luggageTracking: effects_21.default,
|
|
239
239
|
identityType: effects_22.default,
|
|
@@ -253,7 +253,7 @@ exports.initialSagas = {
|
|
|
253
253
|
reservationRequest: effects_38.default,
|
|
254
254
|
packFavoris: effects_39.default
|
|
255
255
|
};
|
|
256
|
-
"trip-
|
|
256
|
+
"trip-favoris";
|
|
257
257
|
"pack-favoris";
|
|
258
258
|
function setUrlConfig(coreApi, debugMode) {
|
|
259
259
|
if (debugMode === void 0) { debugMode = false; }
|
|
@@ -321,7 +321,7 @@ function setUrlConfig(coreApi, debugMode) {
|
|
|
321
321
|
CORE_BASE_URL: coreApi,
|
|
322
322
|
DEBUG_MODE: debugMode,
|
|
323
323
|
});
|
|
324
|
-
|
|
324
|
+
index_16.urlsConfig.setURls({
|
|
325
325
|
CORE_BASE_URL: coreApi,
|
|
326
326
|
DEBUG_MODE: debugMode,
|
|
327
327
|
});
|
|
@@ -373,7 +373,7 @@ function setUrlConfig(coreApi, debugMode) {
|
|
|
373
373
|
CORE_BASE_URL: coreApi,
|
|
374
374
|
DEBUG_MODE: debugMode,
|
|
375
375
|
});
|
|
376
|
-
|
|
376
|
+
index_17.urlsConfig.setURls({
|
|
377
377
|
CORE_BASE_URL: coreApi,
|
|
378
378
|
DEBUG_MODE: debugMode,
|
|
379
379
|
});
|
|
@@ -409,7 +409,7 @@ function setUrlConfig(coreApi, debugMode) {
|
|
|
409
409
|
CORE_BASE_URL: coreApi,
|
|
410
410
|
DEBUG_MODE: debugMode,
|
|
411
411
|
});
|
|
412
|
-
|
|
412
|
+
index_18.urlsConfig.setURls({
|
|
413
413
|
CORE_BASE_URL: coreApi,
|
|
414
414
|
DEBUG_MODE: debugMode,
|
|
415
415
|
});
|
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.659",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aprilium/tripsm_luggage": "^0.0.17",
|
|
23
23
|
"@aprilium/tripsm_luggage-tracking": "^0.0.13",
|
|
24
24
|
"@aprilium/tripsm_pack": "^0.0.30",
|
|
25
|
-
"@aprilium/tripsm_pack-favoris": "^0.0.
|
|
25
|
+
"@aprilium/tripsm_pack-favoris": "^0.0.6",
|
|
26
26
|
"@aprilium/tripsm_passenger": "^0.0.120",
|
|
27
27
|
"@aprilium/tripsm_passenger-group": "^0.0.21",
|
|
28
28
|
"@aprilium/tripsm_passenger-hotel": "^0.0.18",
|