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

31 lines
1017 B
TypeScript
Raw Normal View History

import { router } from '../trpc.js';
import { notificationRouter } from './notification.js';
import { websiteRouter } from './website.js';
import { monitorRouter } from './monitor.js';
import { userRouter } from './user.js';
import { workspaceRouter } from './workspace.js';
import { globalRouter } from './global.js';
import { serverStatusRouter } from './serverStatus.js';
import { auditLogRouter } from './auditLog.js';
import { billingRouter } from './billing.js';
import { telemetryRouter } from './telemetry.js';
import { surveyRouter } from './survey.js';
import { feedRouter } from './feed/index.js';
2023-10-03 07:56:09 +00:00
export const appRouter = router({
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,
2024-02-17 16:47:22 +00:00
telemetry: telemetryRouter,
survey: surveyRouter,
2023-11-07 15:13:44 +00:00
serverStatus: serverStatusRouter,
2024-01-28 15:15:16 +00:00
auditLog: auditLogRouter,
2024-02-17 03:45:11 +00:00
billing: billingRouter,
2024-06-22 12:02:07 +00:00
feed: feedRouter,
2023-10-03 07:56:09 +00:00
});
export type AppRouter = typeof appRouter;