Module: searchParser

Classes #

Interfaces #

Type Aliases #

AliasMap #

Ƭ AliasMap<T>: Record<T, string[]>

Type parameters #

Name Type
T extends string = string

Defined in #

searchParser/AdvancedSearchParser.ts:10


ForcedSearchQuery #

Ƭ ForcedSearchQuery<Data>: Partial<Pick<PaginatedListRequest<Data>, “searchQuery” | “orderBy”>>

Type parameters #

Name
Data

Defined in #

searchParser/ForcedSearchQuery.ts:3


QueryPartParser #

Ƭ QueryPartParser<SearchCategory, SearchFilterType>: (queryPart: string) => { searchCategory?: SearchCategory ; searchFilter?: SearchFilter<SearchFilterType> } | false

Type parameters #

Name Type
SearchCategory extends string = string
SearchFilterType extends string = string

Type declaration #

▸ (queryPart): { searchCategory?: SearchCategory ; searchFilter?: SearchFilter<SearchFilterType> } | false

Parameters #
Name Type
queryPart string
Returns #

{ searchCategory?: SearchCategory ; searchFilter?: SearchFilter<SearchFilterType> } | false

Defined in #

searchParser/AdvancedSearchParser.ts:6