@aprilium/tripsm_global-states 0.0.503 → 0.0.505
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/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -39,15 +39,8 @@ 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 passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
42
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
43
42
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
44
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
45
43
|
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
46
|
-
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
47
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
48
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
49
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
50
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
51
44
|
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
52
45
|
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
53
46
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
@@ -55,38 +48,28 @@ import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
|
55
48
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
56
49
|
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
57
50
|
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
58
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
59
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
60
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
61
51
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
62
52
|
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
63
53
|
import TripPictureSaga from "@aprilium/tripsm_trip-picture/lib/effects";
|
|
64
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
65
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
66
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
67
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
68
54
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
69
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
70
|
-
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
71
55
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
72
56
|
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
|
|
73
57
|
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
|
|
74
58
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
|
|
75
|
-
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/effects";
|
|
76
59
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
77
60
|
export declare const reducers: {
|
|
78
61
|
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
79
62
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
80
63
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
81
64
|
tripPicture: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-picture/lib/state").TripPictureState>;
|
|
82
|
-
group:
|
|
65
|
+
group: any;
|
|
83
66
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
84
|
-
guest:
|
|
85
|
-
visaType:
|
|
86
|
-
visaCategory:
|
|
87
|
-
visaStatus:
|
|
88
|
-
visa:
|
|
89
|
-
visaRequest:
|
|
67
|
+
guest: any;
|
|
68
|
+
visaType: any;
|
|
69
|
+
visaCategory: any;
|
|
70
|
+
visaStatus: any;
|
|
71
|
+
visa: any;
|
|
72
|
+
visaRequest: any;
|
|
90
73
|
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
91
74
|
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
92
75
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
@@ -94,36 +77,36 @@ export declare const reducers: {
|
|
|
94
77
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
95
78
|
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/state").PassengerGroupState>;
|
|
96
79
|
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
|
|
97
|
-
luggage:
|
|
98
|
-
luggageTracking:
|
|
99
|
-
identityType:
|
|
80
|
+
luggage: any;
|
|
81
|
+
luggageTracking: any;
|
|
82
|
+
identityType: any;
|
|
100
83
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
101
|
-
payment:
|
|
102
|
-
reservation:
|
|
103
|
-
room:
|
|
104
|
-
pack:
|
|
105
|
-
paymentHistory:
|
|
106
|
-
customer:
|
|
84
|
+
payment: any;
|
|
85
|
+
reservation: any;
|
|
86
|
+
room: any;
|
|
87
|
+
pack: any;
|
|
88
|
+
paymentHistory: any;
|
|
89
|
+
customer: any;
|
|
107
90
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
108
91
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
109
92
|
packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/state").PackOptionState>;
|
|
110
93
|
packHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-hotel/lib/state").PackHotelState>;
|
|
111
94
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
|
|
112
|
-
passengerLocation:
|
|
95
|
+
passengerLocation: any;
|
|
113
96
|
};
|
|
114
97
|
export declare const initialSagas: {
|
|
115
98
|
passenger: typeof passengerSaga;
|
|
116
99
|
constants: typeof constantsSaga;
|
|
117
100
|
trip: typeof TripSaga;
|
|
118
101
|
tripPicture: typeof TripPictureSaga;
|
|
119
|
-
group:
|
|
102
|
+
group: any;
|
|
120
103
|
user: typeof userSaga;
|
|
121
|
-
guest:
|
|
122
|
-
visaType:
|
|
123
|
-
visaCategory:
|
|
124
|
-
visaStatus:
|
|
125
|
-
visa:
|
|
126
|
-
visaRequest:
|
|
104
|
+
guest: any;
|
|
105
|
+
visaType: any;
|
|
106
|
+
visaCategory: any;
|
|
107
|
+
visaStatus: any;
|
|
108
|
+
visa: any;
|
|
109
|
+
visaRequest: any;
|
|
127
110
|
identity: typeof IdentitySaga;
|
|
128
111
|
passengerHotel: typeof PassengerHotelSaga;
|
|
129
112
|
hotel: typeof HotelSaga;
|
|
@@ -131,22 +114,22 @@ export declare const initialSagas: {
|
|
|
131
114
|
tripHotel: typeof TripHotelSaga;
|
|
132
115
|
passengerGroup: typeof PassengerGroupSaga;
|
|
133
116
|
passengerPack: typeof PassengerPackSaga;
|
|
134
|
-
luggage:
|
|
135
|
-
luggageTracking:
|
|
136
|
-
identityType:
|
|
117
|
+
luggage: any;
|
|
118
|
+
luggageTracking: any;
|
|
119
|
+
identityType: any;
|
|
137
120
|
relation: typeof RelationSaga;
|
|
138
|
-
payment:
|
|
139
|
-
reservation:
|
|
140
|
-
room:
|
|
141
|
-
pack:
|
|
142
|
-
paymentHistory:
|
|
143
|
-
customer:
|
|
121
|
+
payment: any;
|
|
122
|
+
reservation: any;
|
|
123
|
+
room: any;
|
|
124
|
+
pack: any;
|
|
125
|
+
paymentHistory: any;
|
|
126
|
+
customer: any;
|
|
144
127
|
tripTransportation: typeof TripTransportationSaga;
|
|
145
128
|
passengerPathology: typeof PassengerPathologySaga;
|
|
146
129
|
packOption: typeof packOptionSaga;
|
|
147
130
|
packHotel: typeof PackHotelSaga;
|
|
148
131
|
packTransportation: typeof PackTransportationSaga;
|
|
149
|
-
passengerLocation:
|
|
132
|
+
passengerLocation: any;
|
|
150
133
|
};
|
|
151
134
|
export type States = {
|
|
152
135
|
passengersState: passengersState;
|
|
@@ -185,9 +168,9 @@ export type States = {
|
|
|
185
168
|
packTransportation: packTransportationState;
|
|
186
169
|
passengerLocation: passengerLocationState;
|
|
187
170
|
};
|
|
188
|
-
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" | "
|
|
171
|
+
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";
|
|
189
172
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
190
|
-
export declare const sagas:
|
|
173
|
+
export declare const sagas: any[];
|
|
191
174
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
192
175
|
waitForRehydrate?: boolean): void;
|
|
193
176
|
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.505",
|
|
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_pack": "^0.0.21",
|
|
46
46
|
"@aprilium/tripsm_passenger-pathology": "^0.0.6",
|
|
47
47
|
"@aprilium/tripsm_pack-options": "^0.0.7",
|
|
48
|
-
"@aprilium/tripsm_pack-hotel": "^0.0.
|
|
48
|
+
"@aprilium/tripsm_pack-hotel": "^0.0.8",
|
|
49
49
|
"@aprilium/tripsm_pack-transportation": "^0.0.3",
|
|
50
50
|
"@aprilium/tripsm_passengers-location": "^0.0.3",
|
|
51
51
|
"@types/react": "^17.0.0",
|