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

View File

@@ -1,7 +1,7 @@
import { VariantProps } from "class-variance-authority"
import { poiVariants } from "@/components/Maps/Markers/Poi/variants"
import type { VariantProps } from "class-variance-authority"
export interface PoiMarkerProps extends VariantProps<typeof poiVariants> {
size?: number
className?: string

View File

@@ -1,4 +1,4 @@
import { Coordinates } from "./coordinates"
import type { Coordinates } from "./coordinates"
export type StaticMapProps = {
city?: string
@@ -8,4 +8,5 @@ export type StaticMapProps = {
zoomLevel?: number
mapType?: "roadmap" | "satellite" | "terrain" | "hybrid"
altText: string
mapId?: string
}