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";
|
2023-04-25 22:39:47 +00:00
|
|
|
import { viewerRouter } from "./viewer/_router";
|
2021-09-27 14:47:55 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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;
|