@aprilium/tripsm_global-states 0.0.354 → 0.0.355
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 +49 -73
- package/package.json +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -32,97 +32,73 @@ import { State as customerState } from "@aprilium/tripsm_customer/lib/state";
|
|
|
32
32
|
import { State as tripTransportationState } from "@aprilium/tripsm_trip-transportation/lib/state";
|
|
33
33
|
import { State as roomState } from "@aprilium/tripsm_room/lib/state";
|
|
34
34
|
import { State as packState } from "@aprilium/tripsm_pack/lib/state";
|
|
35
|
-
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
36
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
37
35
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
38
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
39
|
-
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
40
|
-
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
41
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
42
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
43
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
44
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
45
|
-
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
46
|
-
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
47
36
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
48
37
|
import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
49
|
-
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
50
|
-
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
51
|
-
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
52
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
53
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
54
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
55
38
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
56
|
-
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
57
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
58
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
59
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
60
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
61
|
-
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
62
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
63
39
|
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
64
40
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
65
41
|
export declare const reducers: {
|
|
66
|
-
passengersState:
|
|
42
|
+
passengersState: any;
|
|
67
43
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
68
|
-
trip:
|
|
69
|
-
group:
|
|
70
|
-
user:
|
|
71
|
-
guest:
|
|
72
|
-
visaType:
|
|
73
|
-
visaCategory:
|
|
74
|
-
visaStatus:
|
|
75
|
-
visa:
|
|
76
|
-
visaRequest:
|
|
77
|
-
identity:
|
|
78
|
-
passengerHotel:
|
|
44
|
+
trip: any;
|
|
45
|
+
group: any;
|
|
46
|
+
user: any;
|
|
47
|
+
guest: any;
|
|
48
|
+
visaType: any;
|
|
49
|
+
visaCategory: any;
|
|
50
|
+
visaStatus: any;
|
|
51
|
+
visa: any;
|
|
52
|
+
visaRequest: any;
|
|
53
|
+
identity: any;
|
|
54
|
+
passengerHotel: any;
|
|
79
55
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
80
56
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
81
|
-
tripHotel:
|
|
82
|
-
passengerGroup:
|
|
83
|
-
passengerPack:
|
|
84
|
-
luggage:
|
|
85
|
-
luggageTracking:
|
|
86
|
-
identityType:
|
|
57
|
+
tripHotel: any;
|
|
58
|
+
passengerGroup: any;
|
|
59
|
+
passengerPack: any;
|
|
60
|
+
luggage: any;
|
|
61
|
+
luggageTracking: any;
|
|
62
|
+
identityType: any;
|
|
87
63
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
88
|
-
payment:
|
|
89
|
-
reservation:
|
|
90
|
-
room:
|
|
64
|
+
payment: any;
|
|
65
|
+
reservation: any;
|
|
66
|
+
room: any;
|
|
91
67
|
pack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack/lib/state").PackState>;
|
|
92
|
-
paymentHistory:
|
|
93
|
-
customer:
|
|
94
|
-
tripTransportation:
|
|
68
|
+
paymentHistory: any;
|
|
69
|
+
customer: any;
|
|
70
|
+
tripTransportation: any;
|
|
95
71
|
};
|
|
96
72
|
export declare const initialSagas: {
|
|
97
|
-
passenger:
|
|
73
|
+
passenger: any;
|
|
98
74
|
constants: typeof constantsSaga;
|
|
99
|
-
trip:
|
|
100
|
-
group:
|
|
101
|
-
user:
|
|
102
|
-
guest:
|
|
103
|
-
visaType:
|
|
104
|
-
visaCategory:
|
|
105
|
-
visaStatus:
|
|
106
|
-
visa:
|
|
107
|
-
visaRequest:
|
|
108
|
-
identity:
|
|
109
|
-
passengerHotel:
|
|
75
|
+
trip: any;
|
|
76
|
+
group: any;
|
|
77
|
+
user: any;
|
|
78
|
+
guest: any;
|
|
79
|
+
visaType: any;
|
|
80
|
+
visaCategory: any;
|
|
81
|
+
visaStatus: any;
|
|
82
|
+
visa: any;
|
|
83
|
+
visaRequest: any;
|
|
84
|
+
identity: any;
|
|
85
|
+
passengerHotel: any;
|
|
110
86
|
hotel: typeof HotelSaga;
|
|
111
87
|
ticket: typeof TicketSaga;
|
|
112
|
-
tripHotel:
|
|
113
|
-
passengerGroup:
|
|
114
|
-
passengerPack:
|
|
115
|
-
luggage:
|
|
116
|
-
luggageTracking:
|
|
117
|
-
identityType:
|
|
88
|
+
tripHotel: any;
|
|
89
|
+
passengerGroup: any;
|
|
90
|
+
passengerPack: any;
|
|
91
|
+
luggage: any;
|
|
92
|
+
luggageTracking: any;
|
|
93
|
+
identityType: any;
|
|
118
94
|
relation: typeof RelationSaga;
|
|
119
|
-
payment:
|
|
120
|
-
reservation:
|
|
121
|
-
room:
|
|
95
|
+
payment: any;
|
|
96
|
+
reservation: any;
|
|
97
|
+
room: any;
|
|
122
98
|
pack: typeof PackSaga;
|
|
123
|
-
paymentHistory:
|
|
124
|
-
customer:
|
|
125
|
-
tripTransportation:
|
|
99
|
+
paymentHistory: any;
|
|
100
|
+
customer: any;
|
|
101
|
+
tripTransportation: any;
|
|
126
102
|
};
|
|
127
103
|
export type States = {
|
|
128
104
|
passengersState: passengersState;
|
|
@@ -157,7 +133,7 @@ export type States = {
|
|
|
157
133
|
};
|
|
158
134
|
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";
|
|
159
135
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
160
|
-
export declare const sagas:
|
|
136
|
+
export declare const sagas: any[];
|
|
161
137
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
162
138
|
waitForRehydrate?: boolean): void;
|
|
163
139
|
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.355",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@aprilium/tripsm_passenger": "^0.0.80",
|
|
16
16
|
"@aprilium/tripsm_common": "^0.0.8",
|
|
17
|
-
"@aprilium/tripsm_constants": "^0.0.
|
|
17
|
+
"@aprilium/tripsm_constants": "^0.0.45",
|
|
18
18
|
"@aprilium/tripsm_trip": "^0.0.28",
|
|
19
19
|
"@aprilium/tripsm_trip-group": "^0.0.24",
|
|
20
20
|
"@aprilium/tripsm_hotel": "^0.0.10",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"@aprilium/tripsm_trip-transportation": "^0.0.3",
|
|
43
43
|
"@aprilium/tripsm_room": "^0.0.7",
|
|
44
44
|
"@aprilium/tripsm_pack": "^0.0.4",
|
|
45
|
+
"@aprilium/tripsm_passenger-pathology": "^0.0.1",
|
|
45
46
|
|
|
46
47
|
"@types/react": "^17.0.0",
|
|
47
48
|
"axios": "^0.21.1",
|