@odynn/awayz-hotels 0.6.10 → 0.6.11
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/dist/hooks/index.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useHotelSearch as r } from "./useHotelSearch/useHotelSearch.js";
|
|
2
|
+
import { useLocationSearch as l } from "./useLocationSearch/useLocationSearch.js";
|
|
3
3
|
import { useHotelDetails as a } from "./useHotelDetails/useHotelDetails.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { useLocationSearch as x } from "./useLocationSearch/useLocationSearch.js";
|
|
4
|
+
import { useHotelSort as i } from "./useHotelSort/useHotelSort.js";
|
|
5
|
+
import { useAvailabilityAlerts as p } from "./useAvailabilityAlerts/useAvailabilityAlerts.js";
|
|
7
6
|
export {
|
|
8
|
-
|
|
9
|
-
i as useAvailabilityAlerts,
|
|
7
|
+
p as useAvailabilityAlerts,
|
|
10
8
|
a as useHotelDetails,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
r as useHotelSearch,
|
|
10
|
+
i as useHotelSort,
|
|
11
|
+
l as useLocationSearch
|
|
14
12
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { useAvailabilityAlertNotifications } from './useAvailabilityAlertNotifications/useAvailabilityAlertNotifications';
|
|
2
|
-
export { useAvailabilityAlerts } from './useAvailabilityAlerts/useAvailabilityAlerts';
|
|
3
|
-
export { useHotelDetails } from './useHotelDetails/useHotelDetails';
|
|
4
1
|
export { useHotelSearch } from './useHotelSearch/useHotelSearch';
|
|
5
|
-
export { useHotelSort } from './useHotelSort/useHotelSort';
|
|
6
2
|
export { useLocationSearch } from './useLocationSearch/useLocationSearch';
|
|
3
|
+
export { useHotelDetails } from './useHotelDetails/useHotelDetails';
|
|
4
|
+
export { useHotelSort } from './useHotelSort/useHotelSort';
|
|
5
|
+
export { useAvailabilityAlerts } from './useAvailabilityAlerts/useAvailabilityAlerts';
|
|
7
6
|
export * from './useHotelDetails/useHotelDetails.types';
|
|
@@ -110,8 +110,8 @@ export interface IUpdateAvailabilityAlertResponse {
|
|
|
110
110
|
* @property hotelId - Unique identifier for the hotel.
|
|
111
111
|
* @property hotelAddress - Address of the hotel.
|
|
112
112
|
* @property hotelImage - Image URL of the hotel.
|
|
113
|
-
* @property
|
|
114
|
-
* @property
|
|
113
|
+
* @property checkin - Check-in date (ISO string).
|
|
114
|
+
* @property checkout - Check-out date (ISO string).
|
|
115
115
|
* @property hotelGroup - Group or brand of the hotel.
|
|
116
116
|
* @property acknowledged - Whether the notification has been acknowledged.
|
|
117
117
|
* @property hasSentMail - Whether a notification email has been sent.
|
|
@@ -124,8 +124,8 @@ export interface IAvailabilityAlertNotification {
|
|
|
124
124
|
hotelId: string;
|
|
125
125
|
hotelAddress: string;
|
|
126
126
|
hotelImage: string;
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
checkin: string;
|
|
128
|
+
checkout: string;
|
|
129
129
|
hotelGroup: string;
|
|
130
130
|
acknowledged: boolean;
|
|
131
131
|
hasSentMail: boolean;
|
package/dist/main.js
CHANGED
|
@@ -2,30 +2,28 @@ import { ESearchType as t } from "./services/hotel/HotelService.types.js";
|
|
|
2
2
|
import { HotelResult as l } from "./components/HotelResult/HotelResult.js";
|
|
3
3
|
import { HotelResults as a } from "./components/HotelResults/HotelResults.js";
|
|
4
4
|
import { Legend as p } from "./components/Legend/Legend.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { useHotelDetails as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { EAvailabilityAlertStatus as D } from "./enums/EAvailabilityAlert.js";
|
|
5
|
+
import { useHotelSearch as s } from "./hooks/useHotelSearch/useHotelSearch.js";
|
|
6
|
+
import { useLocationSearch as u } from "./hooks/useLocationSearch/useLocationSearch.js";
|
|
7
|
+
import { useHotelDetails as d } from "./hooks/useHotelDetails/useHotelDetails.js";
|
|
8
|
+
import { useHotelSort as c } from "./hooks/useHotelSort/useHotelSort.js";
|
|
9
|
+
import { useAvailabilityAlerts as h } from "./hooks/useAvailabilityAlerts/useAvailabilityAlerts.js";
|
|
10
|
+
import { EHotelSortOption as A, ESortingOrder as E } from "./enums/index.js";
|
|
11
|
+
import { defaultLocationSortOrder as O, defaultSimilarityThreshold as T, duffelTestHotelLocation as b } from "./configs/defaults.js";
|
|
12
|
+
import { EAvailabilityAlertStatus as v } from "./enums/EAvailabilityAlert.js";
|
|
14
13
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
v as EAvailabilityAlertStatus,
|
|
15
|
+
A as EHotelSortOption,
|
|
17
16
|
t as ESearchType,
|
|
18
|
-
|
|
17
|
+
E as ESortingOrder,
|
|
19
18
|
l as HotelResult,
|
|
20
19
|
a as HotelResults,
|
|
21
20
|
p as Legend,
|
|
22
21
|
O as defaultLocationSortOrder,
|
|
23
22
|
T as defaultSimilarityThreshold,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
y as useLocationSearch
|
|
23
|
+
b as duffelTestHotelLocation,
|
|
24
|
+
h as useAvailabilityAlerts,
|
|
25
|
+
d as useHotelDetails,
|
|
26
|
+
s as useHotelSearch,
|
|
27
|
+
c as useHotelSort,
|
|
28
|
+
u as useLocationSearch
|
|
31
29
|
};
|