This commit is contained in:
2025-04-03 20:21:05 +02:00
parent 8333cbf7be
commit f595acff64
24 changed files with 2976 additions and 84 deletions

View File

@@ -1,4 +1,6 @@
import { postRouter } from '@/server/api/routers/post'
import { discord_router } from '@/server/api/routers/discord'
import { history_router } from '@/server/api/routers/history'
import { leaderboard_router } from '@/server/api/routers/leaderboard'
import { createCallerFactory, createTRPCRouter } from '@/server/api/trpc'
/**
@@ -7,7 +9,9 @@ import { createCallerFactory, createTRPCRouter } from '@/server/api/trpc'
* All routers added in /api/routers should be manually added here.
*/
export const appRouter = createTRPCRouter({
post: postRouter,
history: history_router,
discord: discord_router,
leaderboard: leaderboard_router,
})
// export type definition of API