@aprilium/tripsm_global-states 0.0.343 → 0.0.344
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 +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -31,94 +31,69 @@ 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";
|
|
36
34
|
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";
|
|
46
|
-
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
47
35
|
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";
|
|
54
36
|
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";
|
|
61
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
62
37
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
63
38
|
export declare const reducers: {
|
|
64
|
-
passengersState:
|
|
39
|
+
passengersState: any;
|
|
65
40
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
66
|
-
trip:
|
|
67
|
-
group:
|
|
68
|
-
user:
|
|
69
|
-
guest:
|
|
70
|
-
visaType:
|
|
71
|
-
visaCategory:
|
|
72
|
-
visaStatus:
|
|
73
|
-
visa:
|
|
74
|
-
visaRequest:
|
|
75
|
-
identity:
|
|
76
|
-
passengerHotel:
|
|
77
|
-
hotel:
|
|
41
|
+
trip: any;
|
|
42
|
+
group: any;
|
|
43
|
+
user: any;
|
|
44
|
+
guest: any;
|
|
45
|
+
visaType: any;
|
|
46
|
+
visaCategory: any;
|
|
47
|
+
visaStatus: any;
|
|
48
|
+
visa: any;
|
|
49
|
+
visaRequest: any;
|
|
50
|
+
identity: any;
|
|
51
|
+
passengerHotel: any;
|
|
52
|
+
hotel: any;
|
|
78
53
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
79
|
-
tripHotel:
|
|
80
|
-
passengerGroup:
|
|
81
|
-
passengerPack:
|
|
82
|
-
luggage:
|
|
83
|
-
luggageTracking:
|
|
84
|
-
identityType:
|
|
54
|
+
tripHotel: any;
|
|
55
|
+
passengerGroup: any;
|
|
56
|
+
passengerPack: any;
|
|
57
|
+
luggage: any;
|
|
58
|
+
luggageTracking: any;
|
|
59
|
+
identityType: any;
|
|
85
60
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
86
|
-
payment:
|
|
87
|
-
reservation:
|
|
88
|
-
room:
|
|
89
|
-
paymentHistory:
|
|
90
|
-
customer:
|
|
91
|
-
tripTransportation:
|
|
61
|
+
payment: any;
|
|
62
|
+
reservation: any;
|
|
63
|
+
room: any;
|
|
64
|
+
paymentHistory: any;
|
|
65
|
+
customer: any;
|
|
66
|
+
tripTransportation: any;
|
|
92
67
|
};
|
|
93
68
|
export declare const initialSagas: {
|
|
94
|
-
passenger:
|
|
69
|
+
passenger: any;
|
|
95
70
|
constants: typeof constantsSaga;
|
|
96
|
-
trip:
|
|
97
|
-
group:
|
|
98
|
-
user:
|
|
99
|
-
guest:
|
|
100
|
-
visaType:
|
|
101
|
-
visaCategory:
|
|
102
|
-
visaStatus:
|
|
103
|
-
visa:
|
|
104
|
-
visaRequest:
|
|
105
|
-
identity:
|
|
106
|
-
passengerHotel:
|
|
107
|
-
hotel:
|
|
71
|
+
trip: any;
|
|
72
|
+
group: any;
|
|
73
|
+
user: any;
|
|
74
|
+
guest: any;
|
|
75
|
+
visaType: any;
|
|
76
|
+
visaCategory: any;
|
|
77
|
+
visaStatus: any;
|
|
78
|
+
visa: any;
|
|
79
|
+
visaRequest: any;
|
|
80
|
+
identity: any;
|
|
81
|
+
passengerHotel: any;
|
|
82
|
+
hotel: any;
|
|
108
83
|
ticket: typeof TicketSaga;
|
|
109
|
-
tripHotel:
|
|
110
|
-
passengerGroup:
|
|
111
|
-
passengerPack:
|
|
112
|
-
luggage:
|
|
113
|
-
luggageTracking:
|
|
114
|
-
identityType:
|
|
84
|
+
tripHotel: any;
|
|
85
|
+
passengerGroup: any;
|
|
86
|
+
passengerPack: any;
|
|
87
|
+
luggage: any;
|
|
88
|
+
luggageTracking: any;
|
|
89
|
+
identityType: any;
|
|
115
90
|
relation: typeof RelationSaga;
|
|
116
|
-
payment:
|
|
117
|
-
reservation:
|
|
118
|
-
room:
|
|
119
|
-
paymentHistory:
|
|
120
|
-
customer:
|
|
121
|
-
tripTransportation:
|
|
91
|
+
payment: any;
|
|
92
|
+
reservation: any;
|
|
93
|
+
room: any;
|
|
94
|
+
paymentHistory: any;
|
|
95
|
+
customer: any;
|
|
96
|
+
tripTransportation: any;
|
|
122
97
|
};
|
|
123
98
|
export type States = {
|
|
124
99
|
passengersState: passengersState;
|
|
@@ -152,7 +127,7 @@ export type States = {
|
|
|
152
127
|
};
|
|
153
128
|
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";
|
|
154
129
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
155
|
-
export declare const sagas:
|
|
130
|
+
export declare const sagas: any[];
|
|
156
131
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
157
132
|
waitForRehydrate?: boolean): void;
|
|
158
133
|
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.344",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@aprilium/tripsm_visa-status": "^0.0.8",
|
|
35
35
|
"@aprilium/tripsm_visa-type": "^0.0.6",
|
|
36
36
|
"@aprilium/tripsm_visa-request": "^0.0.12",
|
|
37
|
-
"@aprilium/tripsm_relation": "^0.0.
|
|
37
|
+
"@aprilium/tripsm_relation": "^0.0.7",
|
|
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",
|