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 removeAttendeeRoute from '../attendees/features/remove/route'; import groupWaitlistRoutes from '../group-waitlist/routes'; 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('/', addToGroupWaitlistRoute); routes.route('/', groupWaitlistRoutes); routes.route('/', analyticsRoutes); routes.route('/', removeAttendeeRoute); export default routes;