@aprilium/tripsm_global-states 0.0.892 → 0.0.893
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 +10 -7
- package/package.json +6 -2
package/lib/index.d.ts
CHANGED
|
@@ -100,6 +100,9 @@ import PassengerConversationSaga from "@aprilium/tripsm_passenger-conversation/l
|
|
|
100
100
|
import ConversationOneToOneSaga from "@aprilium/tripsm_private-conversation/lib/packages/private-conversation/src/effects";
|
|
101
101
|
import ReservationRequestUserSeenSaga from "@aprilium/tripsm_reservation-request-seen/lib/packages/reservation-request-seen/src/effects";
|
|
102
102
|
import ReservationRequestPassengerLinkSaga from "@aprilium/tripsm_reservation-request-link/lib/packages/reservation-request-link/src/effects";
|
|
103
|
+
import SupportConversationSaga from "@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/effects";
|
|
104
|
+
import MessageSupportSaga from "@aprilium/tripsm_message-support/lib/packages/message-support/src/effects";
|
|
105
|
+
import ConversationNotificationSaga from "@aprilium/tripsm_conversation-notification/lib/packages/conversation-notification/src/effects";
|
|
103
106
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
104
107
|
export declare const reducers: {
|
|
105
108
|
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/packages/passenger/src/state").PassengerState>;
|
|
@@ -149,9 +152,9 @@ export declare const reducers: {
|
|
|
149
152
|
reservationRequestUserSeen: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation-request-seen/lib/packages/reservation-request-seen/src/state").ReservationRequestUserSeenState>;
|
|
150
153
|
reservationRequestPassengerLink: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation-request-link/lib/packages/reservation-request-link/src/state").ReservationRequestPassengerLinkState>;
|
|
151
154
|
permission: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_permission/lib/packages/permission/src/state").PermissionState>;
|
|
152
|
-
supportConversation:
|
|
153
|
-
messageSupport:
|
|
154
|
-
conversationNotification:
|
|
155
|
+
supportConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/state").SupportConversationState>;
|
|
156
|
+
messageSupport: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_message-support/lib/packages/message-support/src/state").MessageSupportState>;
|
|
157
|
+
conversationNotification: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_conversation-notification/lib/packages/conversation-notification/src/state").ConversationNotificationState>;
|
|
155
158
|
};
|
|
156
159
|
export declare const initialSagas: {
|
|
157
160
|
passenger: typeof passengerSaga;
|
|
@@ -201,9 +204,9 @@ export declare const initialSagas: {
|
|
|
201
204
|
reservationRequestUserSeen: typeof ReservationRequestUserSeenSaga;
|
|
202
205
|
reservationRequestPassengerLink: typeof ReservationRequestPassengerLinkSaga;
|
|
203
206
|
permission: typeof PermissionSaga;
|
|
204
|
-
supportConversation:
|
|
205
|
-
messageSupport:
|
|
206
|
-
conversationNotification:
|
|
207
|
+
supportConversation: typeof SupportConversationSaga;
|
|
208
|
+
messageSupport: typeof MessageSupportSaga;
|
|
209
|
+
conversationNotification: typeof ConversationNotificationSaga;
|
|
207
210
|
};
|
|
208
211
|
export type States = {
|
|
209
212
|
passengersState: passengersState;
|
|
@@ -259,7 +262,7 @@ export type States = {
|
|
|
259
262
|
};
|
|
260
263
|
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" | "conversation-notification";
|
|
261
264
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
262
|
-
export declare const sagas:
|
|
265
|
+
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 MessageSaga | typeof MessageOneToOneSaga | typeof VisaRequestSaga | typeof IdentitySaga | typeof PassengerHotelSaga | typeof HotelSaga | typeof TicketSaga | typeof TripHotelSaga | typeof PassengerGroupSaga | typeof PassengerPackSaga | typeof TripFavorisSaga | typeof PackFavorisSaga | 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 hotelOptionsSaga | typeof PackHotelSaga | typeof PackTransportationSaga | typeof PassengerLocationSaga | typeof ReservationRequestSaga | typeof GuestExpoTokenSaga | typeof PassengerConversationSaga | typeof ConversationOneToOneSaga | typeof ReservationRequestUserSeenSaga | typeof ReservationRequestPassengerLinkSaga | typeof PermissionSaga | typeof SupportConversationSaga | typeof MessageSupportSaga | typeof ConversationNotificationSaga)[];
|
|
263
266
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
264
267
|
waitForRehydrate?: boolean): void;
|
|
265
268
|
declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aprilium/tripsm_global-states",
|
|
3
3
|
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.893",
|
|
5
5
|
|
|
6
6
|
"description": "global states",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@aprilium/tripsm_common": "^0.0.15",
|
|
18
18
|
"@aprilium/tripsm_constants": "^0.0.82",
|
|
19
19
|
"@aprilium/tripsm_customer": "^0.0.5",
|
|
20
|
-
"@aprilium/tripsm_guest": "^0.0.
|
|
20
|
+
"@aprilium/tripsm_guest": "^0.0.69",
|
|
21
21
|
"@aprilium/tripsm_hotel": "^0.0.13",
|
|
22
22
|
"@aprilium/tripsm_identity": "^0.0.31",
|
|
23
23
|
"@aprilium/tripsm_identity-type": "^0.0.12",
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
"@aprilium/tripsm_support-conversation": "^0.0.1",
|
|
66
66
|
"@aprilium/tripsm_message-support": "^0.0.1",
|
|
67
67
|
"@aprilium/tripsm_conversation-notification": "^0.0.2",
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
68
72
|
"@types/react": "^17.0.0",
|
|
69
73
|
"axios": "^0.21.1",
|
|
70
74
|
"dotenv": "^16.4.5",
|