@aprilium/tripsm_global-states 0.0.410 → 0.0.412

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +47 -70
  2. package/package.json +3 -3
package/lib/index.d.ts CHANGED
@@ -36,107 +36,84 @@ import { State as passengerPathologyState } from "@aprilium/tripsm_passenger-pat
36
36
  import { State as packOptionState } from "@aprilium/tripsm_pack-options/lib/state";
37
37
  import { State as packHotelState } from "@aprilium/tripsm_pack-hotel/lib/state";
38
38
  import { State as packTransportationState } from "@aprilium/tripsm_pack-transportation/lib/state";
39
- import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
40
- import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
41
39
  import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
42
- import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
43
40
  import userSaga from "@aprilium/tripsm_user/lib/effects";
44
- import guestSaga from "@aprilium/tripsm_guest/lib/effects";
45
- import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
46
- import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
47
- import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
48
- import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
49
- import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
50
- import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
51
41
  import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
52
42
  import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
53
43
  import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
54
- import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
55
- import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
56
- import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
57
- import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
58
- import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
59
44
  import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
60
- import TripSaga from "@aprilium/tripsm_trip/lib/effects";
61
- import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
62
- import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
63
- import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
64
- import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
65
45
  import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
66
- import RoomSaga from "@aprilium/tripsm_room/lib/effects";
67
- import PackSaga from "@aprilium/tripsm_pack/lib/effects";
68
46
  import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
69
- import packOptionSaga from "@aprilium/tripsm_pack-options/lib/effects";
70
47
  import PackHotelSaga from "@aprilium/tripsm_pack-hotel/lib/effects";
71
48
  import PackTransportationSaga from "@aprilium/tripsm_pack-transportation/lib/effects";
72
49
  export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
73
50
  export declare const reducers: {
74
- passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
51
+ passengersState: any;
75
52
  constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
76
- trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
77
- group: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-group/lib/state").GroupState>;
53
+ trip: any;
54
+ group: any;
78
55
  user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
79
- guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/state").GuestState>;
80
- visaType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-type/lib/state").VisaTypeState>;
81
- visaCategory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-category/lib/state").VisaCategoryState>;
82
- visaStatus: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-status/lib/state").VisaStatusState>;
83
- visa: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa/lib/state").VisaState>;
84
- visaRequest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-request/lib/state").VisaRequestState>;
85
- identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
86
- passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
56
+ guest: any;
57
+ visaType: any;
58
+ visaCategory: any;
59
+ visaStatus: any;
60
+ visa: any;
61
+ visaRequest: any;
62
+ identity: any;
63
+ passengerHotel: any;
87
64
  hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
88
65
  ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
89
66
  tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
90
- passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/state").PassengerGroupState>;
91
- passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
92
- luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/state").LuggageState>;
93
- luggageTracking: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage-tracking/lib/state").LuggageTrackingState>;
94
- identityType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity-type/lib/state").IdentityTypeState>;
67
+ passengerGroup: any;
68
+ passengerPack: any;
69
+ luggage: any;
70
+ luggageTracking: any;
71
+ identityType: any;
95
72
  relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
96
- payment: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment/lib/state").PaymentState>;
97
- reservation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation/lib/state").ReservationState>;
98
- room: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_room/lib/state").RoomState>;
99
- pack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack/lib/state").PackState>;
100
- paymentHistory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment-history/lib/state").PaymentHistoryState>;
101
- customer: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_customer/lib/state").CustomerState>;
73
+ payment: any;
74
+ reservation: any;
75
+ room: any;
76
+ pack: any;
77
+ paymentHistory: any;
78
+ customer: any;
102
79
  tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
103
80
  passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
104
- packOption: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-options/lib/state").PackOptionState>;
81
+ packOption: any;
105
82
  packHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-hotel/lib/state").PackHotelState>;
106
83
  packTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack-transportation/lib/state").PackTransportationState>;
107
84
  };
108
85
  export declare const initialSagas: {
109
- passenger: typeof passengerSaga;
86
+ passenger: any;
110
87
  constants: typeof constantsSaga;
111
- trip: typeof TripSaga;
112
- group: typeof groupSaga;
88
+ trip: any;
89
+ group: any;
113
90
  user: typeof userSaga;
114
- guest: typeof guestSaga;
115
- visaType: typeof visaTypeSaga;
116
- visaCategory: typeof visaCategorySaga;
117
- visaStatus: typeof VisaStatusSaga;
118
- visa: typeof VisaSaga;
119
- visaRequest: typeof VisaRequestSaga;
120
- identity: typeof IdentitySaga;
121
- passengerHotel: typeof PassengerHotelSaga;
91
+ guest: any;
92
+ visaType: any;
93
+ visaCategory: any;
94
+ visaStatus: any;
95
+ visa: any;
96
+ visaRequest: any;
97
+ identity: any;
98
+ passengerHotel: any;
122
99
  hotel: typeof HotelSaga;
123
100
  ticket: typeof TicketSaga;
124
101
  tripHotel: typeof TripHotelSaga;
125
- passengerGroup: typeof PassengerGroupSaga;
126
- passengerPack: typeof PassengerPackSaga;
127
- luggage: typeof LuggageSaga;
128
- luggageTracking: typeof LuggageTrackingSaga;
129
- identityType: typeof IdentityTypeSaga;
102
+ passengerGroup: any;
103
+ passengerPack: any;
104
+ luggage: any;
105
+ luggageTracking: any;
106
+ identityType: any;
130
107
  relation: typeof RelationSaga;
131
- payment: typeof PaymentSaga;
132
- reservation: typeof ReservationSaga;
133
- room: typeof RoomSaga;
134
- pack: typeof PackSaga;
135
- paymentHistory: typeof PaymentHistorySaga;
136
- customer: typeof CustomerSaga;
108
+ payment: any;
109
+ reservation: any;
110
+ room: any;
111
+ pack: any;
112
+ paymentHistory: any;
113
+ customer: any;
137
114
  tripTransportation: typeof TripTransportationSaga;
138
115
  passengerPathology: typeof PassengerPathologySaga;
139
- packOption: typeof packOptionSaga;
116
+ packOption: any;
140
117
  packHotel: typeof PackHotelSaga;
141
118
  packTransportation: typeof PackTransportationSaga;
142
119
  };
@@ -177,7 +154,7 @@ export type States = {
177
154
  };
178
155
  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" | "packOption" | "pack-hotel" | "pack-transportation";
179
156
  export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
180
- 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 | typeof packOptionSaga | typeof PackHotelSaga | typeof PackTransportationSaga)[];
157
+ export declare const sagas: any[];
181
158
  export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
182
159
  waitForRehydrate?: boolean): void;
183
160
  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.410",
3
+ "version": "0.0.412",
4
4
  "description": "global states",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -34,14 +34,14 @@
34
34
  "@aprilium/tripsm_room": "^0.0.8",
35
35
  "@aprilium/tripsm_ticket": "^0.0.26",
36
36
  "@aprilium/tripsm_trip-hotel": "^0.0.18",
37
- "@aprilium/tripsm_trip-transportation": "^0.0.6",
37
+ "@aprilium/tripsm_trip-transportation": "^0.0.7",
38
38
  "@aprilium/tripsm_user": "^0.0.24",
39
39
  "@aprilium/tripsm_visa": "^0.0.12",
40
40
  "@aprilium/tripsm_visa-category": "^0.0.6",
41
41
  "@aprilium/tripsm_visa-request": "^0.0.12",
42
42
  "@aprilium/tripsm_visa-status": "^0.0.8",
43
43
  "@aprilium/tripsm_visa-type": "^0.0.6",
44
- "@aprilium/tripsm_pack": "^0.0.14",
44
+ "@aprilium/tripsm_pack": "^0.0.15",
45
45
  "@aprilium/tripsm_passenger-pathology": "^0.0.6",
46
46
  "@aprilium/tripsm_pack-options": "^0.0.3",
47
47
  "@aprilium/tripsm_pack-hotel": "^0.0.4",