Skip to content

Commit

Permalink
Add interface for EventReservation in firebase.ts
Browse files Browse the repository at this point in the history
Will add into the wiki after approval
  • Loading branch information
jeffplays2005 committed Jul 27, 2024
1 parent 44a011a commit 03b6134
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions server/src/data-layer/models/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,27 @@ export interface EventSlot {
*/
max_occupancy?: number
}

export interface EventReservation {
/**
* The first name of the user who made this event reservation
*/
first_name: string
/**
* The last name of the user who made this event reservation
*/
last_name: string
/**
* The email of the user who made this even reservation
*/
email: string
/**
* Boolean to check if the user is a member
* @example true
*/
is_member: boolean
/**
* A link from EventReservation -> EventSlot
*/
event_slot: string
}

0 comments on commit 03b6134

Please sign in to comment.