Add authentication #17

Manually merged
Webmaster merged 225 commits from auth into main 2025-03-08 10:37:06 +00:00
Showing only changes of commit 690efee339 - Show all commits

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",