feat(SW-325): added mapId as environment variables

This commit is contained in:
Erik Tiekstra
2024-09-18 15:21:58 +02:00
parent e79f413003
commit 730f66d79a
17 changed files with 42 additions and 14 deletions

View File

@@ -6,4 +6,5 @@ export interface DynamicMapProps {
hotelName: string
coordinates: Coordinates
pointsOfInterest: PointOfInterest[]
mapId: string
}

View File

@@ -1,4 +1,4 @@
import { PointOfInterest } from "@/types/hotel"
import type { PointOfInterest } from "@/types/hotel"
export interface MapCardProps {
hotelName: string

View File

@@ -1,9 +1,10 @@
import { PointOfInterest } from "@/types/hotel"
import type { Coordinates } from "../../maps/coordinates"
import type { Coordinates } from "@/types/components/maps/coordinates"
import type { PointOfInterest } from "@/types/hotel"
export interface MapContentProps {
coordinates: Coordinates
pointsOfInterest: PointOfInterest[]
activePoi: PointOfInterest["name"] | null
mapId: string
onActivePoiChange: (poi: PointOfInterest["name"] | null) => void
}

View File

@@ -1,4 +1,4 @@
import { PointOfInterest } from "@/types/hotel"
import type { PointOfInterest } from "@/types/hotel"
export interface SidebarProps {
hotelName: string

View File

@@ -1,4 +1,4 @@
import { RoomData } from "@/types/hotel"
import type { RoomData } from "@/types/hotel"
export interface RoomCardProps {
id: string