import { router } from "./trpc";
import { companiesRouter, contactsRouter, dealsRouter, activitiesRouter, notesRouter } from "./routers";

/**
 * Main tRPC Router
 */
export const appRouter = router({
  companies: companiesRouter,
  contacts: contactsRouter,
  deals: dealsRouter,
  activities: activitiesRouter,
  notes: notesRouter,
});

export type AppRouter = typeof appRouter;
