Files
sign/packages/trpc/server/router.ts

16 lines
491 B
TypeScript
Raw Normal View History

2023-06-09 18:21:18 +10:00
import { authRouter } from './auth-router/router';
import { documentRouter } from './document-router/router';
2023-08-17 19:56:18 +10:00
import { fieldRouter } from './field-router/router';
2023-06-09 18:21:18 +10:00
import { profileRouter } from './profile-router/router';
import { procedure, router } from './trpc';
export const appRouter = router({
hello: procedure.query(() => 'Hello, world!'),
auth: authRouter,
profile: profileRouter,
document: documentRouter,
2023-08-17 19:56:18 +10:00
field: fieldRouter,
2023-06-09 18:21:18 +10:00
});
export type AppRouter = typeof appRouter;