Skip to content

Commit

Permalink
clean up optional params on SearchResponse interface
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Dec 10, 2024
1 parent c086392 commit 49d22a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ export type SearchResponse = {
skipped: number;
failed: number;
};
hits?: {
hits: {
total: {
value: number;
relation: string;
Expand All @@ -614,7 +614,7 @@ export type SearchResponse = {
hits: SearchHit[];
};
aggregations?: {};
ext: {};
ext?: {};
};

export type IndexResponse = {
Expand Down

0 comments on commit 49d22a8

Please sign in to comment.