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

12 lines
329 B
TypeScript
Raw Normal View History

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