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

This commit is contained in:
2026-05-04 22:34:43 +02:00
parent fde58f2d3d
commit 1ae1702786
16 changed files with 50 additions and 43 deletions

View File

@@ -12,6 +12,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@repo/blog": "workspace:*",
"@repo/core-shared": "workspace:*",
"@trpc/server": "^11.0.0"
},

View File

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