@aprilium/tripsm_global-states 0.0.383 → 0.0.385
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 +49 -73
- package/package.json +8 -7
package/lib/index.d.ts
CHANGED
|
@@ -33,99 +33,75 @@ 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
|
-
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
40
|
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
|
-
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
41
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
66
42
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
67
43
|
export declare const reducers: {
|
|
68
|
-
passengersState:
|
|
44
|
+
passengersState: any;
|
|
69
45
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
70
|
-
trip:
|
|
71
|
-
group:
|
|
46
|
+
trip: any;
|
|
47
|
+
group: any;
|
|
72
48
|
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:
|
|
49
|
+
guest: any;
|
|
50
|
+
visaType: any;
|
|
51
|
+
visaCategory: any;
|
|
52
|
+
visaStatus: any;
|
|
53
|
+
visa: any;
|
|
54
|
+
visaRequest: any;
|
|
55
|
+
identity: any;
|
|
56
|
+
passengerHotel: any;
|
|
81
57
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
82
58
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
83
|
-
tripHotel:
|
|
84
|
-
passengerGroup:
|
|
85
|
-
passengerPack:
|
|
86
|
-
luggage:
|
|
87
|
-
luggageTracking:
|
|
88
|
-
identityType:
|
|
59
|
+
tripHotel: any;
|
|
60
|
+
passengerGroup: any;
|
|
61
|
+
passengerPack: any;
|
|
62
|
+
luggage: any;
|
|
63
|
+
luggageTracking: any;
|
|
64
|
+
identityType: any;
|
|
89
65
|
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:
|
|
96
|
-
tripTransportation:
|
|
66
|
+
payment: any;
|
|
67
|
+
reservation: any;
|
|
68
|
+
room: any;
|
|
69
|
+
pack: any;
|
|
70
|
+
paymentHistory: any;
|
|
71
|
+
customer: any;
|
|
72
|
+
tripTransportation: any;
|
|
97
73
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
98
74
|
};
|
|
99
75
|
export declare const initialSagas: {
|
|
100
|
-
passenger:
|
|
76
|
+
passenger: any;
|
|
101
77
|
constants: typeof constantsSaga;
|
|
102
|
-
trip:
|
|
103
|
-
group:
|
|
78
|
+
trip: any;
|
|
79
|
+
group: any;
|
|
104
80
|
user: typeof userSaga;
|
|
105
|
-
guest:
|
|
106
|
-
visaType:
|
|
107
|
-
visaCategory:
|
|
108
|
-
visaStatus:
|
|
109
|
-
visa:
|
|
110
|
-
visaRequest:
|
|
111
|
-
identity:
|
|
112
|
-
passengerHotel:
|
|
81
|
+
guest: any;
|
|
82
|
+
visaType: any;
|
|
83
|
+
visaCategory: any;
|
|
84
|
+
visaStatus: any;
|
|
85
|
+
visa: any;
|
|
86
|
+
visaRequest: any;
|
|
87
|
+
identity: any;
|
|
88
|
+
passengerHotel: any;
|
|
113
89
|
hotel: typeof HotelSaga;
|
|
114
90
|
ticket: typeof TicketSaga;
|
|
115
|
-
tripHotel:
|
|
116
|
-
passengerGroup:
|
|
117
|
-
passengerPack:
|
|
118
|
-
luggage:
|
|
119
|
-
luggageTracking:
|
|
120
|
-
identityType:
|
|
91
|
+
tripHotel: any;
|
|
92
|
+
passengerGroup: any;
|
|
93
|
+
passengerPack: any;
|
|
94
|
+
luggage: any;
|
|
95
|
+
luggageTracking: any;
|
|
96
|
+
identityType: any;
|
|
121
97
|
relation: typeof RelationSaga;
|
|
122
|
-
payment:
|
|
123
|
-
reservation:
|
|
124
|
-
room:
|
|
125
|
-
pack:
|
|
126
|
-
paymentHistory:
|
|
127
|
-
customer:
|
|
128
|
-
tripTransportation:
|
|
98
|
+
payment: any;
|
|
99
|
+
reservation: any;
|
|
100
|
+
room: any;
|
|
101
|
+
pack: any;
|
|
102
|
+
paymentHistory: any;
|
|
103
|
+
customer: any;
|
|
104
|
+
tripTransportation: any;
|
|
129
105
|
passengerPathology: typeof PassengerPathologySaga;
|
|
130
106
|
};
|
|
131
107
|
export type States = {
|
|
@@ -162,7 +138,7 @@ export type States = {
|
|
|
162
138
|
};
|
|
163
139
|
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
140
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
165
|
-
export declare const sagas:
|
|
141
|
+
export declare const sagas: any[];
|
|
166
142
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
167
143
|
waitForRehydrate?: boolean): void;
|
|
168
144
|
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.385",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -13,28 +13,26 @@
|
|
|
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.50",
|
|
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.28",
|
|
37
|
-
"@aprilium/tripsm_trip-group": "^0.0.24",
|
|
38
36
|
"@aprilium/tripsm_trip-hotel": "^0.0.15",
|
|
39
37
|
"@aprilium/tripsm_trip-transportation": "^0.0.3",
|
|
40
38
|
"@aprilium/tripsm_user": "^0.0.24",
|
|
@@ -43,6 +41,9 @@
|
|
|
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
|
+
}
|