import { router } from "@repo/core-shared/trpc/init";
import { authRouter } from "@repo/auth/api";
import { blogRouter } from "@repo/blog/api";
import { marketingPagesRouter } from "@repo/marketing-pages/api";
import { navigationRouter } from "@repo/navigation/api";
import { mediaRouter } from "@repo/media/api";
import { dsrRouter } from "@repo/core-dsr";
import { consentRouter } from "@repo/core-consent";

export const appRouter = router({
  auth: authRouter,
  blog: blogRouter,
  marketingPages: marketingPagesRouter,
  navigation: navigationRouter,
  media: mediaRouter,
  // gen:routers — optional-core routers composed below
  dsr: dsrRouter,
  consent: consentRouter,
});

export type AppRouter = typeof appRouter;
