@backstage/plugin-permission-common
Advanced tools
Comparing version 0.0.0-nightly-20220329023345 to 0.0.0-nightly-20220330023352
# @backstage/plugin-permission-common | ||
## 0.0.0-nightly-20220329023345 | ||
## 0.0.0-nightly-20220330023352 | ||
@@ -26,2 +26,25 @@ ### Minor Changes | ||
## 0.6.0-next.0 | ||
### Minor Changes | ||
- 8012ac46a0: Add `resourceType` property to `PermissionCondition` type to allow matching them with `ResourcePermission` instances. | ||
- c98d271466: Refactor api types into more specific, decoupled names. | ||
- **BREAKING:** | ||
- Renamed `AuthorizeDecision` to `EvaluatePermissionResponse` | ||
- Renamed `AuthorizeQuery` to `EvaluatePermissionRequest` | ||
- Renamed `AuthorizeRequest` to `EvaluatePermissionRequestBatch` | ||
- Renamed `AuthorizeResponse` to `EvaluatePermissionResponseBatch` | ||
- Renamed `Identified` to `IdentifiedPermissionMessage` | ||
- Add `PermissionMessageBatch` helper type | ||
- Add `ConditionalPolicyDecision`, `DefinitivePolicyDecision`, and `PolicyDecision` types from `@backstage/plugin-permission-node` | ||
### Patch Changes | ||
- 8012ac46a0: Add `isPermission` helper method. | ||
- 95284162d6: - Add more specific `Permission` types. | ||
- Add `createPermission` helper to infer the appropriate type for some permission input. | ||
- Add `isResourcePermission` helper to refine Permissions to ResourcePermissions. | ||
## 0.5.3 | ||
@@ -28,0 +51,0 @@ |
{ | ||
"name": "@backstage/plugin-permission-common", | ||
"description": "Isomorphic types and client for Backstage permissions and authorization", | ||
"version": "0.0.0-nightly-20220329023345", | ||
"version": "0.0.0-nightly-20220330023352", | ||
"main": "dist/index.cjs.js", | ||
@@ -51,3 +51,3 @@ "types": "dist/index.d.ts", | ||
"devDependencies": { | ||
"@backstage/cli": "^0.0.0-nightly-20220329023345", | ||
"@backstage/cli": "^0.0.0-nightly-20220330023352", | ||
"@types/jest": "^26.0.7", | ||
@@ -54,0 +54,0 @@ "msw": "^0.35.0" |
66079