@aprilium/tripsm_global-states 0.1.74 → 0.1.76
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 -10
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
|
@@ -92,7 +92,6 @@ import PackSaga from "@aprilium/tripsm_pack/lib/packages/pack/src/effects";
|
|
|
92
92
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/packages/passenger-pathology/src/effects";
|
|
93
93
|
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/packages/pack-options/src/effects";
|
|
94
94
|
import hotelOptionsSaga from "@aprilium/tripsm_hotel-options/lib/packages/hotel-options/src/effects";
|
|
95
|
-
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/packages/pack-hotel/src/effects";
|
|
96
95
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/packages/pack-transportation/src/effects";
|
|
97
96
|
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/packages/passengers-location/src/effects";
|
|
98
97
|
import ReservationRequestSaga from "@aprilium/tripsm_reservation-request/lib/packages/reservation-request/src/effects";
|
|
@@ -105,8 +104,6 @@ import ReservationRequestPassengerLinkSaga from "@aprilium/tripsm_reservation-re
|
|
|
105
104
|
import SupportConversationSaga from "@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/effects";
|
|
106
105
|
import MessageSupportSaga from "@aprilium/tripsm_message-support/lib/packages/message-support/src/effects";
|
|
107
106
|
import UnassignedSupportNotificationsSaga from "@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/effects";
|
|
108
|
-
import AgencySaga from "@aprilium/tripsm_agency/lib/packages/agency/src/effects";
|
|
109
|
-
import PaymentNotificationSaga from "@aprilium/tripsm_payment-notification/lib/packages/payment-notification/src/effects";
|
|
110
107
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
111
108
|
export declare const reducers: {
|
|
112
109
|
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/packages/passenger/src/state").PassengerState>;
|
|
@@ -146,7 +143,7 @@ export declare const reducers: {
|
|
|
146
143
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/packages/passenger-pathology/src/state").PassengerPathologyState>;
|
|
147
144
|
packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/packages/pack-options/src/state").PackOptionState>;
|
|
148
145
|
hotelOptions: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel-options/lib/packages/hotel-options/src/state").HotelOptionsState>;
|
|
149
|
-
packHotel:
|
|
146
|
+
packHotel: any;
|
|
150
147
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/packages/pack-transportation/src/state").PackTransportationState>;
|
|
151
148
|
passengerConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-conversation/lib/packages/passenger-conversation/src/state").PassengerConversationState>;
|
|
152
149
|
conversationOneToOne: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_private-conversation/lib/packages/private-conversation/src/state").ConversationOneToOneState>;
|
|
@@ -159,8 +156,8 @@ export declare const reducers: {
|
|
|
159
156
|
supportConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/state").SupportConversationState>;
|
|
160
157
|
messageSupport: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_message-support/lib/packages/message-support/src/state").MessageSupportState>;
|
|
161
158
|
unassignedSupportNotifications: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/state").UnassignedSupportNotificationsState>;
|
|
162
|
-
agency:
|
|
163
|
-
paymentNotification:
|
|
159
|
+
agency: any;
|
|
160
|
+
paymentNotification: any;
|
|
164
161
|
};
|
|
165
162
|
export declare const initialSagas: {
|
|
166
163
|
passenger: typeof passengerSaga;
|
|
@@ -200,7 +197,7 @@ export declare const initialSagas: {
|
|
|
200
197
|
passengerPathology: typeof PassengerPathologySaga;
|
|
201
198
|
packOption: typeof packOptionSaga;
|
|
202
199
|
hotelOptions: typeof hotelOptionsSaga;
|
|
203
|
-
packHotel:
|
|
200
|
+
packHotel: any;
|
|
204
201
|
packTransportation: typeof PackTransportationSaga;
|
|
205
202
|
passengerLocation: typeof PassengerLocationSaga;
|
|
206
203
|
reservationRequest: typeof ReservationRequestSaga;
|
|
@@ -213,8 +210,8 @@ export declare const initialSagas: {
|
|
|
213
210
|
supportConversation: typeof SupportConversationSaga;
|
|
214
211
|
messageSupport: typeof MessageSupportSaga;
|
|
215
212
|
unassignedSupportNotifications: typeof UnassignedSupportNotificationsSaga;
|
|
216
|
-
agency:
|
|
217
|
-
paymentNotification:
|
|
213
|
+
agency: any;
|
|
214
|
+
paymentNotification: any;
|
|
218
215
|
};
|
|
219
216
|
export type States = {
|
|
220
217
|
passengersState: passengersState;
|
|
@@ -272,7 +269,7 @@ export type States = {
|
|
|
272
269
|
};
|
|
273
270
|
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" | "hotelOptions" | "pack-hotel" | "pack-transportation" | "passenger-location" | "reservation-request" | "trip-favoris" | "guest-expo-token" | "favoris-pack" | "visa" | "passenger-conversation" | "message" | "reservation-request-seen" | "private-message" | "private-conversation" | "reservation-request-link" | "permission" | "support-conversation" | "message-support" | "unassigned-support-notifications" | "hotel" | "payment-notification";
|
|
274
271
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
275
|
-
export declare const sagas:
|
|
272
|
+
export declare const sagas: any[];
|
|
276
273
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
277
274
|
waitForRehydrate?: boolean): void;
|
|
278
275
|
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.1.
|
|
3
|
+
"version": "0.1.76",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"@aprilium/tripsm_constants": "^0.0.96",
|
|
17
17
|
"@aprilium/tripsm_customer": "^0.0.8",
|
|
18
18
|
"@aprilium/tripsm_guest": "^0.0.71",
|
|
19
|
-
"@aprilium/tripsm_hotel": "^0.0.
|
|
19
|
+
"@aprilium/tripsm_hotel": "^0.0.18",
|
|
20
20
|
"@aprilium/tripsm_identity": "^0.0.41",
|
|
21
21
|
"@aprilium/tripsm_identity-type": "^0.0.13",
|
|
22
|
-
"@aprilium/tripsm_luggage": "^0.0.
|
|
22
|
+
"@aprilium/tripsm_luggage": "^0.0.30",
|
|
23
23
|
"@aprilium/tripsm_luggage-tracking": "^0.0.14",
|
|
24
24
|
"@aprilium/tripsm_pack": "^0.0.50",
|
|
25
25
|
"@aprilium/tripsm_favoris-pack": "^0.0.8",
|
|
@@ -83,4 +83,4 @@
|
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@types/normalize-package-data": "^2.4.4"
|
|
85
85
|
}
|
|
86
|
-
}
|
|
86
|
+
}
|