mirror of
https://github.com/runyanjake/cooking.git
synced 2026-09-25 12:48:40 -07:00
12 lines
266 B
TypeScript
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>;
|
|
}
|