feat: widget — room display mode toggle (by room / by category)
This commit is contained in:
@@ -1634,6 +1634,17 @@ export interface WidgetRoom {
|
||||
amenities: string[]
|
||||
description: string
|
||||
photos: string[]
|
||||
categoryId: string | null
|
||||
}
|
||||
|
||||
export interface WidgetCategory {
|
||||
id: string
|
||||
name: string
|
||||
description: string
|
||||
amenities: string[]
|
||||
photos: string[]
|
||||
minPrice: number
|
||||
maxGuests: number
|
||||
}
|
||||
|
||||
export interface WidgetConfig {
|
||||
@@ -1643,10 +1654,12 @@ export interface WidgetConfig {
|
||||
paymentEnabled: boolean
|
||||
currency: string
|
||||
rooms: WidgetRoom[]
|
||||
categories: WidgetCategory[]
|
||||
}
|
||||
|
||||
export interface WidgetBookingPayload {
|
||||
roomId: string
|
||||
roomId?: string
|
||||
categoryId?: string
|
||||
checkIn: string
|
||||
checkOut: string
|
||||
guestName: string
|
||||
|
||||
Reference in New Issue
Block a user