import { annunciRouter } from "~/server/api/routers/annunci";
import { usersRouter } from "~/server/api/routers/users";
import { createTRPCRouter } from "~/server/api/trpc";
import { chatRouter } from "~/server/api/routers/chat";
import { settingsRouter } from "~/server/api/routers/settings";
import { authRouter } from "~/server/api/routers/auth";
import { contactRouter } from "~/server/api/routers/contact";
import { stripeRouter } from "~/server/api/routers/stripe";
import { fattureRouter } from "~/server/api/routers/fatture";
import { storageRouter } from "~/server/api/routers/storage";
import { statsRouter } from "~/server/api/routers/stats";
import { comunicazioniRouter } from "~/server/api/routers/comunicazioni";
import { testRouter } from "~/server/api/routers/test";
import { eventQueueRouter } from "~/server/api/routers/event_queue";
import { banlistRouter } from "~/server/api/routers/banlist";
import { chatSSERouter } from "~/server/api/routers/chat_sse";
import { messagesSSERouter } from "~/server/api/routers/messages_sse";
import { prezziarioRouter } from "~/server/api/routers/prezziario";
import { pagamentiRouter } from "~/server/api/routers/pagamenti";
import { servizioRouter } from "~/server/api/routers/servizio";
import { intrestsRouter } from "~/server/api/routers/interests";

export const appRouter = createTRPCRouter({
  annunci: annunciRouter,
  users: usersRouter,
  chat: chatRouter,
  settings: settingsRouter,
  auth: authRouter,
  pagamenti: pagamentiRouter,
  prezziario: prezziarioRouter,
  contact: contactRouter,
  stripe: stripeRouter,
  fatture: fattureRouter,
  storage: storageRouter,
  stats: statsRouter,
  comunicazioni: comunicazioniRouter,
  test: testRouter,
  eventQueue: eventQueueRouter,
  banlist: banlistRouter,
  chatSSE: chatSSERouter,
  messagesSSE: messagesSSERouter,
  servizio: servizioRouter,
  intrests: intrestsRouter,
});
export type AppRouter = typeof appRouter;
