@spotify/backstage-plugin-rbac 0.8.2 → 0.8.4
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 +2 -3
- package/dist/components/Diffing/utils.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.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `backstage` to `1.47.0`.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @spotify/backstage-plugin-core@0.8.14
|
|
10
|
+
- @spotify/backstage-plugin-rbac-common@0.6.13
|
|
11
|
+
|
|
12
|
+
## 0.8.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependency `backstage` to `1.46.0`.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @spotify/backstage-plugin-core@0.8.13
|
|
19
|
+
- @spotify/backstage-plugin-rbac-common@0.6.12
|
|
20
|
+
|
|
3
21
|
## 0.8.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
3
|
-
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* @public
|
|
@@ -11,9 +10,9 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
11
10
|
name: undefined;
|
|
12
11
|
config: {};
|
|
13
12
|
configInput: {};
|
|
14
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
13
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
15
14
|
inputs: {};
|
|
16
|
-
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params:
|
|
15
|
+
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
|
|
17
16
|
}>;
|
|
18
17
|
"page:rbac": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
19
18
|
kind: "page";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const t=(e,r)=>{switch(r){case"ADDED":return e.palette.success.main;case"REMOVED":return e.palette.errorText;case"CHANGED":return e.palette.info.main;case"MOVED_UP":case"MOVED_DOWN":return e.palette.info.main;
|
|
1
|
+
const t=(e,r)=>{switch(r){case"ADDED":return e.palette.success.main;case"REMOVED":return e.palette.errorText;case"CHANGED":return e.palette.info.main;case"MOVED_UP":case"MOVED_DOWN":return e.palette.info.main;default:return e.palette.text.primary}},a=e=>{switch(e){case"ADDED":return"success";case"REMOVED":return"error";case"CHANGED":return"info";case"MOVED_UP":case"MOVED_DOWN":return"info";default:return"info"}},n=e=>{switch(e){case"ADDED":return"New";case"REMOVED":return"Removed";case"CHANGED":return"Changed";case"MOVED_UP":return"Moved up";case"MOVED_DOWN":return"Moved down";default:return"No changes"}};export{t as getColorFromDiffOperation,a as getSeverityFromDiffOperation,n as getTextFromDiffOperation};
|
|
2
2
|
//# sourceMappingURL=utils.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.4",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://backstage.spotify.com",
|
|
7
7
|
"main": "./dist/index.esm.js",
|
|
@@ -53,27 +53,27 @@
|
|
|
53
53
|
"clean": "backstage-cli package clean",
|
|
54
54
|
"prepack": "backstage-cli package prepack",
|
|
55
55
|
"postpack": "backstage-cli package postpack",
|
|
56
|
-
"a11y": "yarn dlx @lhci/cli@0.
|
|
56
|
+
"a11y": "yarn dlx @lhci/cli@0.15.x --config ./.lighthouserc.js autorun"
|
|
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.6",
|
|
61
|
+
"@backstage/core-components": "^0.18.5",
|
|
62
|
+
"@backstage/core-plugin-api": "^1.12.1",
|
|
63
63
|
"@backstage/errors": "^1.2.7",
|
|
64
|
-
"@backstage/frontend-plugin-api": "^0.13.
|
|
65
|
-
"@backstage/plugin-catalog-react": "^1.21.
|
|
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.13.3",
|
|
65
|
+
"@backstage/plugin-catalog-react": "^1.21.5",
|
|
66
|
+
"@backstage/plugin-permission-common": "^0.9.4",
|
|
67
|
+
"@backstage/plugin-permission-react": "^0.4.39",
|
|
68
|
+
"@backstage/theme": "^0.7.1",
|
|
69
69
|
"@backstage/types": "^1.2.2",
|
|
70
|
-
"@backstage/ui": "^0.
|
|
70
|
+
"@backstage/ui": "^0.11.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.14",
|
|
76
|
+
"@spotify/backstage-plugin-rbac-common": "^0.6.13",
|
|
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.
|
|
97
|
-
"@backstage/core-app-api": "^1.19.
|
|
98
|
-
"@backstage/dev-utils": "^1.1.
|
|
96
|
+
"@backstage/cli": "^0.35.2",
|
|
97
|
+
"@backstage/core-app-api": "^1.19.3",
|
|
98
|
+
"@backstage/dev-utils": "^1.1.19",
|
|
99
99
|
"@backstage/e2e-test-utils": "^0.1.1",
|
|
100
|
-
"@backstage/frontend-test-utils": "^0.4.
|
|
101
|
-
"@backstage/test-utils": "^1.7.
|
|
100
|
+
"@backstage/frontend-test-utils": "^0.4.3",
|
|
101
|
+
"@backstage/test-utils": "^1.7.14",
|
|
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",
|