Skip to content
HomePagesHomePages template kit

poisByCategory

The scenario's points of interest as `PoiRow`s, grouped by category.

The scenario’s points of interest as PoiRows, grouped by category. Every category key is present, even when its list is empty — a section maps the groups onto its own slot keys and states nothing about the row shape.

Import from @homepages/template-kit/fixtures.

function poisByCategory(s: Scenario): Record<PoiFixture["category"], PoiRow[]>
Name Type Required Description
s Scenario required

Record<"restaurant" | "park" | "transit" | "shopping" | "coffee" | "fitness" | "culture", PoiRow[]>