@backstage/plugin-search-common 1.2.10 → 1.2.11-next.1

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,22 @@
1
1
  # @backstage/plugin-search-common
2
2
 
3
+ ## 1.2.11-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-permission-common@0.7.13-next.1
9
+ - @backstage/types@1.1.1
10
+
11
+ ## 1.2.11-next.0
12
+
13
+ ### Patch Changes
14
+
15
+ - 744c0cb: Deprecate `QueryTranslator`, `QueryRequestOptions` and `SearchEngine` in favor of the types exported from `@backstage/plugin-search-backend-node`.
16
+ - Updated dependencies
17
+ - @backstage/plugin-permission-common@0.7.13-next.0
18
+ - @backstage/types@1.1.1
19
+
3
20
  ## 1.2.10
4
21
 
5
22
  ### 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.1",
3
4
  "description": "Common functionalities for Search, to be shared between various search-enabled plugins",
4
- "version": "1.2.10",
5
- "main": "dist/index.cjs.js",
6
- "types": "dist/index.d.ts",
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
- "backstage": {
13
- "role": "common-library"
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
- "clean": "backstage-cli package clean"
39
+ "test": "backstage-cli package test"
37
40
  },
38
- "bugs": {
39
- "url": "https://github.com/backstage/backstage/issues"
41
+ "jest": {
42
+ "roots": [
43
+ ".."
44
+ ]
40
45
  },
41
46
  "dependencies": {
42
- "@backstage/plugin-permission-common": "^0.7.12",
47
+ "@backstage/plugin-permission-common": "^0.7.13-next.1",
43
48
  "@backstage/types": "^1.1.1"
44
49
  },
45
50
  "devDependencies": {
46
- "@backstage/cli": "^0.25.1"
47
- },
48
- "jest": {
49
- "roots": [
50
- ".."
51
- ]
51
+ "@backstage/cli": "^0.25.3-next.1"
52
52
  },
53
53
  "module": "./dist/index.esm.js"
54
54
  }