cooking/lib/types.ts
2026-09-13 14:50:11 -07:00

12 lines
266 B
TypeScript

export interface FilterState {
search: string;
category: string;
selectedTags: string[];
}
// Result counts per facet value, given the other active filters
export interface FacetCounts {
categories: Record<string, number>;
tags: Record<string, number>;
}