Interface ReservationRules
interface ReservationRules {
changeHours: number;
image?: string;
maxGuests: number;
minGuests: number;
policy: string;
timeInput?: "free";
times: (date: string) => string[];
}
changeHours: number;
image?: string;
maxGuests: number;
minGuests: number;
policy: string;
timeInput?: "free";
times: (date: string) => string[];
}
Properties
change Hours
changeHours: number
Host reservation change cutoff in hours.
Optionalimage
image?: string
Host image URL. Optional; omitted unless supplied by the host or backend.
max Guests
maxGuests: number
Maximum reservation party size.
min Guests
minGuests: number
Minimum reservation party size.
policy
policy: string
Host reservation change/cancellation copy.
Optionaltime Input
timeInput?: "free"
Use free input when explicitly set to free. Optional; omitted unless supplied by the host or backend.
times
times: (date: string) => string[]
Return allowed reservation start times for an ISO date.
Host reservation constraints, available times and change policy.