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