@aprilium/tripsm_global-states 0.0.331 → 0.0.333
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 +51 -76
- package/package.json +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -29,88 +29,63 @@ import { State as reservationState } from "@aprilium/tripsm_reservation/lib/stat
|
|
|
29
29
|
import { State as paymentHistorysState } from "@aprilium/tripsm_payment-history/lib/state";
|
|
30
30
|
import { State as customerState } from "@aprilium/tripsm_customer/lib/state";
|
|
31
31
|
import { State as tripTransportationState } from "@aprilium/tripsm_trip-transportation/lib/state";
|
|
32
|
-
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
33
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
34
32
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
35
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
36
|
-
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
37
|
-
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
38
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
39
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
40
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
41
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
42
|
-
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
43
|
-
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
44
|
-
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
45
|
-
import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
46
|
-
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
47
|
-
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
48
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
49
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
50
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
51
|
-
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
52
|
-
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
53
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
54
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
55
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
56
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
57
|
-
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
58
33
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
59
34
|
export declare const reducers: {
|
|
60
|
-
passengersState:
|
|
35
|
+
passengersState: any;
|
|
61
36
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
62
|
-
trip:
|
|
63
|
-
group:
|
|
64
|
-
user:
|
|
65
|
-
guest:
|
|
66
|
-
visaType:
|
|
67
|
-
visaCategory:
|
|
68
|
-
visaStatus:
|
|
69
|
-
visa:
|
|
70
|
-
visaRequest:
|
|
71
|
-
identity:
|
|
72
|
-
passengerHotel:
|
|
73
|
-
hotel:
|
|
74
|
-
ticket:
|
|
75
|
-
tripHotel:
|
|
76
|
-
passengerGroup:
|
|
77
|
-
luggage:
|
|
78
|
-
luggageTracking:
|
|
79
|
-
identityType:
|
|
80
|
-
relation:
|
|
81
|
-
payment:
|
|
82
|
-
reservation:
|
|
83
|
-
paymentHistory:
|
|
84
|
-
customer:
|
|
85
|
-
tripTransportation:
|
|
37
|
+
trip: any;
|
|
38
|
+
group: any;
|
|
39
|
+
user: any;
|
|
40
|
+
guest: any;
|
|
41
|
+
visaType: any;
|
|
42
|
+
visaCategory: any;
|
|
43
|
+
visaStatus: any;
|
|
44
|
+
visa: any;
|
|
45
|
+
visaRequest: any;
|
|
46
|
+
identity: any;
|
|
47
|
+
passengerHotel: any;
|
|
48
|
+
hotel: any;
|
|
49
|
+
ticket: any;
|
|
50
|
+
tripHotel: any;
|
|
51
|
+
passengerGroup: any;
|
|
52
|
+
luggage: any;
|
|
53
|
+
luggageTracking: any;
|
|
54
|
+
identityType: any;
|
|
55
|
+
relation: any;
|
|
56
|
+
payment: any;
|
|
57
|
+
reservation: any;
|
|
58
|
+
paymentHistory: any;
|
|
59
|
+
customer: any;
|
|
60
|
+
tripTransportation: any;
|
|
86
61
|
};
|
|
87
62
|
export declare const initialSagas: {
|
|
88
|
-
passenger:
|
|
63
|
+
passenger: any;
|
|
89
64
|
constants: typeof constantsSaga;
|
|
90
|
-
trip:
|
|
91
|
-
group:
|
|
92
|
-
user:
|
|
93
|
-
guest:
|
|
94
|
-
visaType:
|
|
95
|
-
visaCategory:
|
|
96
|
-
visaStatus:
|
|
97
|
-
visa:
|
|
98
|
-
visaRequest:
|
|
99
|
-
identity:
|
|
100
|
-
passengerHotel:
|
|
101
|
-
hotel:
|
|
102
|
-
ticket:
|
|
103
|
-
tripHotel:
|
|
104
|
-
passengerGroup:
|
|
105
|
-
luggage:
|
|
106
|
-
luggageTracking:
|
|
107
|
-
identityType:
|
|
108
|
-
relation:
|
|
109
|
-
payment:
|
|
110
|
-
reservation:
|
|
111
|
-
paymentHistory:
|
|
112
|
-
customer:
|
|
113
|
-
tripTransportation:
|
|
65
|
+
trip: any;
|
|
66
|
+
group: any;
|
|
67
|
+
user: any;
|
|
68
|
+
guest: any;
|
|
69
|
+
visaType: any;
|
|
70
|
+
visaCategory: any;
|
|
71
|
+
visaStatus: any;
|
|
72
|
+
visa: any;
|
|
73
|
+
visaRequest: any;
|
|
74
|
+
identity: any;
|
|
75
|
+
passengerHotel: any;
|
|
76
|
+
hotel: any;
|
|
77
|
+
ticket: any;
|
|
78
|
+
tripHotel: any;
|
|
79
|
+
passengerGroup: any;
|
|
80
|
+
luggage: any;
|
|
81
|
+
luggageTracking: any;
|
|
82
|
+
identityType: any;
|
|
83
|
+
relation: any;
|
|
84
|
+
payment: any;
|
|
85
|
+
reservation: any;
|
|
86
|
+
paymentHistory: any;
|
|
87
|
+
customer: any;
|
|
88
|
+
tripTransportation: any;
|
|
114
89
|
};
|
|
115
90
|
export type States = {
|
|
116
91
|
passengersState: passengersState;
|
|
@@ -142,7 +117,7 @@ export type States = {
|
|
|
142
117
|
};
|
|
143
118
|
export type StateName = "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";
|
|
144
119
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
145
|
-
export declare const sagas:
|
|
120
|
+
export declare const sagas: any[];
|
|
146
121
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
147
122
|
waitForRehydrate?: boolean): void;
|
|
148
123
|
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.333",
|
|
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.7",
|
|
17
|
-
"@aprilium/tripsm_constants": "^0.0.
|
|
17
|
+
"@aprilium/tripsm_constants": "^0.0.43",
|
|
18
18
|
"@aprilium/tripsm_trip": "^0.0.28",
|
|
19
19
|
"@aprilium/tripsm_trip-group": "^0.0.24",
|
|
20
20
|
"@aprilium/tripsm_hotel": "^0.0.9",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"@aprilium/tripsm_payment-history": "^0.0.4",
|
|
40
40
|
"@aprilium/tripsm_customer": "^0.0.2",
|
|
41
41
|
"@aprilium/tripsm_trip-transportation": "^0.0.3",
|
|
42
|
+
"@aprilium/tripsm_room": "^0.0.1",
|
|
42
43
|
"@types/react": "^17.0.0",
|
|
43
44
|
"axios": "^0.21.1",
|
|
44
45
|
"immer": "^9.0.15",
|