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

@@ -6,6 +6,7 @@ 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 removeAttendeeRoute from '../attendees/features/remove/route';
import groupPreRegistrationRoutes from '../group-preregistrations/routes';
import groupWaitlistRoutes from '../group-waitlist/routes';
import createGroupRoute from './features/create/route';
import getAllRoute from './features/get-all/route';
@@ -24,6 +25,7 @@ routes.route('/', bulkCreateAttendeesRoute);
routes.route('/', getByIdRoute);
routes.route('/', addToGroupWaitlistRoute);
routes.route('/', groupWaitlistRoutes);
routes.route('/', groupPreRegistrationRoutes);
routes.route('/', analyticsRoutes);
routes.route('/', getAttendeeRoute);
routes.route('/', getAttendeeStatsRoute);