This commit is contained in:
2023-10-10 14:44:03 -05:00
commit f1b9e8358d
28 changed files with 5678 additions and 0 deletions

14
src/server/api/root.ts Normal file
View File

@@ -0,0 +1,14 @@
import { exampleRouter } from "~/server/api/routers/example";
import { createTRPCRouter } from "~/server/api/trpc";
/**
* This is the primary router for your server.
*
* All routers added in /api/routers should be manually added here.
*/
export const appRouter = createTRPCRouter({
example: exampleRouter,
});
// export type definition of API
export type AppRouter = typeof appRouter;