exclude query from filtertype

This commit is contained in:
Josh Hawkins 2024-09-20 10:28:03 -05:00
parent 491184f913
commit 2e325aa278

View File

@ -56,7 +56,7 @@ export type SearchQueryParams = {
}; };
export type SearchQuery = [string, SearchQueryParams] | null; export type SearchQuery = [string, SearchQueryParams] | null;
export type FilterType = keyof SearchFilter; export type FilterType = Exclude<keyof SearchFilter, "query">;
export type SavedSearchQuery = { export type SavedSearchQuery = {
name: string; name: string;