@aprilium/tripsm_global-states 0.0.510 → 0.0.512
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 +52 -35
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -39,8 +39,15 @@ 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
40
|
import { State as passengerLocationState } from "@aprilium/tripsm_passengers-location/lib/state";
|
|
41
41
|
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
42
|
+
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
42
43
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
44
|
+
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
43
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";
|
|
44
51
|
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
45
52
|
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
46
53
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
@@ -48,28 +55,38 @@ import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
|
48
55
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
49
56
|
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
50
57
|
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
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";
|
|
51
61
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
52
62
|
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
53
63
|
import TripPictureSaga from "@aprilium/tripsm_trip-picture/lib/effects";
|
|
64
|
+
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
65
|
+
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
66
|
+
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
67
|
+
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
54
68
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
69
|
+
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
70
|
+
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
55
71
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
56
72
|
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
|
|
57
73
|
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
|
|
58
74
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
|
|
75
|
+
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/effects";
|
|
59
76
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
60
77
|
export declare const reducers: {
|
|
61
78
|
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
62
79
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
63
80
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
64
81
|
tripPicture: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-picture/lib/state").TripPictureState>;
|
|
65
|
-
group:
|
|
82
|
+
group: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-group/lib/state").GroupState>;
|
|
66
83
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
67
|
-
guest:
|
|
68
|
-
visaType:
|
|
69
|
-
visaCategory:
|
|
70
|
-
visaStatus:
|
|
71
|
-
visa:
|
|
72
|
-
visaRequest:
|
|
84
|
+
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/state").GuestState>;
|
|
85
|
+
visaType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-type/lib/state").VisaTypeState>;
|
|
86
|
+
visaCategory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-category/lib/state").VisaCategoryState>;
|
|
87
|
+
visaStatus: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-status/lib/state").VisaStatusState>;
|
|
88
|
+
visa: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa/lib/state").VisaState>;
|
|
89
|
+
visaRequest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-request/lib/state").VisaRequestState>;
|
|
73
90
|
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
74
91
|
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
75
92
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
@@ -77,36 +94,36 @@ export declare const reducers: {
|
|
|
77
94
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
78
95
|
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/state").PassengerGroupState>;
|
|
79
96
|
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
|
|
80
|
-
luggage:
|
|
81
|
-
luggageTracking:
|
|
82
|
-
identityType:
|
|
97
|
+
luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/state").LuggageState>;
|
|
98
|
+
luggageTracking: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage-tracking/lib/state").LuggageTrackingState>;
|
|
99
|
+
identityType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity-type/lib/state").IdentityTypeState>;
|
|
83
100
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
84
|
-
payment:
|
|
85
|
-
reservation:
|
|
86
|
-
room:
|
|
87
|
-
pack:
|
|
88
|
-
paymentHistory:
|
|
89
|
-
customer:
|
|
101
|
+
payment: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment/lib/state").PaymentState>;
|
|
102
|
+
reservation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation/lib/state").ReservationState>;
|
|
103
|
+
room: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_room/lib/state").RoomState>;
|
|
104
|
+
pack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack/lib/state").PackState>;
|
|
105
|
+
paymentHistory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment-history/lib/state").PaymentHistoryState>;
|
|
106
|
+
customer: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_customer/lib/state").CustomerState>;
|
|
90
107
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
91
108
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
92
109
|
packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/state").PackOptionState>;
|
|
93
110
|
packHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-hotel/lib/state").PackHotelState>;
|
|
94
111
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
|
|
95
|
-
passengerLocation:
|
|
112
|
+
passengerLocation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passengers-location/lib/state").PassengerLocationState>;
|
|
96
113
|
};
|
|
97
114
|
export declare const initialSagas: {
|
|
98
115
|
passenger: typeof passengerSaga;
|
|
99
116
|
constants: typeof constantsSaga;
|
|
100
117
|
trip: typeof TripSaga;
|
|
101
118
|
tripPicture: typeof TripPictureSaga;
|
|
102
|
-
group:
|
|
119
|
+
group: typeof groupSaga;
|
|
103
120
|
user: typeof userSaga;
|
|
104
|
-
guest:
|
|
105
|
-
visaType:
|
|
106
|
-
visaCategory:
|
|
107
|
-
visaStatus:
|
|
108
|
-
visa:
|
|
109
|
-
visaRequest:
|
|
121
|
+
guest: typeof guestSaga;
|
|
122
|
+
visaType: typeof visaTypeSaga;
|
|
123
|
+
visaCategory: typeof visaCategorySaga;
|
|
124
|
+
visaStatus: typeof VisaStatusSaga;
|
|
125
|
+
visa: typeof VisaSaga;
|
|
126
|
+
visaRequest: typeof VisaRequestSaga;
|
|
110
127
|
identity: typeof IdentitySaga;
|
|
111
128
|
passengerHotel: typeof PassengerHotelSaga;
|
|
112
129
|
hotel: typeof HotelSaga;
|
|
@@ -114,22 +131,22 @@ export declare const initialSagas: {
|
|
|
114
131
|
tripHotel: typeof TripHotelSaga;
|
|
115
132
|
passengerGroup: typeof PassengerGroupSaga;
|
|
116
133
|
passengerPack: typeof PassengerPackSaga;
|
|
117
|
-
luggage:
|
|
118
|
-
luggageTracking:
|
|
119
|
-
identityType:
|
|
134
|
+
luggage: typeof LuggageSaga;
|
|
135
|
+
luggageTracking: typeof LuggageTrackingSaga;
|
|
136
|
+
identityType: typeof IdentityTypeSaga;
|
|
120
137
|
relation: typeof RelationSaga;
|
|
121
|
-
payment:
|
|
122
|
-
reservation:
|
|
123
|
-
room:
|
|
124
|
-
pack:
|
|
125
|
-
paymentHistory:
|
|
126
|
-
customer:
|
|
138
|
+
payment: typeof PaymentSaga;
|
|
139
|
+
reservation: typeof ReservationSaga;
|
|
140
|
+
room: typeof RoomSaga;
|
|
141
|
+
pack: typeof PackSaga;
|
|
142
|
+
paymentHistory: typeof PaymentHistorySaga;
|
|
143
|
+
customer: typeof CustomerSaga;
|
|
127
144
|
tripTransportation: typeof TripTransportationSaga;
|
|
128
145
|
passengerPathology: typeof PassengerPathologySaga;
|
|
129
146
|
packOption: typeof packOptionSaga;
|
|
130
147
|
packHotel: typeof PackHotelSaga;
|
|
131
148
|
packTransportation: typeof PackTransportationSaga;
|
|
132
|
-
passengerLocation:
|
|
149
|
+
passengerLocation: typeof PassengerLocationSaga;
|
|
133
150
|
};
|
|
134
151
|
export type States = {
|
|
135
152
|
passengersState: passengersState;
|
|
@@ -170,7 +187,7 @@ export type States = {
|
|
|
170
187
|
};
|
|
171
188
|
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";
|
|
172
189
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
173
|
-
export declare const sagas:
|
|
190
|
+
export declare const sagas: (typeof passengerSaga | typeof constantsSaga | typeof TripSaga | typeof TripPictureSaga | 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 PaymentSaga | typeof ReservationSaga | typeof RoomSaga | typeof PackSaga | typeof PaymentHistorySaga | typeof CustomerSaga | typeof TripTransportationSaga | typeof PassengerPathologySaga | typeof packOptionSaga | typeof PackHotelSaga | typeof PackTransportationSaga | typeof PassengerLocationSaga)[];
|
|
174
191
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
175
192
|
waitForRehydrate?: boolean): void;
|
|
176
193
|
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.512",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"@aprilium/tripsm_common": "^0.0.14",
|
|
16
16
|
"@aprilium/tripsm_constants": "^0.0.61",
|
|
17
17
|
"@aprilium/tripsm_customer": "^0.0.2",
|
|
18
|
-
"@aprilium/tripsm_guest": "^0.0.
|
|
18
|
+
"@aprilium/tripsm_guest": "^0.0.8",
|
|
19
19
|
"@aprilium/tripsm_hotel": "^0.0.11",
|
|
20
20
|
"@aprilium/tripsm_identity": "^0.0.27",
|
|
21
|
-
"@aprilium/tripsm_trip": "^0.0.
|
|
21
|
+
"@aprilium/tripsm_trip": "^0.0.39",
|
|
22
22
|
"@aprilium/tripsm_trip-group": "^0.0.24",
|
|
23
23
|
"@aprilium/tripsm_identity-type": "^0.0.10",
|
|
24
24
|
"@aprilium/tripsm_luggage": "^0.0.14",
|