Skip to content

Commit

Permalink
Add curated param to search hit type
Browse files Browse the repository at this point in the history
  • Loading branch information
cdoe committed Jul 21, 2023
1 parent 749d3e7 commit 3237715
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Typesense/Documents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export type SearchResponseHighlight<T> = T extends string | number
};

export interface SearchResponseHit<T extends DocumentSchema> {
curated?: true;
highlights?: [
{
field: keyof T;
Expand Down

0 comments on commit 3237715

Please sign in to comment.