Skip to content
HomePagesHomePages template kit

PropertyMetrics

Numeric and formatted figures `propertyMetrics` derives from a scenario's units and address.

Numeric and formatted figures propertyMetrics derives from a scenario’s units and address. The single-unit fields (beds/baths/sqft/price) mirror the lowest-position unit’s raw values; the cross-unit aggregate fields (bedsMin/bedsMax/…/priceStart) are pre-formatted strings, not raw numbers, because the pipeline runs number formatting before a fixture ever sees the value.

Import from @homepages/template-kit/fixtures.

export type PropertyMetrics = {
beds: number | null;
baths: number | null;
sqft: number | null;
price: string | null;
bedsMin: string | null;
bedsMax: string | null;
bathsMin: string | null;
bathsMax: string | null;
sqftMax: string | null;
priceStart: string | null;
};