feat: Enhance reservation functionality
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user