feat(SW-750): add HotelLocation type

This commit is contained in:
Fredrik Thorsson
2024-11-20 13:19:59 +01:00
parent 1881f6646d
commit b8767dd8f1
6 changed files with 12 additions and 17 deletions

View File

@@ -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"]

View File

@@ -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"