Skip to content

Commit

Permalink
Set vector field in search response to optionnal
Browse files Browse the repository at this point in the history
  • Loading branch information
bidoubiwa committed Jul 18, 2023
1 parent 0cf8704 commit e9f6865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ export type SearchResponse<
> = {
hits: Hits<T>
processingTimeMs: number
facetDistribution?: FacetDistribution
query: string
facetDistribution?: FacetDistribution
facetStats?: FacetStats
vector: number[]
vector?: number[]
} & (undefined extends S
? Partial<FinitePagination & InfinitePagination>
: true extends IsFinitePagination<NonNullable<S>>
Expand Down

0 comments on commit e9f6865

Please sign in to comment.