@aprilium/tripsm_global-states 0.0.365 → 0.0.367
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 +73 -49
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -33,75 +33,99 @@ import { State as tripTransportationState } from "@aprilium/tripsm_trip-transpor
|
|
|
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
35
|
import { State as passengerPathologyState } from "@aprilium/tripsm_passenger-pathology/lib/state";
|
|
36
|
+
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
37
|
+
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
36
38
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
39
|
+
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
40
|
+
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
41
|
+
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
42
|
+
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
43
|
+
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
44
|
+
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
45
|
+
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
46
|
+
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
47
|
+
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
37
48
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
38
49
|
import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
50
|
+
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
51
|
+
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
52
|
+
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
53
|
+
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
54
|
+
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
55
|
+
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
39
56
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
57
|
+
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
58
|
+
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
59
|
+
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
60
|
+
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
61
|
+
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
62
|
+
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
63
|
+
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
40
64
|
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
41
65
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
42
66
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
43
67
|
export declare const reducers: {
|
|
44
|
-
passengersState:
|
|
68
|
+
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
45
69
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
46
|
-
trip:
|
|
47
|
-
group:
|
|
48
|
-
user:
|
|
49
|
-
guest:
|
|
50
|
-
visaType:
|
|
51
|
-
visaCategory:
|
|
52
|
-
visaStatus:
|
|
53
|
-
visa:
|
|
54
|
-
visaRequest:
|
|
55
|
-
identity:
|
|
56
|
-
passengerHotel:
|
|
70
|
+
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
71
|
+
group: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-group/lib/state").GroupState>;
|
|
72
|
+
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
73
|
+
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/state").GuestState>;
|
|
74
|
+
visaType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-type/lib/state").VisaTypeState>;
|
|
75
|
+
visaCategory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-category/lib/state").VisaCategoryState>;
|
|
76
|
+
visaStatus: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-status/lib/state").VisaStatusState>;
|
|
77
|
+
visa: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa/lib/state").VisaState>;
|
|
78
|
+
visaRequest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-request/lib/state").VisaRequestState>;
|
|
79
|
+
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
80
|
+
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
57
81
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
58
82
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
59
|
-
tripHotel:
|
|
60
|
-
passengerGroup:
|
|
61
|
-
passengerPack:
|
|
62
|
-
luggage:
|
|
63
|
-
luggageTracking:
|
|
64
|
-
identityType:
|
|
83
|
+
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
84
|
+
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/state").PassengerGroupState>;
|
|
85
|
+
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
|
|
86
|
+
luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/state").LuggageState>;
|
|
87
|
+
luggageTracking: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage-tracking/lib/state").LuggageTrackingState>;
|
|
88
|
+
identityType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity-type/lib/state").IdentityTypeState>;
|
|
65
89
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
66
|
-
payment:
|
|
67
|
-
reservation:
|
|
68
|
-
room:
|
|
90
|
+
payment: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment/lib/state").PaymentState>;
|
|
91
|
+
reservation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation/lib/state").ReservationState>;
|
|
92
|
+
room: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_room/lib/state").RoomState>;
|
|
69
93
|
pack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack/lib/state").PackState>;
|
|
70
|
-
paymentHistory:
|
|
71
|
-
customer:
|
|
72
|
-
tripTransportation:
|
|
94
|
+
paymentHistory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment-history/lib/state").PaymentHistoryState>;
|
|
95
|
+
customer: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_customer/lib/state").CustomerState>;
|
|
96
|
+
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
73
97
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
74
98
|
};
|
|
75
99
|
export declare const initialSagas: {
|
|
76
|
-
passenger:
|
|
100
|
+
passenger: typeof passengerSaga;
|
|
77
101
|
constants: typeof constantsSaga;
|
|
78
|
-
trip:
|
|
79
|
-
group:
|
|
80
|
-
user:
|
|
81
|
-
guest:
|
|
82
|
-
visaType:
|
|
83
|
-
visaCategory:
|
|
84
|
-
visaStatus:
|
|
85
|
-
visa:
|
|
86
|
-
visaRequest:
|
|
87
|
-
identity:
|
|
88
|
-
passengerHotel:
|
|
102
|
+
trip: typeof TripSaga;
|
|
103
|
+
group: typeof groupSaga;
|
|
104
|
+
user: typeof userSaga;
|
|
105
|
+
guest: typeof guestSaga;
|
|
106
|
+
visaType: typeof visaTypeSaga;
|
|
107
|
+
visaCategory: typeof visaCategorySaga;
|
|
108
|
+
visaStatus: typeof VisaStatusSaga;
|
|
109
|
+
visa: typeof VisaSaga;
|
|
110
|
+
visaRequest: typeof VisaRequestSaga;
|
|
111
|
+
identity: typeof IdentitySaga;
|
|
112
|
+
passengerHotel: typeof PassengerHotelSaga;
|
|
89
113
|
hotel: typeof HotelSaga;
|
|
90
114
|
ticket: typeof TicketSaga;
|
|
91
|
-
tripHotel:
|
|
92
|
-
passengerGroup:
|
|
93
|
-
passengerPack:
|
|
94
|
-
luggage:
|
|
95
|
-
luggageTracking:
|
|
96
|
-
identityType:
|
|
115
|
+
tripHotel: typeof TripHotelSaga;
|
|
116
|
+
passengerGroup: typeof PassengerGroupSaga;
|
|
117
|
+
passengerPack: typeof PassengerPackSaga;
|
|
118
|
+
luggage: typeof LuggageSaga;
|
|
119
|
+
luggageTracking: typeof LuggageTrackingSaga;
|
|
120
|
+
identityType: typeof IdentityTypeSaga;
|
|
97
121
|
relation: typeof RelationSaga;
|
|
98
|
-
payment:
|
|
99
|
-
reservation:
|
|
100
|
-
room:
|
|
122
|
+
payment: typeof PaymentSaga;
|
|
123
|
+
reservation: typeof ReservationSaga;
|
|
124
|
+
room: typeof RoomSaga;
|
|
101
125
|
pack: typeof PackSaga;
|
|
102
|
-
paymentHistory:
|
|
103
|
-
customer:
|
|
104
|
-
tripTransportation:
|
|
126
|
+
paymentHistory: typeof PaymentHistorySaga;
|
|
127
|
+
customer: typeof CustomerSaga;
|
|
128
|
+
tripTransportation: typeof TripTransportationSaga;
|
|
105
129
|
passengerPathology: typeof PassengerPathologySaga;
|
|
106
130
|
};
|
|
107
131
|
export type States = {
|
|
@@ -138,7 +162,7 @@ export type States = {
|
|
|
138
162
|
};
|
|
139
163
|
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";
|
|
140
164
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
141
|
-
export declare const sagas:
|
|
165
|
+
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)[];
|
|
142
166
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
143
167
|
waitForRehydrate?: boolean): void;
|
|
144
168
|
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.367",
|
|
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",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@aprilium/tripsm_luggage": "^0.0.10",
|
|
28
28
|
"@aprilium/tripsm_luggage-tracking": "^0.0.8",
|
|
29
29
|
"@aprilium/tripsm_passenger-group": "^0.0.12",
|
|
30
|
-
"@aprilium/tripsm_passenger-pack": "^0.0.
|
|
30
|
+
"@aprilium/tripsm_passenger-pack": "^0.0.2",
|
|
31
31
|
"@aprilium/tripsm_ticket": "^0.0.26",
|
|
32
32
|
"@aprilium/tripsm_visa": "^0.0.12",
|
|
33
33
|
"@aprilium/tripsm_visa-category": "^0.0.6",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"@aprilium/tripsm_payment": "^0.0.7",
|
|
39
39
|
"@aprilium/tripsm_reservation": "^0.0.11",
|
|
40
40
|
"@aprilium/tripsm_payment-history": "^0.0.4",
|
|
41
|
+
"@aprilium/tripsm_passenger-pathology": "^0.0.5",
|
|
41
42
|
"@aprilium/tripsm_customer": "^0.0.2",
|
|
42
43
|
"@aprilium/tripsm_trip-transportation": "^0.0.3",
|
|
43
44
|
"@aprilium/tripsm_room": "^0.0.7",
|
|
44
|
-
"@aprilium/tripsm_pack": "^0.0.
|
|
45
|
-
"@aprilium/tripsm_passenger-pathology": "^0.0.5",
|
|
45
|
+
"@aprilium/tripsm_pack": "^0.0.7",
|
|
46
46
|
|
|
47
47
|
"@types/react": "^17.0.0",
|
|
48
48
|
"axios": "^0.21.1",
|