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