feat: Add needed items feature to events and RSVPs - Add needed_items field to events table - Update event creation form with needed items input - Add multi-select for needed items in RSVP form - Update event details to display needed items - Update admin interface to handle new items_bringing format

This commit is contained in:
Your Name
2025-04-29 19:01:36 -04:00
parent a7a0f27a4b
commit 00fea07bee
6 changed files with 256 additions and 163 deletions

View File

@@ -6,15 +6,17 @@ export interface Event {
location: string;
slug: string;
created_at: string;
updated_at: string;
needed_items: string[];
}
export interface Rsvp {
id: number;
event_id: number;
name: string;
email: string;
status: 'attending' | 'not_attending' | 'maybe';
attending: string;
bringing_guests: string;
guest_count: number;
guest_names: string;
items_bringing: string[];
created_at: string;
updated_at: string;
}