import { demo } from "./demo/index.js"; import { os as baseOs, call as baseCall } from "@orpc/server"; import { router as treatments } from "./treatments.js"; import { router as bookings } from "./bookings.js"; import { router as auth } from "./auth.js"; import { router as recurringAvailability } from "./recurring-availability.js"; import { router as cancellation } from "./cancellation.js"; import { router as legal } from "./legal.js"; import { router as gallery } from "./gallery.js"; import { router as reviews } from "./reviews.js"; export const router = { demo, treatments, bookings, auth, recurringAvailability, cancellation, legal, gallery, reviews, }; // Export centrally typed oRPC helpers so all modules share the same Hono Context typing const osAny = baseOs; export const os = osAny.withContext?.() ?? osAny.context?.() ?? baseOs; export const call = baseCall;