@aprilium/tripsm_global-states 0.0.479 → 0.0.480
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 +41 -61
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -37,112 +37,92 @@ import { State as packOptionState } from "@aprilium/tripsm_pack-options/lib/stat
|
|
|
37
37
|
import { State as packHotelState } from "@aprilium/tripsm_pack-hotel/lib/state";
|
|
38
38
|
import { State as packTransportationState } from "@aprilium/tripsm_pack-transportation/lib/state";
|
|
39
39
|
import { State as passengerLocationState } from "@aprilium/tripsm_passengers-location/lib/state";
|
|
40
|
-
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
41
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
42
40
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
43
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
44
41
|
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
45
|
-
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
46
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
47
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
48
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
49
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
50
42
|
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
51
43
|
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
52
44
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
53
45
|
import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
54
46
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
55
|
-
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
56
47
|
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
57
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
58
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
59
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
60
48
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
61
49
|
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
62
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
63
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
64
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
65
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
66
50
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
67
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
68
|
-
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
69
51
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
70
|
-
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
|
|
71
52
|
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
|
|
72
53
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
|
|
73
|
-
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/effects";
|
|
74
54
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
75
55
|
export declare const reducers: {
|
|
76
|
-
passengersState:
|
|
56
|
+
passengersState: any;
|
|
77
57
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
78
58
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
79
|
-
group:
|
|
59
|
+
group: any;
|
|
80
60
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
81
|
-
guest:
|
|
82
|
-
visaType:
|
|
83
|
-
visaCategory:
|
|
84
|
-
visaStatus:
|
|
85
|
-
visa:
|
|
86
|
-
visaRequest:
|
|
61
|
+
guest: any;
|
|
62
|
+
visaType: any;
|
|
63
|
+
visaCategory: any;
|
|
64
|
+
visaStatus: any;
|
|
65
|
+
visa: any;
|
|
66
|
+
visaRequest: any;
|
|
87
67
|
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
88
68
|
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
89
69
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
90
70
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
91
71
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
92
|
-
passengerGroup:
|
|
72
|
+
passengerGroup: any;
|
|
93
73
|
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
|
|
94
|
-
luggage:
|
|
95
|
-
luggageTracking:
|
|
96
|
-
identityType:
|
|
74
|
+
luggage: any;
|
|
75
|
+
luggageTracking: any;
|
|
76
|
+
identityType: any;
|
|
97
77
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
98
|
-
payment:
|
|
99
|
-
reservation:
|
|
100
|
-
room:
|
|
101
|
-
pack:
|
|
102
|
-
paymentHistory:
|
|
103
|
-
customer:
|
|
78
|
+
payment: any;
|
|
79
|
+
reservation: any;
|
|
80
|
+
room: any;
|
|
81
|
+
pack: any;
|
|
82
|
+
paymentHistory: any;
|
|
83
|
+
customer: any;
|
|
104
84
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
105
85
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
106
|
-
packOption:
|
|
86
|
+
packOption: any;
|
|
107
87
|
packHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-hotel/lib/state").PackHotelState>;
|
|
108
88
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
|
|
109
|
-
passengerLocation:
|
|
89
|
+
passengerLocation: any;
|
|
110
90
|
};
|
|
111
91
|
export declare const initialSagas: {
|
|
112
|
-
passenger:
|
|
92
|
+
passenger: any;
|
|
113
93
|
constants: typeof constantsSaga;
|
|
114
94
|
trip: typeof TripSaga;
|
|
115
|
-
group:
|
|
95
|
+
group: any;
|
|
116
96
|
user: typeof userSaga;
|
|
117
|
-
guest:
|
|
118
|
-
visaType:
|
|
119
|
-
visaCategory:
|
|
120
|
-
visaStatus:
|
|
121
|
-
visa:
|
|
122
|
-
visaRequest:
|
|
97
|
+
guest: any;
|
|
98
|
+
visaType: any;
|
|
99
|
+
visaCategory: any;
|
|
100
|
+
visaStatus: any;
|
|
101
|
+
visa: any;
|
|
102
|
+
visaRequest: any;
|
|
123
103
|
identity: typeof IdentitySaga;
|
|
124
104
|
passengerHotel: typeof PassengerHotelSaga;
|
|
125
105
|
hotel: typeof HotelSaga;
|
|
126
106
|
ticket: typeof TicketSaga;
|
|
127
107
|
tripHotel: typeof TripHotelSaga;
|
|
128
|
-
passengerGroup:
|
|
108
|
+
passengerGroup: any;
|
|
129
109
|
passengerPack: typeof PassengerPackSaga;
|
|
130
|
-
luggage:
|
|
131
|
-
luggageTracking:
|
|
132
|
-
identityType:
|
|
110
|
+
luggage: any;
|
|
111
|
+
luggageTracking: any;
|
|
112
|
+
identityType: any;
|
|
133
113
|
relation: typeof RelationSaga;
|
|
134
|
-
payment:
|
|
135
|
-
reservation:
|
|
136
|
-
room:
|
|
137
|
-
pack:
|
|
138
|
-
paymentHistory:
|
|
139
|
-
customer:
|
|
114
|
+
payment: any;
|
|
115
|
+
reservation: any;
|
|
116
|
+
room: any;
|
|
117
|
+
pack: any;
|
|
118
|
+
paymentHistory: any;
|
|
119
|
+
customer: any;
|
|
140
120
|
tripTransportation: typeof TripTransportationSaga;
|
|
141
121
|
passengerPathology: typeof PassengerPathologySaga;
|
|
142
|
-
packOption:
|
|
122
|
+
packOption: any;
|
|
143
123
|
packHotel: typeof PackHotelSaga;
|
|
144
124
|
packTransportation: typeof PackTransportationSaga;
|
|
145
|
-
passengerLocation:
|
|
125
|
+
passengerLocation: any;
|
|
146
126
|
};
|
|
147
127
|
export type States = {
|
|
148
128
|
passengersState: passengersState;
|
|
@@ -182,7 +162,7 @@ export type States = {
|
|
|
182
162
|
};
|
|
183
163
|
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" | "payment-state" | "payment-history" | "customer" | "reservation" | "trip-transportation" | "passenger-pathology" | "packOption" | "pack-hotel" | "pack-transportation" | "passenger-location";
|
|
184
164
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
185
|
-
export declare const sagas:
|
|
165
|
+
export declare const sagas: any[];
|
|
186
166
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
187
167
|
waitForRehydrate?: boolean): void;
|
|
188
168
|
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.480",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@aprilium/tripsm_passenger": "^0.0.100",
|
|
27
27
|
"@aprilium/tripsm_passenger-group": "^0.0.15",
|
|
28
28
|
"@aprilium/tripsm_passenger-hotel": "^0.0.16",
|
|
29
|
-
"@aprilium/tripsm_passenger-pack": "^0.0.
|
|
29
|
+
"@aprilium/tripsm_passenger-pack": "^0.0.13",
|
|
30
30
|
"@aprilium/tripsm_payment": "^0.0.7",
|
|
31
31
|
"@aprilium/tripsm_payment-history": "^0.0.4",
|
|
32
32
|
"@aprilium/tripsm_relation": "^0.0.8",
|