Skip to content

Commit

Permalink
Add changesets
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Porpeglia <[email protected]>
  • Loading branch information
joeporpeglia committed Mar 25, 2022
1 parent 979d4b9 commit c98d271
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .changeset/eleven-frogs-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@backstage/plugin-permission-common': minor
---

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`
8 changes: 8 additions & 0 deletions .changeset/few-mayflies-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@backstage/plugin-permission-node': minor
---

**BREAKING:**

- Rename `PolicyAuthorizeQuery` to `PolicyQuery`
- Remove `PolicyDecision`, `DefinitivePolicyDecision`, and `ConditionalPolicyDecision`. These types are now exported from `@backstage/plugin-permission-common`
7 changes: 7 additions & 0 deletions .changeset/mean-tomatoes-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@backstage/plugin-permission-backend': patch
'@backstage/plugin-permission-react': patch
'@backstage/plugin-search-backend': patch
---

Use updated types from `@backstage/plugin-permission-common`

0 comments on commit c98d271

Please sign in to comment.