@aprilium/tripsm_global-states 0.0.417 → 0.0.419
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 +64 -43
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -36,48 +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";
|
|
49
|
+
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
50
|
+
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
41
51
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
42
52
|
import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
43
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";
|
|
44
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";
|
|
45
59
|
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";
|
|
46
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";
|
|
47
68
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
48
69
|
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
|
|
49
70
|
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
|
|
50
71
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
|
|
51
72
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
52
73
|
export declare const reducers: {
|
|
53
|
-
passengersState:
|
|
74
|
+
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
54
75
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
55
|
-
trip:
|
|
56
|
-
group:
|
|
76
|
+
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
77
|
+
group: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-group/lib/state").GroupState>;
|
|
57
78
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
58
|
-
guest:
|
|
59
|
-
visaType:
|
|
60
|
-
visaCategory:
|
|
61
|
-
visaStatus:
|
|
62
|
-
visa:
|
|
63
|
-
visaRequest:
|
|
64
|
-
identity:
|
|
65
|
-
passengerHotel:
|
|
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>;
|
|
85
|
+
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
86
|
+
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
66
87
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
67
88
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
68
89
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
69
|
-
passengerGroup:
|
|
70
|
-
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>;
|
|
71
92
|
luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/state").LuggageState>;
|
|
72
|
-
luggageTracking:
|
|
73
|
-
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>;
|
|
74
95
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
75
|
-
payment:
|
|
76
|
-
reservation:
|
|
77
|
-
room:
|
|
78
|
-
pack:
|
|
79
|
-
paymentHistory:
|
|
80
|
-
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>;
|
|
81
102
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
82
103
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
83
104
|
packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/state").PackOptionState>;
|
|
@@ -85,34 +106,34 @@ export declare const reducers: {
|
|
|
85
106
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
|
|
86
107
|
};
|
|
87
108
|
export declare const initialSagas: {
|
|
88
|
-
passenger:
|
|
109
|
+
passenger: typeof passengerSaga;
|
|
89
110
|
constants: typeof constantsSaga;
|
|
90
|
-
trip:
|
|
91
|
-
group:
|
|
111
|
+
trip: typeof TripSaga;
|
|
112
|
+
group: typeof groupSaga;
|
|
92
113
|
user: typeof userSaga;
|
|
93
|
-
guest:
|
|
94
|
-
visaType:
|
|
95
|
-
visaCategory:
|
|
96
|
-
visaStatus:
|
|
97
|
-
visa:
|
|
98
|
-
visaRequest:
|
|
99
|
-
identity:
|
|
100
|
-
passengerHotel:
|
|
114
|
+
guest: typeof guestSaga;
|
|
115
|
+
visaType: typeof visaTypeSaga;
|
|
116
|
+
visaCategory: typeof visaCategorySaga;
|
|
117
|
+
visaStatus: typeof VisaStatusSaga;
|
|
118
|
+
visa: typeof VisaSaga;
|
|
119
|
+
visaRequest: typeof VisaRequestSaga;
|
|
120
|
+
identity: typeof IdentitySaga;
|
|
121
|
+
passengerHotel: typeof PassengerHotelSaga;
|
|
101
122
|
hotel: typeof HotelSaga;
|
|
102
123
|
ticket: typeof TicketSaga;
|
|
103
124
|
tripHotel: typeof TripHotelSaga;
|
|
104
|
-
passengerGroup:
|
|
105
|
-
passengerPack:
|
|
125
|
+
passengerGroup: typeof PassengerGroupSaga;
|
|
126
|
+
passengerPack: typeof PassengerPackSaga;
|
|
106
127
|
luggage: typeof LuggageSaga;
|
|
107
|
-
luggageTracking:
|
|
108
|
-
identityType:
|
|
128
|
+
luggageTracking: typeof LuggageTrackingSaga;
|
|
129
|
+
identityType: typeof IdentityTypeSaga;
|
|
109
130
|
relation: typeof RelationSaga;
|
|
110
|
-
payment:
|
|
111
|
-
reservation:
|
|
112
|
-
room:
|
|
113
|
-
pack:
|
|
114
|
-
paymentHistory:
|
|
115
|
-
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;
|
|
116
137
|
tripTransportation: typeof TripTransportationSaga;
|
|
117
138
|
passengerPathology: typeof PassengerPathologySaga;
|
|
118
139
|
packOption: typeof packOptionSaga;
|
|
@@ -156,7 +177,7 @@ export type States = {
|
|
|
156
177
|
};
|
|
157
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";
|
|
158
179
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
159
|
-
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)[];
|
|
160
181
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
161
182
|
waitForRehydrate?: boolean): void;
|
|
162
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.419",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@aprilium/tripsm_common": "^0.0.12",
|
|
16
|
-
"@aprilium/tripsm_constants": "^0.0.
|
|
16
|
+
"@aprilium/tripsm_constants": "^0.0.60",
|
|
17
17
|
"@aprilium/tripsm_customer": "^0.0.2",
|
|
18
18
|
"@aprilium/tripsm_guest": "^0.0.1",
|
|
19
19
|
"@aprilium/tripsm_hotel": "^0.0.10",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@aprilium/tripsm_luggage-tracking": "^0.0.8",
|
|
26
26
|
"@aprilium/tripsm_passenger": "^0.0.80",
|
|
27
27
|
"@aprilium/tripsm_passenger-group": "^0.0.13",
|
|
28
|
-
"@aprilium/tripsm_passenger-hotel": "^0.0.
|
|
28
|
+
"@aprilium/tripsm_passenger-hotel": "^0.0.12",
|
|
29
29
|
"@aprilium/tripsm_passenger-pack": "^0.0.11",
|
|
30
30
|
"@aprilium/tripsm_payment": "^0.0.7",
|
|
31
31
|
"@aprilium/tripsm_payment-history": "^0.0.4",
|