From 5182f5bfdde84756b3d87de0765525ce8d2689c2 Mon Sep 17 00:00:00 2001 From: aramissennyeydd Date: Fri, 16 Feb 2024 19:51:51 -0500 Subject: [PATCH] merge fixes and update changeset Signed-off-by: aramissennyeydd --- .changeset/thirty-bags-try.md | 1 + plugins/catalog-backend/src/service/CatalogPlugin.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.changeset/thirty-bags-try.md b/.changeset/thirty-bags-try.md index f04d0160bf..98d6c5620b 100644 --- a/.changeset/thirty-bags-try.md +++ b/.changeset/thirty-bags-try.md @@ -1,5 +1,6 @@ --- '@backstage/plugin-catalog-backend': minor +'@backstage/plugin-catalog-node': minor --- Adds support for supplying field validators to the new backend's catalog plugin. If you're using entity policies, you should use the new `transformLegacyPolicyToProcessor` function to install them as processors instead. diff --git a/plugins/catalog-backend/src/service/CatalogPlugin.ts b/plugins/catalog-backend/src/service/CatalogPlugin.ts index 114dbe6f61..255df84d58 100644 --- a/plugins/catalog-backend/src/service/CatalogPlugin.ts +++ b/plugins/catalog-backend/src/service/CatalogPlugin.ts @@ -17,7 +17,7 @@ import { createBackendPlugin, coreServices, } from '@backstage/backend-plugin-api'; -import { Entity, EntityPolicy, Validators } from '@backstage/catalog-model'; +import { Entity, Validators } from '@backstage/catalog-model'; import { CatalogBuilder, CatalogPermissionRuleInput } from './CatalogBuilder'; import { CatalogAnalysisExtensionPoint,