@aprilium/tripsm_global-states 0.1.71 → 0.1.73
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 +23 -34
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -58,7 +58,6 @@ import { State as paymentNotificationState } from "@aprilium/tripsm_payment-noti
|
|
|
58
58
|
import passengerSaga from "@aprilium/tripsm_passenger/lib/packages/passenger/src/effects";
|
|
59
59
|
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/packages/visa-type/src/effects";
|
|
60
60
|
import constantsSaga from "@aprilium/tripsm_constants/lib/packages/constant/src/effects";
|
|
61
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/packages/trip-group/src/effects";
|
|
62
61
|
import userSaga from "@aprilium/tripsm_user/lib/packages/user/src/effects";
|
|
63
62
|
import guestSaga from "@aprilium/tripsm_guest/lib/packages/guest/src/effects";
|
|
64
63
|
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/packages/visa-category/src/effects";
|
|
@@ -67,32 +66,24 @@ import VisaSaga from "@aprilium/tripsm_visa/lib/packages/visa/src/effects";
|
|
|
67
66
|
import MessageSaga from "@aprilium/tripsm_message/lib/packages/message/src/effects";
|
|
68
67
|
import MessageOneToOneSaga from "@aprilium/tripsm_private-message/lib/packages/private-message/src/effects";
|
|
69
68
|
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/packages/visa-request/src/effects";
|
|
70
|
-
import IdentitySaga from "@aprilium/tripsm_identity/lib/packages/identity/src/effects";
|
|
71
69
|
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/packages/passenger-hotel/src/effects";
|
|
72
|
-
import HotelSaga from "@aprilium/tripsm_hotel/lib/packages/hotel/src/effects";
|
|
73
70
|
import TicketSaga from "@aprilium/tripsm_ticket/lib/packages/ticket/src/effects";
|
|
74
71
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/effects";
|
|
75
72
|
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/effects";
|
|
76
73
|
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/effects";
|
|
77
|
-
import TripFavorisSaga from "@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/effects";
|
|
78
74
|
import PackFavorisSaga from "@aprilium/tripsm_favoris-pack/lib/packages/favoris-pack/src/effects";
|
|
79
75
|
import LuggageSaga from "@aprilium/tripsm_luggage/lib/packages/luggage/src/effects";
|
|
80
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/effects";
|
|
81
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/packages/identity-type/src/effects";
|
|
82
76
|
import RelationSaga from "@aprilium/tripsm_relation/lib/packages/relation/src/effects";
|
|
83
77
|
import TripSaga from "@aprilium/tripsm_trip/lib/packages/trip/src/effects";
|
|
84
78
|
import TripPictureSaga from "@aprilium/tripsm_trip-picture/lib/packages/trippicture/src/effects";
|
|
85
79
|
import PaymentSaga from "@aprilium/tripsm_payment/lib/packages/payment/src/effects";
|
|
86
80
|
import ReservationSaga from "@aprilium/tripsm_reservation/lib/packages/reservation/src/effects";
|
|
87
81
|
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/packages/payment-history/src/effects";
|
|
88
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/packages/customer/src/effects";
|
|
89
82
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/packages/trip-transportation/src/effects";
|
|
90
83
|
import RoomSaga from "@aprilium/tripsm_room/lib/packages/room/src/effects";
|
|
91
84
|
import PackSaga from "@aprilium/tripsm_pack/lib/packages/pack/src/effects";
|
|
92
85
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/packages/passenger-pathology/src/effects";
|
|
93
|
-
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/packages/pack-options/src/effects";
|
|
94
86
|
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
87
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/packages/pack-transportation/src/effects";
|
|
97
88
|
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/packages/passengers-location/src/effects";
|
|
98
89
|
import ReservationRequestSaga from "@aprilium/tripsm_reservation-request/lib/packages/reservation-request/src/effects";
|
|
@@ -105,15 +96,13 @@ import ReservationRequestPassengerLinkSaga from "@aprilium/tripsm_reservation-re
|
|
|
105
96
|
import SupportConversationSaga from "@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/effects";
|
|
106
97
|
import MessageSupportSaga from "@aprilium/tripsm_message-support/lib/packages/message-support/src/effects";
|
|
107
98
|
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
99
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
111
100
|
export declare const reducers: {
|
|
112
101
|
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/packages/passenger/src/state").PassengerState>;
|
|
113
102
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/packages/constant/src/state").ConstantState>;
|
|
114
103
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/packages/trip/src/state").TripState>;
|
|
115
104
|
tripPicture: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-picture/lib/packages/trippicture/src/state").TripPictureState>;
|
|
116
|
-
group:
|
|
105
|
+
group: any;
|
|
117
106
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/packages/user/src/state").UserState>;
|
|
118
107
|
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/packages/guest/src/state").GuestState>;
|
|
119
108
|
visaType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-type/lib/packages/visa-type/src/state").VisaTypeState>;
|
|
@@ -123,30 +112,30 @@ export declare const reducers: {
|
|
|
123
112
|
message: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_message/lib/packages/message/src/state").MessageState>;
|
|
124
113
|
messageOneToOne: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_private-message/lib/packages/private-message/src/state").MessageOneToOneState>;
|
|
125
114
|
visaRequest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-request/lib/packages/visa-request/src/state").VisaRequestState>;
|
|
126
|
-
identity:
|
|
115
|
+
identity: any;
|
|
127
116
|
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/packages/passenger-hotel/src/state").PassengerHotelState>;
|
|
128
|
-
hotel:
|
|
117
|
+
hotel: any;
|
|
129
118
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/packages/ticket/src/state").TicketState>;
|
|
130
119
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/state").TripHotelState>;
|
|
131
120
|
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/state").PassengerGroupState>;
|
|
132
121
|
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/state").PassengerPackState>;
|
|
133
|
-
tripFavoris:
|
|
122
|
+
tripFavoris: any;
|
|
134
123
|
packFavoris: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_favoris-pack/lib/packages/favoris-pack/src/state").PackFavorisState>;
|
|
135
124
|
luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/packages/luggage/src/state").LuggageState>;
|
|
136
|
-
luggageTracking:
|
|
137
|
-
identityType:
|
|
125
|
+
luggageTracking: any;
|
|
126
|
+
identityType: any;
|
|
138
127
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/packages/relation/src/state").RelationState>;
|
|
139
128
|
payment: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment/lib/packages/payment/src/state").PaymentState>;
|
|
140
129
|
reservation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation/lib/packages/reservation/src/state").ReservationState>;
|
|
141
130
|
room: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_room/lib/packages/room/src/state").RoomState>;
|
|
142
131
|
pack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack/lib/packages/pack/src/state").PackState>;
|
|
143
132
|
paymentHistory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment-history/lib/packages/payment-history/src/state").PaymentHistoryState>;
|
|
144
|
-
customer:
|
|
133
|
+
customer: any;
|
|
145
134
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/packages/trip-transportation/src/state").TripTransportationState>;
|
|
146
135
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/packages/passenger-pathology/src/state").PassengerPathologyState>;
|
|
147
|
-
packOption:
|
|
136
|
+
packOption: any;
|
|
148
137
|
hotelOptions: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel-options/lib/packages/hotel-options/src/state").HotelOptionsState>;
|
|
149
|
-
packHotel:
|
|
138
|
+
packHotel: any;
|
|
150
139
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/packages/pack-transportation/src/state").PackTransportationState>;
|
|
151
140
|
passengerConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-conversation/lib/packages/passenger-conversation/src/state").PassengerConversationState>;
|
|
152
141
|
conversationOneToOne: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_private-conversation/lib/packages/private-conversation/src/state").ConversationOneToOneState>;
|
|
@@ -159,15 +148,15 @@ export declare const reducers: {
|
|
|
159
148
|
supportConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/state").SupportConversationState>;
|
|
160
149
|
messageSupport: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_message-support/lib/packages/message-support/src/state").MessageSupportState>;
|
|
161
150
|
unassignedSupportNotifications: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/state").UnassignedSupportNotificationsState>;
|
|
162
|
-
agency:
|
|
163
|
-
paymentNotification:
|
|
151
|
+
agency: any;
|
|
152
|
+
paymentNotification: any;
|
|
164
153
|
};
|
|
165
154
|
export declare const initialSagas: {
|
|
166
155
|
passenger: typeof passengerSaga;
|
|
167
156
|
constants: typeof constantsSaga;
|
|
168
157
|
trip: typeof TripSaga;
|
|
169
158
|
tripPicture: typeof TripPictureSaga;
|
|
170
|
-
group:
|
|
159
|
+
group: any;
|
|
171
160
|
user: typeof userSaga;
|
|
172
161
|
guest: typeof guestSaga;
|
|
173
162
|
visaType: typeof visaTypeSaga;
|
|
@@ -177,30 +166,30 @@ export declare const initialSagas: {
|
|
|
177
166
|
message: typeof MessageSaga;
|
|
178
167
|
messageOneToOne: typeof MessageOneToOneSaga;
|
|
179
168
|
visaRequest: typeof VisaRequestSaga;
|
|
180
|
-
identity:
|
|
169
|
+
identity: any;
|
|
181
170
|
passengerHotel: typeof PassengerHotelSaga;
|
|
182
|
-
hotel:
|
|
171
|
+
hotel: any;
|
|
183
172
|
ticket: typeof TicketSaga;
|
|
184
173
|
tripHotel: typeof TripHotelSaga;
|
|
185
174
|
passengerGroup: typeof PassengerGroupSaga;
|
|
186
175
|
passengerPack: typeof PassengerPackSaga;
|
|
187
|
-
tripFavoris:
|
|
176
|
+
tripFavoris: any;
|
|
188
177
|
packFavoris: typeof PackFavorisSaga;
|
|
189
178
|
luggage: typeof LuggageSaga;
|
|
190
|
-
luggageTracking:
|
|
191
|
-
identityType:
|
|
179
|
+
luggageTracking: any;
|
|
180
|
+
identityType: any;
|
|
192
181
|
relation: typeof RelationSaga;
|
|
193
182
|
payment: typeof PaymentSaga;
|
|
194
183
|
reservation: typeof ReservationSaga;
|
|
195
184
|
room: typeof RoomSaga;
|
|
196
185
|
pack: typeof PackSaga;
|
|
197
186
|
paymentHistory: typeof PaymentHistorySaga;
|
|
198
|
-
customer:
|
|
187
|
+
customer: any;
|
|
199
188
|
tripTransportation: typeof TripTransportationSaga;
|
|
200
189
|
passengerPathology: typeof PassengerPathologySaga;
|
|
201
|
-
packOption:
|
|
190
|
+
packOption: any;
|
|
202
191
|
hotelOptions: typeof hotelOptionsSaga;
|
|
203
|
-
packHotel:
|
|
192
|
+
packHotel: any;
|
|
204
193
|
packTransportation: typeof PackTransportationSaga;
|
|
205
194
|
passengerLocation: typeof PassengerLocationSaga;
|
|
206
195
|
reservationRequest: typeof ReservationRequestSaga;
|
|
@@ -213,8 +202,8 @@ export declare const initialSagas: {
|
|
|
213
202
|
supportConversation: typeof SupportConversationSaga;
|
|
214
203
|
messageSupport: typeof MessageSupportSaga;
|
|
215
204
|
unassignedSupportNotifications: typeof UnassignedSupportNotificationsSaga;
|
|
216
|
-
agency:
|
|
217
|
-
paymentNotification:
|
|
205
|
+
agency: any;
|
|
206
|
+
paymentNotification: any;
|
|
218
207
|
};
|
|
219
208
|
export type States = {
|
|
220
209
|
passengersState: passengersState;
|
|
@@ -272,7 +261,7 @@ export type States = {
|
|
|
272
261
|
};
|
|
273
262
|
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
263
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
275
|
-
export declare const sagas:
|
|
264
|
+
export declare const sagas: any[];
|
|
276
265
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
277
266
|
waitForRehydrate?: boolean): void;
|
|
278
267
|
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.73",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@aprilium/tripsm_common": "^0.0.18",
|
|
16
|
-
"@aprilium/tripsm_constants": "^0.0.
|
|
16
|
+
"@aprilium/tripsm_constants": "^0.0.96",
|
|
17
17
|
"@aprilium/tripsm_customer": "^0.0.8",
|
|
18
18
|
"@aprilium/tripsm_guest": "^0.0.71",
|
|
19
19
|
"@aprilium/tripsm_hotel": "^0.0.17",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@aprilium/tripsm_pack-hotel": "^0.0.15",
|
|
51
51
|
"@aprilium/tripsm_pack-options": "^0.0.13",
|
|
52
52
|
"@aprilium/tripsm_pack-transportation": "^0.0.11",
|
|
53
|
-
"@aprilium/tripsm_passenger-pack": "^0.0.
|
|
53
|
+
"@aprilium/tripsm_passenger-pack": "^0.0.35",
|
|
54
54
|
"@aprilium/tripsm_trip-group": "^0.0.40",
|
|
55
55
|
"@aprilium/tripsm_guest-expo-token": "^0.0.4",
|
|
56
56
|
"@aprilium/tripsm_private-message": "^0.0.6",
|