feat: Enhance reservation functionality

This commit is contained in:
2026-04-22 10:23:22 -04:00
parent 7f1e82acc2
commit 534d66c774
25 changed files with 1236 additions and 91 deletions

View File

@@ -8,7 +8,7 @@ export type Json =
// Domain types
export type MemberRole = 'member' | 'skipper' | 'admin' | 'boatswain' | 'volunteer' | 'instructor'
export type ReservationStatus = 'pending' | 'tentative' | 'confirmed'
export type ReservationStatus = 'pending' | 'tentative' | 'confirmed' | 'cancelled'
export interface Defect {
type: string
severity: string
@@ -254,11 +254,13 @@ export type Database = {
Views: {
reservation_slots: {
Row: {
id: string
boat_id: string
start_time: string
end_time: string
status: ReservationStatus
id: string
boat_id: string
user_id: string
start_time: string
end_time: string
status: ReservationStatus
member_name: string | null
}
}
}