Skip to content

Commit

Permalink
fix(insideBoundingBox): allow strings (#1310)
Browse files Browse the repository at this point in the history
Bounding box either accepts an array of tuples or the same in string-form
  • Loading branch information
bidoubiwa committed Oct 20, 2021
1 parent 3cea192 commit 87d5b0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client-search/src/types/DeleteByFiltersOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export type DeleteByFiltersOptions = {
/**
* Search inside a rectangular area (in geo coordinates).
*/
readonly insideBoundingBox?: ReadonlyArray<readonly number[]>;
readonly insideBoundingBox?: ReadonlyArray<readonly number[]> | string;

/**
* Search inside a polygon (in geo coordinates).
Expand Down
2 changes: 1 addition & 1 deletion packages/client-search/src/types/SearchOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export type SearchOptions = {
/**
* Search inside a rectangular area (in geo coordinates).
*/
readonly insideBoundingBox?: ReadonlyArray<readonly number[]>;
readonly insideBoundingBox?: ReadonlyArray<readonly number[]> | string;

/**
* Search inside a polygon (in geo coordinates).
Expand Down

0 comments on commit 87d5b0d

Please sign in to comment.