-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi team,
I noticed that sortBy is mentioned in the documentation and it works in practice, but it’s missing from the TypeScript type definition for OramaCloudSearchParams / SearchParams.
Here’s the current type:
export type SearchParams = {
term: string;
mode?: SearchMode;
limit?: number;
offset?: number;
properties?: string[];
where?: AnyObject;
facets?: AnyObject;
indexes?: string[];
datasourceIDs?: string[];
boost?: {
[key: string]: number;
};
exact?: boolean;
threshold?: number;
similarity?: number;
tolerance?: number;
userID?: string;
groupBy?: {
properties: string[];
max_results?: number;
};
};
Could the type definition be updated to include it?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels