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