@backstage-community/plugin-entity-feedback 0.15.0 → 0.16.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 +11 -0
- package/dist/alpha/entityPredicates.esm.js.map +1 -1
- package/dist/alpha.d.ts +20 -14
- package/dist/package.json.esm.js +13 -11
- package/dist/package.json.esm.js.map +1 -1
- package/package.json +14 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @backstage-community/plugin-entity-feedback
|
|
2
2
|
|
|
3
|
+
## 0.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 23b88e6: Backstage version bump to v1.48.2
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [23b88e6]
|
|
12
|
+
- @backstage-community/plugin-entity-feedback-common@0.14.0
|
|
13
|
+
|
|
3
14
|
## 0.15.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityPredicates.esm.js","sources":["../../src/alpha/entityPredicates.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {
|
|
1
|
+
{"version":3,"file":"entityPredicates.esm.js","sources":["../../src/alpha/entityPredicates.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FilterPredicate } from '@backstage/filter-predicates';\n\n/**\n * @alpha\n */\nexport const entityFeedbackAllPredicate: FilterPredicate = {\n $all: [\n {\n $not: {\n kind: 'location',\n },\n },\n {\n $not: {\n kind: 'user',\n },\n },\n {\n $not: {\n kind: 'group',\n },\n },\n ],\n};\n\nexport const entityFeedbackOwnerPredicate: FilterPredicate = {\n $any: [\n {\n kind: 'user',\n },\n {\n kind: 'group',\n },\n ],\n};\n"],"names":[],"mappings":"AAqBO,MAAM,0BAA8C,GAAA;AAAA,EACzD,IAAM,EAAA;AAAA,IACJ;AAAA,MACE,IAAM,EAAA;AAAA,QACJ,IAAM,EAAA;AAAA;AACR,KACF;AAAA,IACA;AAAA,MACE,IAAM,EAAA;AAAA,QACJ,IAAM,EAAA;AAAA;AACR,KACF;AAAA,IACA;AAAA,MACE,IAAM,EAAA;AAAA,QACJ,IAAM,EAAA;AAAA;AACR;AACF;AAEJ;AAEO,MAAM,4BAAgD,GAAA;AAAA,EAC3D,IAAM,EAAA;AAAA,IACJ;AAAA,MACE,IAAM,EAAA;AAAA,KACR;AAAA,IACA;AAAA,MACE,IAAM,EAAA;AAAA;AACR;AAEJ;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
2
3
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
3
4
|
import * as react from 'react';
|
|
4
|
-
import * as
|
|
5
|
+
import * as _backstage_filter_predicates from '@backstage/filter-predicates';
|
|
5
6
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -31,8 +32,8 @@ declare const entityFeedbackPlugin: _backstage_frontend_plugin_api.OverridableFr
|
|
|
31
32
|
id: string;
|
|
32
33
|
label: string;
|
|
33
34
|
}[] | undefined;
|
|
34
|
-
filter:
|
|
35
|
-
type: "content" | "
|
|
35
|
+
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
36
|
+
type: "content" | "info" | undefined;
|
|
36
37
|
};
|
|
37
38
|
configInput: {
|
|
38
39
|
variant?: "starred" | "like-dislike" | undefined;
|
|
@@ -43,8 +44,8 @@ declare const entityFeedbackPlugin: _backstage_frontend_plugin_api.OverridableFr
|
|
|
43
44
|
id: string;
|
|
44
45
|
label: string;
|
|
45
46
|
}[] | undefined;
|
|
46
|
-
filter?:
|
|
47
|
-
type?: "content" | "
|
|
47
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
48
|
+
type?: "content" | "info" | undefined;
|
|
48
49
|
};
|
|
49
50
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
50
51
|
optional: true;
|
|
@@ -58,7 +59,7 @@ declare const entityFeedbackPlugin: _backstage_frontend_plugin_api.OverridableFr
|
|
|
58
59
|
name: "ratings-buttons";
|
|
59
60
|
params: {
|
|
60
61
|
loader: () => Promise<JSX.Element>;
|
|
61
|
-
filter?:
|
|
62
|
+
filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
62
63
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
|
|
63
64
|
};
|
|
64
65
|
}>;
|
|
@@ -67,15 +68,15 @@ declare const entityFeedbackPlugin: _backstage_frontend_plugin_api.OverridableFr
|
|
|
67
68
|
title: string | undefined;
|
|
68
69
|
allEntities: boolean | undefined;
|
|
69
70
|
variant: "starred" | "like-dislike";
|
|
70
|
-
filter:
|
|
71
|
-
type: "content" | "
|
|
71
|
+
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
72
|
+
type: "content" | "info" | undefined;
|
|
72
73
|
};
|
|
73
74
|
configInput: {
|
|
74
75
|
variant?: "starred" | "like-dislike" | undefined;
|
|
75
76
|
title?: string | undefined;
|
|
76
77
|
allEntities?: boolean | undefined;
|
|
77
|
-
filter?:
|
|
78
|
-
type?: "content" | "
|
|
78
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
79
|
+
type?: "content" | "info" | undefined;
|
|
79
80
|
};
|
|
80
81
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
81
82
|
optional: true;
|
|
@@ -89,7 +90,7 @@ declare const entityFeedbackPlugin: _backstage_frontend_plugin_api.OverridableFr
|
|
|
89
90
|
name: "ratings-table";
|
|
90
91
|
params: {
|
|
91
92
|
loader: () => Promise<JSX.Element>;
|
|
92
|
-
filter?:
|
|
93
|
+
filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
93
94
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
|
|
94
95
|
};
|
|
95
96
|
}>;
|
|
@@ -99,14 +100,16 @@ declare const entityFeedbackPlugin: _backstage_frontend_plugin_api.OverridableFr
|
|
|
99
100
|
config: {
|
|
100
101
|
path: string | undefined;
|
|
101
102
|
title: string | undefined;
|
|
102
|
-
filter:
|
|
103
|
+
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
103
104
|
group: string | false | undefined;
|
|
105
|
+
icon: string | undefined;
|
|
104
106
|
};
|
|
105
107
|
configInput: {
|
|
106
|
-
filter?:
|
|
108
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
107
109
|
title?: string | undefined;
|
|
108
110
|
path?: string | undefined;
|
|
109
111
|
group?: string | false | undefined;
|
|
112
|
+
icon?: string | undefined;
|
|
110
113
|
};
|
|
111
114
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
112
115
|
optional: true;
|
|
@@ -116,6 +119,8 @@ declare const entityFeedbackPlugin: _backstage_frontend_plugin_api.OverridableFr
|
|
|
116
119
|
optional: true;
|
|
117
120
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
118
121
|
optional: true;
|
|
122
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
123
|
+
optional: true;
|
|
119
124
|
}>;
|
|
120
125
|
inputs: {};
|
|
121
126
|
params: {
|
|
@@ -125,9 +130,10 @@ declare const entityFeedbackPlugin: _backstage_frontend_plugin_api.OverridableFr
|
|
|
125
130
|
title: string;
|
|
126
131
|
defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
|
|
127
132
|
group?: (string & {}) | "development" | "deployment" | "overview" | "documentation" | "operation" | "observability" | undefined;
|
|
133
|
+
icon?: string | react.ReactElement<any, string | react.JSXElementConstructor<any>> | undefined;
|
|
128
134
|
loader: () => Promise<JSX.Element>;
|
|
129
135
|
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
130
|
-
filter?:
|
|
136
|
+
filter?: _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
131
137
|
};
|
|
132
138
|
}>;
|
|
133
139
|
}>;
|
package/dist/package.json.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage-community/plugin-entity-feedback";
|
|
2
|
-
var version = "0.
|
|
2
|
+
var version = "0.16.0";
|
|
3
3
|
var backstage = {
|
|
4
4
|
role: "frontend-plugin",
|
|
5
5
|
pluginId: "entity-feedback",
|
|
@@ -53,23 +53,25 @@ var scripts = {
|
|
|
53
53
|
var dependencies = {
|
|
54
54
|
"@backstage-community/plugin-entity-feedback-common": "workspace:^",
|
|
55
55
|
"@backstage/catalog-model": "^1.7.6",
|
|
56
|
-
"@backstage/core-compat-api": "^0.5.
|
|
57
|
-
"@backstage/core-components": "^0.18.
|
|
58
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
56
|
+
"@backstage/core-compat-api": "^0.5.8",
|
|
57
|
+
"@backstage/core-components": "^0.18.7",
|
|
58
|
+
"@backstage/core-plugin-api": "^1.12.3",
|
|
59
59
|
"@backstage/errors": "^1.2.7",
|
|
60
|
-
"@backstage/
|
|
61
|
-
"@backstage/plugin-
|
|
60
|
+
"@backstage/filter-predicates": "^0.1.0",
|
|
61
|
+
"@backstage/frontend-plugin-api": "^0.14.1",
|
|
62
|
+
"@backstage/plugin-catalog-react": "^2.0.0",
|
|
62
63
|
"@material-ui/core": "^4.9.13",
|
|
63
64
|
"@material-ui/icons": "^4.9.1",
|
|
64
65
|
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
65
66
|
"react-use": "^17.2.4"
|
|
66
67
|
};
|
|
67
68
|
var devDependencies = {
|
|
68
|
-
"@backstage/cli": "^0.35.
|
|
69
|
-
"@backstage/dev-utils": "^1.1.
|
|
70
|
-
"@backstage/frontend-defaults": "^0.
|
|
71
|
-
"@backstage/
|
|
72
|
-
"@backstage/
|
|
69
|
+
"@backstage/cli": "^0.35.4",
|
|
70
|
+
"@backstage/dev-utils": "^1.1.20",
|
|
71
|
+
"@backstage/frontend-defaults": "^0.4.0",
|
|
72
|
+
"@backstage/frontend-test-utils": "^0.5.0",
|
|
73
|
+
"@backstage/plugin-catalog": "^1.33.0",
|
|
74
|
+
"@backstage/test-utils": "^1.7.15",
|
|
73
75
|
"@testing-library/dom": "^10.0.0",
|
|
74
76
|
"@testing-library/jest-dom": "^6.0.0",
|
|
75
77
|
"@testing-library/react": "^15.0.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.json.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-entity-feedback",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "entity-feedback",
|
|
@@ -64,25 +64,27 @@
|
|
|
64
64
|
"test": "backstage-cli package test"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@backstage-community/plugin-entity-feedback-common": "^0.
|
|
67
|
+
"@backstage-community/plugin-entity-feedback-common": "^0.14.0",
|
|
68
68
|
"@backstage/catalog-model": "^1.7.6",
|
|
69
|
-
"@backstage/core-compat-api": "^0.5.
|
|
70
|
-
"@backstage/core-components": "^0.18.
|
|
71
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
69
|
+
"@backstage/core-compat-api": "^0.5.8",
|
|
70
|
+
"@backstage/core-components": "^0.18.7",
|
|
71
|
+
"@backstage/core-plugin-api": "^1.12.3",
|
|
72
72
|
"@backstage/errors": "^1.2.7",
|
|
73
|
-
"@backstage/
|
|
74
|
-
"@backstage/plugin-
|
|
73
|
+
"@backstage/filter-predicates": "^0.1.0",
|
|
74
|
+
"@backstage/frontend-plugin-api": "^0.14.1",
|
|
75
|
+
"@backstage/plugin-catalog-react": "^2.0.0",
|
|
75
76
|
"@material-ui/core": "^4.9.13",
|
|
76
77
|
"@material-ui/icons": "^4.9.1",
|
|
77
78
|
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
78
79
|
"react-use": "^17.2.4"
|
|
79
80
|
},
|
|
80
81
|
"devDependencies": {
|
|
81
|
-
"@backstage/cli": "^0.35.
|
|
82
|
-
"@backstage/dev-utils": "^1.1.
|
|
83
|
-
"@backstage/frontend-defaults": "^0.
|
|
84
|
-
"@backstage/
|
|
85
|
-
"@backstage/
|
|
82
|
+
"@backstage/cli": "^0.35.4",
|
|
83
|
+
"@backstage/dev-utils": "^1.1.20",
|
|
84
|
+
"@backstage/frontend-defaults": "^0.4.0",
|
|
85
|
+
"@backstage/frontend-test-utils": "^0.5.0",
|
|
86
|
+
"@backstage/plugin-catalog": "^1.33.0",
|
|
87
|
+
"@backstage/test-utils": "^1.7.15",
|
|
86
88
|
"@testing-library/dom": "^10.0.0",
|
|
87
89
|
"@testing-library/jest-dom": "^6.0.0",
|
|
88
90
|
"@testing-library/react": "^15.0.0",
|