@aprilium/tripsm_global-states 0.0.415 → 0.0.417
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 +43 -64
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -36,69 +36,48 @@ import { State as passengerPathologyState } from "@aprilium/tripsm_passenger-pat
|
|
|
36
36
|
import { State as packOptionState } from "@aprilium/tripsm_pack-options/lib/state";
|
|
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
|
-
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
40
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
41
39
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
42
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
43
40
|
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
44
|
-
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
45
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
46
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
47
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
48
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
49
|
-
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
50
|
-
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
51
41
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
52
42
|
import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
53
43
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
54
|
-
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
55
|
-
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
56
44
|
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
57
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
58
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
59
45
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
60
|
-
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
61
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
62
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
63
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
64
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
65
46
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
66
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
67
|
-
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
68
47
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
69
48
|
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
|
|
70
49
|
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
|
|
71
50
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
|
|
72
51
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
73
52
|
export declare const reducers: {
|
|
74
|
-
passengersState:
|
|
53
|
+
passengersState: any;
|
|
75
54
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
76
|
-
trip:
|
|
77
|
-
group:
|
|
55
|
+
trip: any;
|
|
56
|
+
group: any;
|
|
78
57
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
79
|
-
guest:
|
|
80
|
-
visaType:
|
|
81
|
-
visaCategory:
|
|
82
|
-
visaStatus:
|
|
83
|
-
visa:
|
|
84
|
-
visaRequest:
|
|
85
|
-
identity:
|
|
86
|
-
passengerHotel:
|
|
58
|
+
guest: any;
|
|
59
|
+
visaType: any;
|
|
60
|
+
visaCategory: any;
|
|
61
|
+
visaStatus: any;
|
|
62
|
+
visa: any;
|
|
63
|
+
visaRequest: any;
|
|
64
|
+
identity: any;
|
|
65
|
+
passengerHotel: any;
|
|
87
66
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
88
67
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
89
68
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
90
|
-
passengerGroup:
|
|
91
|
-
passengerPack:
|
|
69
|
+
passengerGroup: any;
|
|
70
|
+
passengerPack: any;
|
|
92
71
|
luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/state").LuggageState>;
|
|
93
|
-
luggageTracking:
|
|
94
|
-
identityType:
|
|
72
|
+
luggageTracking: any;
|
|
73
|
+
identityType: any;
|
|
95
74
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
96
|
-
payment:
|
|
97
|
-
reservation:
|
|
98
|
-
room:
|
|
99
|
-
pack:
|
|
100
|
-
paymentHistory:
|
|
101
|
-
customer:
|
|
75
|
+
payment: any;
|
|
76
|
+
reservation: any;
|
|
77
|
+
room: any;
|
|
78
|
+
pack: any;
|
|
79
|
+
paymentHistory: any;
|
|
80
|
+
customer: any;
|
|
102
81
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
103
82
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
104
83
|
packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/state").PackOptionState>;
|
|
@@ -106,34 +85,34 @@ export declare const reducers: {
|
|
|
106
85
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
|
|
107
86
|
};
|
|
108
87
|
export declare const initialSagas: {
|
|
109
|
-
passenger:
|
|
88
|
+
passenger: any;
|
|
110
89
|
constants: typeof constantsSaga;
|
|
111
|
-
trip:
|
|
112
|
-
group:
|
|
90
|
+
trip: any;
|
|
91
|
+
group: any;
|
|
113
92
|
user: typeof userSaga;
|
|
114
|
-
guest:
|
|
115
|
-
visaType:
|
|
116
|
-
visaCategory:
|
|
117
|
-
visaStatus:
|
|
118
|
-
visa:
|
|
119
|
-
visaRequest:
|
|
120
|
-
identity:
|
|
121
|
-
passengerHotel:
|
|
93
|
+
guest: any;
|
|
94
|
+
visaType: any;
|
|
95
|
+
visaCategory: any;
|
|
96
|
+
visaStatus: any;
|
|
97
|
+
visa: any;
|
|
98
|
+
visaRequest: any;
|
|
99
|
+
identity: any;
|
|
100
|
+
passengerHotel: any;
|
|
122
101
|
hotel: typeof HotelSaga;
|
|
123
102
|
ticket: typeof TicketSaga;
|
|
124
103
|
tripHotel: typeof TripHotelSaga;
|
|
125
|
-
passengerGroup:
|
|
126
|
-
passengerPack:
|
|
104
|
+
passengerGroup: any;
|
|
105
|
+
passengerPack: any;
|
|
127
106
|
luggage: typeof LuggageSaga;
|
|
128
|
-
luggageTracking:
|
|
129
|
-
identityType:
|
|
107
|
+
luggageTracking: any;
|
|
108
|
+
identityType: any;
|
|
130
109
|
relation: typeof RelationSaga;
|
|
131
|
-
payment:
|
|
132
|
-
reservation:
|
|
133
|
-
room:
|
|
134
|
-
pack:
|
|
135
|
-
paymentHistory:
|
|
136
|
-
customer:
|
|
110
|
+
payment: any;
|
|
111
|
+
reservation: any;
|
|
112
|
+
room: any;
|
|
113
|
+
pack: any;
|
|
114
|
+
paymentHistory: any;
|
|
115
|
+
customer: any;
|
|
137
116
|
tripTransportation: typeof TripTransportationSaga;
|
|
138
117
|
passengerPathology: typeof PassengerPathologySaga;
|
|
139
118
|
packOption: typeof packOptionSaga;
|
|
@@ -177,7 +156,7 @@ export type States = {
|
|
|
177
156
|
};
|
|
178
157
|
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";
|
|
179
158
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
180
|
-
export declare const sagas:
|
|
159
|
+
export declare const sagas: any[];
|
|
181
160
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
182
161
|
waitForRehydrate?: boolean): void;
|
|
183
162
|
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.417",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@aprilium/tripsm_room": "^0.0.8",
|
|
35
35
|
"@aprilium/tripsm_ticket": "^0.0.26",
|
|
36
36
|
"@aprilium/tripsm_trip-hotel": "^0.0.18",
|
|
37
|
-
"@aprilium/tripsm_trip-transportation": "^0.0.
|
|
37
|
+
"@aprilium/tripsm_trip-transportation": "^0.0.10",
|
|
38
38
|
"@aprilium/tripsm_user": "^0.0.24",
|
|
39
39
|
"@aprilium/tripsm_visa": "^0.0.12",
|
|
40
40
|
"@aprilium/tripsm_visa-category": "^0.0.6",
|