2021-09-27 14:47:55 +00:00
|
|
|
/**
|
|
|
|
* This file contains the root router of your tRPC-backend
|
|
|
|
*/
|
2022-11-10 23:40:01 +00:00
|
|
|
import { router } from "../trpc";
|
2021-09-27 14:47:55 +00:00
|
|
|
import { viewerRouter } from "./viewer";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create your application's root router
|
|
|
|
* If you want to use SSG, you need export this
|
|
|
|
* @link https://trpc.io/docs/ssg
|
|
|
|
* @link https://trpc.io/docs/router
|
|
|
|
*/
|
2022-11-10 23:40:01 +00:00
|
|
|
export const appRouter = router({
|
|
|
|
viewer: viewerRouter,
|
2022-09-29 16:58:29 +00:00
|
|
|
});
|
|
|
|
|
2021-09-27 14:47:55 +00:00
|
|
|
export type AppRouter = typeof appRouter;
|