Skip to content

Commit

Permalink
Merge pull request #50883 from software-mansion-labs/289Adam289/50250…
Browse files Browse the repository at this point in the history
…-search-router-polish

search router polish
  • Loading branch information
luacmartins authored Oct 25, 2024
2 parents 44c9260 + d3f99c1 commit 9508b17
Show file tree
Hide file tree
Showing 7 changed files with 430 additions and 260 deletions.
7 changes: 4 additions & 3 deletions src/components/Search/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ type QueryFilter = {

type AdvancedFiltersKeys = ValueOf<typeof CONST.SEARCH.SYNTAX_FILTER_KEYS>;

type QueryFilters = {
[K in AdvancedFiltersKeys]?: QueryFilter[];
};
type QueryFilters = Array<{
key: AdvancedFiltersKeys;
filters: QueryFilter[];
}>;

type SearchQueryString = string;

Expand Down
Loading

0 comments on commit 9508b17

Please sign in to comment.