feat(core-api): compose @repo/auth/api into appRouter under 'auth' namespace

This commit is contained in:
2026-05-05 08:16:25 +02:00
parent 8667232c22
commit aed8c9a6ad
5 changed files with 14 additions and 1 deletions

View File

@@ -1,8 +1,15 @@
import type { AuthRouter } from "@repo/auth";
import type { BlogRouter } from "@repo/blog";
import { router } from "@repo/core-shared/trpc/init";
import { authRouter } from "@repo/auth/api";
import { blogRouter } from "@repo/blog/api";
export const appRouter = router({
auth: authRouter,
blog: blogRouter,
});
export type AppRouter = typeof appRouter;
export type AppRouter = {
auth: AuthRouter;
blog: BlogRouter;
};