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