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