feat(SW-325): added mapId as environment variables
This commit is contained in:
@@ -6,4 +6,5 @@ export interface DynamicMapProps {
|
||||
hotelName: string
|
||||
coordinates: Coordinates
|
||||
pointsOfInterest: PointOfInterest[]
|
||||
mapId: string
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PointOfInterest } from "@/types/hotel"
|
||||
import type { PointOfInterest } from "@/types/hotel"
|
||||
|
||||
export interface MapCardProps {
|
||||
hotelName: string
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PointOfInterest } from "@/types/hotel"
|
||||
import type { PointOfInterest } from "@/types/hotel"
|
||||
|
||||
export interface SidebarProps {
|
||||
hotelName: string
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { RoomData } from "@/types/hotel"
|
||||
import type { RoomData } from "@/types/hotel"
|
||||
|
||||
export interface RoomCardProps {
|
||||
id: string
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user