@aprilium/tripsm_global-states 0.0.375 → 0.0.376
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 +76 -51
- package/package.json +6 -6
package/lib/index.d.ts
CHANGED
|
@@ -33,74 +33,99 @@ 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";
|
|
36
38
|
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";
|
|
37
48
|
import HotelSaga from "@aprilium/tripsm_hotel/lib/effects";
|
|
38
49
|
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";
|
|
39
56
|
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";
|
|
40
65
|
import PassengerPathologySaga from "@aprilium/tripsm_passenger-pathology/lib/effects";
|
|
41
66
|
export declare const sagaMiddleware: import("redux-saga").SagaMiddleware<object>;
|
|
42
67
|
export declare const reducers: {
|
|
43
|
-
passengersState:
|
|
68
|
+
passengersState: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger/lib/state").PassengerState>;
|
|
44
69
|
constants: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_constants/lib/state").ConstantState>;
|
|
45
|
-
trip:
|
|
46
|
-
group:
|
|
47
|
-
user:
|
|
48
|
-
guest:
|
|
49
|
-
visaType:
|
|
50
|
-
visaCategory:
|
|
51
|
-
visaStatus:
|
|
52
|
-
visa:
|
|
53
|
-
visaRequest:
|
|
54
|
-
identity:
|
|
55
|
-
passengerHotel:
|
|
70
|
+
trip: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip/lib/state").TripState>;
|
|
71
|
+
group: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-group/lib/state").GroupState>;
|
|
72
|
+
user: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_user/lib/state").UserState>;
|
|
73
|
+
guest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_guest/lib/state").GuestState>;
|
|
74
|
+
visaType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-type/lib/state").VisaTypeState>;
|
|
75
|
+
visaCategory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-category/lib/state").VisaCategoryState>;
|
|
76
|
+
visaStatus: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-status/lib/state").VisaStatusState>;
|
|
77
|
+
visa: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa/lib/state").VisaState>;
|
|
78
|
+
visaRequest: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_visa-request/lib/state").VisaRequestState>;
|
|
79
|
+
identity: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity/lib/state").IdentityState>;
|
|
80
|
+
passengerHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-hotel/lib/state").PassengerHotelState>;
|
|
56
81
|
hotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_hotel/lib/state").HotelState>;
|
|
57
82
|
ticket: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_ticket/lib/state").TicketState>;
|
|
58
|
-
tripHotel:
|
|
59
|
-
passengerGroup:
|
|
60
|
-
passengerPack:
|
|
61
|
-
luggage:
|
|
62
|
-
luggageTracking:
|
|
63
|
-
identityType:
|
|
83
|
+
tripHotel: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-hotel/lib/state").TripHotelState>;
|
|
84
|
+
passengerGroup: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-group/lib/state").PassengerGroupState>;
|
|
85
|
+
passengerPack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pack/lib/state").PassengerPackState>;
|
|
86
|
+
luggage: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage/lib/state").LuggageState>;
|
|
87
|
+
luggageTracking: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_luggage-tracking/lib/state").LuggageTrackingState>;
|
|
88
|
+
identityType: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_identity-type/lib/state").IdentityTypeState>;
|
|
64
89
|
relation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_relation/lib/state").RelationState>;
|
|
65
|
-
payment:
|
|
66
|
-
reservation:
|
|
67
|
-
room:
|
|
68
|
-
pack:
|
|
69
|
-
paymentHistory:
|
|
70
|
-
customer:
|
|
71
|
-
tripTransportation:
|
|
90
|
+
payment: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment/lib/state").PaymentState>;
|
|
91
|
+
reservation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_reservation/lib/state").ReservationState>;
|
|
92
|
+
room: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_room/lib/state").RoomState>;
|
|
93
|
+
pack: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_pack/lib/state").PackState>;
|
|
94
|
+
paymentHistory: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_payment-history/lib/state").PaymentHistoryState>;
|
|
95
|
+
customer: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_customer/lib/state").CustomerState>;
|
|
96
|
+
tripTransportation: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_trip-transportation/lib/state").TripTransportationState>;
|
|
72
97
|
passengerPathology: import("immer-reducer").ImmerReducerFunction<typeof import("@aprilium/tripsm_passenger-pathology/lib/state").PassengerPathologyState>;
|
|
73
98
|
};
|
|
74
99
|
export declare const initialSagas: {
|
|
75
|
-
passenger:
|
|
100
|
+
passenger: typeof passengerSaga;
|
|
76
101
|
constants: typeof constantsSaga;
|
|
77
|
-
trip:
|
|
78
|
-
group:
|
|
79
|
-
user:
|
|
80
|
-
guest:
|
|
81
|
-
visaType:
|
|
82
|
-
visaCategory:
|
|
83
|
-
visaStatus:
|
|
84
|
-
visa:
|
|
85
|
-
visaRequest:
|
|
86
|
-
identity:
|
|
87
|
-
passengerHotel:
|
|
102
|
+
trip: typeof TripSaga;
|
|
103
|
+
group: typeof groupSaga;
|
|
104
|
+
user: typeof userSaga;
|
|
105
|
+
guest: typeof guestSaga;
|
|
106
|
+
visaType: typeof visaTypeSaga;
|
|
107
|
+
visaCategory: typeof visaCategorySaga;
|
|
108
|
+
visaStatus: typeof VisaStatusSaga;
|
|
109
|
+
visa: typeof VisaSaga;
|
|
110
|
+
visaRequest: typeof VisaRequestSaga;
|
|
111
|
+
identity: typeof IdentitySaga;
|
|
112
|
+
passengerHotel: typeof PassengerHotelSaga;
|
|
88
113
|
hotel: typeof HotelSaga;
|
|
89
114
|
ticket: typeof TicketSaga;
|
|
90
|
-
tripHotel:
|
|
91
|
-
passengerGroup:
|
|
92
|
-
passengerPack:
|
|
93
|
-
luggage:
|
|
94
|
-
luggageTracking:
|
|
95
|
-
identityType:
|
|
115
|
+
tripHotel: typeof TripHotelSaga;
|
|
116
|
+
passengerGroup: typeof PassengerGroupSaga;
|
|
117
|
+
passengerPack: typeof PassengerPackSaga;
|
|
118
|
+
luggage: typeof LuggageSaga;
|
|
119
|
+
luggageTracking: typeof LuggageTrackingSaga;
|
|
120
|
+
identityType: typeof IdentityTypeSaga;
|
|
96
121
|
relation: typeof RelationSaga;
|
|
97
|
-
payment:
|
|
98
|
-
reservation:
|
|
99
|
-
room:
|
|
100
|
-
pack:
|
|
101
|
-
paymentHistory:
|
|
102
|
-
customer:
|
|
103
|
-
tripTransportation:
|
|
122
|
+
payment: typeof PaymentSaga;
|
|
123
|
+
reservation: typeof ReservationSaga;
|
|
124
|
+
room: typeof RoomSaga;
|
|
125
|
+
pack: typeof PackSaga;
|
|
126
|
+
paymentHistory: typeof PaymentHistorySaga;
|
|
127
|
+
customer: typeof CustomerSaga;
|
|
128
|
+
tripTransportation: typeof TripTransportationSaga;
|
|
104
129
|
passengerPathology: typeof PassengerPathologySaga;
|
|
105
130
|
};
|
|
106
131
|
export type States = {
|
|
@@ -137,7 +162,7 @@ export type States = {
|
|
|
137
162
|
};
|
|
138
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";
|
|
139
164
|
export declare function setUrlConfig(coreApi: string, debugMode?: boolean): void;
|
|
140
|
-
export declare const sagas:
|
|
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)[];
|
|
141
166
|
export declare function initSagaMiddleware(extraSagas?: Array<Saga>, // local sagas from frontEnd Client
|
|
142
167
|
waitForRehydrate?: boolean): void;
|
|
143
168
|
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.376",
|
|
4
4
|
"description": "global states",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"build": "tsc"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@aprilium/tripsm_common": "^0.0.
|
|
16
|
-
"@aprilium/tripsm_constants": "^0.0.
|
|
15
|
+
"@aprilium/tripsm_common": "^0.0.10",
|
|
16
|
+
"@aprilium/tripsm_constants": "^0.0.45",
|
|
17
17
|
"@aprilium/tripsm_customer": "^0.0.2",
|
|
18
18
|
"@aprilium/tripsm_guest": "^0.0.1",
|
|
19
19
|
"@aprilium/tripsm_hotel": "^0.0.10",
|
|
@@ -30,7 +30,7 @@
|
|
|
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
|
-
"@aprilium/tripsm_reservation": "^0.0.
|
|
33
|
+
"@aprilium/tripsm_reservation": "^0.0.12",
|
|
34
34
|
"@aprilium/tripsm_room": "^0.0.7",
|
|
35
35
|
"@aprilium/tripsm_ticket": "^0.0.26",
|
|
36
36
|
"@aprilium/tripsm_trip": "^0.0.28",
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
"redux-saga-tester": "^1.0.874",
|
|
55
55
|
"typescript": "^4.8.4"
|
|
56
56
|
},
|
|
57
|
-
"author": "
|
|
57
|
+
"author": "Jomma",
|
|
58
58
|
"license": "ISC"
|
|
59
|
-
}
|
|
59
|
+
}
|