- Add API endpoints for managing group pre-registrations, including approval and rejection. - Create database migration for `group_pre_registrations` table and associated enum for status. - Implement use cases for listing, approving, and rejecting pre-registrations. - Add frontend components for displaying pre-registration details and managing approvals/rejections. - Update shared schemas to include pre-registration data structures and validation. - Remove obsolete `WaitlistNoticeCard` component and replace with `PreRegistrationNoticeCard`.
13 lines
335 B
TypeScript
13 lines
335 B
TypeScript
import { Hono } from 'hono';
|
|
import approveRoute from './features/approve/route';
|
|
import getAllRoute from './features/get-all/route';
|
|
import rejectRoute from './features/reject/route';
|
|
|
|
const routes = new Hono();
|
|
|
|
routes.route('/', getAllRoute);
|
|
routes.route('/', approveRoute);
|
|
routes.route('/', rejectRoute);
|
|
|
|
export default routes;
|