feat: Add Hotel endpoint and TRPC query

This commit is contained in:
Chuma McPhoy
2024-07-01 13:53:07 +02:00
parent 9b4fde334f
commit 9413739f17
5 changed files with 53 additions and 0 deletions
+2
View File
@@ -1,11 +1,13 @@
/** Routers */
import { contentstackRouter } from "./routers/contentstack"
import { hotelsRouter } from "./routers/hotels"
import { userRouter } from "./routers/user"
import { router } from "./trpc"
export const appRouter = router({
contentstack: contentstackRouter,
user: userRouter,
hotel: hotelsRouter,
})
export type AppRouter = typeof appRouter