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