* migrate router * createTRPCReact * frontend 1 * random format change * frontend 2 * withQuery * form router * TS-ERROR: proxy on utils-client * inferance * ssg * reuse * trpc rc4 * Apply suggestions from code review * skip test * move skip one level up * whops * rc 6 with new setData func Co-authored-by: zomars <zomars@me.com>
18 lines
416 B
TypeScript
18 lines
416 B
TypeScript
/**
|
|
* This file contains the root router of your tRPC-backend
|
|
*/
|
|
import { router } from "../trpc";
|
|
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
|
|
*/
|
|
export const appRouter = router({
|
|
viewer: viewerRouter,
|
|
});
|
|
|
|
export type AppRouter = typeof appRouter;
|