feat(SW-70): Create TRPC route to get rates

This commit is contained in:
Niclas Edenvin
2024-07-09 13:23:59 +02:00
parent 78c1452ed3
commit 722bab97ad
6 changed files with 106 additions and 87 deletions

View File

@@ -1,11 +1,3 @@
export type Room = {
id: number
name: string
description: string
size: string
pricePerNight: number
currency: string
imageSrc: string
}
import { Rate } from "@/server/routers/hotels/output"
export type RoomProps = { room: Room }
export type RoomProps = { room: Rate }