tianji/src/server/trpc/routers/index.ts
2023-10-16 22:34:01 +08:00

15 lines
400 B
TypeScript

import { router } from '../trpc';
import { notificationRouter } from './notification';
import { websiteRouter } from './website';
import { monitorRouter } from './monitor';
import { userRouter } from './user';
export const appRouter = router({
user: userRouter,
website: websiteRouter,
notification: notificationRouter,
monitor: monitorRouter,
});
export type AppRouter = typeof appRouter;