Files
Homarr/src/server/api/root.ts

15 lines
369 B
TypeScript
Raw Normal View History

2023-06-10 10:05:16 +02:00
import { createTRPCRouter } from '~/server/api/trpc';
2023-06-10 10:23:54 +02:00
import { appRouter } from './routers/app';
2023-06-10 10:05:16 +02:00
/**
* This is the primary router for your server.
*
* All routers added in /api/routers should be manually added here.
*/
2023-06-10 10:23:54 +02:00
export const rootRouter = createTRPCRouter({
app: appRouter,
});
2023-06-10 10:05:16 +02:00
// export type definition of API
export type RootRouter = typeof rootRouter;