@backstage/plugin-home 0.9.7-next.1 → 0.9.8-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,34 @@
1
1
  # @backstage/plugin-home
2
2
 
3
+ ## 0.9.8-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-catalog-react@3.2.0-next.0
9
+ - @backstage/core-compat-api@0.5.13-next.0
10
+ - @backstage/core-app-api@1.20.3-next.0
11
+ - @backstage/frontend-plugin-api@0.17.3-next.0
12
+ - @backstage/catalog-client@1.16.1-next.0
13
+ - @backstage/core-components@0.18.12-next.0
14
+ - @backstage/core-plugin-api@1.12.8-next.0
15
+ - @backstage/plugin-home-react@0.1.40-next.0
16
+
17
+ ## 0.9.7
18
+
19
+ ### Patch Changes
20
+
21
+ - a07e6a3: Added the correctly-spelled `'widgetSettingsOverlay.editSettingsTooltip'` translation key in `homeTranslationRef` and deprecated the previous typoed `'widgetSettingsOverlay.editSettingsTooptip'` key. Existing references to the old key continue to work; switch to the new key to avoid future removal.
22
+ - Updated dependencies
23
+ - @backstage/catalog-client@1.16.0
24
+ - @backstage/plugin-catalog-react@3.1.0
25
+ - @backstage/core-components@0.18.11
26
+ - @backstage/frontend-plugin-api@0.17.2
27
+ - @backstage/core-app-api@1.20.2
28
+ - @backstage/core-compat-api@0.5.12
29
+ - @backstage/core-plugin-api@1.12.7
30
+ - @backstage/plugin-home-react@0.1.39
31
+
3
32
  ## 0.9.7-next.1
4
33
 
5
34
  ### Patch Changes
@@ -0,0 +1,85 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "home": {
6
+ "type": "object",
7
+ "properties": {
8
+ "topVisits": {
9
+ "type": "object",
10
+ "properties": {
11
+ "filterBy": {
12
+ "type": "array",
13
+ "items": {
14
+ "type": "object",
15
+ "properties": {
16
+ "field": {
17
+ "type": "string",
18
+ "visibility": "frontend"
19
+ },
20
+ "operator": {
21
+ "type": "string",
22
+ "visibility": "frontend"
23
+ },
24
+ "value": {
25
+ "type": [
26
+ "string",
27
+ "number"
28
+ ],
29
+ "visibility": "frontend"
30
+ }
31
+ },
32
+ "required": [
33
+ "field",
34
+ "operator",
35
+ "value"
36
+ ]
37
+ },
38
+ "description": "Filter By config",
39
+ "visibility": "frontend"
40
+ }
41
+ },
42
+ "description": "Top visited plugin",
43
+ "visibility": "frontend"
44
+ },
45
+ "recentVisits": {
46
+ "type": "object",
47
+ "properties": {
48
+ "filterBy": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "object",
52
+ "properties": {
53
+ "field": {
54
+ "type": "string",
55
+ "visibility": "frontend"
56
+ },
57
+ "operator": {
58
+ "type": "string",
59
+ "visibility": "frontend"
60
+ },
61
+ "value": {
62
+ "type": [
63
+ "string",
64
+ "number"
65
+ ],
66
+ "visibility": "frontend"
67
+ }
68
+ },
69
+ "required": [
70
+ "field",
71
+ "operator",
72
+ "value"
73
+ ]
74
+ },
75
+ "description": "Filter By config",
76
+ "visibility": "frontend"
77
+ }
78
+ },
79
+ "description": "Recent visited plugin",
80
+ "visibility": "frontend"
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-home";
2
- var version = "0.9.7-next.1";
2
+ var version = "0.9.8-next.0";
3
3
  var description = "A Backstage plugin that helps you build a home page";
4
4
  var backstage = {
5
5
  role: "frontend-plugin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-home",
3
- "version": "0.9.7-next.1",
3
+ "version": "0.9.8-next.0",
4
4
  "description": "A Backstage plugin that helps you build a home page",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "files": [
58
58
  "dist",
59
- "config.d.ts"
59
+ "config.schema.json"
60
60
  ],
61
61
  "scripts": {
62
62
  "build": "backstage-cli package build",
@@ -68,16 +68,16 @@
68
68
  "test": "backstage-cli package test"
69
69
  },
70
70
  "dependencies": {
71
- "@backstage/catalog-client": "1.16.0-next.1",
71
+ "@backstage/catalog-client": "1.16.1-next.0",
72
72
  "@backstage/catalog-model": "1.9.0",
73
73
  "@backstage/config": "1.3.8",
74
- "@backstage/core-app-api": "1.20.2-next.0",
75
- "@backstage/core-compat-api": "0.5.12-next.1",
76
- "@backstage/core-components": "0.18.11-next.1",
77
- "@backstage/core-plugin-api": "1.12.7-next.0",
78
- "@backstage/frontend-plugin-api": "0.17.2-next.0",
79
- "@backstage/plugin-catalog-react": "3.0.1-next.1",
80
- "@backstage/plugin-home-react": "0.1.39-next.1",
74
+ "@backstage/core-app-api": "1.20.3-next.0",
75
+ "@backstage/core-compat-api": "0.5.13-next.0",
76
+ "@backstage/core-components": "0.18.12-next.0",
77
+ "@backstage/core-plugin-api": "1.12.8-next.0",
78
+ "@backstage/frontend-plugin-api": "0.17.3-next.0",
79
+ "@backstage/plugin-catalog-react": "3.2.0-next.0",
80
+ "@backstage/plugin-home-react": "0.1.40-next.0",
81
81
  "@backstage/theme": "0.7.3",
82
82
  "@material-ui/core": "^4.12.2",
83
83
  "@material-ui/icons": "^4.9.1",
@@ -94,11 +94,11 @@
94
94
  "zod": "^3.25.76 || ^4.0.0"
95
95
  },
96
96
  "devDependencies": {
97
- "@backstage/cli": "0.36.3-next.1",
98
- "@backstage/dev-utils": "1.1.24-next.1",
99
- "@backstage/frontend-defaults": "0.5.3-next.1",
100
- "@backstage/plugin-catalog": "2.0.6-next.1",
101
- "@backstage/test-utils": "1.7.19-next.0",
97
+ "@backstage/cli": "0.36.4-next.0",
98
+ "@backstage/dev-utils": "1.1.25-next.0",
99
+ "@backstage/frontend-defaults": "0.5.4-next.0",
100
+ "@backstage/plugin-catalog": "2.0.7-next.0",
101
+ "@backstage/test-utils": "1.7.20-next.0",
102
102
  "@testing-library/dom": "^10.0.0",
103
103
  "@testing-library/jest-dom": "^6.0.0",
104
104
  "@testing-library/react": "^16.0.0",
@@ -120,6 +120,6 @@
120
120
  "optional": true
121
121
  }
122
122
  },
123
- "configSchema": "config.d.ts",
123
+ "configSchema": "config.schema.json",
124
124
  "module": "./dist/index.esm.js"
125
125
  }
package/config.d.ts DELETED
@@ -1,68 +0,0 @@
1
- /*
2
- * Copyright 2020 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
- home?: {
19
- /**
20
- * Top visited plugin
21
- * @visibility frontend
22
- */
23
- topVisits?: {
24
- /**
25
- * Filter By config
26
- * @visibility frontend
27
- */
28
- filterBy?: Array<{
29
- /**
30
- * @visibility frontend
31
- */
32
- field: string;
33
- /**
34
- * @visibility frontend
35
- */
36
- operator: string;
37
- /**
38
- * @visibility frontend
39
- */
40
- value: string | number;
41
- }>;
42
- };
43
- /**
44
- * Recent visited plugin
45
- * @visibility frontend
46
- */
47
- recentVisits?: {
48
- /**
49
- * Filter By config
50
- * @visibility frontend
51
- */
52
- filterBy?: Array<{
53
- /**
54
- * @visibility frontend
55
- */
56
- field: string;
57
- /**
58
- * @visibility frontend
59
- */
60
- operator: string;
61
- /**
62
- * @visibility frontend
63
- */
64
- value: string | number;
65
- }>;
66
- };
67
- };
68
- }