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