update schema for attendees

This commit is contained in:
chark1es 2025-03-02 17:10:31 -08:00
parent 8e956c7fe5
commit 690efee339

View file

@ -52,7 +52,6 @@ export interface Event extends BaseRecord {
end_date: string; end_date: string;
published: boolean; published: boolean;
has_food: boolean; has_food: boolean;
attendees?: AttendeeEntry[];
} }
/** /**
@ -66,6 +65,19 @@ export interface AttendeeEntry {
food: string; food: string;
} }
/**
* Event Attendees Collection
* Represents attendees for events
* Collection ID: pbc_537966730
*/
export interface EventAttendee extends BaseRecord {
user: string; // Relation to User
event: string; // Relation to Event
food_ate: string;
time_checked_in: string;
points_earned: number;
}
/** /**
* Event Requests Collection * Event Requests Collection
* Represents requests to create new events * Represents requests to create new events
@ -194,6 +206,7 @@ export const Collections = {
USERS: "users", USERS: "users",
EVENTS: "events", EVENTS: "events",
EVENT_REQUESTS: "event_request", EVENT_REQUESTS: "event_request",
EVENT_ATTENDEES: "event_attendees",
LOGS: "logs", LOGS: "logs",
OFFICERS: "officers", OFFICERS: "officers",
REIMBURSEMENTS: "reimbursement", REIMBURSEMENTS: "reimbursement",