import { router } from './trpc'; import { deckRouter } from './routers/deck'; import { jobRouter } from './routers/job'; import { proRouter } from './routers/pro'; import { uploadRouter } from './routers/upload'; /** * The API surface. A future React Native app imports `AppRouter` from this * package and gets the entire typed contract with no duplication. */ export const appRouter = router({ job: jobRouter, deck: deckRouter, pro: proRouter, upload: uploadRouter, }); export type AppRouter = typeof appRouter;