@aprilium/tripsm_global-states 0.0.356 → 0.0.358

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 CHANGED
@@ -32,6 +32,7 @@ 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
34
  import { State as packState } from "@aprilium/tripsm_pack/lib/state";
35
+ import { State as passengerPathologyState } from "@aprilium/tripsm_passenger-pathology/lib/state";
35
36
  import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
36
37
  import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
37
38
  import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
@@ -61,6 +62,7 @@ import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
61
62
  import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
62
63
  import RoomSaga from "@aprilium/tripsm_room/lib/effects";
63
64
  import PackSaga from "@aprilium/tripsm_pack/lib/effects";
65
+ import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
64
66
  export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
65
67
  export declare const reducers: {
66
68
  passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
@@ -92,6 +94,7 @@ export declare const reducers: {
92
94
  paymentHistory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment-history/lib/state").PaymentHistoryState>;
93
95
  customer: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_customer/lib/state").CustomerState>;
94
96
  tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
97
+ passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
95
98
  };
96
99
  export declare const initialSagas: {
97
100
  passenger: typeof passengerSaga;
@@ -123,6 +126,7 @@ export declare const initialSagas: {
123
126
  paymentHistory: typeof PaymentHistorySaga;
124
127
  customer: typeof CustomerSaga;
125
128
  tripTransportation: typeof TripTransportationSaga;
129
+ passengerPathology: typeof PassengerPathologySaga;
126
130
  };
127
131
  export type States = {
128
132
  passengersState: passengersState;
@@ -154,10 +158,11 @@ export type States = {
154
158
  room: roomState;
155
159
  pack: packState;
156
160
  tripTransportation: tripTransportationState;
161
+ passengerPathology: passengerPathologyState;
157
162
  };
158
- 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";
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";
159
164
  export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
160
- 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)[];
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)[];
161
166
  export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
162
167
  waitForRehydrate?: boolean): void;
163
168
  declare function configStore(extraMiddleWares: any[] | undefined, // Adding other middlewares
package/lib/index.js CHANGED
@@ -86,6 +86,7 @@ var lib_27 = require("@aprilium/tripsm_customer/lib");
86
86
  var lib_28 = require("@aprilium/tripsm_trip-transportation/lib");
87
87
  var lib_29 = require("@aprilium/tripsm_room/lib");
88
88
  var lib_30 = require("@aprilium/tripsm_pack/lib");
89
+ var lib_31 = require("@aprilium/tripsm_passenger-pathology/lib");
89
90
  var state_1 = require("@aprilium/tripsm_visa/lib/state");
90
91
  var state_2 = require("@aprilium/tripsm_visa-request/lib/state");
91
92
  var state_3 = require("@aprilium/tripsm_visa-category/lib/state");
@@ -115,6 +116,7 @@ var state_26 = require("@aprilium/tripsm_customer/lib/state");
115
116
  var state_27 = require("@aprilium/tripsm_trip-transportation/lib/state");
116
117
  var state_28 = require("@aprilium/tripsm_room/lib/state");
117
118
  var state_29 = require("@aprilium/tripsm_pack/lib/state");
119
+ var state_30 = require("@aprilium/tripsm_passenger-pathology/lib/state");
118
120
  //import sagas
119
121
  var effects_2 = __importDefault(require("@aprilium/tripsm_passenger/lib/effects"));
120
122
  var effects_3 = __importDefault(require("@aprilium/tripsm_visa-type/lib/effects"));
@@ -145,6 +147,7 @@ var effects_27 = __importDefault(require("@aprilium/tripsm_customer/lib/effects"
145
147
  var effects_28 = __importDefault(require("@aprilium/tripsm_trip-transportation/lib/effects"));
146
148
  var effects_29 = __importDefault(require("@aprilium/tripsm_room/lib/effects"));
147
149
  var effects_30 = __importDefault(require("@aprilium/tripsm_pack/lib/effects"));
150
+ var effects_31 = __importDefault(require("@aprilium/tripsm_passenger-pathology/lib/effects"));
148
151
  exports.sagaMiddleware = (0, redux_saga_1.default)();
149
152
  exports.reducers = {
150
153
  passengersState: state_22.passengerReducerFunction,
@@ -176,6 +179,7 @@ exports.reducers = {
176
179
  paymentHistory: state_25.PaymentHistoryReducerFunction,
177
180
  customer: state_26.CustomerReducerFunction,
178
181
  tripTransportation: state_27.TripTransportationReducerFunction,
182
+ passengerPathology: state_30.PassengerPathologyReducerFunction,
179
183
  };
180
184
  exports.initialSagas = {
181
185
  passenger: effects_2.default,
@@ -207,6 +211,7 @@ exports.initialSagas = {
207
211
  paymentHistory: effects_26.default,
208
212
  customer: effects_27.default,
209
213
  tripTransportation: effects_28.default,
214
+ passengerPathology: effects_31.default,
210
215
  };
211
216
  function setUrlConfig(coreApi, debugMode) {
212
217
  if (debugMode === void 0) { debugMode = false; }
@@ -330,6 +335,10 @@ function setUrlConfig(coreApi, debugMode) {
330
335
  CORE_BASE_URL: coreApi,
331
336
  DEBUG_MODE: debugMode,
332
337
  });
338
+ lib_31.urlsConfig.setURls({
339
+ CORE_BASE_URL: coreApi,
340
+ DEBUG_MODE: debugMode,
341
+ });
333
342
  }
334
343
  exports.setUrlConfig = setUrlConfig;
335
344
  exports.sagas = Object.keys(exports.initialSagas).map(function (key) { return exports.initialSagas[key]; });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aprilium/tripsm_global-states",
3
- "version": "0.0.356",
3
+ "version": "0.0.358",
4
4
  "description": "global states",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "@aprilium/tripsm_customer": "^0.0.2",
43
43
  "@aprilium/tripsm_trip-transportation": "^0.0.3",
44
44
  "@aprilium/tripsm_room": "^0.0.7",
45
- "@aprilium/tripsm_pack": "^0.0.5",
45
+ "@aprilium/tripsm_pack": "^0.0.6",
46
46
 
47
47
  "@types/react": "^17.0.0",
48
48
  "axios": "^0.21.1",