mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 07:25:48 +01:00
19 lines
503 B
TypeScript
19 lines
503 B
TypeScript
import { createTRPCRouter } from '~/server/api/trpc';
|
|
import { appRouter } from './routers/app';
|
|
import { rssRouter } from './routers/rss';
|
|
import { configRouter } from './routers/config';
|
|
|
|
/**
|
|
* This is the primary router for your server.
|
|
*
|
|
* All routers added in /api/routers should be manually added here.
|
|
*/
|
|
export const rootRouter = createTRPCRouter({
|
|
app: appRouter,
|
|
rss: rssRouter,
|
|
config: configRouter,
|
|
});
|
|
|
|
// export type definition of API
|
|
export type RootRouter = typeof rootRouter;
|