Skip to content

Commit a1d1707

Browse files
authored
fix(types): add serverTimeMS to search response (#1518)
1 parent 3ce4eae commit a1d1707

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/client-search/src/types/SearchResponse.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ export type SearchResponse<TObject = {}> = {
5252
*/
5353
processingTimeMS: number;
5454

55+
/**
56+
* Time the server took to process the request, in milliseconds.
57+
*/
58+
serverTimeMS?: number;
59+
5560
/**
5661
* Whether the nbHits is exhaustive (true) or approximate (false).
5762
*

0 commit comments

Comments
 (0)