import { router } from "../trpc";
import { postRouter } from "./post";
import { authRouter } from "./auth";

export const appRouter = router({
  post: postRouter,
  auth: authRouter,
  namegen: nameGenRouter,
});

// export type definition of API
export type AppRouter = typeof appRouter;
