jmapcloud-ng-core-types 1.0.1001 → 1.0.1002

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.
package/index.ts CHANGED
@@ -37,6 +37,7 @@ export interface JUIService {
37
37
  }
38
38
 
39
39
  export interface JSimpleSearchService {
40
+ getInvalidQueryStringCharacters(): string
40
41
  setQueryString(queryString: string): void
41
42
  getMinimumQueryStringLength(): number
42
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "1.0.1001",
3
+ "version": "1.0.1002",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/public/core.d.ts CHANGED
@@ -6829,6 +6829,20 @@ declare namespace JMap {
6829
6829
  * ```
6830
6830
  */
6831
6831
  function getMinimumQueryStringLength(): number
6832
+
6833
+ /**
6834
+ * **JMap.SimpleSearch.getInvalidQueryStringCharacters**
6835
+ *
6836
+ * Returns a string composed of all forbiden characters in simple search strings
6837
+ *
6838
+ * @example ```ts
6839
+ *
6840
+ * // returns the invalid characters
6841
+ * JMap.SimpleSearch.getInvalidQueryStringCharacters()
6842
+ * // ";"
6843
+ * ```
6844
+ */
6845
+ function getInvalidQueryStringCharacters(): string
6832
6846
  }
6833
6847
 
6834
6848
  /**
@@ -1,6 +1,6 @@
1
1
  declare interface JSimpleSearchQueryString {
2
2
  query: {
3
- multi_match: {
3
+ query_string: {
4
4
  query: string
5
5
  }
6
6
  }
@@ -30,6 +30,7 @@ declare interface JSimpleSearchResultHit {
30
30
  _source: { spatialDataSourceId: string } & { [attributeName: string]: any }
31
31
  _id: JId
32
32
  _score: number
33
+ highlight?: { [attributeName: string]: string[] }
33
34
  }
34
35
 
35
36
  declare interface JSimpleSearchSuccessEventParams {