feat(SW-340) Moved types to types folder

This commit is contained in:
Pontus Dreij
2024-11-08 12:35:33 +01:00
parent a47da33343
commit 9186c0cbd1
2 changed files with 9 additions and 7 deletions

View File

@@ -57,3 +57,10 @@ export enum PointOfInterestGroupEnum {
export type ParkingData = z.infer<typeof parkingSchema>
export type Facility = z.infer<typeof facilitySchema> & { id: string }
export type HotelMapContentProps = {
coordinates: { lat: number; lng: number }
pointsOfInterest: PointOfInterest[]
onActivePoiChange?: (poiName: string | null) => void
activePoi?: string | null
}