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

@@ -6,3 +6,7 @@ export const getHotelInputSchema = z.object({
hotelId: z.string(),
language: z.nativeEnum(Lang),
})
export const getRatesInputSchema = z.object({
hotelId: z.string(),
})