@backstage/plugin-search-common 1.2.10 → 1.2.11-next.0
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 +9 -0
- package/dist/index.d.ts +4 -0
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @backstage/plugin-search-common
|
|
2
2
|
|
|
3
|
+
## 1.2.11-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 744c0cb: Deprecate `QueryTranslator`, `QueryRequestOptions` and `SearchEngine` in favor of the types exported from `@backstage/plugin-search-backend-node`.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-permission-common@0.7.13-next.0
|
|
10
|
+
- @backstage/types@1.1.1
|
|
11
|
+
|
|
3
12
|
## 1.2.10
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -171,15 +171,18 @@ interface DocumentDecoratorFactory {
|
|
|
171
171
|
*/
|
|
172
172
|
getDecorator(): Promise<Transform>;
|
|
173
173
|
}
|
|
174
|
+
|
|
174
175
|
/**
|
|
175
176
|
* A type of function responsible for translating an abstract search query into
|
|
176
177
|
* a concrete query relevant to a particular search engine.
|
|
177
178
|
* @public
|
|
179
|
+
* @deprecated Import from `@backstage/plugin-search-backend-node` instead
|
|
178
180
|
*/
|
|
179
181
|
type QueryTranslator = (query: SearchQuery) => unknown;
|
|
180
182
|
/**
|
|
181
183
|
* Options when querying a search engine.
|
|
182
184
|
* @public
|
|
185
|
+
* @deprecated Import from `@backstage/plugin-search-backend-node` instead
|
|
183
186
|
*/
|
|
184
187
|
type QueryRequestOptions = {
|
|
185
188
|
token?: string;
|
|
@@ -189,6 +192,7 @@ type QueryRequestOptions = {
|
|
|
189
192
|
* for performing indexing and querying and translating abstract queries into
|
|
190
193
|
* concrete, search engine-specific queries.
|
|
191
194
|
* @public
|
|
195
|
+
* @deprecated Import from `@backstage/plugin-search-backend-node` instead
|
|
192
196
|
*/
|
|
193
197
|
interface SearchEngine {
|
|
194
198
|
/**
|
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-search-common",
|
|
3
|
+
"version": "1.2.11-next.0",
|
|
3
4
|
"description": "Common functionalities for Search, to be shared between various search-enabled plugins",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
"backstage": {
|
|
6
|
+
"role": "common-library"
|
|
7
|
+
},
|
|
7
8
|
"publishConfig": {
|
|
8
9
|
"access": "public",
|
|
9
10
|
"main": "dist/index.cjs.js",
|
|
10
11
|
"types": "dist/index.d.ts"
|
|
11
12
|
},
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
13
|
+
"keywords": [
|
|
14
|
+
"backstage",
|
|
15
|
+
"search"
|
|
16
|
+
],
|
|
15
17
|
"homepage": "https://backstage.io",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/backstage/backstage/issues"
|
|
20
|
+
},
|
|
16
21
|
"repository": {
|
|
17
22
|
"type": "git",
|
|
18
23
|
"url": "https://github.com/backstage/backstage",
|
|
19
24
|
"directory": "plugins/search-common"
|
|
20
25
|
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"backstage",
|
|
23
|
-
"search"
|
|
24
|
-
],
|
|
25
26
|
"license": "Apache-2.0",
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"main": "dist/index.cjs.js",
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
26
30
|
"files": [
|
|
27
31
|
"dist"
|
|
28
32
|
],
|
|
29
|
-
"sideEffects": false,
|
|
30
33
|
"scripts": {
|
|
31
34
|
"build": "backstage-cli package build",
|
|
35
|
+
"clean": "backstage-cli package clean",
|
|
32
36
|
"lint": "backstage-cli package lint",
|
|
33
|
-
"test": "backstage-cli package test",
|
|
34
37
|
"prepack": "backstage-cli package prepack",
|
|
35
38
|
"postpack": "backstage-cli package postpack",
|
|
36
|
-
"
|
|
39
|
+
"test": "backstage-cli package test"
|
|
37
40
|
},
|
|
38
|
-
"
|
|
39
|
-
"
|
|
41
|
+
"jest": {
|
|
42
|
+
"roots": [
|
|
43
|
+
".."
|
|
44
|
+
]
|
|
40
45
|
},
|
|
41
46
|
"dependencies": {
|
|
42
|
-
"@backstage/plugin-permission-common": "^0.7.
|
|
47
|
+
"@backstage/plugin-permission-common": "^0.7.13-next.0",
|
|
43
48
|
"@backstage/types": "^1.1.1"
|
|
44
49
|
},
|
|
45
50
|
"devDependencies": {
|
|
46
|
-
"@backstage/cli": "^0.25.
|
|
47
|
-
},
|
|
48
|
-
"jest": {
|
|
49
|
-
"roots": [
|
|
50
|
-
".."
|
|
51
|
-
]
|
|
51
|
+
"@backstage/cli": "^0.25.3-next.0"
|
|
52
52
|
},
|
|
53
53
|
"module": "./dist/index.esm.js"
|
|
54
54
|
}
|