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