@aprilium/tripsm_global-states 0.1.52 → 0.1.53
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 +87 -130
- package/package.json +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -55,163 +55,120 @@ import { State as messageSupportState } from "@aprilium/tripsm_message-support/l
|
|
|
55
55
|
import { State as unassignedSupportNotificationsState } from "@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/state";
|
|
56
56
|
import { State as agencyState } from "@aprilium/tripsm_agency/lib/packages/agency/src/state";
|
|
57
57
|
import passengerSaga from "@aprilium/tripsm_passenger/lib/packages/passenger/src/effects";
|
|
58
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/packages/visa-type/src/effects";
|
|
59
58
|
import constantsSaga from "@aprilium/tripsm_constants/lib/packages/constant/src/effects";
|
|
60
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/packages/trip-group/src/effects";
|
|
61
59
|
import userSaga from "@aprilium/tripsm_user/lib/packages/user/src/effects";
|
|
62
60
|
import guestSaga from "@aprilium/tripsm_guest/lib/packages/guest/src/effects";
|
|
63
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/packages/visa-category/src/effects";
|
|
64
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/packages/visa-status/src/effects";
|
|
65
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/packages/visa/src/effects";
|
|
66
|
-
import MessageSaga from "@aprilium/tripsm_message/lib/packages/message/src/effects";
|
|
67
|
-
import MessageOneToOneSaga from "@aprilium/tripsm_private-message/lib/packages/private-message/src/effects";
|
|
68
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/packages/visa-request/src/effects";
|
|
69
|
-
import IdentitySaga from "@aprilium/tripsm_identity/lib/packages/identity/src/effects";
|
|
70
|
-
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/packages/passenger-hotel/src/effects";
|
|
71
|
-
import HotelSaga from "@aprilium/tripsm_hotel/lib/packages/hotel/src/effects";
|
|
72
|
-
import TicketSaga from "@aprilium/tripsm_ticket/lib/packages/ticket/src/effects";
|
|
73
|
-
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/packages/trip-hotel/src/effects";
|
|
74
|
-
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/packages/passenger-group/src/effects";
|
|
75
|
-
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/packages/passenger-pack/src/effects";
|
|
76
|
-
import TripFavorisSaga from "@aprilium/tripsm_trip-favoris/lib/packages/trip-favoris/src/effects";
|
|
77
|
-
import PackFavorisSaga from "@aprilium//tripsm_favoris-pack/lib/packages/favoris-pack/src/effects";
|
|
78
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/packages/luggage/src/effects";
|
|
79
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/packages/luggage-tracking/src/effects";
|
|
80
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/packages/identity-type/src/effects";
|
|
81
|
-
import RelationSaga from "@aprilium/tripsm_relation/lib/packages/relation/src/effects";
|
|
82
|
-
import TripSaga from "@aprilium/tripsm_trip/lib/packages/trip/src/effects";
|
|
83
|
-
import TripPictureSaga from "@aprilium/tripsm_trip-picture/lib/packages/trippicture/src/effects";
|
|
84
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/packages/payment/src/effects";
|
|
85
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/packages/reservation/src/effects";
|
|
86
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/packages/payment-history/src/effects";
|
|
87
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/packages/customer/src/effects";
|
|
88
|
-
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/packages/trip-transportation/src/effects";
|
|
89
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/packages/room/src/effects";
|
|
90
|
-
import PackSaga from "@aprilium/tripsm_pack/lib/packages/pack/src/effects";
|
|
91
|
-
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/packages/passenger-pathology/src/effects";
|
|
92
|
-
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/packages/pack-options/src/effects";
|
|
93
|
-
import hotelOptionsSaga from "@aprilium/tripsm_hotel-options/lib/packages/hotel-options/src/effects";
|
|
94
|
-
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/packages/pack-hotel/src/effects";
|
|
95
|
-
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/packages/pack-transportation/src/effects";
|
|
96
|
-
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/packages/passengers-location/src/effects";
|
|
97
|
-
import ReservationRequestSaga from "@aprilium/tripsm_reservation-request/lib/packages/reservation-request/src/effects";
|
|
98
|
-
import PermissionSaga from "@aprilium/tripsm_permission/lib/packages/permission/src/effects";
|
|
99
|
-
import GuestExpoTokenSaga from "@aprilium/tripsm_guest-expo-token/lib/packages/guest-expo-token/src/effects";
|
|
100
61
|
import PassengerConversationSaga from "@aprilium/tripsm_passenger-conversation/lib/packages/passenger-conversation/src/effects";
|
|
101
62
|
import ConversationOneToOneSaga from "@aprilium/tripsm_private-conversation/lib/packages/private-conversation/src/effects";
|
|
102
|
-
import ReservationRequestUserSeenSaga from "@aprilium/tripsm_reservation-request-seen/lib/packages/reservation-request-seen/src/effects";
|
|
103
|
-
import ReservationRequestPassengerLinkSaga from "@aprilium/tripsm_reservation-request-link/lib/packages/reservation-request-link/src/effects";
|
|
104
63
|
import SupportConversationSaga from "@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/effects";
|
|
105
|
-
import MessageSupportSaga from "@aprilium/tripsm_message-support/lib/packages/message-support/src/effects";
|
|
106
|
-
import UnassignedSupportNotificationsSaga from "@aprilium/tripsm_unassigned-support-notifications/lib/packages/unassigned-support-notifications/src/effects";
|
|
107
64
|
import AgencySaga from "@aprilium/tripsm_agency/lib/packages/agency/src/effects";
|
|
108
65
|
import PaymentNotificationSaga from "@aprilium/tripsm_payment-notification/lib/packages/payment-notification/src/effects";
|
|
109
66
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
110
67
|
export declare const reducers: {
|
|
111
68
|
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/packages/passenger/src/state").PassengerState>;
|
|
112
69
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/packages/constant/src/state").ConstantState>;
|
|
113
|
-
trip:
|
|
114
|
-
tripPicture:
|
|
115
|
-
group:
|
|
70
|
+
trip: any;
|
|
71
|
+
tripPicture: any;
|
|
72
|
+
group: any;
|
|
116
73
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/packages/user/src/state").UserState>;
|
|
117
74
|
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/packages/guest/src/state").GuestState>;
|
|
118
|
-
visaType:
|
|
119
|
-
visaCategory:
|
|
120
|
-
visaStatus:
|
|
121
|
-
visa:
|
|
122
|
-
message:
|
|
123
|
-
messageOneToOne:
|
|
124
|
-
visaRequest:
|
|
125
|
-
identity:
|
|
126
|
-
passengerHotel:
|
|
127
|
-
hotel:
|
|
128
|
-
ticket:
|
|
129
|
-
tripHotel:
|
|
130
|
-
passengerGroup:
|
|
131
|
-
passengerPack:
|
|
132
|
-
tripFavoris:
|
|
133
|
-
packFavoris:
|
|
134
|
-
luggage:
|
|
135
|
-
luggageTracking:
|
|
136
|
-
identityType:
|
|
137
|
-
relation:
|
|
138
|
-
payment:
|
|
139
|
-
reservation:
|
|
140
|
-
room:
|
|
141
|
-
pack:
|
|
142
|
-
paymentHistory:
|
|
143
|
-
customer:
|
|
144
|
-
tripTransportation:
|
|
145
|
-
passengerPathology:
|
|
146
|
-
packOption:
|
|
147
|
-
hotelOptions:
|
|
148
|
-
packHotel:
|
|
149
|
-
packTransportation:
|
|
75
|
+
visaType: any;
|
|
76
|
+
visaCategory: any;
|
|
77
|
+
visaStatus: any;
|
|
78
|
+
visa: any;
|
|
79
|
+
message: any;
|
|
80
|
+
messageOneToOne: any;
|
|
81
|
+
visaRequest: any;
|
|
82
|
+
identity: any;
|
|
83
|
+
passengerHotel: any;
|
|
84
|
+
hotel: any;
|
|
85
|
+
ticket: any;
|
|
86
|
+
tripHotel: any;
|
|
87
|
+
passengerGroup: any;
|
|
88
|
+
passengerPack: any;
|
|
89
|
+
tripFavoris: any;
|
|
90
|
+
packFavoris: any;
|
|
91
|
+
luggage: any;
|
|
92
|
+
luggageTracking: any;
|
|
93
|
+
identityType: any;
|
|
94
|
+
relation: any;
|
|
95
|
+
payment: any;
|
|
96
|
+
reservation: any;
|
|
97
|
+
room: any;
|
|
98
|
+
pack: any;
|
|
99
|
+
paymentHistory: any;
|
|
100
|
+
customer: any;
|
|
101
|
+
tripTransportation: any;
|
|
102
|
+
passengerPathology: any;
|
|
103
|
+
packOption: any;
|
|
104
|
+
hotelOptions: any;
|
|
105
|
+
packHotel: any;
|
|
106
|
+
packTransportation: any;
|
|
150
107
|
passengerConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-conversation/lib/packages/passenger-conversation/src/state").PassengerConversationState>;
|
|
151
108
|
conversationOneToOne: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_private-conversation/lib/packages/private-conversation/src/state").ConversationOneToOneState>;
|
|
152
|
-
passengerLocation:
|
|
153
|
-
reservationRequest:
|
|
154
|
-
guestExpoToken:
|
|
155
|
-
reservationRequestUserSeen:
|
|
156
|
-
reservationRequestPassengerLink:
|
|
157
|
-
permission:
|
|
109
|
+
passengerLocation: any;
|
|
110
|
+
reservationRequest: any;
|
|
111
|
+
guestExpoToken: any;
|
|
112
|
+
reservationRequestUserSeen: any;
|
|
113
|
+
reservationRequestPassengerLink: any;
|
|
114
|
+
permission: any;
|
|
158
115
|
supportConversation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_support-conversation/lib/packages/support-conversation/src/state").SupportConversationState>;
|
|
159
|
-
messageSupport:
|
|
160
|
-
unassignedSupportNotifications:
|
|
116
|
+
messageSupport: any;
|
|
117
|
+
unassignedSupportNotifications: any;
|
|
161
118
|
agency: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_agency/lib/packages/agency/src/state").AgencyState>;
|
|
162
119
|
paymentNotification: any;
|
|
163
120
|
};
|
|
164
121
|
export declare const initialSagas: {
|
|
165
122
|
passenger: typeof passengerSaga;
|
|
166
123
|
constants: typeof constantsSaga;
|
|
167
|
-
trip:
|
|
168
|
-
tripPicture:
|
|
169
|
-
group:
|
|
124
|
+
trip: any;
|
|
125
|
+
tripPicture: any;
|
|
126
|
+
group: any;
|
|
170
127
|
user: typeof userSaga;
|
|
171
128
|
guest: typeof guestSaga;
|
|
172
|
-
visaType:
|
|
173
|
-
visaCategory:
|
|
174
|
-
visaStatus:
|
|
175
|
-
visa:
|
|
176
|
-
message:
|
|
177
|
-
messageOneToOne:
|
|
178
|
-
visaRequest:
|
|
179
|
-
identity:
|
|
180
|
-
passengerHotel:
|
|
181
|
-
hotel:
|
|
182
|
-
ticket:
|
|
183
|
-
tripHotel:
|
|
184
|
-
passengerGroup:
|
|
185
|
-
passengerPack:
|
|
186
|
-
tripFavoris:
|
|
187
|
-
packFavoris:
|
|
188
|
-
luggage:
|
|
189
|
-
luggageTracking:
|
|
190
|
-
identityType:
|
|
191
|
-
relation:
|
|
192
|
-
payment:
|
|
193
|
-
reservation:
|
|
194
|
-
room:
|
|
195
|
-
pack:
|
|
196
|
-
paymentHistory:
|
|
197
|
-
customer:
|
|
198
|
-
tripTransportation:
|
|
199
|
-
passengerPathology:
|
|
200
|
-
packOption:
|
|
201
|
-
hotelOptions:
|
|
202
|
-
packHotel:
|
|
203
|
-
packTransportation:
|
|
204
|
-
passengerLocation:
|
|
205
|
-
reservationRequest:
|
|
206
|
-
guestExpoToken:
|
|
129
|
+
visaType: any;
|
|
130
|
+
visaCategory: any;
|
|
131
|
+
visaStatus: any;
|
|
132
|
+
visa: any;
|
|
133
|
+
message: any;
|
|
134
|
+
messageOneToOne: any;
|
|
135
|
+
visaRequest: any;
|
|
136
|
+
identity: any;
|
|
137
|
+
passengerHotel: any;
|
|
138
|
+
hotel: any;
|
|
139
|
+
ticket: any;
|
|
140
|
+
tripHotel: any;
|
|
141
|
+
passengerGroup: any;
|
|
142
|
+
passengerPack: any;
|
|
143
|
+
tripFavoris: any;
|
|
144
|
+
packFavoris: any;
|
|
145
|
+
luggage: any;
|
|
146
|
+
luggageTracking: any;
|
|
147
|
+
identityType: any;
|
|
148
|
+
relation: any;
|
|
149
|
+
payment: any;
|
|
150
|
+
reservation: any;
|
|
151
|
+
room: any;
|
|
152
|
+
pack: any;
|
|
153
|
+
paymentHistory: any;
|
|
154
|
+
customer: any;
|
|
155
|
+
tripTransportation: any;
|
|
156
|
+
passengerPathology: any;
|
|
157
|
+
packOption: any;
|
|
158
|
+
hotelOptions: any;
|
|
159
|
+
packHotel: any;
|
|
160
|
+
packTransportation: any;
|
|
161
|
+
passengerLocation: any;
|
|
162
|
+
reservationRequest: any;
|
|
163
|
+
guestExpoToken: any;
|
|
207
164
|
passengerConversation: typeof PassengerConversationSaga;
|
|
208
165
|
conversationOneToOne: typeof ConversationOneToOneSaga;
|
|
209
|
-
reservationRequestUserSeen:
|
|
210
|
-
reservationRequestPassengerLink:
|
|
211
|
-
permission:
|
|
166
|
+
reservationRequestUserSeen: any;
|
|
167
|
+
reservationRequestPassengerLink: any;
|
|
168
|
+
permission: any;
|
|
212
169
|
supportConversation: typeof SupportConversationSaga;
|
|
213
|
-
messageSupport:
|
|
214
|
-
unassignedSupportNotifications:
|
|
170
|
+
messageSupport: any;
|
|
171
|
+
unassignedSupportNotifications: any;
|
|
215
172
|
agency: typeof AgencySaga;
|
|
216
173
|
paymentNotification: typeof PaymentNotificationSaga;
|
|
217
174
|
};
|
|
@@ -270,7 +227,7 @@ export type States = {
|
|
|
270
227
|
};
|
|
271
228
|
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";
|
|
272
229
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
273
|
-
export declare const sagas:
|
|
230
|
+
export declare const sagas: any[];
|
|
274
231
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
275
232
|
waitForRehydrate?: boolean): void;
|
|
276
233
|
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.53",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -64,7 +64,8 @@
|
|
|
64
64
|
"@aprilium/tripsm_message-support": "^0.0.15",
|
|
65
65
|
"@aprilium/tripsm_unassigned-support-notifications": "^0.0.3",
|
|
66
66
|
"@aprilium/tripsm_agency": "^0.0.10",
|
|
67
|
-
"@aprilium/tripsm_payment-notification": "^0.0.
|
|
67
|
+
"@aprilium/tripsm_payment-notification": "^0.0.4",
|
|
68
|
+
|
|
68
69
|
"@types/react": "^17.0.0",
|
|
69
70
|
"axios": "^0.21.1",
|
|
70
71
|
"dotenv": "^16.4.5",
|