@revolugo/common 6.14.6-beta.6 → 6.14.6-beta.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/common",
3
- "version": "6.14.6-beta.6",
3
+ "version": "6.14.6-beta.8",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -15,6 +15,7 @@
15
15
  "src"
16
16
  ],
17
17
  "exports": {
18
+ "./amenities": "./src/amenities/index.ts",
18
19
  "./cancellation-policies": "./src/cancellation-policies.ts",
19
20
  "./countries": "./src/countries/index.ts",
20
21
  "./constants": "./src/constants/index.ts",
@@ -0,0 +1,51 @@
1
+ export const AMENITY_TO_ICONS = Object.freeze({
2
+ AirConditioning: 'wind',
3
+ AirportTransportation: 'planeTakeOff',
4
+ BusinessCenter: 'building',
5
+ CarRentDesk: 'car',
6
+ ChildrenAllowed: 'baby',
7
+ ClothingIron: 'shirt',
8
+ CoffeeTeaMaker: 'coffee',
9
+ Combination: 'buildings',
10
+ ContinentalBreakfast: 'egg',
11
+ DataPorts: 'deviceTablet',
12
+ DryCleaning: 'shirt',
13
+ ElectronicRoomKeys: 'key',
14
+ ExteriorRoomEntrance: 'doorOpen',
15
+ FamilyRooms: 'usersThree',
16
+ FitnessFacility: 'gym',
17
+ GameRoom: 'gameController',
18
+ GolfCourse: 'golf',
19
+ HairDryer: 'hairDryer',
20
+ HandicapAccessible: 'wheelchair',
21
+ InHouseBar: 'champagne',
22
+ InHouseDining: 'forkKnife',
23
+ InRoomMovies: 'filmReel',
24
+ IndoorPool: 'swimmingPool',
25
+ InteriorRoomEntrance: 'doorOpen',
26
+ Kitchen: 'forkKnife',
27
+ Map: 'mapPin',
28
+ MeetingRooms: 'chalkboard',
29
+ MiniBarInRoom: 'wine',
30
+ NonSmokingRooms: 'noSmoking',
31
+ OutdoorPool: 'swimmingPool',
32
+ ParkingGarage: 'parkingSign',
33
+ PetsAllowed: 'pawPrint',
34
+ RestrictedAccess: 'lock',
35
+ RoomService: 'bell',
36
+ Safe: 'vault',
37
+ Sauna: 'thermometerHot',
38
+ TennisCourt: 'tennisBall',
39
+ TvInRoom: 'monitor',
40
+ TwentyFourHourSecurity: 'shield',
41
+ ValetParking: 'car',
42
+ VideoCheckOut: 'filmReel',
43
+ VoiceMail: 'phone',
44
+ WakeUpService: 'clock',
45
+ Whirpool: 'swimmingPool',
46
+ Wifi: 'wifiHigh',
47
+ })
48
+
49
+ export const AMENITY_NAMES = Object.keys(AMENITY_TO_ICONS)
50
+
51
+ export type HotelRoomAmenitiesName = keyof typeof AMENITY_TO_ICONS
@@ -2,6 +2,7 @@ export const ICONS_NAME = Object.freeze({
2
2
  airplane: 'ph:airplane',
3
3
  archive: 'ph:archive',
4
4
  arrowDown: 'ph:arrow-down',
5
+ arrowHorizontal: 'ph:arrows-horizontal',
5
6
  arrowRight: 'ph:arrow-right',
6
7
  baby: 'ph:baby',
7
8
  bag: 'ph:bag',