@backstage/plugin-search-backend 0.4.3 → 0.4.4

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,21 @@
1
1
  # @backstage/plugin-search-backend
2
2
 
3
+ ## 0.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix for the previous release with missing type declarations.
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.10.9
10
+ - @backstage/config@0.1.15
11
+ - @backstage/errors@0.2.2
12
+ - @backstage/search-common@0.2.4
13
+ - @backstage/types@0.1.3
14
+ - @backstage/plugin-auth-node@0.1.2
15
+ - @backstage/plugin-permission-common@0.5.1
16
+ - @backstage/plugin-permission-node@0.5.1
17
+ - @backstage/plugin-search-backend-node@0.4.7
18
+
3
19
  ## 0.4.3
4
20
 
5
21
  ### Patch Changes
@@ -0,0 +1,17 @@
1
+ import express from 'express';
2
+ import { Logger } from 'winston';
3
+ import { Config } from '@backstage/config';
4
+ import { PermissionAuthorizer } from '@backstage/plugin-permission-common';
5
+ import { DocumentTypeInfo } from '@backstage/search-common';
6
+ import { SearchEngine } from '@backstage/plugin-search-backend-node';
7
+
8
+ declare type RouterOptions = {
9
+ engine: SearchEngine;
10
+ types: Record<string, DocumentTypeInfo>;
11
+ permissions: PermissionAuthorizer;
12
+ config: Config;
13
+ logger: Logger;
14
+ };
15
+ declare function createRouter(options: RouterOptions): Promise<express.Router>;
16
+
17
+ export { RouterOptions, createRouter };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-backend",
3
3
  "description": "The Backstage backend plugin that provides your backstage app with search",
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -23,15 +23,15 @@
23
23
  "clean": "backstage-cli package clean"
24
24
  },
25
25
  "dependencies": {
26
- "@backstage/backend-common": "^0.10.8",
27
- "@backstage/config": "^0.1.14",
28
- "@backstage/errors": "^0.2.1",
29
- "@backstage/plugin-auth-node": "^0.1.1",
30
- "@backstage/plugin-permission-common": "^0.5.0",
31
- "@backstage/plugin-permission-node": "^0.5.0",
32
- "@backstage/plugin-search-backend-node": "^0.4.6",
33
- "@backstage/search-common": "^0.2.3",
34
- "@backstage/types": "^0.1.2",
26
+ "@backstage/backend-common": "^0.10.9",
27
+ "@backstage/config": "^0.1.15",
28
+ "@backstage/errors": "^0.2.2",
29
+ "@backstage/plugin-auth-node": "^0.1.2",
30
+ "@backstage/plugin-permission-common": "^0.5.1",
31
+ "@backstage/plugin-permission-node": "^0.5.1",
32
+ "@backstage/plugin-search-backend-node": "^0.4.7",
33
+ "@backstage/search-common": "^0.2.4",
34
+ "@backstage/types": "^0.1.3",
35
35
  "@types/express": "^4.17.6",
36
36
  "dataloader": "^2.0.0",
37
37
  "express": "^4.17.1",
@@ -50,5 +50,5 @@
50
50
  "files": [
51
51
  "dist"
52
52
  ],
53
- "gitHead": "4805c3d13ce9bfc369e53c271b1b95e722b3b4dc"
53
+ "gitHead": "e244b348c473700e7d5e5fbcef38bd9f9fd1d0ba"
54
54
  }