tianji/src/server/trpc/routers/index.ts

13 lines
343 B
TypeScript
Raw Normal View History

2023-10-03 07:56:09 +00:00
import { router } from '../trpc';
import { notificationRouter } from './notification';
import { websiteRouter } from './website';
import { monitorRouter } from './monitor';
export const appRouter = router({
website: websiteRouter,
notification: notificationRouter,
monitor: monitorRouter,
});
export type AppRouter = typeof appRouter;