@mappable-world/mappable-types 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,12 @@ import { Config } from "../config";
3
3
  export type SearchType = "businesses" | "toponyms";
4
4
  export type SearchOptions = {
5
5
  /** Request string represented by a text or {@link LngLat LngLat} point. */
6
- text: string;
6
+ text?: string;
7
+ /**
8
+ * Additional information about the object.
9
+ * The parameter value is returned in the Geosuggest response.
10
+ * To use it in a request, specify a value instead of text. */
11
+ uri?: string;
7
12
  /**
8
13
  * {@link type `type`} parameter specifies the type of
9
14
  * objects that are being searched (and the order of objects
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappable-world/mappable-types",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "Types for mappable maps library",
5
5
  "main": "",
6
6
  "types": "index.d.ts",