Documentation / @expofp/schema / FiltersSchema
Variable: FiltersSchema
ts
const FiltersSchema: ZodObject<{
categories: ZodOptional<ZodArray<ZodString>>;
exhibitors: ZodOptional<ZodBoolean>;
poiType: ZodOptional<ZodString>;
poiTypes: ZodOptional<ZodArray<ZodString>>;
}, $strip>;Boot-time search filters — the config.filters node, applied once by the floor plan's URL filter manager when the stores are ready. Values are plain catalog names (no URL encoding), matched case-insensitively; unknown names warn and drop, and categories win over POI types when both are given.
poiType (single) and poiTypes (multi) are deliberately distinct fields — not one array as the retirement-plan sketch had it — because their apply paths differ: the single form also activates the matching search filter button (setPoiFilterId), while the multi form only pre-selects the filters. Folding them into one array would silently change what a one-element list does.