@aprilium/tripsm_global-states 0.1.14 → 0.1.15
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 +14 -11
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -54,16 +54,19 @@ import { State as supportConversationState } from "@aprilium/tripsm_support-conv
|
|
|
54
54
|
import { State as messageSupportState } from "@aprilium/tripsm_message-support/lib/packages/message-support/src/state";
|
|
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
|
+
import passengerSaga from "@aprilium/tripsm_passenger/lib/packages/passenger/src/effects";
|
|
58
|
+
import constantsSaga from "@aprilium/tripsm_constants/lib/packages/constant/src/effects";
|
|
59
|
+
import userSaga from "@aprilium/tripsm_user/lib/packages/user/src/effects";
|
|
57
60
|
import guestSaga from "@aprilium/tripsm_guest/lib/packages/guest/src/effects";
|
|
58
|
-
import
|
|
61
|
+
import AgencySaga from "@aprilium/tripsm_agency/lib/packages/agency/src/effects";
|
|
59
62
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
60
63
|
export declare const reducers: {
|
|
61
|
-
passengersState:
|
|
62
|
-
constants:
|
|
64
|
+
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/packages/passenger/src/state").PassengerState>;
|
|
65
|
+
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/packages/constant/src/state").ConstantState>;
|
|
63
66
|
trip: any;
|
|
64
67
|
tripPicture: any;
|
|
65
68
|
group: any;
|
|
66
|
-
user:
|
|
69
|
+
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/packages/user/src/state").UserState>;
|
|
67
70
|
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/packages/guest/src/state").GuestState>;
|
|
68
71
|
visaType: any;
|
|
69
72
|
visaCategory: any;
|
|
@@ -108,15 +111,15 @@ export declare const reducers: {
|
|
|
108
111
|
supportConversation: any;
|
|
109
112
|
messageSupport: any;
|
|
110
113
|
unassignedSupportNotifications: any;
|
|
111
|
-
|
|
114
|
+
agency: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_agency/lib/packages/agency/src/state").AgencyState>;
|
|
112
115
|
};
|
|
113
116
|
export declare const initialSagas: {
|
|
114
|
-
passenger:
|
|
115
|
-
constants:
|
|
117
|
+
passenger: typeof passengerSaga;
|
|
118
|
+
constants: typeof constantsSaga;
|
|
116
119
|
trip: any;
|
|
117
120
|
tripPicture: any;
|
|
118
121
|
group: any;
|
|
119
|
-
user:
|
|
122
|
+
user: typeof userSaga;
|
|
120
123
|
guest: typeof guestSaga;
|
|
121
124
|
visaType: any;
|
|
122
125
|
visaCategory: any;
|
|
@@ -161,7 +164,7 @@ export declare const initialSagas: {
|
|
|
161
164
|
supportConversation: any;
|
|
162
165
|
messageSupport: any;
|
|
163
166
|
unassignedSupportNotifications: any;
|
|
164
|
-
agency: typeof
|
|
167
|
+
agency: typeof AgencySaga;
|
|
165
168
|
};
|
|
166
169
|
export type States = {
|
|
167
170
|
passengersState: passengersState;
|
|
@@ -214,9 +217,9 @@ export type States = {
|
|
|
214
217
|
supportConversation: supportConversationState;
|
|
215
218
|
messagageSupport: messageSupportState;
|
|
216
219
|
unassignedSupportNotifications: unassignedSupportNotificationsState;
|
|
217
|
-
|
|
220
|
+
agency: agencyState;
|
|
218
221
|
};
|
|
219
|
-
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" | "
|
|
222
|
+
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";
|
|
220
223
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
221
224
|
export declare const sagas: any[];
|
|
222
225
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
package/lib/index.js
CHANGED
|
@@ -263,7 +263,7 @@ exports.reducers = {
|
|
|
263
263
|
supportConversation: state_48.SupportConversationReducerFunction,
|
|
264
264
|
messageSupport: state_49.MessageSupportReducerFunction,
|
|
265
265
|
unassignedSupportNotifications: state_50.UnassignedSupportNotificationsReducerFunction,
|
|
266
|
-
|
|
266
|
+
agency: state_51.AgencyReducerFunction,
|
|
267
267
|
};
|
|
268
268
|
exports.initialSagas = {
|
|
269
269
|
passenger: effects_2.default,
|
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.15",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@aprilium/tripsm_support-conversation": "^0.0.10",
|
|
64
64
|
"@aprilium/tripsm_message-support": "^0.0.14",
|
|
65
65
|
"@aprilium/tripsm_unassigned-support-notifications": "^0.0.2",
|
|
66
|
-
"@aprilium/tripsm_agency":"^0.0.
|
|
66
|
+
"@aprilium/tripsm_agency":"^0.0.2",
|
|
67
67
|
|
|
68
68
|
"@types/react": "^17.0.0",
|
|
69
69
|
"axios": "^0.21.1",
|