2023-10-03 07:56:09 +00:00
|
|
|
import { router } from '../trpc';
|
|
|
|
import { notificationRouter } from './notification';
|
|
|
|
import { websiteRouter } from './website';
|
|
|
|
import { monitorRouter } from './monitor';
|
2023-10-16 14:34:01 +00:00
|
|
|
import { userRouter } from './user';
|
2023-10-16 16:23:49 +00:00
|
|
|
import { workspaceRouter } from './workspace';
|
2023-10-20 16:18:30 +00:00
|
|
|
import { globalRouter } from './global';
|
2023-11-07 15:13:44 +00:00
|
|
|
import { serverStatusRouter } from './serverStatus';
|
2024-01-28 15:15:16 +00:00
|
|
|
import { auditLogRouter } from './auditLog';
|
2023-10-03 07:56:09 +00:00
|
|
|
|
|
|
|
export const appRouter = router({
|
2023-10-20 16:18:30 +00:00
|
|
|
global: globalRouter,
|
2023-10-16 14:34:01 +00:00
|
|
|
user: userRouter,
|
2023-10-16 16:23:49 +00:00
|
|
|
workspace: workspaceRouter,
|
2023-10-03 07:56:09 +00:00
|
|
|
website: websiteRouter,
|
|
|
|
notification: notificationRouter,
|
|
|
|
monitor: monitorRouter,
|
2023-11-07 15:13:44 +00:00
|
|
|
serverStatus: serverStatusRouter,
|
2024-01-28 15:15:16 +00:00
|
|
|
auditLog: auditLogRouter,
|
2023-10-03 07:56:09 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
export type AppRouter = typeof appRouter;
|