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