Golden scenarios
The property datasets a fixture resolves from, and when to pick each.
One complete, self-consistent property per scenario. A fixture sources every slot from one of these rather than inventing values, so preview stays honest.
A defineFixtures state resolves independently and never inherits base’s scenario, so pass a key to that state’s own scenario() call.
| key | label | pick it when |
|---|---|---|
luxuryMultiUnit |
Luxury multi-unit (for sale) | the breadth ceiling — 12 units, 3 contacts, 24 points of interest, both contact logos, a video and a 3D tour, and the only scenario carrying attached documents (3, on documents). base almost always builds on it: a layout that survives it survives everything smaller |
forRentCondo |
For-rent condo/townhome | a for-rent condo or townhome — 1 unit, 2 contacts, 8 points of interest, both logos, a video but no 3D tour. Reach for it in a states entry that should look different against a rental |
sparseSingleFamily |
Sparse single-family (for sale) | the thin end — 1 unit, 1 contact, 4 points of interest, no contact logos and no media. Use it in a states entry to prove every optional branch still renders |