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