@aprilium/tripsm_global-states 0.0.548 → 0.0.549
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 +43 -64
- package/package.json +38 -38
package/lib/index.d.ts
CHANGED
|
@@ -40,16 +40,8 @@ import { State as packTransportationState } from "@aprilium/tripsm_pack-transpor
|
|
|
40
40
|
import { State as passengerLocationState } from "@aprilium/tripsm_passengers-location/lib/state";
|
|
41
41
|
import { State as reservationRequestState } from "@aprilium/tripsm_reservation-request/lib/state";
|
|
42
42
|
import { State as tripfavorisState } from "@aprilium/tripsm_trip-favoris/lib/state";
|
|
43
|
-
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
44
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
45
43
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
46
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
47
44
|
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
48
|
-
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
49
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
50
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
51
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
52
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
53
45
|
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
54
46
|
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
55
47
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
@@ -57,40 +49,27 @@ import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
|
57
49
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
58
50
|
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
59
51
|
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
60
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
61
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
62
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
63
52
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
64
53
|
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
65
54
|
import TripPictureSaga from "@aprilium/tripsm_trip-picture/lib/effects";
|
|
66
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
67
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
68
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
69
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
70
55
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
71
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
72
|
-
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
73
56
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
74
|
-
import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
|
|
75
57
|
import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
|
|
76
58
|
import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
|
|
77
|
-
import PassengerLocationSaga from "@aprilium/tripsm_passengers-location/lib/effects";
|
|
78
|
-
import ReservationRequestSaga from "@aprilium/tripsm_reservation-request/lib/effects";
|
|
79
|
-
import tripFavorisSaga from "@aprilium/tripsm_trip-favoris/lib/effects";
|
|
80
59
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
81
60
|
export declare const reducers: {
|
|
82
|
-
passengersState:
|
|
61
|
+
passengersState: any;
|
|
83
62
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
84
63
|
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
85
64
|
tripPicture: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-picture/lib/state").TripPictureState>;
|
|
86
|
-
group:
|
|
65
|
+
group: any;
|
|
87
66
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
88
|
-
guest:
|
|
89
|
-
visaType:
|
|
90
|
-
visaCategory:
|
|
91
|
-
visaStatus:
|
|
92
|
-
visa:
|
|
93
|
-
visaRequest:
|
|
67
|
+
guest: any;
|
|
68
|
+
visaType: any;
|
|
69
|
+
visaCategory: any;
|
|
70
|
+
visaStatus: any;
|
|
71
|
+
visa: any;
|
|
72
|
+
visaRequest: any;
|
|
94
73
|
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
95
74
|
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
96
75
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
@@ -98,38 +77,38 @@ export declare const reducers: {
|
|
|
98
77
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
99
78
|
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/state").PassengerGroupState>;
|
|
100
79
|
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
|
|
101
|
-
luggage:
|
|
102
|
-
luggageTracking:
|
|
103
|
-
identityType:
|
|
80
|
+
luggage: any;
|
|
81
|
+
luggageTracking: any;
|
|
82
|
+
identityType: any;
|
|
104
83
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
105
|
-
payment:
|
|
106
|
-
reservation:
|
|
107
|
-
room:
|
|
108
|
-
pack:
|
|
109
|
-
paymentHistory:
|
|
110
|
-
customer:
|
|
84
|
+
payment: any;
|
|
85
|
+
reservation: any;
|
|
86
|
+
room: any;
|
|
87
|
+
pack: any;
|
|
88
|
+
paymentHistory: any;
|
|
89
|
+
customer: any;
|
|
111
90
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
112
91
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
113
|
-
packOption:
|
|
92
|
+
packOption: any;
|
|
114
93
|
packHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-hotel/lib/state").PackHotelState>;
|
|
115
94
|
packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
|
|
116
|
-
passengerLocation:
|
|
117
|
-
reservationRequest:
|
|
118
|
-
tripfavoris:
|
|
95
|
+
passengerLocation: any;
|
|
96
|
+
reservationRequest: any;
|
|
97
|
+
tripfavoris: any;
|
|
119
98
|
};
|
|
120
99
|
export declare const initialSagas: {
|
|
121
|
-
passenger:
|
|
100
|
+
passenger: any;
|
|
122
101
|
constants: typeof constantsSaga;
|
|
123
102
|
trip: typeof TripSaga;
|
|
124
103
|
tripPicture: typeof TripPictureSaga;
|
|
125
|
-
group:
|
|
104
|
+
group: any;
|
|
126
105
|
user: typeof userSaga;
|
|
127
|
-
guest:
|
|
128
|
-
visaType:
|
|
129
|
-
visaCategory:
|
|
130
|
-
visaStatus:
|
|
131
|
-
visa:
|
|
132
|
-
visaRequest:
|
|
106
|
+
guest: any;
|
|
107
|
+
visaType: any;
|
|
108
|
+
visaCategory: any;
|
|
109
|
+
visaStatus: any;
|
|
110
|
+
visa: any;
|
|
111
|
+
visaRequest: any;
|
|
133
112
|
identity: typeof IdentitySaga;
|
|
134
113
|
passengerHotel: typeof PassengerHotelSaga;
|
|
135
114
|
hotel: typeof HotelSaga;
|
|
@@ -137,24 +116,24 @@ export declare const initialSagas: {
|
|
|
137
116
|
tripHotel: typeof TripHotelSaga;
|
|
138
117
|
passengerGroup: typeof PassengerGroupSaga;
|
|
139
118
|
passengerPack: typeof PassengerPackSaga;
|
|
140
|
-
luggage:
|
|
141
|
-
luggageTracking:
|
|
142
|
-
identityType:
|
|
119
|
+
luggage: any;
|
|
120
|
+
luggageTracking: any;
|
|
121
|
+
identityType: any;
|
|
143
122
|
relation: typeof RelationSaga;
|
|
144
|
-
payment:
|
|
145
|
-
reservation:
|
|
146
|
-
room:
|
|
147
|
-
pack:
|
|
148
|
-
paymentHistory:
|
|
149
|
-
customer:
|
|
123
|
+
payment: any;
|
|
124
|
+
reservation: any;
|
|
125
|
+
room: any;
|
|
126
|
+
pack: any;
|
|
127
|
+
paymentHistory: any;
|
|
128
|
+
customer: any;
|
|
150
129
|
tripTransportation: typeof TripTransportationSaga;
|
|
151
130
|
passengerPathology: typeof PassengerPathologySaga;
|
|
152
|
-
packOption:
|
|
131
|
+
packOption: any;
|
|
153
132
|
packHotel: typeof PackHotelSaga;
|
|
154
133
|
packTransportation: typeof PackTransportationSaga;
|
|
155
|
-
passengerLocation:
|
|
156
|
-
reservationRequest:
|
|
157
|
-
tripFavoris:
|
|
134
|
+
passengerLocation: any;
|
|
135
|
+
reservationRequest: any;
|
|
136
|
+
tripFavoris: any;
|
|
158
137
|
};
|
|
159
138
|
export type States = {
|
|
160
139
|
passengersState: passengersState;
|
|
@@ -197,7 +176,7 @@ export type States = {
|
|
|
197
176
|
};
|
|
198
177
|
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" | "trip-picture" | "payment-state" | "payment-history" | "customer" | "reservation" | "trip-transportation" | "passenger-pathology" | "packOption" | "pack-hotel" | "pack-transportation" | "passenger-location" | "reservation-request" | "trip-favoris";
|
|
199
178
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
200
|
-
export declare const sagas:
|
|
179
|
+
export declare const sagas: any[];
|
|
201
180
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
202
181
|
waitForRehydrate?: boolean): void;
|
|
203
182
|
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.549",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -13,43 +13,43 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@aprilium/tripsm_common": "^0.0.14",
|
|
16
|
-
"@aprilium/tripsm_constants": "^0.0.
|
|
17
|
-
"@aprilium/tripsm_customer": "^0.0.
|
|
18
|
-
"@aprilium/tripsm_guest": "^0.0.
|
|
19
|
-
"@aprilium/tripsm_hotel": "^0.0.
|
|
20
|
-
"@aprilium/tripsm_identity": "^0.0.
|
|
21
|
-
"@aprilium/tripsm_identity-type": "^0.0.
|
|
22
|
-
"@aprilium/tripsm_luggage": "^0.0.
|
|
23
|
-
"@aprilium/tripsm_luggage-tracking": "^0.0.
|
|
24
|
-
"@aprilium/tripsm_pack": "^0.0.
|
|
25
|
-
"@aprilium/tripsm_pack-hotel": "^0.0.
|
|
26
|
-
"@aprilium/tripsm_pack-options": "^0.0.
|
|
27
|
-
"@aprilium/tripsm_pack-transportation": "^0.0.
|
|
28
|
-
"@aprilium/tripsm_passenger": "^0.0.
|
|
29
|
-
"@aprilium/tripsm_passenger-group": "^0.0.
|
|
30
|
-
"@aprilium/tripsm_passenger-hotel": "^0.0.
|
|
31
|
-
"@aprilium/tripsm_passenger-pack": "^0.0.
|
|
32
|
-
"@aprilium/tripsm_passenger-pathology": "^0.0.
|
|
33
|
-
"@aprilium/tripsm_passengers-location": "^0.0.
|
|
34
|
-
"@aprilium/tripsm_payment": "^0.0.
|
|
35
|
-
"@aprilium/tripsm_payment-history": "^0.0.
|
|
36
|
-
"@aprilium/tripsm_relation": "^0.0.
|
|
37
|
-
"@aprilium/tripsm_reservation": "^0.0.
|
|
38
|
-
"@aprilium/tripsm_reservation-request": "^0.0.
|
|
39
|
-
"@aprilium/tripsm_room": "^0.0.
|
|
40
|
-
"@aprilium/tripsm_ticket": "^0.0.
|
|
41
|
-
"@aprilium/tripsm_trip": "^0.0.
|
|
42
|
-
"@aprilium/tripsm_trip-favoris": "^0.0.
|
|
43
|
-
"@aprilium/tripsm_trip-group": "^0.0.
|
|
44
|
-
"@aprilium/tripsm_trip-hotel": "^0.0.
|
|
45
|
-
"@aprilium/tripsm_trip-picture": "^0.0.
|
|
46
|
-
"@aprilium/tripsm_trip-transportation": "^0.0.
|
|
47
|
-
"@aprilium/tripsm_user": "^0.0.
|
|
48
|
-
"@aprilium/tripsm_visa": "^0.0.
|
|
49
|
-
"@aprilium/tripsm_visa-category": "^0.0.
|
|
50
|
-
"@aprilium/tripsm_visa-request": "^0.0.
|
|
51
|
-
"@aprilium/tripsm_visa-status": "^0.0.
|
|
52
|
-
"@aprilium/tripsm_visa-type": "^0.0.
|
|
16
|
+
"@aprilium/tripsm_constants": "^0.0.62",
|
|
17
|
+
"@aprilium/tripsm_customer": "^0.0.3",
|
|
18
|
+
"@aprilium/tripsm_guest": "^0.0.17",
|
|
19
|
+
"@aprilium/tripsm_hotel": "^0.0.12",
|
|
20
|
+
"@aprilium/tripsm_identity": "^0.0.28",
|
|
21
|
+
"@aprilium/tripsm_identity-type": "^0.0.11",
|
|
22
|
+
"@aprilium/tripsm_luggage": "^0.0.15",
|
|
23
|
+
"@aprilium/tripsm_luggage-tracking": "^0.0.11",
|
|
24
|
+
"@aprilium/tripsm_pack": "^0.0.22",
|
|
25
|
+
"@aprilium/tripsm_pack-hotel": "^0.0.9",
|
|
26
|
+
"@aprilium/tripsm_pack-options": "^0.0.8",
|
|
27
|
+
"@aprilium/tripsm_pack-transportation": "^0.0.4",
|
|
28
|
+
"@aprilium/tripsm_passenger": "^0.0.111",
|
|
29
|
+
"@aprilium/tripsm_passenger-group": "^0.0.17",
|
|
30
|
+
"@aprilium/tripsm_passenger-hotel": "^0.0.17",
|
|
31
|
+
"@aprilium/tripsm_passenger-pack": "^0.0.14",
|
|
32
|
+
"@aprilium/tripsm_passenger-pathology": "^0.0.9",
|
|
33
|
+
"@aprilium/tripsm_passengers-location": "^0.0.4",
|
|
34
|
+
"@aprilium/tripsm_payment": "^0.0.8",
|
|
35
|
+
"@aprilium/tripsm_payment-history": "^0.0.5",
|
|
36
|
+
"@aprilium/tripsm_relation": "^0.0.9",
|
|
37
|
+
"@aprilium/tripsm_reservation": "^0.0.13",
|
|
38
|
+
"@aprilium/tripsm_reservation-request": "^0.0.3",
|
|
39
|
+
"@aprilium/tripsm_room": "^0.0.9",
|
|
40
|
+
"@aprilium/tripsm_ticket": "^0.0.28",
|
|
41
|
+
"@aprilium/tripsm_trip": "^0.0.49",
|
|
42
|
+
"@aprilium/tripsm_trip-favoris": "^0.0.4",
|
|
43
|
+
"@aprilium/tripsm_trip-group": "^0.0.25",
|
|
44
|
+
"@aprilium/tripsm_trip-hotel": "^0.0.19",
|
|
45
|
+
"@aprilium/tripsm_trip-picture": "^0.0.10",
|
|
46
|
+
"@aprilium/tripsm_trip-transportation": "^0.0.14",
|
|
47
|
+
"@aprilium/tripsm_user": "^0.0.29",
|
|
48
|
+
"@aprilium/tripsm_visa": "^0.0.13",
|
|
49
|
+
"@aprilium/tripsm_visa-category": "^0.0.7",
|
|
50
|
+
"@aprilium/tripsm_visa-request": "^0.0.13",
|
|
51
|
+
"@aprilium/tripsm_visa-status": "^0.0.10",
|
|
52
|
+
"@aprilium/tripsm_visa-type": "^0.0.8",
|
|
53
53
|
"@types/react": "^17.0.0",
|
|
54
54
|
"axios": "^0.21.1",
|
|
55
55
|
"dotenv": "^16.4.5",
|