Updates
This commit is contained in:
@@ -1013,12 +1013,14 @@ export type ServerQueryParam<
|
||||
join?: ServerQueryParamsJoin<K>[];
|
||||
group?: (keyof T)[];
|
||||
countSubQueries?: ServerQueryParamsCount[];
|
||||
fullTextSearch?: ServerQueryParamFullTextSearch;
|
||||
fullTextSearch?: ServerQueryParamFullTextSearch<T>;
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
export type ServerQueryParamFullTextSearch = {
|
||||
fields: string[];
|
||||
export type ServerQueryParamFullTextSearch<
|
||||
T extends { [k: string]: any } = { [k: string]: any }
|
||||
> = {
|
||||
fields: (keyof T)[];
|
||||
searchTerm: string;
|
||||
/** Field Name to user to Rank the Score of Search Results */
|
||||
scoreAlias: string;
|
||||
|
||||
Reference in New Issue
Block a user