feat(SW-1012): Started implementing restaurant data
This commit is contained in:
committed by
Fredrik Thorsson
parent
05006506f0
commit
63a77b215d
@@ -1,5 +1,14 @@
|
||||
import type { RestaurantData } from "@/types/hotel"
|
||||
import type { RestaurantData, RestaurantOpeningHours } from "@/types/hotel"
|
||||
|
||||
export interface RestaurantBarSidePeekProps {
|
||||
restaurants: RestaurantData[]
|
||||
}
|
||||
|
||||
export interface RestaurantBarItemProps {
|
||||
restaurant: RestaurantData
|
||||
}
|
||||
|
||||
export interface RestaurantBarOpeningHoursProps {
|
||||
openingHours: RestaurantOpeningHours
|
||||
alternateOpeningHours?: RestaurantOpeningHours
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import { RouterOutput } from "@/lib/trpc/client"
|
||||
|
||||
export interface RoomProps {
|
||||
booking: RouterOutput["booking"]["confirmation"]["booking"]
|
||||
img: NonNullable<
|
||||
RouterOutput["booking"]["confirmation"]["hotel"]["included"]
|
||||
>["rooms"][number]["images"][number]
|
||||
roomName: NonNullable<
|
||||
RouterOutput["booking"]["confirmation"]["hotel"]["included"]
|
||||
>["rooms"][number]["name"]
|
||||
}
|
||||
@@ -87,6 +87,8 @@ export enum IconName {
|
||||
Nature = "Nature",
|
||||
Nightlife = "Nightlife",
|
||||
NoSmoking = "NoSmoking",
|
||||
OpenInNew = "OpenInNew",
|
||||
OpenInNewSmall = "OpenInNewSmall",
|
||||
OutdoorFurniture = "OutdoorFurniture",
|
||||
Parking = "Parking",
|
||||
People2 = "People2",
|
||||
|
||||
Reference in New Issue
Block a user