feat(SW-750): add HotelLocation type
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import type { Hotel, HotelAddress } from "@/types/hotel"
|
||||
import type { Hotel, HotelAddress, HotelLocation } from "@/types/hotel"
|
||||
|
||||
export type AboutTheHotelSidePeekProps = {
|
||||
hotelAddress: HotelAddress
|
||||
coordinates: {
|
||||
lat: number
|
||||
lng: number
|
||||
}
|
||||
coordinates: HotelLocation
|
||||
contact: Hotel["contactInformation"]
|
||||
socials: Hotel["socialMedia"]
|
||||
ecoLabels: Hotel["hotelFacts"]["ecoLabels"]
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
import type { AboutTheHotelSidePeekProps } from "./aboutTheHotel"
|
||||
|
||||
export enum GoogleMapsDirections {
|
||||
BASE_URL = "https://www.google.com/maps/dir/?api=1&destination=",
|
||||
}
|
||||
|
||||
export type ContactInformationProps = Omit<
|
||||
AboutTheHotelSidePeekProps,
|
||||
"descriptions"
|
||||
|
||||
Reference in New Issue
Block a user