@backstage/plugin-search 1.7.5-next.1 → 1.7.6-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 CHANGED
@@ -1,5 +1,30 @@
1
1
  # @backstage/plugin-search
2
2
 
3
+ ## 1.7.6-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-catalog-react@3.2.0-next.0
9
+ - @backstage/ui@0.17.0-next.0
10
+ - @backstage/frontend-plugin-api@0.17.3-next.0
11
+ - @backstage/plugin-search-react@1.11.6-next.0
12
+ - @backstage/core-components@0.18.12-next.0
13
+ - @backstage/core-plugin-api@1.12.8-next.0
14
+
15
+ ## 1.7.5
16
+
17
+ ### Patch Changes
18
+
19
+ - e0889a3: chore(deps): bump `qs` from 6.15.1 to 6.15.2
20
+ - Updated dependencies
21
+ - @backstage/plugin-catalog-react@3.1.0
22
+ - @backstage/core-components@0.18.11
23
+ - @backstage/plugin-search-react@1.11.5
24
+ - @backstage/frontend-plugin-api@0.17.2
25
+ - @backstage/ui@0.16.0
26
+ - @backstage/core-plugin-api@1.12.7
27
+
3
28
  ## 1.7.5-next.1
4
29
 
5
30
  ### Patch Changes
@@ -0,0 +1,34 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "search": {
6
+ "type": "object",
7
+ "properties": {
8
+ "defaultType": {
9
+ "type": "string",
10
+ "description": "The default search type to be used when no specific type is selected.",
11
+ "visibility": "frontend"
12
+ },
13
+ "query": {
14
+ "type": "object",
15
+ "properties": {
16
+ "pageLimit": {
17
+ "type": "number",
18
+ "enum": [
19
+ 10,
20
+ 25,
21
+ 50,
22
+ 100
23
+ ],
24
+ "description": "A number indicating the maximum number of results to be returned per page during pagination.",
25
+ "visibility": "frontend"
26
+ }
27
+ },
28
+ "description": "An object representing the default search query configuration. By configuring and modifying the values of this object, you can customize the default values of the search queries and define how it behaves by default."
29
+ }
30
+ },
31
+ "description": "Configuration options for the search plugin"
32
+ }
33
+ }
34
+ }
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-search";
2
- var version = "1.7.5-next.1";
2
+ var version = "1.7.6-next.0";
3
3
  var description = "The Backstage plugin that provides your backstage app with search";
4
4
  var backstage = {
5
5
  role: "frontend-plugin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search",
3
- "version": "1.7.5-next.1",
3
+ "version": "1.7.6-next.0",
4
4
  "description": "The Backstage plugin that provides your backstage app with search",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "files": [
60
60
  "dist",
61
- "config.d.ts"
61
+ "config.schema.json"
62
62
  ],
63
63
  "scripts": {
64
64
  "build": "backstage-cli package build",
@@ -70,15 +70,15 @@
70
70
  "test": "backstage-cli package test"
71
71
  },
72
72
  "dependencies": {
73
- "@backstage/core-components": "0.18.11-next.1",
74
- "@backstage/core-plugin-api": "1.12.7-next.0",
73
+ "@backstage/core-components": "0.18.12-next.0",
74
+ "@backstage/core-plugin-api": "1.12.8-next.0",
75
75
  "@backstage/errors": "1.3.1",
76
- "@backstage/frontend-plugin-api": "0.17.2-next.0",
77
- "@backstage/plugin-catalog-react": "3.0.1-next.1",
76
+ "@backstage/frontend-plugin-api": "0.17.3-next.0",
77
+ "@backstage/plugin-catalog-react": "3.2.0-next.0",
78
78
  "@backstage/plugin-search-common": "1.2.24",
79
- "@backstage/plugin-search-react": "1.11.5-next.1",
79
+ "@backstage/plugin-search-react": "1.11.6-next.0",
80
80
  "@backstage/types": "1.2.2",
81
- "@backstage/ui": "0.15.1-next.0",
81
+ "@backstage/ui": "0.17.0-next.0",
82
82
  "@backstage/version-bridge": "1.0.12",
83
83
  "@material-ui/core": "^4.12.2",
84
84
  "@material-ui/icons": "^4.9.1",
@@ -87,10 +87,10 @@
87
87
  "zod": "^4.0.0"
88
88
  },
89
89
  "devDependencies": {
90
- "@backstage/cli": "0.36.3-next.1",
91
- "@backstage/core-app-api": "1.20.2-next.0",
92
- "@backstage/dev-utils": "1.1.24-next.1",
93
- "@backstage/test-utils": "1.7.19-next.0",
90
+ "@backstage/cli": "0.36.4-next.0",
91
+ "@backstage/core-app-api": "1.20.3-next.0",
92
+ "@backstage/dev-utils": "1.1.25-next.0",
93
+ "@backstage/test-utils": "1.7.20-next.0",
94
94
  "@testing-library/dom": "^10.0.0",
95
95
  "@testing-library/jest-dom": "^6.0.0",
96
96
  "@testing-library/react": "^16.0.0",
@@ -112,6 +112,6 @@
112
112
  "optional": true
113
113
  }
114
114
  },
115
- "configSchema": "config.d.ts",
115
+ "configSchema": "config.schema.json",
116
116
  "module": "./dist/index.esm.js"
117
117
  }
package/config.d.ts DELETED
@@ -1,40 +0,0 @@
1
- /*
2
- * Copyright 2023 The Backstage Authors
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- export interface Config {
18
- /** Configuration options for the search plugin */
19
- search?: {
20
- /**
21
- * The default search type to be used when no specific type is selected.
22
- * @visibility frontend
23
- */
24
- defaultType?: string;
25
- /**
26
- * An object representing the default search query configuration.
27
- * By configuring and modifying the values of this object,
28
- * you can customize the default values of the search queries
29
- * and define how it behaves by default.
30
- */
31
- query?: {
32
- /**
33
- * A number indicating the maximum number of results to be returned
34
- * per page during pagination.
35
- * @visibility frontend
36
- */
37
- pageLimit?: 10 | 25 | 50 | 100;
38
- };
39
- };
40
- }