ComparableRow
One comparable property — a recently sold or currently listed home similar to the subject — as the canonical fact bundle carries it.
One comparable property — a recently sold or currently listed home similar
to the subject — as the canonical fact bundle carries it. A true canonical
mirror, like address and contacts: a compute() reads these rows to
derive every market number a slide shows, so a fixture states them in the
same shape. address, distance_m and price_period are the three members
the live projection derives (the display line, meters from the subject, and
what the price is denominated in); a fixture states them directly.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export type ComparableRow = { id: string; address_street: string | null; address_city: string | null; address_state: string | null; address_postal: string | null; address: string; lat: number | null; lng: number | null; distance_m: number | null; status: "sold" | "active" | null; price: number | null; price_period: "total" | "monthly"; sale_date: string | null; beds: number | null; baths: number | null; sqft: number | null; photo_url: string | null; source_url: string | null; source_name: string | null;};