@backstage/plugin-search-common 1.1.2-next.1 → 1.2.0-next.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @backstage/plugin-search-common
2
2
 
3
+ ## 1.2.0-next.2
4
+
5
+ ### Minor Changes
6
+
7
+ - 29ebc43a0b: numberOfResults (total number of results for a given query) can now be provided by each search engine and consumed as part of the search results response
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @backstage/types@1.0.2-next.1
13
+ - @backstage/plugin-permission-common@0.7.2-next.1
14
+
3
15
  ## 1.1.2-next.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -66,6 +66,7 @@ interface ResultSet<TDocument extends SearchDocument> {
66
66
  results: Result<TDocument>[];
67
67
  nextPageCursor?: string;
68
68
  previousPageCursor?: string;
69
+ numberOfResults?: number;
69
70
  }
70
71
  /**
71
72
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-common",
3
3
  "description": "Common functionalities for Search, to be shared between various search-enabled plugins",
4
- "version": "1.1.2-next.1",
4
+ "version": "1.2.0-next.2",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "publishConfig": {
@@ -42,7 +42,7 @@
42
42
  "@backstage/types": "^1.0.2-next.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@backstage/cli": "^0.21.2-next.1"
45
+ "@backstage/cli": "^0.21.2-next.2"
46
46
  },
47
47
  "jest": {
48
48
  "roots": [