Title

Global

Type Definitions

Object

# filterSettings

Filter parameters that are sent to the backend to filter listings

Properties:
Name Type Description
priceMin string
priceMax number
location string
roomType string
availability number
minNights number
listingsPerHost number

Total number of listings that were put online by this host

View Source typedefs.js, line 43

Object

# host

Information about the host of a listing

Properties:
Name Type Description
name string
id number
numOfListings number

Total number of listings that were put online by this host

View Source typedefs.js, line 34

Object

# ListingData

Contains listingDetails, reviews and recommendations for the listing in question.

Properties:
Name Type Description
listingResponseData listingDetails

Listing details

reviewResponseData array

Corresponding reviews

recommendationResponseData array

Recommendations

View Source typedefs.js, line 1

Object

# listingDetails

Information about a listing

Properties:
Name Type Description
area string
availability number

Days per year the listing is available

host host
id number
images array
latitude number
longitude number
minNights number

Minimum stay required

name string
neighbourhood string

To which of the 5 larger neighbourhood areas in NY it belongs to

numOfReviews number
price number
roomType string

View Source typedefs.js, line 13

Object

# metaListingsData

Global metadata about the listings stored in the backend that are needed for setting the default filter values

Properties:
Name Type Description
areas array
minPrice number
maxPrice number
minListingsPerHost number
maxListingsPerHost number
neighbourhoods array
numOfListings number
roomTypes array

View Source typedefs.js, line 56