import { Hono } from 'hono'; import analyticsRoutes from '../analytics/routes'; import addToGroupWaitlistRoute from '../attendees/features/add-to-waitlist/route'; import bulkCreateAttendeesRoute from '../attendees/features/bulk-create/route'; import createAttendeeRoute from '../attendees/features/create/route'; import getAttendeeRoute from '../attendees/features/get-by-id/route'; import getAttendeeStatsRoute from '../attendees/features/get-stats/route'; import moveAttendeeRoute from '../attendees/features/move/route'; import removeAttendeeRoute from '../attendees/features/remove/route'; import updateAttendeeRoute from '../attendees/features/update/route'; import groupPreRegistrationRoutes from '../group-preregistrations/routes'; import groupWaitlistRoutes from '../group-waitlist/routes'; import createPaymentsBatchRoute from '../payments/features/create-batch/route'; import { studentAccessRoutes } from '../student-access'; import updateGroupAutomationsRoute from '../whatsapp/features/update-automations/route'; import createGroupRoute from './features/create/route'; import getAllRoute from './features/get-all/route'; import getByIdRoute from './features/get-by-id/route'; import inviteTokenRoute from './features/invite-token/route'; import listAttendeesRoute from './features/list-attendees/route'; const routes = new Hono(); routes.route('/', getAllRoute); routes.route('/', createGroupRoute); routes.route('/', inviteTokenRoute); routes.route('/', listAttendeesRoute); routes.route('/', createAttendeeRoute); routes.route('/', bulkCreateAttendeesRoute); routes.route('/', getByIdRoute); routes.route('/', createPaymentsBatchRoute); routes.route('/', updateGroupAutomationsRoute); routes.route('/', addToGroupWaitlistRoute); routes.route('/', groupWaitlistRoutes); routes.route('/', groupPreRegistrationRoutes); routes.route('/', analyticsRoutes); routes.route('/', getAttendeeRoute); routes.route('/', updateAttendeeRoute); routes.route('/', getAttendeeStatsRoute); routes.route('/', removeAttendeeRoute); routes.route('/', moveAttendeeRoute); routes.route('/', studentAccessRoutes); export default routes;