@spotify/backstage-plugin-rbac 0.8.3 → 0.8.5
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 +18 -0
- package/dist/alpha.d.ts +24 -3
- package/dist/components/Layout/Header.esm.js +1 -1
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @spotify/backstage-plugin-rbac
|
|
2
2
|
|
|
3
|
+
## 0.8.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `backstage` to `1.48.0`.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @spotify/backstage-plugin-core@0.8.15
|
|
10
|
+
- @spotify/backstage-plugin-rbac-common@0.6.14
|
|
11
|
+
|
|
12
|
+
## 0.8.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependency `backstage` to `1.47.0`.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @spotify/backstage-plugin-core@0.8.14
|
|
19
|
+
- @spotify/backstage-plugin-rbac-common@0.6.13
|
|
20
|
+
|
|
3
21
|
## 0.8.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -19,19 +19,40 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
19
19
|
name: undefined;
|
|
20
20
|
config: {
|
|
21
21
|
path: string | undefined;
|
|
22
|
+
title: string | undefined;
|
|
22
23
|
};
|
|
23
24
|
configInput: {
|
|
25
|
+
title?: string | undefined;
|
|
24
26
|
path?: string | undefined;
|
|
25
27
|
};
|
|
26
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
28
|
+
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", {
|
|
29
|
+
optional: true;
|
|
30
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {
|
|
31
|
+
optional: true;
|
|
32
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
27
33
|
optional: true;
|
|
28
34
|
}>;
|
|
29
|
-
inputs: {
|
|
35
|
+
inputs: {
|
|
36
|
+
pages: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
37
|
+
optional: true;
|
|
38
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.title", {
|
|
39
|
+
optional: true;
|
|
40
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
41
|
+
optional: true;
|
|
42
|
+
}>, {
|
|
43
|
+
singleton: false;
|
|
44
|
+
optional: false;
|
|
45
|
+
internal: false;
|
|
46
|
+
}>;
|
|
47
|
+
};
|
|
30
48
|
params: {
|
|
31
49
|
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
32
50
|
path: string;
|
|
33
|
-
|
|
51
|
+
title?: string;
|
|
52
|
+
icon?: _backstage_frontend_plugin_api.IconElement;
|
|
53
|
+
loader?: () => Promise<react.JSX.Element>;
|
|
34
54
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
55
|
+
noHeader?: boolean;
|
|
35
56
|
};
|
|
36
57
|
}>;
|
|
37
58
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as o,Fragment as
|
|
1
|
+
import{jsxs as o,Fragment as m,jsx as e}from"react/jsx-runtime";import{useApi as p,configApiRef as n}from"@backstage/core-plugin-api";import{PluginHeader as a}from"@backstage/ui";import{Helmet as l}from"react-helmet";const f=t=>{const r=p(n).getOptionalString("app.title")||"Backstage",i=`${t.title} | ${r}`;return o(m,{children:[e(l,{defaultTitle:i}),e(a,{...t})]})};export{f as Header};
|
|
2
2
|
//# sourceMappingURL=Header.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotify/backstage-plugin-rbac",
|
|
3
3
|
"description": "Control access to actions and data in Backstage with ease.",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.5",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://backstage.spotify.com",
|
|
7
7
|
"main": "./dist/index.esm.js",
|
|
@@ -57,23 +57,23 @@
|
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@backstage/catalog-model": "^1.7.6",
|
|
60
|
-
"@backstage/core-compat-api": "^0.5.
|
|
61
|
-
"@backstage/core-components": "^0.18.
|
|
62
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
60
|
+
"@backstage/core-compat-api": "^0.5.8",
|
|
61
|
+
"@backstage/core-components": "^0.18.7",
|
|
62
|
+
"@backstage/core-plugin-api": "^1.12.3",
|
|
63
63
|
"@backstage/errors": "^1.2.7",
|
|
64
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
65
|
-
"@backstage/plugin-catalog-react": "^
|
|
66
|
-
"@backstage/plugin-permission-common": "^0.9.
|
|
67
|
-
"@backstage/plugin-permission-react": "^0.4.
|
|
68
|
-
"@backstage/theme": "^0.7.
|
|
64
|
+
"@backstage/frontend-plugin-api": "^0.14.0",
|
|
65
|
+
"@backstage/plugin-catalog-react": "^2.0.0",
|
|
66
|
+
"@backstage/plugin-permission-common": "^0.9.6",
|
|
67
|
+
"@backstage/plugin-permission-react": "^0.4.40",
|
|
68
|
+
"@backstage/theme": "^0.7.2",
|
|
69
69
|
"@backstage/types": "^1.2.2",
|
|
70
|
-
"@backstage/ui": "^0.
|
|
70
|
+
"@backstage/ui": "^0.12.0",
|
|
71
71
|
"@material-ui/core": "^4.12.2",
|
|
72
72
|
"@material-ui/icons": "^4.9.1",
|
|
73
73
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
74
74
|
"@remixicon/react": "^4.6.0",
|
|
75
|
-
"@spotify/backstage-plugin-core": "^0.8.
|
|
76
|
-
"@spotify/backstage-plugin-rbac-common": "^0.6.
|
|
75
|
+
"@spotify/backstage-plugin-core": "^0.8.15",
|
|
76
|
+
"@spotify/backstage-plugin-rbac-common": "^0.6.14",
|
|
77
77
|
"ajv": "^8.11.2",
|
|
78
78
|
"file-saver": "^2.0.5",
|
|
79
79
|
"js-yaml": "^4.1.0",
|
|
@@ -93,12 +93,12 @@
|
|
|
93
93
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@backstage/cli": "^0.35.
|
|
97
|
-
"@backstage/core-app-api": "^1.19.
|
|
98
|
-
"@backstage/dev-utils": "^1.1.
|
|
99
|
-
"@backstage/e2e-test-utils": "^0.1.
|
|
100
|
-
"@backstage/frontend-test-utils": "^0.
|
|
101
|
-
"@backstage/test-utils": "^1.7.
|
|
96
|
+
"@backstage/cli": "^0.35.4",
|
|
97
|
+
"@backstage/core-app-api": "^1.19.5",
|
|
98
|
+
"@backstage/dev-utils": "^1.1.20",
|
|
99
|
+
"@backstage/e2e-test-utils": "^0.1.2",
|
|
100
|
+
"@backstage/frontend-test-utils": "^0.5.0",
|
|
101
|
+
"@backstage/test-utils": "^1.7.15",
|
|
102
102
|
"@playwright/test": "^1.32.3",
|
|
103
103
|
"@sp4b-dev/test-utils": "^0.0.13",
|
|
104
104
|
"@testing-library/jest-dom": "^6.0.0",
|