Skip to Content

Reference

Quick lookup tables for common values, codes, and configurations.

Listing Statuses

The MLS status field is coarse — only two values. Granular states (sold, expired, leased, price change, …) live in the separate lastStatus field as 3-character codes.

status

CodeMeaningDescription
AActiveOn-market / available
UUnavailableOff-market (sold, expired, terminated, …)

lastStatus

3-character codes mapped to display labels in configs/defaults/listings.ts (statusLabels).

CodeLabel
SusSuspended
ExpExpired
SldSold
TerTerminated
DftDeal Fell Through
LsdLeased
ScSold Conditionally
SceSold Conditionally with Escape Clause
LcLeased Conditionally
LceLeased Conditionally with Escape Clause
PcPrice Change
ExtExtension
NewNew
CsComing Soon

Usage

// Coarse availability if (listing.status === 'A') { // Show "Active" badge } // Granular state via lastStatus const soldListings = listings.filter((l) => l.lastStatus === 'Sld')

Listing Types

The listingType filter keys. Each key is a query fragment (class / propertyType / style) declared per tenant in @configs/filters listingTypeDeclaration; the MLS values behind a key differ per board. Default selector (listingTypes):

KeyType
allListingsAll listings — derived: union of the rendered types
residentialResidential
condoCondo
townhomeTownhome (class-agnostic)
semiDetachedSemi-Detached
multiFamilyMulti-Family
landLand
businessBusiness
commercialCommercial

Keys a tenant may add (availableListingTypes): residentialTownhome, condoTownhome, coop (co-ops; SERHANT declares it as the Stock Cooperative style), other (catch-all bucket), and the derived penthouse / loft search shortcuts.

Usage

const { addFilters } = useSearchActions() addFilters({ listingType: 'condo' }) // multi-select tenants (`multiListingType: true`) addFilters({ listingType: ['residential', 'townhome'] })

Sort Options

CodeDescriptionDirection
listPriceAscPriceLow to High
listPriceDescPriceHigh to Low
soldDateDescSold DateNewest first
updatedOnDescUpdatedMost recent
bedsDescBedroomsMost first
sqftDescSquare FeetLargest first
daysOnMarketAscDays on MarketNewest first

Usage

// Set sort setFilters({ ...filters, sortBy: 'listPriceDesc' })

Feature Flags

Static per-tenant flags from configs/<tenant>/features.ts (the defaults build ships 22 flags). The full list with descriptions, defaults, dependencies, and how flags are set lives in Capabilities & Flags. Defaults below are the configs/defaults/features.ts values.

FlagDescriptionDefault
mapInteractive map searchtrue
estimateHome valuation / AVMtrue
dashboardMarket dashboardtrue
blogBlog section (CMS)true
locationsLocations directoryfalse
buildingsBuildings directoryfalse
openHouseOpen housesfalse
favoritesSave favorite listingstrue
saveSearchSave search filterstrue
liveByLiveBy demographics / overlaystrue
aiSearchNatural-language query parsingtrue
aiChatConversational AI chat in searchtrue
aiAgentAI agent (embedded EVAS iframe)false
blurRestrictedPropertyBlur restricted listings for guestsfalse

Usage

import features from '@configs/features' // Page-level gate if (!features.blog) return <Page40XTemplate /> // Conditional render {features.aiChat && <AIChatWidget />}

URL Parameters

Search Filters

The map URL serializes non-default Filters field names, not a translation of every entry in @configs/params. The server reads those same keys against defaultFilters and defaultAdvancedFilters. Values and available listing types depend on the configured dataset.

URL fieldMeaningOwner
city, area, neighborhood, locationIdGeographic filtersSearch state
listingTypeConfigured property-type key, for example condoFilters declaration
listingStatusConfigured UI statusFilters declaration
typesale or lease, not a property typeTransaction axis
minPrice, maxPrice, minBedrooms, minBathsNumeric filtersFilters defaults/parser
sortByAPI sort tokenSearch state
pageGrid page; omitted at page 1Map URL writer
Bare lat,lng key, zCameraMap URL codec
layers, 3d, msOverlay, orientation, styleMap options

Example URL

A synthetic example, not a promise of results in every dataset:

/search/map?city=Exampleville&minPrice=500000&minBedrooms=2&listingType=condo

See URL & State Synchronization for parsing, omitted defaults, repeated values and the distinction between URL state and API parameters. Source: src/utils/map/urls.ts (getMapUrl), src/app/search/[layout]/_utils.ts (getFiltersFromParams).

Path Aliases

AliasResolves To
@configs/*src/configs/[tenant]/* → src/configs/defaults/*
@content/*src/content/[tenant]/* → src/content/defaults/*
@icons/*src/assets/icons/[tenant]/* → src/assets/icons/defaults/*
@defaults/*src/configs/defaults/*
@templatessrc/components/templates
@templates/*src/components/templates/components/*
@pages/*src/components/pages/*
@shared/*src/components/shared/*

API Endpoints

The canonical frontend client map is API Services. Search uses /listings/search (GET or POST); profile update uses PATCH /user. These are relative to the configured backend API base, not necessarily same-origin Next.js routes.

Source: src/services/API/APISearch.ts (fetch, search), src/services/API/APIUser.ts (update). Avoid copying the backend endpoint catalogue here: caller behavior belongs to the service page, and backend validation/ownership belongs to the backend contract.

Board IDs

The MLS feed is identified by a numeric boardId, set per tenant in configs/<tenant>/search.ts (defaultBoardId = the board listing details are read from; distinctBoardIds = boards addressed by their own id — see Regional & MLS Limits). Known board ids and the MLS / region they map to:

Board idMLSRegion
2TRREBToronto / GTA, ON
18CREBCalgary, AB
68MLS PINBoston, MA
71SmartMLSConnecticut, USA
90TRREB (VOW)Toronto / GTA, ON
91TRREB (IDX)Toronto / GTA, ON
110—sample / demo data (defaults build)
149NWMLSSeattle, WA

HTTP Status Codes

CodeMeaningAction
200SuccessProcess response
201CreatedResource created
400Bad RequestCheck request params
401UnauthorizedRefresh token or login
403ForbiddenNo permission
404Not FoundResource doesn’t exist
429Rate LimitedWait and retry
500Server ErrorRetry or report

Breakpoints

Custom values from configs/defaults/theme/breakpoints.ts — they override the MUI defaults (600/900/1200/1536):

NameWidthUsage
xs0px+Mobile
sm640px+Tablet
md960px+Small desktop
lg1280px+Desktop
xl1920px+Large desktop

Usage

import { useMediaQuery, useTheme } from '@mui/material' const theme = useTheme() const isMobile = useMediaQuery(theme.breakpoints.down('sm'))
Last updated on