Add changeset and fix up API report

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2025-06-04 11:50:47 +02:00
parent bea1650c6f
commit 2cac8b0e9d
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
You can now specify an optional value when applying the `HAS_LABEL` permission rule, similar to the `HAS_ANNOTATION` permission rule.
@@ -30,6 +30,7 @@ export const catalogConditions: Conditions<{
'catalog-entity',
{
label: string;
value?: string | undefined;
}
>;
hasMetadata: PermissionRule<
@@ -103,6 +104,7 @@ export const permissionRules: {
'catalog-entity',
{
label: string;
value?: string | undefined;
}
>;
hasMetadata: PermissionRule<