@aprilium/tripsm_global-states 0.0.539 → 0.0.540
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 +36 -53
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -39,17 +39,11 @@ import { State as packHotelState } from "@aprilium/tripsm_pack-hotel/lib/state";
|
|
|
39
39
|
import { State as packTransportationState } from "@aprilium/tripsm_pack-transportation/lib/state";
|
|
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
|
-
import { State as tripfavorisState } from "@aprilium/
|
|
42
|
+
import { State as tripfavorisState } from "@aprilium/tripsm_reservation-request/lib/state";
|
|
43
43
|
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
44
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
45
44
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
46
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
47
45
|
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
48
46
|
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
49
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
50
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
51
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
52
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
53
47
|
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
54
48
|
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
55
49
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
@@ -57,40 +51,29 @@ import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
|
57
51
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
58
52
|
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
59
53
|
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
60
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
61
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
62
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
63
54
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
64
55
|
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
65
56
|
import TripPictureSaga from "@aprilium/tripsm_trip-picture/lib/effects";
|
|
66
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
67
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
68
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
69
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
70
57
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
71
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
72
|
-
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
73
58
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
74
59
|
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
|
|
75
60
|
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
|
|
76
61
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
|
|
77
|
-
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/effects";
|
|
78
62
|
import ReservationRequestSaga from "@aprilium/tripsm_reservation-request/lib/effects";
|
|
79
|
-
import tripFavorisSaga from "@aprilium/tripsm_trip-favoris/lib/effects";
|
|
80
63
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
81
64
|
export declare const reducers: {
|
|
82
65
|
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
83
66
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
84
67
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
85
68
|
tripPicture: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-picture/lib/state").TripPictureState>;
|
|
86
|
-
group:
|
|
69
|
+
group: any;
|
|
87
70
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
88
71
|
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/state").GuestState>;
|
|
89
|
-
visaType:
|
|
90
|
-
visaCategory:
|
|
91
|
-
visaStatus:
|
|
92
|
-
visa:
|
|
93
|
-
visaRequest:
|
|
72
|
+
visaType: any;
|
|
73
|
+
visaCategory: any;
|
|
74
|
+
visaStatus: any;
|
|
75
|
+
visa: any;
|
|
76
|
+
visaRequest: any;
|
|
94
77
|
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
95
78
|
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
96
79
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
@@ -98,38 +81,38 @@ export declare const reducers: {
|
|
|
98
81
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
99
82
|
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/state").PassengerGroupState>;
|
|
100
83
|
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
|
|
101
|
-
luggage:
|
|
102
|
-
luggageTracking:
|
|
103
|
-
identityType:
|
|
84
|
+
luggage: any;
|
|
85
|
+
luggageTracking: any;
|
|
86
|
+
identityType: any;
|
|
104
87
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
105
|
-
payment:
|
|
106
|
-
reservation:
|
|
107
|
-
room:
|
|
108
|
-
pack:
|
|
109
|
-
paymentHistory:
|
|
110
|
-
customer:
|
|
88
|
+
payment: any;
|
|
89
|
+
reservation: any;
|
|
90
|
+
room: any;
|
|
91
|
+
pack: any;
|
|
92
|
+
paymentHistory: any;
|
|
93
|
+
customer: any;
|
|
111
94
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
112
95
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
113
96
|
packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/state").PackOptionState>;
|
|
114
97
|
packHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-hotel/lib/state").PackHotelState>;
|
|
115
98
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
|
|
116
|
-
passengerLocation:
|
|
99
|
+
passengerLocation: any;
|
|
117
100
|
reservationRequest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation-request/lib/state").ReservationRequestState>;
|
|
118
|
-
tripfavoris:
|
|
101
|
+
tripfavoris: any;
|
|
119
102
|
};
|
|
120
103
|
export declare const initialSagas: {
|
|
121
104
|
passenger: typeof passengerSaga;
|
|
122
105
|
constants: typeof constantsSaga;
|
|
123
106
|
trip: typeof TripSaga;
|
|
124
107
|
tripPicture: typeof TripPictureSaga;
|
|
125
|
-
group:
|
|
108
|
+
group: any;
|
|
126
109
|
user: typeof userSaga;
|
|
127
110
|
guest: typeof guestSaga;
|
|
128
|
-
visaType:
|
|
129
|
-
visaCategory:
|
|
130
|
-
visaStatus:
|
|
131
|
-
visa:
|
|
132
|
-
visaRequest:
|
|
111
|
+
visaType: any;
|
|
112
|
+
visaCategory: any;
|
|
113
|
+
visaStatus: any;
|
|
114
|
+
visa: any;
|
|
115
|
+
visaRequest: any;
|
|
133
116
|
identity: typeof IdentitySaga;
|
|
134
117
|
passengerHotel: typeof PassengerHotelSaga;
|
|
135
118
|
hotel: typeof HotelSaga;
|
|
@@ -137,24 +120,24 @@ export declare const initialSagas: {
|
|
|
137
120
|
tripHotel: typeof TripHotelSaga;
|
|
138
121
|
passengerGroup: typeof PassengerGroupSaga;
|
|
139
122
|
passengerPack: typeof PassengerPackSaga;
|
|
140
|
-
luggage:
|
|
141
|
-
luggageTracking:
|
|
142
|
-
identityType:
|
|
123
|
+
luggage: any;
|
|
124
|
+
luggageTracking: any;
|
|
125
|
+
identityType: any;
|
|
143
126
|
relation: typeof RelationSaga;
|
|
144
|
-
payment:
|
|
145
|
-
reservation:
|
|
146
|
-
room:
|
|
147
|
-
pack:
|
|
148
|
-
paymentHistory:
|
|
149
|
-
customer:
|
|
127
|
+
payment: any;
|
|
128
|
+
reservation: any;
|
|
129
|
+
room: any;
|
|
130
|
+
pack: any;
|
|
131
|
+
paymentHistory: any;
|
|
132
|
+
customer: any;
|
|
150
133
|
tripTransportation: typeof TripTransportationSaga;
|
|
151
134
|
passengerPathology: typeof PassengerPathologySaga;
|
|
152
135
|
packOption: typeof packOptionSaga;
|
|
153
136
|
packHotel: typeof PackHotelSaga;
|
|
154
137
|
packTransportation: typeof PackTransportationSaga;
|
|
155
|
-
passengerLocation:
|
|
138
|
+
passengerLocation: any;
|
|
156
139
|
reservationRequest: typeof ReservationRequestSaga;
|
|
157
|
-
tripFavoris:
|
|
140
|
+
tripFavoris: any;
|
|
158
141
|
};
|
|
159
142
|
export type States = {
|
|
160
143
|
passengersState: passengersState;
|
|
@@ -197,7 +180,7 @@ export type States = {
|
|
|
197
180
|
};
|
|
198
181
|
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" | "reservation-request" | "trip-favoris";
|
|
199
182
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
200
|
-
export declare const sagas:
|
|
183
|
+
export declare const sagas: any[];
|
|
201
184
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
202
185
|
waitForRehydrate?: boolean): void;
|
|
203
186
|
declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
|
package/lib/index.js
CHANGED
|
@@ -130,7 +130,7 @@ var state_33 = require("@aprilium/tripsm_pack-hotel/lib/state");
|
|
|
130
130
|
var state_34 = require("@aprilium/tripsm_pack-transportation/lib/state");
|
|
131
131
|
var state_35 = require("@aprilium/tripsm_passengers-location/lib/state");
|
|
132
132
|
var state_36 = require("@aprilium/tripsm_reservation-request/lib/state");
|
|
133
|
-
var state_37 = require("@aprilium/
|
|
133
|
+
var state_37 = require("@aprilium/tripsm_reservation-request/lib/state");
|
|
134
134
|
//import sagas
|
|
135
135
|
var effects_2 = __importDefault(require("@aprilium/tripsm_passenger/lib/effects"));
|
|
136
136
|
var effects_3 = __importDefault(require("@aprilium/tripsm_visa-type/lib/effects"));
|
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.540",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
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.
|
|
21
|
+
"@aprilium/tripsm_trip": "^0.0.47",
|
|
22
22
|
"@aprilium/tripsm_trip-group": "^0.0.24",
|
|
23
23
|
"@aprilium/tripsm_identity-type": "^0.0.10",
|
|
24
24
|
"@aprilium/tripsm_luggage": "^0.0.14",
|