Shopvento UI - v0.2.0
    Preparing search index...

    Interface ReservationRules

    Host reservation constraints, available times and change policy.

    interface ReservationRules {
        changeHours: number;
        image?: string;
        maxGuests: number;
        minGuests: number;
        policy: string;
        timeInput?: "free";
        times: (date: string) => string[];
    }
    Index
    changeHours: number

    Host reservation change cutoff in hours.

    image?: string

    Host image URL. Optional; omitted unless supplied by the host or backend.

    maxGuests: number

    Maximum reservation party size.

    minGuests: number

    Minimum reservation party size.

    policy: string

    Host reservation change/cancellation copy.

    timeInput?: "free"

    Use free input when explicitly set to free. Optional; omitted unless supplied by the host or backend.

    times: (date: string) => string[]

    Return allowed reservation start times for an ISO date.