@aprilium/tripsm_global-states 0.0.526 → 0.0.527
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 +49 -33
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -40,9 +40,15 @@ import { State as packTransportationState } from "@aprilium/tripsm_pack-transpor
|
|
|
40
40
|
import { State as passengerLocationState } from "@aprilium/tripsm_passengers-location/lib/state";
|
|
41
41
|
import { State as reservationRequestState } from "@aprilium/tripsm_reservation-request/lib/state";
|
|
42
42
|
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
43
|
+
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
43
44
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
45
|
+
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
44
46
|
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
45
47
|
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
48
|
+
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
49
|
+
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
50
|
+
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
51
|
+
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
46
52
|
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
47
53
|
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
48
54
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
@@ -50,14 +56,24 @@ import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
|
50
56
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
51
57
|
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
52
58
|
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
59
|
+
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
60
|
+
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
61
|
+
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
53
62
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
54
63
|
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
55
64
|
import TripPictureSaga from "@aprilium/tripsm_trip-picture/lib/effects";
|
|
65
|
+
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
66
|
+
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
67
|
+
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
68
|
+
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
56
69
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
70
|
+
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
71
|
+
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
57
72
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
58
73
|
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
|
|
59
74
|
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
|
|
60
75
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
|
|
76
|
+
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/effects";
|
|
61
77
|
import ReservationRequestSaga from "@aprilium/tripsm_reservation-request/lib/effects";
|
|
62
78
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
63
79
|
export declare const reducers: {
|
|
@@ -65,14 +81,14 @@ export declare const reducers: {
|
|
|
65
81
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
66
82
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
67
83
|
tripPicture: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-picture/lib/state").TripPictureState>;
|
|
68
|
-
group:
|
|
84
|
+
group: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-group/lib/state").GroupState>;
|
|
69
85
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
70
86
|
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/state").GuestState>;
|
|
71
|
-
visaType:
|
|
72
|
-
visaCategory:
|
|
73
|
-
visaStatus:
|
|
74
|
-
visa:
|
|
75
|
-
visaRequest:
|
|
87
|
+
visaType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-type/lib/state").VisaTypeState>;
|
|
88
|
+
visaCategory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-category/lib/state").VisaCategoryState>;
|
|
89
|
+
visaStatus: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-status/lib/state").VisaStatusState>;
|
|
90
|
+
visa: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa/lib/state").VisaState>;
|
|
91
|
+
visaRequest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-request/lib/state").VisaRequestState>;
|
|
76
92
|
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
77
93
|
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
78
94
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
@@ -80,22 +96,22 @@ export declare const reducers: {
|
|
|
80
96
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
81
97
|
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/state").PassengerGroupState>;
|
|
82
98
|
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
|
|
83
|
-
luggage:
|
|
84
|
-
luggageTracking:
|
|
85
|
-
identityType:
|
|
99
|
+
luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/state").LuggageState>;
|
|
100
|
+
luggageTracking: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage-tracking/lib/state").LuggageTrackingState>;
|
|
101
|
+
identityType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity-type/lib/state").IdentityTypeState>;
|
|
86
102
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
87
|
-
payment:
|
|
88
|
-
reservation:
|
|
89
|
-
room:
|
|
90
|
-
pack:
|
|
91
|
-
paymentHistory:
|
|
92
|
-
customer:
|
|
103
|
+
payment: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment/lib/state").PaymentState>;
|
|
104
|
+
reservation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation/lib/state").ReservationState>;
|
|
105
|
+
room: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_room/lib/state").RoomState>;
|
|
106
|
+
pack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack/lib/state").PackState>;
|
|
107
|
+
paymentHistory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment-history/lib/state").PaymentHistoryState>;
|
|
108
|
+
customer: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_customer/lib/state").CustomerState>;
|
|
93
109
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
94
110
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
95
111
|
packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/state").PackOptionState>;
|
|
96
112
|
packHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-hotel/lib/state").PackHotelState>;
|
|
97
113
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
|
|
98
|
-
passengerLocation:
|
|
114
|
+
passengerLocation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passengers-location/lib/state").PassengerLocationState>;
|
|
99
115
|
reservationRequest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation-request/lib/state").ReservationRequestState>;
|
|
100
116
|
};
|
|
101
117
|
export declare const initialSagas: {
|
|
@@ -103,14 +119,14 @@ export declare const initialSagas: {
|
|
|
103
119
|
constants: typeof constantsSaga;
|
|
104
120
|
trip: typeof TripSaga;
|
|
105
121
|
tripPicture: typeof TripPictureSaga;
|
|
106
|
-
group:
|
|
122
|
+
group: typeof groupSaga;
|
|
107
123
|
user: typeof userSaga;
|
|
108
124
|
guest: typeof guestSaga;
|
|
109
|
-
visaType:
|
|
110
|
-
visaCategory:
|
|
111
|
-
visaStatus:
|
|
112
|
-
visa:
|
|
113
|
-
visaRequest:
|
|
125
|
+
visaType: typeof visaTypeSaga;
|
|
126
|
+
visaCategory: typeof visaCategorySaga;
|
|
127
|
+
visaStatus: typeof VisaStatusSaga;
|
|
128
|
+
visa: typeof VisaSaga;
|
|
129
|
+
visaRequest: typeof VisaRequestSaga;
|
|
114
130
|
identity: typeof IdentitySaga;
|
|
115
131
|
passengerHotel: typeof PassengerHotelSaga;
|
|
116
132
|
hotel: typeof HotelSaga;
|
|
@@ -118,22 +134,22 @@ export declare const initialSagas: {
|
|
|
118
134
|
tripHotel: typeof TripHotelSaga;
|
|
119
135
|
passengerGroup: typeof PassengerGroupSaga;
|
|
120
136
|
passengerPack: typeof PassengerPackSaga;
|
|
121
|
-
luggage:
|
|
122
|
-
luggageTracking:
|
|
123
|
-
identityType:
|
|
137
|
+
luggage: typeof LuggageSaga;
|
|
138
|
+
luggageTracking: typeof LuggageTrackingSaga;
|
|
139
|
+
identityType: typeof IdentityTypeSaga;
|
|
124
140
|
relation: typeof RelationSaga;
|
|
125
|
-
payment:
|
|
126
|
-
reservation:
|
|
127
|
-
room:
|
|
128
|
-
pack:
|
|
129
|
-
paymentHistory:
|
|
130
|
-
customer:
|
|
141
|
+
payment: typeof PaymentSaga;
|
|
142
|
+
reservation: typeof ReservationSaga;
|
|
143
|
+
room: typeof RoomSaga;
|
|
144
|
+
pack: typeof PackSaga;
|
|
145
|
+
paymentHistory: typeof PaymentHistorySaga;
|
|
146
|
+
customer: typeof CustomerSaga;
|
|
131
147
|
tripTransportation: typeof TripTransportationSaga;
|
|
132
148
|
passengerPathology: typeof PassengerPathologySaga;
|
|
133
149
|
packOption: typeof packOptionSaga;
|
|
134
150
|
packHotel: typeof PackHotelSaga;
|
|
135
151
|
packTransportation: typeof PackTransportationSaga;
|
|
136
|
-
passengerLocation:
|
|
152
|
+
passengerLocation: typeof PassengerLocationSaga;
|
|
137
153
|
reservationRequest: typeof ReservationRequestSaga;
|
|
138
154
|
};
|
|
139
155
|
export type States = {
|
|
@@ -176,7 +192,7 @@ export type States = {
|
|
|
176
192
|
};
|
|
177
193
|
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" | "pack-hotel" | "pack-transportation" | "passenger-location";
|
|
178
194
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
179
|
-
export declare const sagas:
|
|
195
|
+
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 VisaRequestSaga | typeof IdentitySaga | typeof PassengerHotelSaga | typeof HotelSaga | typeof TicketSaga | typeof TripHotelSaga | typeof PassengerGroupSaga | typeof PassengerPackSaga | 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 PackHotelSaga | typeof PackTransportationSaga | typeof PassengerLocationSaga | typeof ReservationRequestSaga)[];
|
|
180
196
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
181
197
|
waitForRehydrate?: boolean): void;
|
|
182
198
|
declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
|
package/lib/index.js
CHANGED
|
@@ -243,7 +243,7 @@ exports.initialSagas = {
|
|
|
243
243
|
passengerLocation: effects_36.default,
|
|
244
244
|
reservationRequest: effects_37.default,
|
|
245
245
|
};
|
|
246
|
-
|
|
246
|
+
"reservation-request";
|
|
247
247
|
function setUrlConfig(coreApi, debugMode) {
|
|
248
248
|
if (debugMode === void 0) { debugMode = false; }
|
|
249
249
|
lib_1.urlsConfig.setURls({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aprilium/tripsm_global-states",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.527",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -18,8 +18,6 @@
|
|
|
18
18
|
"@aprilium/tripsm_guest": "^0.0.11",
|
|
19
19
|
"@aprilium/tripsm_hotel": "^0.0.11",
|
|
20
20
|
"@aprilium/tripsm_identity": "^0.0.27",
|
|
21
|
-
"@aprilium/tripsm_trip": "^0.0.44",
|
|
22
|
-
"@aprilium/tripsm_trip-group": "^0.0.24",
|
|
23
21
|
"@aprilium/tripsm_identity-type": "^0.0.10",
|
|
24
22
|
"@aprilium/tripsm_luggage": "^0.0.14",
|
|
25
23
|
"@aprilium/tripsm_luggage-tracking": "^0.0.10",
|
|
@@ -27,7 +25,7 @@
|
|
|
27
25
|
"@aprilium/tripsm_pack-hotel": "^0.0.8",
|
|
28
26
|
"@aprilium/tripsm_pack-options": "^0.0.7",
|
|
29
27
|
"@aprilium/tripsm_pack-transportation": "^0.0.3",
|
|
30
|
-
"@aprilium/tripsm_passenger": "^0.0.
|
|
28
|
+
"@aprilium/tripsm_passenger": "^0.0.105",
|
|
31
29
|
"@aprilium/tripsm_passenger-group": "^0.0.16",
|
|
32
30
|
"@aprilium/tripsm_passenger-hotel": "^0.0.16",
|
|
33
31
|
"@aprilium/tripsm_passenger-pack": "^0.0.13",
|
|
@@ -39,6 +37,8 @@
|
|
|
39
37
|
"@aprilium/tripsm_reservation": "^0.0.12",
|
|
40
38
|
"@aprilium/tripsm_room": "^0.0.8",
|
|
41
39
|
"@aprilium/tripsm_ticket": "^0.0.26",
|
|
40
|
+
"@aprilium/tripsm_trip": "^0.0.44",
|
|
41
|
+
"@aprilium/tripsm_trip-group": "^0.0.24",
|
|
42
42
|
"@aprilium/tripsm_trip-hotel": "^0.0.18",
|
|
43
43
|
"@aprilium/tripsm_trip-picture": "^0.0.9",
|
|
44
44
|
"@aprilium/tripsm_trip-transportation": "^0.0.13",
|
|
@@ -64,4 +64,4 @@
|
|
|
64
64
|
},
|
|
65
65
|
"author": "Jomma",
|
|
66
66
|
"license": "ISC"
|
|
67
|
-
}
|
|
67
|
+
}
|