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.
Signature
Section titled “Signature”function poisByCategory(s: Scenario): Record<PoiFixture["category"], PoiRow[]>Parameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
s |
Scenario |
required |
Returns
Section titled “Returns”Record<"restaurant" | "park" | "transit" | "shopping" | "coffee" | "fitness" | "culture", PoiRow[]>