Merged in chore/refactor-hotel-trpc-routes (pull request #2891)
Chore/refactor hotel trpc routes * chore(SW-3519): refactor trpc hotel routers * chore(SW-3519): refactor trpc hotel routers * refactor * merge * Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/refactor-hotel-trpc-routes Approved-by: Linus Flood
This commit is contained in:
16
packages/trpc/lib/routers/hotels/availability/index.ts
Normal file
16
packages/trpc/lib/routers/hotels/availability/index.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { router } from "../../.."
|
||||
import { enterDetails } from "./enterDetails"
|
||||
import { hotelsByCity } from "./hotelsByCity"
|
||||
import { hotelsByCityWithBookingCode } from "./hotelsByCityWithBookingCode"
|
||||
import { hotelsByHotelIds } from "./hotelsByHotelIds"
|
||||
import { myStay } from "./myStay"
|
||||
import { selectRate } from "./selectRate"
|
||||
|
||||
export const availability = router({
|
||||
hotelsByCity,
|
||||
hotelsByHotelIds,
|
||||
enterDetails,
|
||||
myStay,
|
||||
selectRate,
|
||||
hotelsByCityWithBookingCode,
|
||||
})
|
||||
Reference in New Issue
Block a user