import { router } from '../trpc'
import { membersRouter } from './members'
import { newsRouter } from './news'
import { termineRouter } from './termine'
import { stellenRouter } from './stellen'
import { organizationsRouter } from './organizations'
import { messagesRouter } from './messages'

export const appRouter = router({
  members: membersRouter,
  news: newsRouter,
  termine: termineRouter,
  stellen: stellenRouter,
  organizations: organizationsRouter,
  messages: messagesRouter,
})

export type AppRouter = typeof appRouter
