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;
published: boolean;
has_food: boolean;
attendees?: AttendeeEntry[];
}
/**
@ -66,6 +65,19 @@ export interface AttendeeEntry {
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
* Represents requests to create new events
@ -194,6 +206,7 @@ export const Collections = {
USERS: "users",
EVENTS: "events",
EVENT_REQUESTS: "event_request",
EVENT_ATTENDEES: "event_attendees",
LOGS: "logs",
OFFICERS: "officers",
REIMBURSEMENTS: "reimbursement",