mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
✨ Add tRPC
This commit is contained in:
11
src/server/api/root.ts
Normal file
11
src/server/api/root.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { createTRPCRouter } from '~/server/api/trpc';
|
||||
|
||||
/**
|
||||
* This is the primary router for your server.
|
||||
*
|
||||
* All routers added in /api/routers should be manually added here.
|
||||
*/
|
||||
export const rootRouter = createTRPCRouter({});
|
||||
|
||||
// export type definition of API
|
||||
export type RootRouter = typeof rootRouter;
|
||||
Reference in New Issue
Block a user