@aprilium/tripsm_global-states 0.0.384 → 0.0.386
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 +45 -67
- package/package.json +10 -9
package/lib/index.d.ts
CHANGED
|
@@ -33,98 +33,76 @@ import { State as tripTransportationState } from "@aprilium/tripsm_trip-transpor
|
|
|
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
35
|
import { State as passengerPathologyState } from "@aprilium/tripsm_passenger-pathology/lib/state";
|
|
36
|
-
import passengerSaga from "@aprilium/tripsm_passenger/lib/effects";
|
|
37
|
-
import visaTypeSaga from "@aprilium/tripsm_visa-type/lib/effects";
|
|
38
36
|
import constantsSaga from "@aprilium/tripsm_constants/lib/effects";
|
|
39
|
-
import groupSaga from "@aprilium/tripsm_trip-group/lib/effects";
|
|
40
37
|
import userSaga from "@aprilium/tripsm_user/lib/effects";
|
|
41
|
-
import guestSaga from "@aprilium/tripsm_guest/lib/effects";
|
|
42
|
-
import visaCategorySaga from "@aprilium/tripsm_visa-category/lib/effects";
|
|
43
|
-
import VisaStatusSaga from "@aprilium/tripsm_visa-status/lib/effects";
|
|
44
|
-
import VisaSaga from "@aprilium/tripsm_visa/lib/effects";
|
|
45
|
-
import VisaRequestSaga from "@aprilium/tripsm_visa-request/lib/effects";
|
|
46
|
-
import IdentitySaga from "@aprilium/tripsm_identity/lib/effects";
|
|
47
|
-
import PassengerHotelSaga from "@aprilium/tripsm_passenger-hotel/lib/effects";
|
|
48
38
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
49
39
|
import TicketSaga from "@aprilium/tripsm_ticket/lib/effects";
|
|
50
40
|
import TripHotelSaga from "@aprilium/tripsm_trip-hotel/lib/effects";
|
|
51
|
-
import PassengerGroupSaga from "@aprilium/tripsm_passenger-group/lib/effects";
|
|
52
|
-
import PassengerPackSaga from "@aprilium/tripsm_passenger-pack/lib/effects";
|
|
53
|
-
import LuggageSaga from "@aprilium/tripsm_luggage/lib/effects";
|
|
54
|
-
import LuggageTrackingSaga from "@aprilium/tripsm_luggage-tracking/lib/effects";
|
|
55
|
-
import IdentityTypeSaga from "@aprilium/tripsm_identity-type/lib/effects";
|
|
56
41
|
import RelationSaga from "@aprilium/tripsm_relation/lib/effects";
|
|
57
|
-
import TripSaga from "@aprilium/tripsm_trip/lib/effects";
|
|
58
|
-
import PaymentSaga from "@aprilium/tripsm_payment/lib/effects";
|
|
59
|
-
import ReservationSaga from "@aprilium/tripsm_reservation/lib/effects";
|
|
60
|
-
import PaymentHistorySaga from "@aprilium/tripsm_payment-history/lib/effects";
|
|
61
|
-
import CustomerSaga from "@aprilium/tripsm_customer/lib/effects";
|
|
62
42
|
import TripTransportationSaga from "@aprilium/tripsm_trip-transportation/lib/effects";
|
|
63
|
-
import RoomSaga from "@aprilium/tripsm_room/lib/effects";
|
|
64
|
-
import PackSaga from "@aprilium/tripsm_pack/lib/effects";
|
|
65
43
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
66
44
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
67
45
|
export declare const reducers: {
|
|
68
|
-
passengersState:
|
|
46
|
+
passengersState: any;
|
|
69
47
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
70
|
-
trip:
|
|
71
|
-
group:
|
|
48
|
+
trip: any;
|
|
49
|
+
group: any;
|
|
72
50
|
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
73
|
-
guest:
|
|
74
|
-
visaType:
|
|
75
|
-
visaCategory:
|
|
76
|
-
visaStatus:
|
|
77
|
-
visa:
|
|
78
|
-
visaRequest:
|
|
79
|
-
identity:
|
|
80
|
-
passengerHotel:
|
|
51
|
+
guest: any;
|
|
52
|
+
visaType: any;
|
|
53
|
+
visaCategory: any;
|
|
54
|
+
visaStatus: any;
|
|
55
|
+
visa: any;
|
|
56
|
+
visaRequest: any;
|
|
57
|
+
identity: any;
|
|
58
|
+
passengerHotel: any;
|
|
81
59
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
82
60
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
83
61
|
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
84
|
-
passengerGroup:
|
|
85
|
-
passengerPack:
|
|
86
|
-
luggage:
|
|
87
|
-
luggageTracking:
|
|
88
|
-
identityType:
|
|
62
|
+
passengerGroup: any;
|
|
63
|
+
passengerPack: any;
|
|
64
|
+
luggage: any;
|
|
65
|
+
luggageTracking: any;
|
|
66
|
+
identityType: any;
|
|
89
67
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
90
|
-
payment:
|
|
91
|
-
reservation:
|
|
92
|
-
room:
|
|
93
|
-
pack:
|
|
94
|
-
paymentHistory:
|
|
95
|
-
customer:
|
|
68
|
+
payment: any;
|
|
69
|
+
reservation: any;
|
|
70
|
+
room: any;
|
|
71
|
+
pack: any;
|
|
72
|
+
paymentHistory: any;
|
|
73
|
+
customer: any;
|
|
96
74
|
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
97
75
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
98
76
|
};
|
|
99
77
|
export declare const initialSagas: {
|
|
100
|
-
passenger:
|
|
78
|
+
passenger: any;
|
|
101
79
|
constants: typeof constantsSaga;
|
|
102
|
-
trip:
|
|
103
|
-
group:
|
|
80
|
+
trip: any;
|
|
81
|
+
group: any;
|
|
104
82
|
user: typeof userSaga;
|
|
105
|
-
guest:
|
|
106
|
-
visaType:
|
|
107
|
-
visaCategory:
|
|
108
|
-
visaStatus:
|
|
109
|
-
visa:
|
|
110
|
-
visaRequest:
|
|
111
|
-
identity:
|
|
112
|
-
passengerHotel:
|
|
83
|
+
guest: any;
|
|
84
|
+
visaType: any;
|
|
85
|
+
visaCategory: any;
|
|
86
|
+
visaStatus: any;
|
|
87
|
+
visa: any;
|
|
88
|
+
visaRequest: any;
|
|
89
|
+
identity: any;
|
|
90
|
+
passengerHotel: any;
|
|
113
91
|
hotel: typeof HotelSaga;
|
|
114
92
|
ticket: typeof TicketSaga;
|
|
115
93
|
tripHotel: typeof TripHotelSaga;
|
|
116
|
-
passengerGroup:
|
|
117
|
-
passengerPack:
|
|
118
|
-
luggage:
|
|
119
|
-
luggageTracking:
|
|
120
|
-
identityType:
|
|
94
|
+
passengerGroup: any;
|
|
95
|
+
passengerPack: any;
|
|
96
|
+
luggage: any;
|
|
97
|
+
luggageTracking: any;
|
|
98
|
+
identityType: any;
|
|
121
99
|
relation: typeof RelationSaga;
|
|
122
|
-
payment:
|
|
123
|
-
reservation:
|
|
124
|
-
room:
|
|
125
|
-
pack:
|
|
126
|
-
paymentHistory:
|
|
127
|
-
customer:
|
|
100
|
+
payment: any;
|
|
101
|
+
reservation: any;
|
|
102
|
+
room: any;
|
|
103
|
+
pack: any;
|
|
104
|
+
paymentHistory: any;
|
|
105
|
+
customer: any;
|
|
128
106
|
tripTransportation: typeof TripTransportationSaga;
|
|
129
107
|
passengerPathology: typeof PassengerPathologySaga;
|
|
130
108
|
};
|
|
@@ -162,7 +140,7 @@ export type States = {
|
|
|
162
140
|
};
|
|
163
141
|
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";
|
|
164
142
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
165
|
-
export declare const sagas:
|
|
143
|
+
export declare const sagas: any[];
|
|
166
144
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
167
145
|
waitForRehydrate?: boolean): void;
|
|
168
146
|
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.386",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -13,36 +13,37 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@aprilium/tripsm_common": "^0.0.12",
|
|
16
|
-
"@aprilium/tripsm_constants": "^0.0.
|
|
16
|
+
"@aprilium/tripsm_constants": "^0.0.52",
|
|
17
17
|
"@aprilium/tripsm_customer": "^0.0.2",
|
|
18
18
|
"@aprilium/tripsm_guest": "^0.0.1",
|
|
19
19
|
"@aprilium/tripsm_hotel": "^0.0.10",
|
|
20
20
|
"@aprilium/tripsm_identity": "^0.0.23",
|
|
21
|
+
"@aprilium/tripsm_trip": "^0.0.28",
|
|
22
|
+
"@aprilium/tripsm_trip-group": "^0.0.24",
|
|
21
23
|
"@aprilium/tripsm_identity-type": "^0.0.10",
|
|
22
24
|
"@aprilium/tripsm_luggage": "^0.0.10",
|
|
23
25
|
"@aprilium/tripsm_luggage-tracking": "^0.0.8",
|
|
24
|
-
"@aprilium/tripsm_pack": "^0.0.8",
|
|
25
26
|
"@aprilium/tripsm_passenger": "^0.0.80",
|
|
26
27
|
"@aprilium/tripsm_passenger-group": "^0.0.13",
|
|
27
28
|
"@aprilium/tripsm_passenger-hotel": "^0.0.11",
|
|
28
29
|
"@aprilium/tripsm_passenger-pack": "^0.0.11",
|
|
29
|
-
"@aprilium/tripsm_passenger-pathology": "^0.0.6",
|
|
30
30
|
"@aprilium/tripsm_payment": "^0.0.7",
|
|
31
31
|
"@aprilium/tripsm_payment-history": "^0.0.4",
|
|
32
32
|
"@aprilium/tripsm_relation": "^0.0.8",
|
|
33
33
|
"@aprilium/tripsm_reservation": "^0.0.12",
|
|
34
34
|
"@aprilium/tripsm_room": "^0.0.8",
|
|
35
35
|
"@aprilium/tripsm_ticket": "^0.0.26",
|
|
36
|
-
"@aprilium/tripsm_trip": "^0.0.
|
|
37
|
-
"@aprilium/tripsm_trip-
|
|
38
|
-
"@aprilium/tripsm_trip-hotel": "^0.0.15",
|
|
39
|
-
"@aprilium/tripsm_trip-transportation": "^0.0.3",
|
|
36
|
+
"@aprilium/tripsm_trip-hotel": "^0.0.16",
|
|
37
|
+
"@aprilium/tripsm_trip-transportation": "^0.0.5",
|
|
40
38
|
"@aprilium/tripsm_user": "^0.0.24",
|
|
41
39
|
"@aprilium/tripsm_visa": "^0.0.12",
|
|
42
40
|
"@aprilium/tripsm_visa-category": "^0.0.6",
|
|
43
41
|
"@aprilium/tripsm_visa-request": "^0.0.12",
|
|
44
42
|
"@aprilium/tripsm_visa-status": "^0.0.8",
|
|
45
43
|
"@aprilium/tripsm_visa-type": "^0.0.6",
|
|
44
|
+
"@aprilium/tripsm_pack": "^0.0.8",
|
|
45
|
+
"@aprilium/tripsm_passenger-pathology": "^0.0.6",
|
|
46
|
+
|
|
46
47
|
"@types/react": "^17.0.0",
|
|
47
48
|
"axios": "^0.21.1",
|
|
48
49
|
"immer": "^9.0.15",
|
|
@@ -56,4 +57,4 @@
|
|
|
56
57
|
},
|
|
57
58
|
"author": "Jomma",
|
|
58
59
|
"license": "ISC"
|
|
59
|
-
}
|
|
60
|
+
}
|