feat: implement group pre-registration feature with approval and rejection workflows

- 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`.
This commit is contained in:
Jose Selesan
2026-09-29 15:25:24 -03:00
parent 0f02331dfc
commit 45a1f50231
32 changed files with 1335 additions and 165 deletions

View File

@@ -0,0 +1,12 @@
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;